dryml 2.1.2 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/VERSION +1 -1
- data/dryml.gemspec +1 -1
- data/lib/dryml/dryml_generator.rb +1 -1
- data/lib/dryml/template_environment.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fcfd9b010afb71a595f3116659501437385428f7
|
4
|
+
data.tar.gz: 44e30740a27f4d7451017aca0475cdf35e992889
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 944b4436ec27fc5b1051c861bb4423690f80a9ca0e2229aa76cb066623b7e1a7952fd92113c9780f4f780c0c750ce035cd0f2388ab28d876e5211e4e59533c38
|
7
|
+
data.tar.gz: ee16cd272bea12e81a262a5b5588e6cced2ce3e2d997eba698f9525c981a9cefe83ec40163782f986848d72e20e1e456ab02d07ddac3c086e478fd89be71b57b
|
data/Gemfile
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.2.0
|
data/dryml.gemspec
CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |s|
|
|
11
11
|
s.summary = "The Don't Repeat Yourself Markup Language"
|
12
12
|
s.description = "The Don't Repeat Yourself Markup Language"
|
13
13
|
|
14
|
-
s.add_runtime_dependency('actionpack'
|
14
|
+
s.add_runtime_dependency('actionpack')
|
15
15
|
s.add_runtime_dependency('hobo_support', ["= #{version}"])
|
16
16
|
# s.add_development_dependency('rubydoctest', [">= 1.1.3"])
|
17
17
|
s.add_development_dependency('cucumber', '~> 1.1.0')
|
@@ -180,7 +180,7 @@ require 'fileutils'
|
|
180
180
|
# option is the same as the target classes position_column, that's a
|
181
181
|
# pretty safe bet
|
182
182
|
if defined? ActiveRecord::Acts::List::InstanceMethods
|
183
|
-
refl = model.reflections[collection]
|
183
|
+
refl = model.reflections[collection.to_s]
|
184
184
|
klass = refl.klass
|
185
185
|
klass < ActiveRecord::Acts::List::InstanceMethods &&
|
186
186
|
klass.table_exists? &&
|
@@ -102,7 +102,7 @@ module Dryml
|
|
102
102
|
|
103
103
|
def this_field_reflection
|
104
104
|
this.try.proxy_association._?.reflection ||
|
105
|
-
(this_parent && this_field && this_parent.class.respond_to?(:reflections) && this_parent.class.reflections[this_field.
|
105
|
+
(this_parent && this_field && this_parent.class.respond_to?(:reflections) && this_parent.class.reflections[this_field.to_s])
|
106
106
|
end
|
107
107
|
|
108
108
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dryml
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom Locke
|
@@ -14,30 +14,30 @@ dependencies:
|
|
14
14
|
name: actionpack
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: '0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: hobo_support
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 2.
|
33
|
+
version: 2.2.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 2.
|
40
|
+
version: 2.2.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: cucumber
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|