qor_dsl 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/lib/qor_dsl/node.rb +2 -2
  2. data/qor_dsl.gemspec +1 -1
  3. metadata +1 -1
data/lib/qor_dsl/node.rb CHANGED
@@ -49,7 +49,7 @@ module Qor
49
49
 
50
50
  def first(type=nil, name=nil)
51
51
  selected_children = find(type, name)
52
- selected_children.is_a? Array ? selected_children[0] : selected_children
52
+ selected_children.is_a?(Array) ? selected_children[0] : selected_children
53
53
  end
54
54
 
55
55
  def value
@@ -58,7 +58,7 @@ module Qor
58
58
 
59
59
  def inspect
60
60
  result = [
61
- ['name', inspect_name],
61
+ ['name', name],
62
62
  ['parent', parent && parent.inspect_name],
63
63
  ['config', config.__name],
64
64
  ['children', children.map(&:inspect_name)],
data/qor_dsl.gemspec CHANGED
@@ -11,5 +11,5 @@ Gem::Specification.new do |gem|
11
11
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
12
12
  gem.name = "qor_dsl"
13
13
  gem.require_paths = ["lib"]
14
- gem.version = "0.0.2"
14
+ gem.version = "0.0.3"
15
15
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: qor_dsl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: