-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
53 changed files
with
940 additions
and
1,079 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
.*.sw? | ||
*.gem | ||
.rbenv-version | ||
/.rbenv-version | ||
.DS_Store | ||
coverage | ||
rdoc | ||
pkg | ||
html/*.html | ||
html/*.rid | ||
html/*.css | ||
html/classes | ||
html/files | ||
/coverage | ||
/rdoc | ||
/pkg | ||
/html | ||
/Gemfile.lock | ||
/tmp/ | ||
/.idea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
rvm: | ||
- 2.0.0 | ||
- 1.9.3 | ||
- 1.9.2 | ||
- 1.8.7 | ||
|
||
script: "rake" | ||
script: "rake" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
source "http://rubygems.org" | ||
source "https://rubygems.org" | ||
gemspec | ||
|
||
gem 'rake' | ||
|
||
platforms :mri_18 do | ||
gem 'rdoc' | ||
end |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
begin | ||
require 'rdoc/task' | ||
rescue LoadError | ||
require 'rake/rdoctask' | ||
end | ||
require 'rdoc/task' | ||
|
||
desc "Run tests" | ||
task :test do | ||
desc "Run specs" | ||
task :spec do | ||
# shuffle to ensure that tests are run in different order | ||
files = FileList['test/**/*_test.rb'].map { |f| f[0,f.size-3] }.shuffle | ||
sh "ruby -Ilib -I. -r '#{files.join("' -r '")}' -e ''" | ||
files = FileList['spec/**/*_spec.rb'].shuffle | ||
sh "bundle exec bacon #{files.map { |file| "'#{file}'" }.join(' ')}" | ||
end | ||
|
||
namespace :docs do | ||
Rake::RDocTask.new('generate') do |t| | ||
RDoc::Task.new('generate') do |t| | ||
t.main = "README.rdoc" | ||
t.rdoc_files.include("README.rdoc", "lib/**/*.rb") | ||
t.options << '--charset=utf8' | ||
end | ||
end | ||
|
||
task :default => :test | ||
task :docs => 'docs:generate' do | ||
FileUtils.cp_r('images', 'html') | ||
end | ||
|
||
task :default => :spec |
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,36 @@ | ||
# -*- encoding: utf-8 -*- | ||
|
||
$:.unshift File.expand_path('../lib', __FILE__) | ||
require 'kicker/version' | ||
require 'date' | ||
|
||
Gem::Specification.new do |s| | ||
s.name = "kicker" | ||
s.version = Kicker::VERSION | ||
s.date = Date.today | ||
s.date = Time.new | ||
s.license = 'MIT' | ||
|
||
s.summary = "A lean, agnostic, flexible file-change watcher." | ||
s.description = "Allows you to fire specific command on file-system change." | ||
s.authors = ["Eloy Duran", "Manfred Stienstra"] | ||
s.homepage = "http://github.com/alloy/kicker" | ||
s.email = %w{ [email protected] [email protected] } | ||
|
||
s.executables = %w{ kicker } | ||
s.require_paths = %w{ lib vendor } | ||
s.files = Dir['bin/kicker', '{lib,vendor}/**/*.rb', 'README.rdoc', 'LICENSE', 'html/images/kikker.jpg'] | ||
s.files = Dir['bin/kicker', | ||
'lib/**/*.rb', | ||
'README.rdoc', | ||
'LICENSE', | ||
'html/images/kikker.jpg'] | ||
s.extra_rdoc_files = %w{ LICENSE README.rdoc } | ||
|
||
s.add_runtime_dependency("listen", '~> 1.1.0') | ||
|
||
s.add_development_dependency("rake") | ||
s.add_development_dependency("rdoc") # purely so it doesn't warn about deprecated rake task | ||
s.add_runtime_dependency("listen", '~> 1.3.0') | ||
s.add_runtime_dependency("notify", '~> 0.5.2') | ||
|
||
s.add_development_dependency("mocha") | ||
s.add_development_dependency("test-unit") | ||
s.add_development_dependency("test-spec") | ||
s.add_development_dependency("bacon") | ||
s.add_development_dependency("mocha-on-bacon") | ||
s.add_development_dependency("activesupport") | ||
s.add_development_dependency("fakefs") | ||
end | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.