mongoid-enum-dazzl 1.0.0.pre.853362636 → 1.0.0.pre.853659464

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: ae85a8cca8495c314aaa21826a3f59cfd184912d2f247daffa25e7d41243a093
4
- data.tar.gz: 6fda92281990a7dd6e5af95201c6afe6435e854929aab6d03846597229ca6590
3
+ metadata.gz: a4a98eac31070cd087980e7be2f32c2b5401934ada4e7fae0ee2873440fe2407
4
+ data.tar.gz: b300d66dd8eb52ed3eb39915290c439428226c4768134438e8484b3a3db7607b
5
5
  SHA512:
6
- metadata.gz: cb9f3a5f53713d58be29147e6c43ce96833ee36a6d71532bcf7bd4676f21b50e9527fa64da7a42d9fbb8ab01cca1765294730a6f704a0debfddb68ad794c0e0b
7
- data.tar.gz: 9ec4d9a9f18868beb6dd9a1b952fba9f3c6aa68823acb7b67350112f99ca60b72daa7ee574cbaa95eae22b205a6961f6ed3c33975a84062e66fd88aabae8f368
6
+ metadata.gz: d8fdf843c3e9ad935978f862c423090e0bde353fa6b6ce3e0223996caca2a9e8dba5736a4ca0c0d41b2737a70f8e903d92dbc9bf544fc6f56ed6146223279a53
7
+ data.tar.gz: 30b676909f2f98eab333b3593844cb3a5099063163329a4e3a102ca7af2e57cbd39e072aa06e78bfeb8c2731de62ddc67c3644f23ef479d2bed92294cbb15944
@@ -10,7 +10,8 @@ module Mongoid
10
10
  extend ActiveSupport::Concern
11
11
  module ClassMethods
12
12
  def enum(name, values, options = {})
13
- field_name = :"#{Mongoid::Enum::Dazzl.configuration.field_name_prefix}#{name}"
13
+ field_name = \
14
+ :"#{Mongoid::Enum::Dazzl.configuration.field_name_prefix}#{name}"
14
15
  options = default_options(values).merge(options)
15
16
 
16
17
  set_values_constant name, values
@@ -4,8 +4,7 @@
4
4
  module Mongoid
5
5
  module Enum
6
6
  module Dazzl
7
- # Define version to gem
8
- # module Dazzl
7
+ # Define version to gem
9
8
  VERSION = '1.0.0'
10
9
 
11
10
  # Name to gem
data/spec/spec_helper.rb CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  require 'mongoid'
4
4
  require 'mongoid/rspec'
5
- require 'mongoid/enum'
5
+ require 'mongoid/enum/dazzl'
6
6
  require 'simplecov'
7
7
  require 'simplecov_json_formatter'
8
8
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongoid-enum-dazzl
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.pre.853362636
4
+ version: 1.0.0.pre.853659464
5
5
  platform: ruby
6
6
  authors:
7
7
  - VAILLANT Jeremy
@@ -10,26 +10,6 @@ bindir: bin
10
10
  cert_chain: []
11
11
  date: 2021-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: bundler
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '2.2'
20
- - - "<="
21
- - !ruby/object:Gem::Version
22
- version: 2.2.16
23
- type: :development
24
- prerelease: false
25
- version_requirements: !ruby/object:Gem::Requirement
26
- requirements:
27
- - - "~>"
28
- - !ruby/object:Gem::Version
29
- version: '2.2'
30
- - - "<="
31
- - !ruby/object:Gem::Version
32
- version: 2.2.16
33
13
  - !ruby/object:Gem::Dependency
34
14
  name: faker
35
15
  requirement: !ruby/object:Gem::Requirement