lib/tasks/developmentkit.rake in developmentkit-0.1.0 vs lib/tasks/developmentkit.rake in developmentkit-0.1.1

- old
+ new

@@ -1,16 +1,15 @@ # coding: utf-8 desc 'bundle update developmentkit' namespace :develpmenkit do task :update do `bundle update developmentkit` - end desc 'bundle update developmentkit dependency' namespace :update do task :dependency do - spec = Gem::Specification.load 'developmentkit.gemspec' - `bundle update #{spec.runtime_dependencies.map(&:name).join(' ')}` + require 'developmentkit' + `bundle update #{Developmentkit::Tool.dependencies_map}` end end end