remockable 0.3.5 → 0.3.6

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
- SHA1:
3
- metadata.gz: a8cdacc021626b01ac8474575ed76dbc7cdcdf1d
4
- data.tar.gz: '09769827c5ba76c5c76aad8e2bb0e21aed876809'
2
+ SHA256:
3
+ metadata.gz: ef80f7b524d17e73de94dafc8d36b8120edae8b6aab8170e57039615e1557c97
4
+ data.tar.gz: 80c872679d99fd3069ad06aa10cdcdd13c038032587b7fae013b59fe772e3475
5
5
  SHA512:
6
- metadata.gz: 62d7eae0c5643c396c82be72cd62102ff5c96c79b4de0af4fc26286f779596d6b8ae877b5ac5423a60cc237cee27821741457a8bccb1493b7ea45e1857ff5824
7
- data.tar.gz: 13cf49113231770d1e57d41b72768548a379a9cc817571cc25bf5e1a0e3c015803f82af13df8d20782cb27e5a50cb441d5ccfbc2a19dae77ebe1dbe079d694e7
6
+ metadata.gz: 7d5cf787a0c433229049974f76aad5298ce52adf1a01714a2a88b0edc6f1c6b8088af6c9b26d377dfadd6397941f863848ff06cadc4dbaa2f3740f11c0a59c9b
7
+ data.tar.gz: 862979cfc511476b7b0ca74aec5760cb5dbd01d697c7f17c525ea26176bc1b25bfa15c1ca971c2bfaadfc6eadd3c7717f13a9d3864a189de42b66506ae230ef8
@@ -7,13 +7,14 @@ gemfile:
7
7
  - gemfiles/rails_4.2.gemfile
8
8
  - gemfiles/rails_5.0.gemfile
9
9
  - gemfiles/rails_5.1.gemfile
10
+ - gemfiles/rails_5.2.gemfile
10
11
 
11
12
  rvm:
12
13
  - 2.0.0
13
14
  - 2.1.10
14
- - 2.2.6
15
- - 2.3.3
16
- - 2.4.0
15
+ - 2.2.8
16
+ - 2.3.5
17
+ - 2.4.2
17
18
 
18
19
  matrix:
19
20
  exclude:
@@ -21,7 +22,11 @@ matrix:
21
22
  gemfile: gemfiles/rails_5.0.gemfile
22
23
  - rvm: 2.0.0
23
24
  gemfile: gemfiles/rails_5.1.gemfile
25
+ - rvm: 2.0.0
26
+ gemfile: gemfiles/rails_5.2.gemfile
24
27
  - rvm: 2.1.10
25
28
  gemfile: gemfiles/rails_5.0.gemfile
26
29
  - rvm: 2.1.10
27
30
  gemfile: gemfiles/rails_5.1.gemfile
31
+ - rvm: 2.1.10
32
+ gemfile: gemfiles/rails_5.2.gemfile
data/Appraisals CHANGED
@@ -15,3 +15,9 @@ appraise 'rails-5.1' do
15
15
  gem 'activerecord', '~> 5.1'
16
16
  gem 'activesupport', '~> 5.1'
17
17
  end
18
+
19
+ appraise 'rails-5.2' do
20
+ gem 'activemodel', '~> 5.2'
21
+ gem 'activerecord', '~> 5.2'
22
+ gem 'activesupport', '~> 5.2'
23
+ end
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.3.6 (2018-05-07)
4
+
5
+ * Support Rails 5.2 ([Tyler Hunt][tylerhunt])
6
+
3
7
  ## 0.3.5 (2017-06-27)
4
8
 
5
9
  * Support Rails 5.1 ([Tyler Hunt][tylerhunt])
@@ -1,10 +1,10 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- remockable (0.3.4)
5
- activemodel (>= 4.0, < 5.2)
6
- activerecord (>= 4.0, < 5.2)
7
- activesupport (>= 4.0, < 5.2)
4
+ remockable (0.3.5)
5
+ activemodel (>= 4.0, < 5.3)
6
+ activerecord (>= 4.0, < 5.3)
7
+ activesupport (>= 4.0, < 5.3)
8
8
  rspec-core (~> 3.0)
9
9
  rspec-expectations (~> 3.0)
10
10
  rspec-mocks (~> 3.0)
@@ -62,4 +62,4 @@ DEPENDENCIES
62
62
  sqlite3 (~> 1.3.4)
63
63
 
