opt_parse_validator 1.9.4 → 1.9.5

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: c9286b871685cbc3d1053587dc31ccf2d01d35cc6efc138607be2fbf04416de8
4
- data.tar.gz: b562e1c8e5faadf362f2d14997ebb7237604afd5dc53d6584a83697139c7b696
3
+ metadata.gz: 24a508e92f221f7b26c0ca9e539ab3272538215166d58de297fd03a1ee8d6cfe
4
+ data.tar.gz: 4f0541a2877f01224d964c2d259a665c81c91000da1a91229810e2cf98d156d5
5
5
  SHA512:
6
- metadata.gz: 33eed0e8bdd867b45e2b7276cf7d47061f47b1bbcce72cc29abfc61530713a413d2bd10663d9bc9130f5666a386b3718c4e1a0ada33eb366a744eb84952bb346
7
- data.tar.gz: 83511499d313425a027a6c444e347a6342040419420076ff0d6b5523c039e21841d135ecda353c727a59ff67f25a8ea8c8f6c73ae633384325116905f98e30c0
6
+ metadata.gz: 77b216809c7fc8d31fcf37953fba5fefa56e6a290c8844283e34fc2108e3883ae09357f4b3ac46386880a7713749c706ded2733d1e089ac62797ab13f3cfb59a
7
+ data.tar.gz: 6d944517f3b33ac2cffa6a7b31f45d9d53c9db0254638ee8aee074a475e04840572deb2902a289c9bca09e66b1229b7e6bb4448a317e1b2a463eaa5e9ecdd09f
@@ -34,7 +34,7 @@ module OptParseValidator
34
34
 
35
35
  unless choices.include?(value)
36
36
  raise Error, "'#{value}' is not a valid choice, expected one " \
37
- "of the followings: #{choices.join(',')}"
37
+ "of the followings: #{choices.join(',')}"
38
38
  end
39
39
 
40
40
  value
@@ -62,7 +62,7 @@ module OptParseValidator
62
62
  #
63
63
  # @param [ Pathname ] path
64
64
  def check_writable(path)
65
- raise Error, "The path '#{path}' is not writable" if path.exist? && !path.writable? || !path.parent.writable?
65
+ raise Error, "The path '#{path}' is not writable" if (path.exist? && !path.writable?) || !path.parent.writable?
66
66
  end
67
67
  end
68
68
  end
@@ -2,5 +2,5 @@
2
2
 
3
3
  # Gem Version
4
4
  module OptParseValidator
5
- VERSION = '1.9.4'
5
+ VERSION = '1.9.5'
6
6
  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: 1.9.4
4
+ version: 1.9.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - WPScanTeam
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-22 00:00:00.000000000 Z
11
+ date: 2021-09-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -39,7 +39,7 @@ dependencies:
39
39
  version: '2.5'
40
40
  - - "<"
41
41
  - !ruby/object:Gem::Version
42
- version: '2.8'
42
+ version: '2.9'
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
@@ -49,7 +49,7 @@ dependencies:
49
49
  version: '2.5'
50
50
  - - "<"
51
51
  - !ruby/object:Gem::Version
52
- version: '2.8'
52
+ version: '2.9'
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: bundler
55
55
  requirement: !ruby/object:Gem::Requirement
@@ -112,28 +112,28 @@ dependencies:
112
112
  requirements:
113
113
  - - "~>"
114
114
  - !ruby/object:Gem::Version
115
- version: 1.11.0
115
+ version: 1.21.0
116
116
  type: :development
117
117
  prerelease: false
118
118
  version_requirements: !ruby/object:Gem::Requirement
119
119
  requirements:
120
120
  - - "~>"
121
121
  - !ruby/object:Gem::Version
122
- version: 1.11.0
122
+ version: 1.21.0
123
123
  - !ruby/object:Gem::Dependency
124
124
  name: rubocop-performance
125
125
  requirement: !ruby/object:Gem::Requirement
126
126
  requirements:
127
127
  - - "~>"
128
128
  - !ruby/object:Gem::Version
129
- version: 1.10.0
129
+ version: 1.11.0
130
130
  type: :development
131
131
  prerelease: false
132
132
  version_requirements: !ruby/object:Gem::Requirement
133
133
  requirements:
134
134
  - - "~>"
135
135
  - !ruby/object:Gem::Version
136
- version: 1.10.0
136
+ version: 1.11.0
137
137
  - !ruby/object:Gem::Dependency
138
138
  name: simplecov
139
139
  requirement: !ruby/object:Gem::Requirement
@@ -220,7 +220,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
220
220
  - !ruby/object:Gem::Version
221
221
  version: '0'
222
222
  requirements: []
223
- rubygems_version: 3.0.3
223
+ rubygems_version: 3.0.3.1
224
224
  signing_key:
225
225
  specification_version: 4
226
226
  summary: Ruby OptionParser Validators