rails_admin_settings 0.6.0 → 0.6.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
  SHA1:
3
- metadata.gz: 7026b8ca9636dabaf5e279d2b2bfff9b6117c7bd
4
- data.tar.gz: 22f40dc0852ea497da0826dfe612b5ccd721099d
3
+ metadata.gz: 57658fd2928a77d8a69898ac2ff336d9e7f23e53
4
+ data.tar.gz: 0d405cef62c4a0c3510c58cf6351789810506df9
5
5
  SHA512:
6
- metadata.gz: 98a6fe6a9ecb47a3cd5ebe3bb8b64014eb9bbe7e59e315a6dccd428d4d324d9e3bc42ef3e87d44532a693d72c697d8bf8f27fe67be59cb18f841c5cf381b148d
7
- data.tar.gz: a0075c3be9b521493b03bf4b22767caf40761d13d4dab24a1f71f1ca1e50ed6dc2eb39b59a6d6fcc054b5468e188e0718715cc1a335b04cef6778900d718e327
6
+ metadata.gz: d91de52bed3eae39ac6fadc8acc3660c22aafdf40fc6d0a7308ac3efc75503e3147eb1d3ceae5c2abf48c41093cc62e2f4632a25c7304a3f288769554a99962c
7
+ data.tar.gz: ec2eee814918a600f63fb69c92cfcbf77fc68cff9357e696b477b9f85387eb44305dc79eeb0dcce05836eb7a8fd8c9304e377f01ad3bc7a4c0889a2c7fcae3df
@@ -12,7 +12,7 @@ module RailsAdminSettings
12
12
  end
13
13
 
14
14
  field :enabled, type: Mongoid::VERSION.to_i < 4 ? Boolean : Mongoid::Boolean, default: true
15
- scope :enabled, where(enabled: true)
15
+ scope :enabled, -> { where(enabled: true) }
16
16
 
17
17
  field :type, type: String, default: RailsAdminSettings.types.first
18
18
 
@@ -1,3 +1,3 @@
1
1
  module RailsAdminSettings
2
- VERSION = "0.6.0"
2
+ VERSION = "0.6.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_admin_settings
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gleb Tv