scoped_from 0.8.5 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/scoped_from.rb +1 -0
- data/scoped_from.gemspec +5 -5
- data/spec/support/{bootsrap → bootstrap}/database.rb +1 -1
- metadata +16 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 482df1de6489956c47825b4fbd71aba7d503181d
|
4
|
+
data.tar.gz: 4b3270b8efce564533f32dc13ba9ca2c02052459
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4fe4a20776a1eaf41754dea44011fb2269082bb4c44707919e7a5b3bd7a1fb3a9ba544fe71d0af11036dd7c510681414638ddaef667fb2960ac7a571aef46d72
|
7
|
+
data.tar.gz: da4e358a921c96fabc986c52323c58e4f1515d420d4029bba8fbbf59e28ebbb224918ddc28c2d4d6acd87b8a055b891f8468903989f467b2d21a475a71227a91
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.9.0
|
data/lib/scoped_from.rb
CHANGED
data/scoped_from.gemspec
CHANGED
@@ -16,11 +16,11 @@ Gem::Specification.new do |s|
|
|
16
16
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
17
17
|
s.require_paths = ['lib']
|
18
18
|
|
19
|
-
s.add_dependency 'activerecord', '>= 4.1.0', '< 4.
|
20
|
-
s.add_dependency 'activesupport', '>= 4.1.0', '< 4.
|
19
|
+
s.add_dependency 'activerecord', '>= 4.1.0', '< 4.3.0'
|
20
|
+
s.add_dependency 'activesupport', '>= 4.1.0', '< 4.3.0'
|
21
21
|
|
22
|
-
s.add_development_dependency 'byebug', '>= 3.2.0', '< 3.
|
23
|
-
s.add_development_dependency 'rake', '>= 10.3.0', '< 10.
|
24
|
-
s.add_development_dependency 'rspec', '>= 3.
|
22
|
+
s.add_development_dependency 'byebug', '>= 3.2.0', '< 3.6.0'
|
23
|
+
s.add_development_dependency 'rake', '>= 10.3.0', '< 10.5.0'
|
24
|
+
s.add_development_dependency 'rspec', '>= 3.1.0', '< 3.2.0'
|
25
25
|
s.add_development_dependency 'sqlite3-ruby', '>= 1.3.0', '< 1.4.0'
|
26
26
|
end
|
@@ -7,6 +7,6 @@ ActiveRecord::Base.connection.create_table(:users, force: true) do |t|
|
|
7
7
|
t.string :lastname, null: false
|
8
8
|
t.boolean :enabled, null: false, default: false
|
9
9
|
t.boolean :admin, null: false, default: false
|
10
|
-
t.timestamps
|
10
|
+
t.timestamps null: false
|
11
11
|
end
|
12
12
|
ActiveRecord::Base.connection.create_table(:votes, force: true)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scoped_from
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexis Toulotte
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-01-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: 4.1.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 4.
|
22
|
+
version: 4.3.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: 4.1.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 4.
|
32
|
+
version: 4.3.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: activesupport
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -39,7 +39,7 @@ dependencies:
|
|
39
39
|
version: 4.1.0
|
40
40
|
- - "<"
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: 4.
|
42
|
+
version: 4.3.0
|
43
43
|
type: :runtime
|
44
44
|
prerelease: false
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -49,7 +49,7 @@ dependencies:
|
|
49
49
|
version: 4.1.0
|
50
50
|
- - "<"
|
51
51
|
- !ruby/object:Gem::Version
|
52
|
-
version: 4.
|
52
|
+
version: 4.3.0
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
54
|
name: byebug
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|
@@ -59,7 +59,7 @@ dependencies:
|
|
59
59
|
version: 3.2.0
|
60
60
|
- - "<"
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version: 3.
|
62
|
+
version: 3.6.0
|
63
63
|
type: :development
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -69,7 +69,7 @@ dependencies:
|
|
69
69
|
version: 3.2.0
|
70
70
|
- - "<"
|
71
71
|
- !ruby/object:Gem::Version
|
72
|
-
version: 3.
|
72
|
+
version: 3.6.0
|
73
73
|
- !ruby/object:Gem::Dependency
|
74
74
|
name: rake
|
75
75
|
requirement: !ruby/object:Gem::Requirement
|
@@ -79,7 +79,7 @@ dependencies:
|
|
79
79
|
version: 10.3.0
|
80
80
|
- - "<"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 10.
|
82
|
+
version: 10.5.0
|
83
83
|
type: :development
|
84
84
|
prerelease: false
|
85
85
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -89,27 +89,27 @@ dependencies:
|
|
89
89
|
version: 10.3.0
|
90
90
|
- - "<"
|
91
91
|
- !ruby/object:Gem::Version
|
92
|
-
version: 10.
|
92
|
+
version: 10.5.0
|
93
93
|
- !ruby/object:Gem::Dependency
|
94
94
|
name: rspec
|
95
95
|
requirement: !ruby/object:Gem::Requirement
|
96
96
|
requirements:
|
97
97
|
- - ">="
|
98
98
|
- !ruby/object:Gem::Version
|
99
|
-
version: 3.
|
99
|
+
version: 3.1.0
|
100
100
|
- - "<"
|
101
101
|
- !ruby/object:Gem::Version
|
102
|
-
version: 3.
|
102
|
+
version: 3.2.0
|
103
103
|
type: :development
|
104
104
|
prerelease: false
|
105
105
|
version_requirements: !ruby/object:Gem::Requirement
|
106
106
|
requirements:
|
107
107
|
- - ">="
|
108
108
|
- !ruby/object:Gem::Version
|
109
|
-
version: 3.
|
109
|
+
version: 3.1.0
|
110
110
|
- - "<"
|
111
111
|
- !ruby/object:Gem::Version
|
112
|
-
version: 3.
|
112
|
+
version: 3.2.0
|
113
113
|
- !ruby/object:Gem::Dependency
|
114
114
|
name: sqlite3-ruby
|
115
115
|
requirement: !ruby/object:Gem::Requirement
|
@@ -159,7 +159,7 @@ files:
|
|
159
159
|
- spec/scoped_from/query_spec.rb
|
160
160
|
- spec/scoped_from_spec.rb
|
161
161
|
- spec/spec_helper.rb
|
162
|
-
- spec/support/
|
162
|
+
- spec/support/bootstrap/database.rb
|
163
163
|
- spec/support/macros/user_macro.rb
|
164
164
|
homepage: https://github.com/alexistoulotte/scoped_from
|
165
165
|
licenses:
|
@@ -197,5 +197,5 @@ test_files:
|
|
197
197
|
- spec/scoped_from/query_spec.rb
|
198
198
|
- spec/scoped_from_spec.rb
|
199
199
|
- spec/spec_helper.rb
|
200
|
-
- spec/support/
|
200
|
+
- spec/support/bootstrap/database.rb
|
201
201
|
- spec/support/macros/user_macro.rb
|