lib/arigato.rb in arigato-0.1.2 vs lib/arigato.rb in arigato-0.1.3

- old
+ new

@@ -8,12 +8,13 @@ Pathname.new(File.join(File.dirname(__FILE__), 'arigato', 'themes')) end def specs(file) path = Pathname.new(file) + lockfile = path.sub_ext('.lock') dsl = Bundler::Dsl.new dsl.eval_gemfile(file) - specs = dsl.to_definition(nil, {}).specs.to_a + specs = dsl.to_definition(lockfile, {}).specs.to_a specs.unshift(self.spec('Ruby', 'http://www.ruby-lang.org/', 'Yukihiro Matsumoto')) specs.reject { |spec| spec.name == 'arigato' } end