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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1aeab80979d40c10f1851ed6397c5efc0b317e81
4
- data.tar.gz: 0ad7025a6fdaa6acec287a9f2d5e177ca865f86b
3
+ metadata.gz: fcfd9b010afb71a595f3116659501437385428f7
4
+ data.tar.gz: 44e30740a27f4d7451017aca0475cdf35e992889
5
5
  SHA512:
6
- metadata.gz: 6f7a2c5848da1614100fe5edd9d30dc052992e55d20a6920b40811870cc6862ece16c977c16c06d3a779512453f06301c9ac30ff754d465e714dead666848b33
7
- data.tar.gz: 01d40482a3d61bb88999ea35eeebb9a74c8bc432874b570eb5de8b17360a1315e495c8c516e85044c211163f64ccdfd81f51b517b5940c6d7942fe290a149cee
6
+ metadata.gz: 944b4436ec27fc5b1051c861bb4423690f80a9ca0e2229aa76cb066623b7e1a7952fd92113c9780f4f780c0c750ce035cd0f2388ab28d876e5211e4e59533c38
7
+ data.tar.gz: ee16cd272bea12e81a262a5b5588e6cced2ce3e2d997eba698f9525c981a9cefe83ec40163782f986848d72e20e1e456ab02d07ddac3c086e478fd89be71b57b
data/Gemfile CHANGED
@@ -6,4 +6,4 @@ gem 'hobo_support', :path => '../hobo_support'
6
6
  gemspec
7
7
 
8
8
  gem 'yard'
9
- gem 'rails', '4.0.8'
9
+ gem 'rails'
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.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', ["~> 4.0.2"])
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.to_sym])
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.1.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: 4.0.2
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: 4.0.2
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.1.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.1.2
40
+ version: 2.2.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: cucumber
43
43
  requirement: !ruby/object:Gem::Requirement