mongoid_enumerable 0.4.0 → 0.4.1

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
  SHA256:
3
- metadata.gz: 2cf4495ef6b58e4e41f79f9450c1a4dbd45fe9de7869724cc33a9ccedf7b8514
4
- data.tar.gz: 912fa04c9f108b4676948e225e6e6844794111665b2e319ab461800b8deea996
3
+ metadata.gz: 18e17dfe853d6105ee28629168235d887a48e3c4bbb3c664e12fbbf498fecd29
4
+ data.tar.gz: c8098cd06f3564632e66b2b3215364ccd7e4b3f76abfd7b38bc68ca906e8e793
5
5
  SHA512:
6
- metadata.gz: 19ab05734a9c41d9cb27444119ef871229f02dc3b2c8259f26943fff7403745f541ccf51dea18e65f9645e64272bcf23eebce07ed149d40a0db7c3d794e28077
7
- data.tar.gz: 2743a8df07a9e76c226f55a9cc5ead6c9d5e5f034022ac8bef7d7e447ae9e2a42f18ea8bf8aaaff0b48cf323418256971c764ad4baa52b5e431fbcefa5d8a184
6
+ metadata.gz: 968163534163961a35c1fae3d38aa4d9c8df4540a8fda3748173abd7712ea789453ed79732c110b6d8fdf2d1d89bf273ec4b44387edc97fa394aad679d79034a
7
+ data.tar.gz: d934f50160025fc5361f90fc8a7c4d6321ae958f5adec90d0cb15093845530c233e0d1a87d7a9a02c396b52c94e0dadde6b56d80b3e76ab4a90043447e226419
@@ -1,12 +1,8 @@
1
- sudo: false
2
1
  language: ruby
3
2
  rvm:
4
- - 2.6.0
5
- - 2.5.1
6
- - 2.4.3
7
- - 2.3.6
8
- - 2.2.9
9
- before_install: gem install bundler -v 1.16.1
3
+ - 2.7.1
4
+ - 2.6.6
5
+ - 2.5.8
10
6
  env:
11
7
  global:
12
8
  - CC_TEST_REPORTER_ID=049baa35735ad9587a7ff016745e67eb057ef79958cb31113d4a19cc504c0216
@@ -1,28 +1,29 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mongoid_enumerable (0.4.0)
4
+ mongoid_enumerable (0.4.1)
5
5
  mongoid (>= 4.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- activemodel (5.2.0)
11
- activesupport (= 5.2.0)
12
- activesupport (5.2.0)
10
+ activemodel (6.0.2.2)
11
+ activesupport (= 6.0.2.2)
12
+ activesupport (6.0.2.2)
13
13
  concurrent-ruby (~> 1.0, >= 1.0.2)
14
14
  i18n (>= 0.7, < 2)
15
15
  minitest (~> 5.1)
16
16
  tzinfo (~> 1.1)
17
- bson (4.3.0)
18
- byebug (10.0.2)
17
+ zeitwerk (~> 2.2)
18
+ bson (4.8.2)
19
+ byebug (11.1.1)
19
20
  coderay (1.1.2)
20
- concurrent-ruby (1.0.5)
21
+ concurrent-ruby (1.1.6)
21
22
  diff-lcs (1.3)
22
- docile (1.3.0)
23
- ffi (1.9.25)
23
+ docile (1.3.2)
24
+ ffi (1.12.2)
24
25
  formatador (0.2.5)
25
- guard (2.14.2)
26
+ guard (2.16.2)
26
27
  formatador (>= 0.2.4)
27
28
  listen (>= 2.7, < 4.0)
28
29
  lumberjack (>= 1.0.12, < 2.0)
@@ -36,75 +37,72 @@ GEM
36
37
  guard (~> 2.1)
37
38
  guard-compat (~> 1.1)
38
39
  rspec (>= 2.99.0, < 4.0)
39
- i18n (1.0.1)
40
+ i18n (1.8.2)
40
41
  concurrent-ruby (~> 1.0)
41
- json (2.1.0)
42
- listen (3.1.5)
43
- rb-fsevent (~> 0.9, >= 0.9.4)
44
- rb-inotify (~> 0.9, >= 0.9.7)
45
- ruby_dep (~> 1.2)
46
- lumberjack (1.0.13)
47
- method_source (0.9.0)
48
- minitest (5.11.3)
49
- mongo (2.5.3)
50
- bson (>= 4.3.0, < 5.0.0)
51
- mongoid (7.0.1)
52
- activemodel (>= 5.1, < 6.0.0)
53
- mongo (>= 2.5.1, < 3.0.0)
42
+ listen (3.2.1)
43
+ rb-fsevent (~> 0.10, >= 0.10.3)
44
+ rb-inotify (~> 0.9, >= 0.9.10)
45
+ lumberjack (1.2.4)
46
+ method_source (1.0.0)
47
+ minitest (5.14.0)
48
+ mongo (2.11.4)
49
+ bson (>= 4.4.2, < 5.0.0)
50
+ mongoid (7.1.0)
51
+ activemodel (>= 5.1, < 6.1)
52
+ mongo (>= 2.7.0, < 3.0.0)
54
53
  nenv (0.3.0)
55
- notiffany (0.1.1)
54
+ notiffany (0.1.3)
56
55
  nenv (~> 0.1)
57
56
  shellany (~> 0.0)
58
- pry (0.11.3)
59
- coderay (~> 1.1.0)
60
- method_source (~> 0.9.0)
61
- rake (10.5.0)
57
+ pry (0.13.1)
58
+ coderay (~> 1.1)
59
+ method_source (~> 1.0)
60
+ rake (13.0.1)
62
61
  rb-fsevent (0.10.3)
63
- rb-inotify (0.9.10)
64
- ffi (>= 0.5.0, < 2)
65
- rspec (3.7.0)
66
- rspec-core (~> 3.7.0)
67
- rspec-expectations (~> 3.7.0)
68
- rspec-mocks (~> 3.7.0)
69
- rspec-core (3.7.1)
70
- rspec-support (~> 3.7.0)
71
- rspec-expectations (3.7.0)
62
+ rb-inotify (0.10.1)
63
+ ffi (~> 1.0)
64
+ rspec (3.9.0)
65
+ rspec-core (~> 3.9.0)
66
+ rspec-expectations (~> 3.9.0)
67
+ rspec-mocks (~> 3.9.0)
68
+ rspec-core (3.9.1)
69
+ rspec-support (~> 3.9.1)
70
+ rspec-expectations (3.9.1)
72
71
  diff-lcs (>= 1.2.0, < 2.0)
73
- rspec-support (~> 3.7.0)
74
- rspec-mocks (3.7.0)
72
+ rspec-support (~> 3.9.0)
73
+ rspec-mocks (3.9.1)
75
74
  diff-lcs (>= 1.2.0, < 2.0)
76
- rspec-support (~> 3.7.0)
75
+ rspec-support (~> 3.9.0)
77
76
  rspec-nc (0.3.0)
78
77
  rspec (>= 3)
79
78
  terminal-notifier (>= 1.4)
80
- rspec-support (3.7.1)
81
- ruby_dep (1.5.0)
79
+ rspec-support (3.9.2)
82
80
  shellany (0.0.1)
83
- simplecov (0.16.1)
81
+ simplecov (0.18.5)
84
82
  docile (~> 1.1)
85
- json (>= 1.8, < 3)
86
- simplecov-html (~> 0.10.0)
87
- simplecov-html (0.10.2)
83
+ simplecov-html (~> 0.11)
84
+ simplecov-html (0.12.2)
88
85
  terminal-notifier (2.0.0)
89
- thor (0.20.0)
86
+ thor (1.0.1)
90
87
  thread_safe (0.3.6)
91
- tzinfo (1.2.5)
88
+ tzinfo (1.2.7)
92
89
  thread_safe (~> 0.1)
90
+ zeitwerk (2.3.0)
93
91
 
94
92
  PLATFORMS
95
93
  ruby
96
94
 
97
95
  DEPENDENCIES
98
- bundler (~> 1.16)
96
+ bundler
99
97
  byebug
100
98
  guard
101
99
  guard-rspec
102
100
  mongoid
103
101
  mongoid_enumerable!
104
- rake (~> 10.0)
102
+ rake (~> 13.0)
105
103
  rspec (~> 3.0)
106
104
  rspec-nc
107
105
  simplecov
108
106
 
109
107
  BUNDLED WITH
110
- 1.16.4
108
+ 2.1.4
@@ -44,7 +44,7 @@ module MongoidEnumerable
44
44
  def self.define_value_methods(model:, value:, field_name:, prefix:, before_change:, after_change:)
45
45
  method_name = "#{prefix}#{value}"
46
46
 
47
- define_method("#{method_name}!") do
47
+ model.define_method("#{method_name}!") do
48
48
  value_before = send(field_name)
49
49
  value_after = value
50
50
 
@@ -1,3 +1,3 @@
1
1
  module MongoidEnumerable
2
- VERSION = '0.4.0'
2
+ VERSION = '0.4.1'
3
3
  end
@@ -20,8 +20,8 @@ Gem::Specification.new do |spec|
20
20
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
21
21
  spec.require_paths = ["lib"]
22
22
 
23
- spec.add_development_dependency "bundler", "~> 1.16"
24
- spec.add_development_dependency "rake", "~> 10.0"
23
+ spec.add_development_dependency "bundler"
24
+ spec.add_development_dependency "rake", "~> 13.0"
25
25
  spec.add_development_dependency "rspec", "~> 3.0"
26
26
  spec.add_development_dependency "rspec-nc"
27
27
  spec.add_development_dependency "mongoid"
metadata CHANGED
@@ -1,43 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongoid_enumerable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Douglas Lise
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-05-09 00:00:00.000000000 Z
11
+ date: 2020-04-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '1.16'
19
+ version: '0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '1.16'
26
+ version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '10.0'
33
+ version: '13.0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '10.0'
40
+ version: '13.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -188,8 +188,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
188
188
  - !ruby/object:Gem::Version
189
189
  version: '0'
190
190
  requirements: []
191
- rubyforge_project:
192
- rubygems_version: 2.7.6
191
+ rubygems_version: 3.1.2
193
192
  signing_key:
194
193
  specification_version: 4
195
194
  summary: Mongoid Enumerable