activemodel-associations 0.2.0.beta2 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -2
- data/activemodel-associations.gemspec +3 -3
- data/gemfiles/activerecord-50.gemfile +3 -3
- data/lib/active_model/associations/version.rb +1 -1
- metadata +29 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6a42092658077c36fee855fe0470b425528307b3
|
4
|
+
data.tar.gz: 85d8d24065fd869ea71abe5274496ab5c9444c0e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf9ffd6fe9652414ba94eb324639453dcda9367da67cf8e7fbaf2213712647c6e6018c6bdad297a62181c2578bb72deb231620e5a92a4cdcabe656c2825927ec
|
7
|
+
data.tar.gz: 41d45911f722caae5bfd4acd936e2476b1a467d56bb23be163ba7f831692d0bfed4803c952c44dcf217e6058cd9b2892aaa872e59852c68f063370782120d62e
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# ActiveModel::Associations
|
2
2
|
[![Gem Version](https://badge.fury.io/rb/activemodel-associations.svg)](http://badge.fury.io/rb/activemodel-associations)
|
3
3
|
[![Build Status](https://travis-ci.org/joker1007/activemodel-associations.svg?branch=master)](https://travis-ci.org/joker1007/activemodel-associations)
|
4
4
|
[![Coverage Status](https://coveralls.io/repos/joker1007/activemodel-associations/badge.png)](https://coveralls.io/r/joker1007/activemodel-associations)
|
@@ -27,6 +27,7 @@ Or install it yourself as:
|
|
27
27
|
- activerecord-4.0.x
|
28
28
|
- activerecord-4.1.x
|
29
29
|
- activerecord-4.2.x
|
30
|
+
- activerecord-5.0.x
|
30
31
|
|
31
32
|
## Usage
|
32
33
|
|
@@ -125,7 +126,7 @@ Support associations is only `belongs_to` and simple `has_many`
|
|
125
126
|
|
126
127
|
## Contributing
|
127
128
|
|
128
|
-
1. Fork it ( https://github.com/
|
129
|
+
1. Fork it ( https://github.com/joker1007/activemodel-associations/fork )
|
129
130
|
2. Create your feature branch (`git checkout -b my-new-feature`)
|
130
131
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
131
132
|
4. Push to the branch (`git push origin my-new-feature`)
|
@@ -18,9 +18,9 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
-
spec.add_runtime_dependency "activerecord", "<
|
22
|
-
spec.add_runtime_dependency "activemodel", "<
|
23
|
-
spec.add_runtime_dependency "activesupport", "<
|
21
|
+
spec.add_runtime_dependency "activerecord", "< 6", ">= 4.1"
|
22
|
+
spec.add_runtime_dependency "activemodel", "< 6", ">= 4.1"
|
23
|
+
spec.add_runtime_dependency "activesupport", "< 6", ">= 4.1"
|
24
24
|
|
25
25
|
spec.add_development_dependency "bundler", "~> 1.6"
|
26
26
|
spec.add_development_dependency "rake"
|
@@ -1,7 +1,7 @@
|
|
1
1
|
source "https://rubygems.org"
|
2
2
|
|
3
|
-
gem "activerecord", "~> 5.0.0
|
4
|
-
gem "activemodel", "~> 5.0.0
|
5
|
-
gem "activesupport", "~> 5.0.0
|
3
|
+
gem "activerecord", "~> 5.0.0"
|
4
|
+
gem "activemodel", "~> 5.0.0"
|
5
|
+
gem "activesupport", "~> 5.0.0"
|
6
6
|
|
7
7
|
gemspec :path => "../"
|
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.2.0
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- joker1007
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-08-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -16,42 +16,60 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "<"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '6'
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '4.1'
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
27
|
- - "<"
|
25
28
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
29
|
+
version: '6'
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '4.1'
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: activemodel
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
30
36
|
requirements:
|
31
37
|
- - "<"
|
32
38
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
39
|
+
version: '6'
|
40
|
+
- - ">="
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: '4.1'
|
34
43
|
type: :runtime
|
35
44
|
prerelease: false
|
36
45
|
version_requirements: !ruby/object:Gem::Requirement
|
37
46
|
requirements:
|
38
47
|
- - "<"
|
39
48
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
49
|
+
version: '6'
|
50
|
+
- - ">="
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: '4.1'
|
41
53
|
- !ruby/object:Gem::Dependency
|
42
54
|
name: activesupport
|
43
55
|
requirement: !ruby/object:Gem::Requirement
|
44
56
|
requirements:
|
45
57
|
- - "<"
|
46
58
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
59
|
+
version: '6'
|
60
|
+
- - ">="
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '4.1'
|
48
63
|
type: :runtime
|
49
64
|
prerelease: false
|
50
65
|
version_requirements: !ruby/object:Gem::Requirement
|
51
66
|
requirements:
|
52
67
|
- - "<"
|
53
68
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
69
|
+
version: '6'
|
70
|
+
- - ">="
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: '4.1'
|
55
73
|
- !ruby/object:Gem::Dependency
|
56
74
|
name: bundler
|
57
75
|
requirement: !ruby/object:Gem::Requirement
|
@@ -242,12 +260,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
242
260
|
version: '0'
|
243
261
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
244
262
|
requirements:
|
245
|
-
- - "
|
263
|
+
- - ">="
|
246
264
|
- !ruby/object:Gem::Version
|
247
|
-
version:
|
265
|
+
version: '0'
|
248
266
|
requirements: []
|
249
267
|
rubyforge_project:
|
250
|
-
rubygems_version: 2.
|
268
|
+
rubygems_version: 2.6.4
|
251
269
|
signing_key:
|
252
270
|
specification_version: 4
|
253
271
|
summary: ActiveRecord Association Helper for PORO (Plain Old Ruby Object)
|