scoped_associations 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/lib/scoped_associations/version.rb +1 -1
- data/scoped_associations.gemspec +2 -1
- data/spec/spec_helper.rb +2 -0
- metadata +21 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ae5226b558a4b95943f3d759df755e3898e287d5
|
4
|
+
data.tar.gz: 8300eb8cff879e0759150cdb473fd4f7d85074c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 81a64dd7208a914edddabb88c7c207e97465646b1f6eedd406ccdb7ec0b562da190c802989b5215ad3ae79cd70466993171525d03d16509b398763c1a4863cb0
|
7
|
+
data.tar.gz: 58820c5de410725ac3144de65e72b616444b20bc3a4ae57fecdb188a879b92621b7acda5773625e4367e7f023f20a661299393ff8eeccccc3c65494457d6316e
|
data/README.md
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
# ScopedAssociations
|
2
2
|
|
3
3
|
[![Build Status](https://travis-ci.org/stefanoverna/scoped_associations.png?branch=master)](https://travis-ci.org/stefanoverna/scoped_associations)
|
4
|
+
[![Coverage Status](https://coveralls.io/repos/stefanoverna/scoped_associations/badge.png?branch=master)](https://coveralls.io/r/stefanoverna/scoped_associations?branch=master)
|
4
5
|
|
5
6
|
ScopedAssociations is able to create multiple `has_to` and `has_many`
|
6
7
|
associations between two ActiveRecord models.
|
data/scoped_associations.gemspec
CHANGED
@@ -22,10 +22,11 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.add_development_dependency 'rake'
|
23
23
|
spec.add_development_dependency 'rspec'
|
24
24
|
spec.add_development_dependency 'sqlite3'
|
25
|
+
spec.add_development_dependency 'coveralls'
|
25
26
|
|
26
27
|
spec.required_ruby_version = ">= 1.9.3"
|
27
28
|
|
28
|
-
spec.add_dependency 'activerecord', ['>= 3.2', '
|
29
|
+
spec.add_dependency 'activerecord', ['>= 3.2', '~> 4.0.0']
|
29
30
|
spec.add_dependency 'activesupport'
|
30
31
|
end
|
31
32
|
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scoped_associations
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stefano Verna
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-02-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -66,6 +66,20 @@ dependencies:
|
|
66
66
|
- - '>='
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: coveralls
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - '>='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - '>='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
84
|
name: activerecord
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -73,9 +87,9 @@ dependencies:
|
|
73
87
|
- - '>='
|
74
88
|
- !ruby/object:Gem::Version
|
75
89
|
version: '3.2'
|
76
|
-
- -
|
90
|
+
- - ~>
|
77
91
|
- !ruby/object:Gem::Version
|
78
|
-
version:
|
92
|
+
version: 4.0.0
|
79
93
|
type: :runtime
|
80
94
|
prerelease: false
|
81
95
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -83,9 +97,9 @@ dependencies:
|
|
83
97
|
- - '>='
|
84
98
|
- !ruby/object:Gem::Version
|
85
99
|
version: '3.2'
|
86
|
-
- -
|
100
|
+
- - ~>
|
87
101
|
- !ruby/object:Gem::Version
|
88
|
-
version:
|
102
|
+
version: 4.0.0
|
89
103
|
- !ruby/object:Gem::Dependency
|
90
104
|
name: activesupport
|
91
105
|
requirement: !ruby/object:Gem::Requirement
|
@@ -147,7 +161,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
147
161
|
version: '0'
|
148
162
|
requirements: []
|
149
163
|
rubyforge_project:
|
150
|
-
rubygems_version: 2.0.
|
164
|
+
rubygems_version: 2.0.14
|
151
165
|
signing_key:
|
152
166
|
specification_version: 4
|
153
167
|
summary: Create multiple `has_to` and `has_many` associations between two ActiveRecord
|