Skip to content

Commit

Permalink
Started using guard and updated all gems
Browse files Browse the repository at this point in the history
  • Loading branch information
sanichi committed Jun 29, 2011
1 parent 4876e56 commit 0796403
Show file tree
Hide file tree
Showing 18 changed files with 209 additions and 42 deletions.
11 changes: 0 additions & 11 deletions .autotest

This file was deleted.

2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
coverage
rdoc
html
pkg
tmp
NOTES
Expand Down
41 changes: 24 additions & 17 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,32 +1,39 @@
PATH
remote: .
specs:
icu_ratings (1.1.2)
icu_ratings (1.1.3)

GEM
remote: http://rubygems.org/
specs:
ZenTest (4.4.2)
autotest-fsevent (0.2.4)
sys-uname
autotest-growl (0.2.9)
diff-lcs (1.1.2)
rspec (2.5.0)
rspec-core (~> 2.5.0)
rspec-expectations (~> 2.5.0)
rspec-mocks (~> 2.5.0)
rspec-core (2.5.1)
rspec-expectations (2.5.0)
growl (1.0.3)
guard (0.4.2)
thor (~> 0.14.6)
guard-rspec (0.4.0)
guard (>= 0.4.0)
rake (0.9.2)
rb-fsevent (0.4.0)
rdoc (3.8)
rspec (2.6.0)
rspec-core (~> 2.6.0)
rspec-expectations (~> 2.6.0)
rspec-mocks (~> 2.6.0)
rspec-core (2.6.4)
rspec-expectations (2.6.0)
diff-lcs (~> 1.1.2)
rspec-mocks (2.5.0)
sys-uname (0.8.5)
rspec-mocks (2.6.0)
thor (0.14.6)

PLATFORMS
ruby

DEPENDENCIES
ZenTest (~> 4.4.2)
autotest-fsevent (~> 0.2.4)
autotest-growl (~> 0.2.9)
bundler
growl
guard-rspec
icu_ratings!
rspec (~> 2.5)
rake
rb-fsevent
rdoc
rspec
9 changes: 9 additions & 0 deletions Guardfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# A sample Guardfile
# More info at https://github.com/guard/guard#readme

guard 'rspec', :version => 2 do
watch(%r{^spec/.+_spec\.rb$})
watch(%r{^lib/icu_ratings/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
watch('spec/spec_helper.rb') { "spec" }
watch('lib/icu_ratings.rb') { "spec" }
end
11 changes: 5 additions & 6 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
require 'rake'
require 'rake/rdoctask'
require 'rdoc/task'
require 'rspec/core/rake_task'
require File.expand_path(File.dirname(__FILE__) + '/lib/icu_ratings/version')

Expand Down Expand Up @@ -32,9 +32,8 @@ RSpec::Core::RakeTask.new do |t|
t.rspec_opts = ['--colour --format nested']
end

Rake::RDocTask.new(:rdoc) do |t|
t.title = "ICU Ratings #{version}"
t.rdoc_dir = 'rdoc'
t.options = ["--charset=utf-8"]
t.rdoc_files.include('lib/**/*.rb', 'README.rdoc', 'LICENCE')
RDoc::Task.new do |rdoc|
rdoc.title = "ICU Ratings #{version}"
rdoc.main = "README.rdoc"
rdoc.rdoc_files.include("README.rdoc", "lib/**/*.rb")
end
1 change: 0 additions & 1 deletion autotest/discover.rb

This file was deleted.

16 changes: 16 additions & 0 deletions bin/autospec
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/usr/bin/env ruby
#
# This file was generated by Bundler.
#
# The application 'autospec' is installed as part of a gem, and
# this file is here to facilitate running it.
#

require 'pathname'
ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
Pathname.new(__FILE__).realpath)

require 'rubygems'
require 'bundler/setup'

load Gem.bin_path('rspec-core', 'autospec')
16 changes: 16 additions & 0 deletions bin/guard
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/usr/bin/env ruby
#
# This file was generated by Bundler.
#
# The application 'guard' is installed as part of a gem, and
# this file is here to facilitate running it.
#

require 'pathname'
ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
Pathname.new(__FILE__).realpath)

require 'rubygems'
require 'bundler/setup'

load Gem.bin_path('guard', 'guard')
16 changes: 16 additions & 0 deletions bin/htmldiff
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/usr/bin/env ruby
#
# This file was generated by Bundler.
#
# The application 'htmldiff' is installed as part of a gem, and
# this file is here to facilitate running it.
#

require 'pathname'
ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
Pathname.new(__FILE__).realpath)

require 'rubygems'
require 'bundler/setup'

load Gem.bin_path('diff-lcs', 'htmldiff')
16 changes: 16 additions & 0 deletions bin/ldiff
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/usr/bin/env ruby
#
# This file was generated by Bundler.
#
# The application 'ldiff' is installed as part of a gem, and
# this file is here to facilitate running it.
#

require 'pathname'
ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
Pathname.new(__FILE__).realpath)

require 'rubygems'
require 'bundler/setup'

load Gem.bin_path('diff-lcs', 'ldiff')
16 changes: 16 additions & 0 deletions bin/rake
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/usr/bin/env ruby
#
# This file was generated by Bundler.
#
# The application 'rake' is installed as part of a gem, and
# this file is here to facilitate running it.
#

require 'pathname'
ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
Pathname.new(__FILE__).realpath)

require 'rubygems'
require 'bundler/setup'

load Gem.bin_path('rake', 'rake')
16 changes: 16 additions & 0 deletions bin/rake2thor
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/usr/bin/env ruby
#
# This file was generated by Bundler.
#
# The application 'rake2thor' is installed as part of a gem, and
# this file is here to facilitate running it.
#

require 'pathname'
ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
Pathname.new(__FILE__).realpath)

require 'rubygems'
require 'bundler/setup'

load Gem.bin_path('thor', 'rake2thor')
16 changes: 16 additions & 0 deletions bin/rdoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/usr/bin/env ruby
#
# This file was generated by Bundler.
#
# The application 'rdoc' is installed as part of a gem, and
# this file is here to facilitate running it.
#

require 'pathname'
ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
Pathname.new(__FILE__).realpath)

require 'rubygems'
require 'bundler/setup'

load Gem.bin_path('rdoc', 'rdoc')
16 changes: 16 additions & 0 deletions bin/ri
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/usr/bin/env ruby
#
# This file was generated by Bundler.
#
# The application 'ri' is installed as part of a gem, and
# this file is here to facilitate running it.
#

require 'pathname'
ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
Pathname.new(__FILE__).realpath)

require 'rubygems'
require 'bundler/setup'

load Gem.bin_path('rdoc', 'ri')
16 changes: 16 additions & 0 deletions bin/rspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/usr/bin/env ruby
#
# This file was generated by Bundler.
#
# The application 'rspec' is installed as part of a gem, and
# this file is here to facilitate running it.
#

require 'pathname'
ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
Pathname.new(__FILE__).realpath)

require 'rubygems'
require 'bundler/setup'

load Gem.bin_path('rspec-core', 'rspec')
16 changes: 16 additions & 0 deletions bin/thor
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/usr/bin/env ruby
#
# This file was generated by Bundler.
#
# The application 'thor' is installed as part of a gem, and
# this file is here to facilitate running it.
#

require 'pathname'
ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
Pathname.new(__FILE__).realpath)

require 'rubygems'
require 'bundler/setup'

load Gem.bin_path('thor', 'thor')
14 changes: 9 additions & 5 deletions icu_ratings.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,17 @@ Gem::Specification.new do |s|

s.extra_rdoc_files = %w(LICENCE README.rdoc)
s.files = Dir.glob("lib/**/*.rb") + Dir.glob("spec/*.rb") + %w(LICENCE README.rdoc)
s.rdoc_options = ["--charset=utf-8"]
s.require_paths = ["lib"]
s.test_files = Dir.glob("spec/*.rb")

s.add_development_dependency("rspec", "~> 2.5")
s.add_development_dependency("ZenTest", "~> 4.4.2")
s.add_development_dependency("autotest-growl", "~> 0.2.9")
s.add_development_dependency("autotest-fsevent", "~> 0.2.4")
s.add_development_dependency("bundler")
s.add_development_dependency("rake")
s.add_development_dependency("rspec")
s.add_development_dependency("guard-rspec")
s.add_development_dependency("rdoc")
if RUBY_PLATFORM =~ /darwin/i
s.add_development_dependency("rb-fsevent")
s.add_development_dependency("growl")
end
end

2 changes: 1 addition & 1 deletion lib/icu_ratings/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

module ICU
class Ratings
VERSION = "1.1.2"
VERSION = "1.1.3"
end
end

0 comments on commit 0796403

Please sign in to comment.