example/gemfile.rb in qor_dsl-0.1.5 vs example/gemfile.rb in qor_dsl-0.2.0
- old
+ new
@@ -32,10 +32,10 @@
Gemfile.deep_find(:gem)
Gemfile.deep_find(:gem) do |n|
# Find all gems used in development environment
parent = n.parent
- parent.root? || ((parent.config_name == :group) && parent.name == :development)
+ parent.root? || parent.is_node?(:group, :development)
end
# Methods for node
node = Gemfile.find(:gem, 'devise')
node.name