rails_admin_settings 0.5.2 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/app/models/rails_admin_settings/setting.rb +2 -2
- data/lib/rails_admin_settings/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cdc19ffd66918e198000472862fc7045515bf282
|
4
|
+
data.tar.gz: 952677372ec953f096e51741cd0ef947cb955bdc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a92df07ac3ba6a9f2e9d1789f41d17ea70a8fdd1a0aa29797dfc56b3a3319d5b9237f4bab61a4d1ab6c2d5ddcc9c0195dd6c8d8509b7d5c5b3172a96bad9cda3
|
7
|
+
data.tar.gz: f5d158f45f9ec64d5093a6c44619a63c3faef976ae316d6ef17f45d73670bc2fc495d4e2bf035c9a20dcfe7547ff867e1ffc02b59f44106d07e2781f73c9f2b2
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.0.0-
|
1
|
+
2.0.0-p247
|
@@ -10,8 +10,8 @@ module RailsAdminSettings
|
|
10
10
|
include ::Mongoid::Audit::Trackable
|
11
11
|
track_history track_create: true, track_destroy: true
|
12
12
|
end
|
13
|
-
|
14
|
-
field :enabled, type: Boolean, default: true
|
13
|
+
|
14
|
+
field :enabled, type: Mongoid::VERSION.to_i < 4 ? Boolean : Mongoid::Boolean, default: true
|
15
15
|
scope :enabled, where(enabled: true)
|
16
16
|
|
17
17
|
field :type, type: String, default: RailsAdminSettings.types.first
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_admin_settings
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gleb Tv
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-09-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mongoid
|
@@ -270,7 +270,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
270
270
|
version: '0'
|
271
271
|
requirements: []
|
272
272
|
rubyforge_project:
|
273
|
-
rubygems_version: 2.0.
|
273
|
+
rubygems_version: 2.0.6
|
274
274
|
signing_key:
|
275
275
|
specification_version: 4
|
276
276
|
summary: Setting for Rails app with mongoid and RailsAdmin
|