64
64
  BUNDLED WITH
65
- 1.14.6
65
+ 1.16.1
@@ -1,10 +1,10 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- remockable (0.3.4)
5
- activemodel (>= 4.0, < 5.2)
6
- activerecord (>= 4.0, < 5.2)
7
- activesupport (>= 4.0, < 5.2)
4
+ remockable (0.3.5)
5
+ activemodel (>= 4.0, < 5.3)
6
+ activerecord (>= 4.0, < 5.3)
7
+ activesupport (>= 4.0, < 5.3)
8
8
  rspec-core (~> 3.0)
9
9
  rspec-expectations (~> 3.0)
10
10
  rspec-mocks (~> 3.0)
@@ -61,4 +61,4 @@ DEPENDENCIES
61
61
  sqlite3 (~> 1.3.4)
62
62
 
63
63
  BUNDLED WITH
64
- 1.14.6
64
+ 1.16.1
@@ -1,10 +1,10 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- remockable (0.3.4)
5
- activemodel (>= 4.0, < 5.2)
6
- activerecord (>= 4.0, < 5.2)
7
- activesupport (>= 4.0, < 5.2)
4
+ remockable (0.3.5)
5
+ activemodel (>= 4.0, < 5.3)
6
+ activerecord (>= 4.0, < 5.3)
7
+ activesupport (>= 4.0, < 5.3)
8
8
  rspec-core (~> 3.0)
9
9
  rspec-expectations (~> 3.0)
10
10
  rspec-mocks (~> 3.0)
@@ -61,4 +61,4 @@ DEPENDENCIES
61
61
  sqlite3 (~> 1.3.4)
62
62
 
63
63
  BUNDLED WITH
64
- 1.14.6
64
+ 1.16.1
@@ -0,0 +1,9 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org/"
4
+
5
+ gem "activemodel", "~> 5.2"
6
+ gem "activerecord", "~> 5.2"
7
+ gem "activesupport", "~> 5.2"
8
+
9
+ gemspec :path => "../"
@@ -0,0 +1,65 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ remockable (0.3.5)
5
+ activemodel (>= 4.0, < 5.3)
6
+ activerecord (>= 4.0, < 5.3)
7
+ activesupport (>= 4.0, < 5.3)
8
+ rspec-core (~> 3.0)
9
+ rspec-expectations (~> 3.0)
10
+ rspec-mocks (~> 3.0)
11
+
12
+ GEM
13
+ remote: https://rubygems.org/
14
+ specs:
15
+ activemodel (5.2.0)
16
+ activesupport (= 5.2.0)
17
+ activerecord (5.2.0)
18
+ activemodel (= 5.2.0)
19
+ activesupport (= 5.2.0)
20
+ arel (>= 9.0)
21
+ activesupport (5.2.0)
22
+ concurrent-ruby (~> 1.0, >= 1.0.2)
23
+ i18n (>= 0.7, < 2)
24
+ minitest (~> 5.1)
25
+ tzinfo (~> 1.1)
26
+ appraisal (2.2.0)
27
+ bundler
28
+ rake
29
+ thor (>= 0.14.0)
30
+ arel (9.0.0)
31
+ concurrent-ruby (1.0.5)
32
+ diff-lcs (1.3)
33
+ i18n (1.0.1)
34
+ concurrent-ruby (~> 1.0)
35
+ minitest (5.11.3)
36
+ rake (12.3.1)
37
+ rspec-core (3.7.1)
38
+ rspec-support (~> 3.7.0)
39
+ rspec-expectations (3.7.0)
40
+ diff-lcs (>= 1.2.0, < 2.0)
41
+ rspec-support (~> 3.7.0)
42
+ rspec-mocks (3.7.0)
43
+ diff-lcs (>= 1.2.0, < 2.0)
44
+ rspec-support (~> 3.7.0)
45
+ rspec-support (3.7.1)
46
+ sqlite3 (1.3.13)
47
+ thor (0.20.0)
48
+ thread_safe (0.3.6)
49
+ tzinfo (1.2.5)
50
+ thread_safe (~> 0.1)
51
+
52
+ PLATFORMS
53
+ ruby
54
+
55
+ DEPENDENCIES
56
+ activemodel (~> 5.2)
57
+ activerecord (~> 5.2)
58
+ activesupport (~> 5.2)
59
+ appraisal (~> 2.1)
60
+ rake
61
+ remockable!
62
+ sqlite3 (~> 1.3.4)
63
+
64
+ BUNDLED WITH
65
+ 1.16.1
@@ -1,3 +1,3 @@
1
1
  module Remockable
2
- VERSION = '0.3.5'
2
+ VERSION = '0.3.6'
3
3
  end
@@ -8,9 +8,9 @@ Gem::Specification.new do |spec|
8
8
  spec.homepage = 'http://github.com/tylerhunt/remockable'
9
9
  spec.license = 'MIT'
10
10
 
11
- spec.add_dependency 'activemodel', '>= 4.0', '< 5.2'
12
- spec.add_dependency 'activerecord', '>= 4.0', '< 5.2'
13
- spec.add_dependency 'activesupport', '>= 4.0', '< 5.2'
11
+ spec.add_dependency 'activemodel', '>= 4.0', '< 5.3'
12
+ spec.add_dependency 'activerecord', '>= 4.0', '< 5.3'
13
+ spec.add_dependency 'activesupport', '>= 4.0', '< 5.3'
14
14
  spec.add_dependency 'rspec-core', '~> 3.0'
15
15
  spec.add_dependency 'rspec-expectations', '~> 3.0'
16
16
  spec.add_dependency 'rspec-mocks', '~> 3.0'
@@ -52,13 +52,13 @@ describe :have_scope do
52
52
  end
53
53
 
54
54
  it 'matches if the scope exists and the query matches' do
55
- model.instance_eval { scope :loaded, -> { eager_load :posts } }
56
- expect(model).to have_scope(:loaded).eager_load(:posts)
55
+ model.instance_eval { scope :eager_loaded, -> { eager_load :posts } }
56
+ expect(model).to have_scope(:eager_loaded).eager_load(:posts)
57
57
  end
58
58
 
59
59
  it 'does not match if the query does not match' do
60
- model.instance_eval { scope :loaded, -> { eager_load :posts } }
61
- expect(model).to_not have_scope(:loaded).eager_load(:comments)
60
+ model.instance_eval { scope :eager_loaded, -> { eager_load :posts } }
61
+ expect(model).to_not have_scope(:eager_loaded).eager_load(:comments)
62
62
  end
63
63
  end
64
64
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: remockable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.5
4
+ version: 0.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tyler Hunt
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-27 00:00:00.000000000 Z
11
+ date: 2018-05-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '4.0'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '5.2'
22
+ version: '5.3'
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.0'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '5.2'
32
+ version: '5.3'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: activerecord
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -39,7 +39,7 @@ dependencies:
39
39
  version: '4.0'
40
40
  - - "<"
41
41
  - !ruby/object:Gem::Version
42
- version: '5.2'
42
+ version: '5.3'
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.0'
50
50
  - - "<"
51
51
  - !ruby/object:Gem::Version
52
- version: '5.2'
52
+ version: '5.3'
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: activesupport
55
55
  requirement: !ruby/object:Gem::Requirement
@@ -59,7 +59,7 @@ dependencies:
59
59
  version: '4.0'
60
60
  - - "<"
61
61
  - !ruby/object:Gem::Version
62
- version: '5.2'
62
+ version: '5.3'
63
63
  type: :runtime
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
@@ -69,7 +69,7 @@ dependencies:
69
69
  version: '4.0'
70
70
  - - "<"
71
71
  - !ruby/object:Gem::Version
72
- version: '5.2'
72
+ version: '5.3'
73
73
  - !ruby/object:Gem::Dependency
74
74
  name: rspec-core
75
75
  requirement: !ruby/object:Gem::Requirement
@@ -175,6 +175,8 @@ files:
175
175
  - gemfiles/rails_5.0.gemfile.lock
176
176
  - gemfiles/rails_5.1.gemfile
177
177
  - gemfiles/rails_5.1.gemfile.lock
178
+ - gemfiles/rails_5.2.gemfile
179
+ - gemfiles/rails_5.2.gemfile.lock
178
180
  - lib/remockable.rb
179
181
  - lib/remockable/active_model.rb
180
182
  - lib/remockable/active_model/allow_values_for.rb
@@ -248,7 +250,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
248
250
  version: '0'
249
251
  requirements: []
250
252
  rubyforge_project:
251
- rubygems_version: 2.6.8
253
+ rubygems_version: 2.7.6
252
254
  signing_key:
253
255
  specification_version: 4
254
256
  summary: A collection of RSpec matchers for web apps.