hash_params 2.0.4 → 2.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/hash_params.rb +1 -1
- data/lib/hash_params/yaml_params.rb +1 -1
- metadata +3 -5
- data/Gemfile.lock +0 -40
- data/hash_params-2.0.2.gem +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2e1b01ffecc42ce85b42301b5fb752f757809bb9
|
4
|
+
data.tar.gz: a1f6696f07ebc049910f78e6289b0b8e083dbb0e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1b7f7659ca7d2d394fbba11ed0d3baff2db6793d262aabdd522539f52b1e599bc3584cb81c248bf73a42233f8399b28c34ba77d3e4d947378aea9f5387b84784
|
7
|
+
data.tar.gz: a4e0bd000564b4a73c19bb51d0807114672c931ff40656b2e75106781b0d49b042826eed2bd4ccc9c9b19df4f5f2794e8df5dbf6ad228c3be226f0cebec1fe02
|
data/lib/hash_params.rb
CHANGED
@@ -8,7 +8,7 @@ require_relative 'hash_params/binding_validator'
|
|
8
8
|
|
9
9
|
module HashParams
|
10
10
|
ENVIRONMENT = ENV['HASH_PARAMS_ENV'] || (defined?(Rails) && Rails.env) || ENV['RAILS_ENV'] || ENV['RACK_ENV'] || 'development'
|
11
|
-
VERSION = '2.0.
|
11
|
+
VERSION = '2.0.5'
|
12
12
|
extend HashParams::Validator
|
13
13
|
end
|
14
14
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hash_params
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tim Uckun
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-12-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -89,11 +89,9 @@ extensions: []
|
|
89
89
|
extra_rdoc_files: []
|
90
90
|
files:
|
91
91
|
- "./Gemfile"
|
92
|
-
- "./Gemfile.lock"
|
93
92
|
- "./LICENSE"
|
94
93
|
- "./README.md"
|
95
94
|
- "./Rakefile"
|
96
|
-
- "./hash_params-2.0.2.gem"
|
97
95
|
- "./hash_params.gemspec"
|
98
96
|
- "./lib/hash_params.rb"
|
99
97
|
- "./lib/hash_params/binding_validator.rb"
|
@@ -122,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
122
120
|
version: '0'
|
123
121
|
requirements: []
|
124
122
|
rubyforge_project:
|
125
|
-
rubygems_version: 2.
|
123
|
+
rubygems_version: 2.5.1
|
126
124
|
signing_key:
|
127
125
|
specification_version: 4
|
128
126
|
summary: Parameter Validation & Type Coercion for parameters passed in as a Hash..
|
data/Gemfile.lock
DELETED
@@ -1,40 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
hash_params (2.0.1)
|
5
|
-
|
6
|
-
GEM
|
7
|
-
remote: https://rubygems.org/
|
8
|
-
specs:
|
9
|
-
coderay (1.1.0)
|
10
|
-
docile (1.1.5)
|
11
|
-
json (1.8.3)
|
12
|
-
method_source (0.8.2)
|
13
|
-
minitest (5.8.3)
|
14
|
-
minitest-spec (0.0.2.1)
|
15
|
-
minitest (>= 3.0)
|
16
|
-
pry (0.10.3)
|
17
|
-
coderay (~> 1.1.0)
|
18
|
-
method_source (~> 0.8.1)
|
19
|
-
slop (~> 3.4)
|
20
|
-
rake (10.5.0)
|
21
|
-
simplecov (0.11.1)
|
22
|
-
docile (~> 1.1.0)
|
23
|
-
json (~> 1.8)
|
24
|
-
simplecov-html (~> 0.10.0)
|
25
|
-
simplecov-html (0.10.0)
|
26
|
-
slop (3.6.0)
|
27
|
-
|
28
|
-
PLATFORMS
|
29
|
-
ruby
|
30
|
-
|
31
|
-
DEPENDENCIES
|
32
|
-
hash_params!
|
33
|
-
minitest
|
34
|
-
minitest-spec
|
35
|
-
pry
|
36
|
-
rake
|
37
|
-
simplecov
|
38
|
-
|
39
|
-
BUNDLED WITH
|
40
|
-
1.11.2
|
data/hash_params-2.0.2.gem
DELETED
Binary file
|