qor_dsl 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -26,8 +26,10 @@ module Qor
26
26
  end
27
27
 
28
28
  def load(path=nil, opts={})
29
+ @load_path, @root = nil, nil if opts[:force]
30
+
29
31
  @load_path = path || @load_path || default_config
30
- @root = (opts[:force] ? nil : @root) || load_file(@load_path)
32
+ @root ||= load_file(@load_path)
31
33
  @root
32
34
  end
33
35
 
data/lib/qor_dsl/node.rb CHANGED
@@ -69,7 +69,7 @@ module Qor
69
69
  s
70
70
  end.inspect
71
71
 
72
- "<Qor::Dsl::Node> #{result}"
72
+ "#<Qor::Dsl::Node:0x#{object_id.to_s(16)} #{result}>"
73
73
  end
74
74
  end
75
75
  end
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.3"
14
+ gem.version = "0.0.4"
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.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-13 00:00:00.000000000 Z
12
+ date: 2012-10-19 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Qor DSL
15
15
  email: