qor_dsl 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/qor_dsl/node.rb +4 -0
  2. data/qor_dsl.gemspec +1 -1
  3. metadata +2 -2
@@ -73,6 +73,10 @@ module Qor
73
73
  ((config.__children.size > 0 || block.nil?) ? (options[:value] || name) : block.call) || default_value
74
74
  end
75
75
 
76
+ def data
77
+ Array(@data).compact
78
+ end
79
+
76
80
  def default_options
77
81
  config_options[:default_options]
78
82
  end
@@ -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.3.1"
14
+ gem.version = "0.3.2"
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.3.1
4
+ version: 0.3.2
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-11-13 00:00:00.000000000 Z
12
+ date: 2012-11-22 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Qor DSL is designed to be as flexible as possible while helping you to
15
15
  create your DSLs.