bumbler.gemspec in bumbler-0.1.2 vs bumbler.gemspec in bumbler-0.1.3

- old
+ new

@@ -1,20 +1,24 @@ # -*- encoding: utf-8 -*- -require File.expand_path("../lib/bumbler.rb", __FILE__) +# Bumbler may be already required due to the RUBYOPT=-rbumbler/go that we use to activate. Clear it +# if so to get rid of our warning, and then load it. We just need the version number +Bumbler.send(:remove_const, :VERSION) if Object.const_defined? :Bumbler +load File.expand_path('../lib/bumbler.rb', __FILE__) + Gem::Specification.new do |s| - s.name = "bumbler" + s.name = 'bumbler' s.version = Bumbler::VERSION s.platform = Gem::Platform::RUBY - s.authors = ["Ian MacLeod"] - s.email = ["ian@nevir.net"] - s.homepage = "https://github.com/nevir/Bumbler" + s.authors = ['Ian MacLeod'] + s.email = ['ian@nevir.net'] + s.homepage = 'https://github.com/nevir/Bumbler' s.summary = %q{Track the load progress of your Bundler-based projects} s.description = %q{Why stare blankly at your terminal window when you can clutter it up with awesome progress bars?} - s.rubyforge_project = "bumbler" + s.rubyforge_project = 'bumbler' s.files = `git ls-files`.split("\n") s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } - s.require_paths = ["lib"] + s.require_paths = ['lib'] end