strong_arms 0.2.1 → 0.2.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
  SHA256:
3
- metadata.gz: abf13ec7439c3395d145329fec3e71771be918952bb27af1560e5cc1c6d89ebb
4
- data.tar.gz: 8c0885abccebb8110ad12ecf4e244985e29a2c8da0b36c009bfe6c8b02d445be
3
+ metadata.gz: 15cdd7f15b809fa7310063341625cbe5e9a9ffbe75e7b9e9da36bf05f325e019
4
+ data.tar.gz: 28eb29b55c0ac72e562d7e6a8546bea9ecc4b47bd59016100d280be9554e3a98
5
5
  SHA512:
6
- metadata.gz: aebad69ebd3084eda3b2bba50ff563a569c7b24fc3be53d7503995b935b8fc53b39a12f42fd4a886ff97c855ca3e3cab05f21e133f932735e388e161630c08df
7
- data.tar.gz: 9b364805ad03309ea3f2b6191003d67b95e525ab3668ae341872c9eaedffc4e2a8d45c1f0d9fef521352593c1bfd68af408b4ddc19c5eb83b663f2e9c4f5448c
6
+ metadata.gz: eb26201e2bbd63ce39f2905703dc6b483ba938ddda9f8b8bad501939187f2560ead8b4b93efa56ec14ec8e8c70c5f0651539de3fb228f5330efafcbacb9102ae
7
+ data.tar.gz: f295e112872d8bc6e435e0a2370c02978490bf0d3a69af74e07a0127cbae0281a13ed82b11c9234c044e15d6caa5610df6dee17385bde6f0b672fc05104e84db
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 2.6.4
data/Gemfile.lock CHANGED
@@ -1,24 +1,25 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- strong_arms (0.2.0)
4
+ strong_arms (0.2.2)
5
5
  activesupport (>= 5.1.6)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- activesupport (5.2.3)
10
+ activesupport (6.0.0)
11
11
  concurrent-ruby (~> 1.0, >= 1.0.2)
12
12
  i18n (>= 0.7, < 2)
13
13
  minitest (~> 5.1)
14
14
  tzinfo (~> 1.1)
15
+ zeitwerk (~> 2.1, >= 2.1.8)
15
16
  coderay (1.1.2)
16
17
  concurrent-ruby (1.1.5)
17
18
  diff-lcs (1.3)
18
- i18n (1.6.0)
19
+ i18n (1.7.0)
19
20
  concurrent-ruby (~> 1.0)
20
21
  method_source (0.9.2)
21
- minitest (5.11.3)
22
+ minitest (5.12.2)
22
23
  pry (0.12.2)
23
24
  coderay (~> 1.1.0)
24
25
  method_source (~> 0.9.0)
@@ -39,6 +40,7 @@ GEM
39
40
  thread_safe (0.3.6)
40
41
  tzinfo (1.2.5)
41
42
  thread_safe (~> 0.1)
43
+ zeitwerk (2.2.0)
42
44
 
43
45
  PLATFORMS
44
46
  ruby
@@ -1,6 +1,7 @@
1
1
  module Assertions
2
2
  def required_input_value_missing?(options, value)
3
- required_input?(options) && value.blank?
3
+ cast_value = value.to_s
4
+ required_input?(options) && cast_value.blank?
4
5
  end
5
6
 
6
7
  def required_input?(options)
@@ -1,3 +1,3 @@
1
1
  module StrongArms
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: strong_arms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - mrjonesbot
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-05-22 00:00:00.000000000 Z
11
+ date: 2019-10-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -89,6 +89,7 @@ extra_rdoc_files: []
89
89
  files:
90
90
  - ".gitignore"
91
91
  - ".rspec"
92
+ - ".ruby-version"
92
93
  - ".travis.yml"
93
94
  - CODE_OF_CONDUCT.md
94
95
  - Gemfile
@@ -125,8 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
125
126
  - !ruby/object:Gem::Version
126
127
  version: '0'
127
128
  requirements: []
128
- rubyforge_project:
129
- rubygems_version: 2.7.6.2
129
+ rubygems_version: 3.0.3
130
130
  signing_key:
131
131
  specification_version: 4
132
132
  summary: Strong Parameters alternative for Ruby/Rails applications