property_sets 2.8.0 → 2.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/property_sets.rb +1 -1
- data/lib/property_sets/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 128a31de3fa0d247a516ff4f146d3f7b184087a5
|
4
|
+
data.tar.gz: 198c59fb925266059de4836472d499907be6587b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f49a83c147ef84892575907bec6758944c889acd2cacc38d7fb0b336db56a9bd0bf90ce95baf7cdb82f549ae0eb77df67bd501118f47e6b9c7d60726437e501
|
7
|
+
data.tar.gz: 141491b9ebd2f7a99dd3f00ef284c7a3985a53d56f33a4da5672dc80cc1af0d52129a66acec3b3372e11a452a4e7ed7821252f44ca4397ed774a88b64c53f5f4
|
data/lib/property_sets.rb
CHANGED
@@ -9,7 +9,7 @@ end
|
|
9
9
|
|
10
10
|
module PropertySets
|
11
11
|
def self.ensure_property_set_class(association, owner_class_name)
|
12
|
-
const_name = "#{owner_class_name}#{association.to_s.singularize.
|
12
|
+
const_name = "#{owner_class_name}#{association.to_s.singularize.camelcase}".to_sym
|
13
13
|
unless Object.const_defined?(const_name)
|
14
14
|
property_class = Object.const_set(const_name, Class.new(ActiveRecord::Base))
|
15
15
|
property_class.class_eval do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: property_sets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Morten Primdahl
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-01-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -176,8 +176,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
176
176
|
version: '0'
|
177
177
|
requirements: []
|
178
178
|
rubyforge_project:
|
179
|
-
rubygems_version: 2.2.
|
179
|
+
rubygems_version: 2.2.0
|
180
180
|
signing_key:
|
181
181
|
specification_version: 4
|
182
182
|
summary: Property sets for ActiveRecord.
|
183
183
|
test_files: []
|
184
|
+
has_rdoc:
|