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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1a8d5ec22b7e01d1b6038c99e16c54f9b6d8ca0d
4
- data.tar.gz: da77f72500f98858cf76d2828b698a5c0e573db3
3
+ metadata.gz: ae5226b558a4b95943f3d759df755e3898e287d5
4
+ data.tar.gz: 8300eb8cff879e0759150cdb473fd4f7d85074c7
5
5
  SHA512:
6
- metadata.gz: 307392fd32c64f5e392f3617bb01dc1b821f49c8763dc3a95185c76328f4ee7d822c631ae9bfaf4bbbcb9065a9f6e6c3dc5a1f61af9fed20d0bd3c2920864c20
7
- data.tar.gz: 9fe8e023f57dfe2bec1779d94f35eb4f50e895a8515643fe669cd168c81d7390a27f1aa73a6ac85d138f020f027075e5ea4ef1df329bd6f00091e63fa1c6959d
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.
@@ -1,4 +1,4 @@
1
1
  module ScopedAssociations
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
4
4
 
@@ -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', '<= 4.0']
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
@@ -2,6 +2,8 @@ require 'rubygems'
2
2
  require 'bundler'
3
3
  require 'active_record'
4
4
  require 'logger'
5
+ require 'coveralls'
6
+ Coveralls.wear!
5
7
 
6
8
  ROOT = File.expand_path('../', __FILE__)
7
9
 
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.1
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: 2013-07-29 00:00:00.000000000 Z
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: '4.0'
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: '4.0'
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.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