rails-settings-ui 1.3.3 → 1.3.4

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: b3dd190c5967add341f313b36f2f25a0fdf7dc20
4
- data.tar.gz: 5dfb6e189441c5fabee28c9f949752cb1134c620
3
+ metadata.gz: 5f5dad1b725fdd3809bb95d6f11edd5523c59f6c
4
+ data.tar.gz: f46a5783f1a4c28f7646f7dba5a590ebe5f81170
5
5
  SHA512:
6
- metadata.gz: 6eda984873b5d3003d0d9d0ab4815ef5c59e423dfa2277ae4655373f7ba10989b427792c0acca70ea11d7a4aaa3803cc37df5c8c2d15874201de9b28df89f5fe
7
- data.tar.gz: dea4fb002f8c31414d2210a8bf95a16249cb38fc09c8c1070285ad61409ee786c872daf1540ef6d9e7ba8c088bc89294315266b2fd590547eb4d21a9eea61592
6
+ metadata.gz: 69ab96d91323430c2a7339cf2b6e4410abfb7d741fb929edb4a2670119f249f99642754500febe82083d06435e363d715ebc72d252a164ea2f61d199eab73c19
7
+ data.tar.gz: f07fe37f83ef1884761e97be3109e548a5b188f361178a688686fc1fa9e2cef214d3bc1bbd64d59b4d2cbbe3759892198b2ebf943e700e9afb37405eb93fb244
@@ -45,13 +45,13 @@ module RailsSettingsUi
45
45
  COERCIONS_MAP = {
46
46
  String => Types::Coercible::String,
47
47
  Symbol => Types::CustomCoercions::Symbol,
48
- (1.class == Integer ? Integer : Fixnum) => Types::Form::Int,
48
+ (1.class == Integer ? Integer : Fixnum) => Types::Params::Integer,
49
49
  ActiveSupport::HashWithIndifferentAccess => Types::CustomCoercions::Hash,
50
- ActiveSupport::Duration => Types::Form::Int,
51
- Float => Types::Form::Float,
50
+ ActiveSupport::Duration => Types::Params::Integer,
51
+ Float => Types::Params::Float,
52
52
  Array => Types::CustomCoercions::Array,
53
- FalseClass => Types::Form::Bool,
54
- TrueClass => Types::Form::Bool
53
+ FalseClass => Types::Params::Bool,
54
+ TrueClass => Types::Params::Bool
55
55
  }.freeze
56
56
 
57
57
  def initialize(default_settings, settings)
@@ -1,3 +1,3 @@
1
1
  module RailsSettingsUi
2
- VERSION = '1.3.3'
2
+ VERSION = '1.3.4'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-settings-ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.3
4
+ version: 1.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrey Morskov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-12 00:00:00.000000000 Z
11
+ date: 2018-08-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails