opt_parse_validator 0.0.13.3 → 0.0.13.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: 7130f73af4ed4a2f3e7867fad2723b8f9796d56f
4
- data.tar.gz: 071719cd2a6339b622e32be9b2ce78edc144cbb8
3
+ metadata.gz: 358cadd16a371cdbcc053c4325b253261f316488
4
+ data.tar.gz: f8f4cf87df88827ffb125319e00653c0ecf1da26
5
5
  SHA512:
6
- metadata.gz: 2f9a4b92a8602fcdf00b68b73b1f123d98b0bdcbf7c73d8bd064b598712dc4064731a3476813ec9c9a9b8bba5fcc0b2e67cad799029fb07c35923ce7f621bb8d
7
- data.tar.gz: 2f2d34ad316c8ce26eb5e230c5a617d27506fec03ec6fc6fef93e65fdb95141c0577c473cc5a25fe995e8befd10497227057755184f741dfba9611eecc6719ab
6
+ metadata.gz: 83c124fde9eebaa49c928cca4cce49c0d1944886f28b2f343b09cbbe2c1fa8622258bc25bfd794ca3e949b6d1ffb5e9a01661834338fab38a5df7feabea0ea56
7
+ data.tar.gz: 5b50c9090349801aa328ad5680939977b88c926c09399de05717d314f7ff1845d26046fa66a43e3e41e8bb1d67d2296635037e753fdb305b58d2dfa688119eb5
@@ -34,8 +34,10 @@ module OptParseValidator
34
34
  choices.map!(&:downcase)
35
35
  end
36
36
 
37
- fail Error, "'#{value}' is not a valid choice, expected one " \
38
- "of the followings: #{choices.join(',')}" unless choices.include?(value)
37
+ unless choices.include?(value)
38
+ fail Error, "'#{value}' is not a valid choice, expected one " \
39
+ "of the followings: #{choices.join(',')}"
40
+ end
39
41
 
40
42
  value
41
43
  end
@@ -1,4 +1,4 @@
1
1
  # Gem Version
2
2
  module OptParseValidator
3
- VERSION = '0.0.13.3'.freeze
3
+ VERSION = '0.0.13.4'.freeze
4
4
  end
@@ -32,13 +32,13 @@ Gem::Specification.new do |s|
32
32
  s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
33
33
  s.require_paths = ['lib']
34
34
 
35
- s.add_dependency 'addressable', '~> 2.4.0'
35
+ s.add_dependency 'addressable', '~> 2.5.0'
36
36
  s.add_dependency 'activesupport', '~> 5.0.0.0'
37
37
 
38
38
  s.add_development_dependency 'rake', '~> 11.3.0'
39
39
  s.add_development_dependency 'rspec', '~> 3.5.0'
40
40
  s.add_development_dependency 'rspec-its', '~> 1.2.0'
41
41
  s.add_development_dependency 'bundler', '~> 1.6'
42
- s.add_development_dependency 'rubocop', '~> 0.43.0'
42
+ s.add_development_dependency 'rubocop', '~> 0.45.0'
43
43
  s.add_development_dependency 'simplecov', '~> 0.12.0'
44
44
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opt_parse_validator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.13.3
4
+ version: 0.0.13.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - WPScanTeam
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-05 00:00:00.000000000 Z
11
+ date: 2016-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 2.4.0
19
+ version: 2.5.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 2.4.0
26
+ version: 2.5.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: activesupport
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -100,14 +100,14 @@ dependencies:
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 0.43.0
103
+ version: 0.45.0
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: 0.43.0
110
+ version: 0.45.0
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: simplecov
113
113
  requirement: !ruby/object:Gem::Requirement