mongoid_enumerable 0.3.1 → 0.4.0

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: cc95ca01789205d6d562246b481decd47a4a9cc24f7737591f0a2ee6d0fed00b
4
- data.tar.gz: 83d3e8f06edde0e37d9e212cf3a7727a6168130711ec8a4f52ba48344a81b883
3
+ metadata.gz: 2cf4495ef6b58e4e41f79f9450c1a4dbd45fe9de7869724cc33a9ccedf7b8514
4
+ data.tar.gz: 912fa04c9f108b4676948e225e6e6844794111665b2e319ab461800b8deea996
5
5
  SHA512:
6
- metadata.gz: d7645e234a2157285ed33e4f8c06d04b3f956bc0d62305a0d6253a0fc88e3cd6d7c460702a007862348f69133eb3208d2204a5ffe1a074ae70042199bd0a13b2
7
- data.tar.gz: 4b57b9eb7fe390848cdbb76dbbbf2848c247b597e223c94a8e3b77fb3db9cd9932ce56663be9fdcb555ca5cf014f77fef578b0b8dd81a0da619e40c849cf2320
6
+ metadata.gz: 19ab05734a9c41d9cb27444119ef871229f02dc3b2c8259f26943fff7403745f541ccf51dea18e65f9645e64272bcf23eebce07ed149d40a0db7c3d794e28077
7
+ data.tar.gz: 2743a8df07a9e76c226f55a9cc5ead6c9d5e5f034022ac8bef7d7e447ae9e2a42f18ea8bf8aaaff0b48cf323418256971c764ad4baa52b5e431fbcefa5d8a184
data/.travis.yml CHANGED
@@ -1,6 +1,7 @@
1
1
  sudo: false
2
2
  language: ruby
3
3
  rvm:
4
+ - 2.6.0
4
5
  - 2.5.1
5
6
  - 2.4.3
6
7
  - 2.3.6
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mongoid_enumerable (0.3.1)
4
+ mongoid_enumerable (0.4.0)
5
5
  mongoid (>= 4.0)
6
6
 
7
7
  GEM
@@ -107,4 +107,4 @@ DEPENDENCIES
107
107
  simplecov
108
108
 
109
109
  BUNDLED WITH
110
- 1.16.2
110
+ 1.16.4
@@ -62,7 +62,7 @@ module MongoidEnumerable
62
62
  send(field_name) == value
63
63
  end
64
64
 
65
- model.scope value, -> { where(field_name => value) }
65
+ model.scope method_name, -> { where(field_name => value) }
66
66
  end
67
67
 
68
68
  def run_callback(model:, callback_method_name:, value_before:, value_after:)
@@ -1,3 +1,3 @@
1
1
  module MongoidEnumerable
2
- VERSION = '0.3.1'
2
+ VERSION = '0.4.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongoid_enumerable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Douglas Lise
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-07-30 00:00:00.000000000 Z
11
+ date: 2019-05-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler