property_sets 3.2.0 → 3.2.1

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: 134127c6fe25e414f1a4ef232fbe02621f57ebf3
4
- data.tar.gz: 0213442aa7d5601e00d5bebe25a8691487758346
3
+ metadata.gz: 537a0d1bb242604cbcc56a1ca36e470f2a6b801e
4
+ data.tar.gz: d845adb423d5ce5607217b1cbf8410fbb7e15680
5
5
  SHA512:
6
- metadata.gz: 22e5bf52ab66ab035c58bd60064ef3dbc2884800041bffaecc9f6afbfadc8c1a0d9e0ef7002695d1efc0f47d966a36d58a0256a55369a1bc7862d9ec4e3013a7
7
- data.tar.gz: 3f1f687cd665eb5387c52bb21ee21c987eb8be86caea5a354b23e5f1c5a79b8774c6efafd1b6e493ca130db3ebaa8a99731415ddac897046c31a2fc6d24fcc88
6
+ metadata.gz: a8f469c438491d9b2670fe1553067db729960de8b5560be99ef16f0acb49acd10ea0bf84381170f3d25be47f702fb326d186c92f41c1b6bd59379868f21f17ff
7
+ data.tar.gz: ecd439b869a49c327efa2f358bccdd1fd4f24b49a45ecbd6275c421d84bb6168450cef26fc8c4ee2f85903a6a8ef4ec1fc5cc19faac94800b3bfced04fd01e75
@@ -1,5 +1,6 @@
1
1
  require 'active_record'
2
2
  require 'property_sets/casting'
3
+ require 'set'
3
4
 
4
5
  module PropertySets
5
6
  module ActiveRecordExtension
@@ -9,7 +10,7 @@ module PropertySets
9
10
  unless include?(PropertySets::ActiveRecordExtension::InstanceMethods)
10
11
  self.send(:prepend, PropertySets::ActiveRecordExtension::InstanceMethods)
11
12
  cattr_accessor :property_set_index
12
- self.property_set_index = []
13
+ self.property_set_index = Set.new
13
14
  end
14
15
 
15
16
  raise "Invalid association name, letters only" unless association.to_s =~ /[a-z]+/
@@ -1,3 +1,3 @@
1
1
  module PropertySets
2
- VERSION = "3.2.0"
2
+ VERSION = "3.2.1"
3
3
  end
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: 3.2.0
4
+ version: 3.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Morten Primdahl
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-06 00:00:00.000000000 Z
11
+ date: 2017-11-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -162,7 +162,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
162
162
  version: '0'
163
163
  requirements: []
164
164
  rubyforge_project:
165
- rubygems_version: 2.5.1
165
+ rubygems_version: 2.4.5.1
166
166
  signing_key:
167
167
  specification_version: 4
168
168
  summary: Property sets for ActiveRecord.