activemodel-associations 0.1.1 → 0.1.2

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: 05b48e5387b4b96ce1a5b67a9d40dc2d9f3b2ccc
4
- data.tar.gz: 74414a8659cc8a1f854f4f95fa7a2eceb5b8045d
3
+ metadata.gz: 6685a28ca5b130f8762895039083ba25e8e7e230
4
+ data.tar.gz: c245032bc18aa7fae1f9a25dbdcb21ac07d1bce7
5
5
  SHA512:
6
- metadata.gz: eab7092d4d6a60a114fdd5a88d9572cf83d621afc300f802e775f8ac60078830d0b581738bd2200560460e24f7b29e3697964b4468d20312e6aae85e87f3fe06
7
- data.tar.gz: f5d09635fd3d18e37c18167137ba0528002d8f230e76e8380912b3940261ed12c78ef77df90e72068025a463d944897077cd30cc55af21307a55dd20c0c8909a
6
+ metadata.gz: 786a262f5f9c012f46bc2d3fa9748634ce89745ebe8b7c636b718a42fae3a86310ae494d4c8f61bb94e751bfa42816cd6b2231550b44d874a807ea19cf5c7201
7
+ data.tar.gz: e329a2da7598e1ea434ad0a2b16458405e9cd89a669843906418ad813aa1432c7b5eaeec40721c532acf8543f39844dfa6530e931f9731a4328d530ae118ad0e
data/README.md CHANGED
@@ -20,6 +20,9 @@ Or install it yourself as:
20
20
 
21
21
  $ gem install activemodel-associations
22
22
 
23
+ ## Requirements
24
+ - Ruby-2.0.0 or later
25
+
23
26
  ## Support
24
27
  - activerecord-4.0.x
25
28
  - activerecord-4.1.x
@@ -23,6 +23,14 @@ module ActiveModel::Associations
23
23
  self.to_s.pluralize
24
24
  end
25
25
 
26
+ def clear_reflections_cache
27
+ @__reflections = nil
28
+ end
29
+
30
+ def default_scopes
31
+ []
32
+ end
33
+
26
34
  protected
27
35
 
28
36
  def compute_type(type_name)
@@ -1,5 +1,5 @@
1
1
  module ActiveModel
2
2
  module Associations
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activemodel-associations
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - joker1007
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-28 00:00:00.000000000 Z
11
+ date: 2015-11-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -247,7 +247,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
247
247
  version: '0'
248
248
  requirements: []
249
249
  rubyforge_project:
250
- rubygems_version: 2.4.6
250
+ rubygems_version: 2.4.8
251
251
  signing_key:
252
252
  specification_version: 4
253
253
  summary: ActiveRecord Association Helper for PORO (Plain Old Ruby Object)