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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 66ba2afcaf621ca4720db9bff8c52aa997790d7e
4
- data.tar.gz: 89e895d2dcd841405111ca542ec7552aa79917d3
3
+ metadata.gz: cdc19ffd66918e198000472862fc7045515bf282
4
+ data.tar.gz: 952677372ec953f096e51741cd0ef947cb955bdc
5
5
  SHA512:
6
- metadata.gz: f004401b57d40d96ad953855d9b3ca41ddb59de9781ddc4aaff517d35b898c59c29244b862e87541d362ae8ba9c0517177d558e53a35e80b444a5b79cab564a2
7
- data.tar.gz: 2628bd81d95ec2ebc169e33f7016ecfb508b2217914449a779a1de6770b15577900386f66e91e5d7633285f5285057a047687c2d8b95913e743142b0f9925bdc
6
+ metadata.gz: a92df07ac3ba6a9f2e9d1789f41d17ea70a8fdd1a0aa29797dfc56b3a3319d5b9237f4bab61a4d1ab6c2d5ddcc9c0195dd6c8d8509b7d5c5b3172a96bad9cda3
7
+ data.tar.gz: f5d158f45f9ec64d5093a6c44619a63c3faef976ae316d6ef17f45d73670bc2fc495d4e2bf035c9a20dcfe7547ff867e1ffc02b59f44106d07e2781f73c9f2b2
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.0.0-p195
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
@@ -1,3 +1,3 @@
1
1
  module RailsAdminSettings
2
- VERSION = "0.5.2"
2
+ VERSION = "0.5.3"
3
3
  end
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.2
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-07-20 00:00:00.000000000 Z
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.3
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