associates 0.0.3 → 0.0.4

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: bfcebdf85b7fd77eaf150b1c7dcb688f89c1ade3
4
- data.tar.gz: 76ee2577e6119a1d6c8dc02d775b5a1f0c31ec94
3
+ metadata.gz: 0df0a8168b80ad525cf62a2ef641d8be72e33c95
4
+ data.tar.gz: 622d74fa917fea8acb4be1a34f4a9f64ce8cdff0
5
5
  SHA512:
6
- metadata.gz: a76d3020c9f42ffff29c6b3aa37fa15edb15f48bfa6eb7b67cffd0de32114b0775873629933b25b29217ac3d0a240a10699722a8aff2a6bc4b0d1ee4b01a3789
7
- data.tar.gz: a37bdff086f8b109ee45287640e5a3e345079cb4aa34afeff1d999b45178446c8759416d9c7d011048f0b0db4d4dbdf9992baf735ee92e86f18694c488d8e321
6
+ metadata.gz: 76482d6bbe68bc867fc2c60c071cb5eac3c7465a85e5e77a63db80d4c5738c29f4b4d494443be4bc496c848a6debdff50390aa4b7cb8086d31d55238c5b70e44
7
+ data.tar.gz: b030f49a5c78da6fc4d77909868afd624cf6ed12d5d652997645e005f61a2f81257c5fd315556a74d7862bbf56ba90f20ce6548dfda8827e316bc51d288a498e
Binary file
data.tar.gz.sig CHANGED
@@ -1 +1,3 @@
1
- % ���j_{�b��~���ssK�U#+e�~@P�� ���ſ������-p��Q�L���>��7k <�d]FT�i�&Vm5N��g*�(3V�'� @`����쫹̕W��> ��tN��c2+��f�'z�-@DL��Xv obɱ�f zΑ#s�«��`Qٵ+~�������:0��9'�%֫fl�y��)���΅�N���Eq�q��"�3_(�c
1
+ ���T�����W�w�b���al���=2u ��e��Ҩ��X9NKZ�����x+���Z2'�2J֤����<��߽PaE��nᓥ�
2
+ ��?�QG�T8��yӘzܛ`GXN$ H�p����˅�Ӕ���U�qW�`ׁ���/�Ǫ0��kr_���
3
+ 2�d�4��vy���o �����@
@@ -8,7 +8,14 @@ module Associates
8
8
  extend ActiveSupport::Concern
9
9
 
10
10
  included do
11
- include ActiveModel::Model
11
+ if ActiveModel.version >= Gem::Version.new("4.0.0")
12
+ include ActiveModel::Model
13
+ else
14
+ extend ActiveModel::Naming
15
+ include ActiveModel::Validations
16
+ include ActiveModel::Conversions
17
+ end
18
+
12
19
  include Persistence
13
20
  include Validations
14
21
 
@@ -1,3 +1,3 @@
1
1
  module Associates
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: associates
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Philippe Dionne
@@ -12,25 +12,25 @@ cert_chain:
12
12
  -----BEGIN CERTIFICATE-----
13
13
  MIIDfDCCAmSgAwIBAgIBATANBgkqhkiG9w0BAQUFADBCMRQwEgYDVQQDDAtkaW9u
14
14
  bmUucGhpbDEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPyLGQBGRYD
15
- Y29tMB4XDTEzMDMwOTEzMjMzNVoXDTE0MDMwOTEzMjMzNVowQjEUMBIGA1UEAwwL
15
+ Y29tMB4XDTE0MDMwNTIyMjYxNloXDTE1MDMwNTIyMjYxNlowQjEUMBIGA1UEAwwL
16
16
  ZGlvbm5lLnBoaWwxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixk
17
- ARkWA2NvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALtGK2NoFyVX
18
- seKlfHb8nuhBy8rw1nP3JVHWoyqalLs0t3axUWe6sDCgQXAOL3FtkfYPYlyX6X4s
19
- FggcSySUt0PvGdas0ym/lW+sfGT6gXDBKbPvkWFNtpXaIJ8FLhqnJR2m57b8R6pf
20
- VMBDka95N80Xu9NQrAesF+wW/c6ZiAON2VDsWabZEfj146y7ZvviB7pZHlPznI4W
21
- G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xG5r8E4ND2GEGTeFJhgpMcHO
29
- Ir1uYn/LLeGG5g2EAKCdYy2XoohtcSPYApbeFQgWOGKoioQVRCDG3cHmakfVAV5M
30
- DuNlzvjhWtPDwE5mYO5x5XquWQuENw78urt1aioNrIe0/15dHpDoIEDILa6zU46B
31
- XDtp1YxdeVGIBuNoP1vjDSvNKYj0pMjRAEPrqK39jKE=
26
+ KoZIhvcNAQEFBQADggEBAH12eaLJzBCT8mnRSHEOVtFojlVGwGd9qVUoduZw66+k
27
+ xIXJI54VJDUkg/H+ZQUsxV75Rx8nOrZBdigwqKbFCsndSkV3WKwA4LQGpn+ORw6T
28
+ uWYAK9Gl8E8JlvK7MVZIaOC1K9guFhZwe1TlHuXLGR0clnxy518/HdAiWjH82K5t
29
+ KNyUV/z7ncvwiw0DR5ip9smfPqvdJBrEudHcNfuREzPjlxrOYqzX0LBIn7bZdAW3
30
+ BDWuwaa244KjH7hg3oS5JPRqjWesyyo0znWoA5lZcmpQX9al9HAuWWzaxRulP9EA
31
+ d1sJD+rsU2ZrJ9qrmTW0inJQUf2kyx4cHQertCzFa5c=
32
32
  -----END CERTIFICATE-----
33
- date: 2013-11-05 00:00:00.000000000 Z
33
+ date: 2014-03-06 00:00:00.000000000 Z
34
34
  dependencies:
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: activerecord
@@ -91,9 +91,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
91
91
  version: '0'
92
92
  requirements: []
93
93
  rubyforge_project:
94
- rubygems_version: 2.1.9
94
+ rubygems_version: 2.0.14
95
95
  signing_key:
96
96
  specification_version: 4
97
97
  summary: Associate multiple models together and make them behave as one.
98
98
  test_files: []
99
- has_rdoc:
metadata.gz.sig CHANGED
Binary file