opt_parse_validator 0.0.17.1 → 1.7.2

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: 5395143bb809bb24d61fb417e7833884059301bb105ce7048525f164091b28b1
4
- data.tar.gz: 9678e2af54bb6fbdca0763277a2ddfb24c4760d29e545f2935c2413f2b1ae1a0
3
+ metadata.gz: 513cfaf67d16f35a0abaeb05e525f963ee00e92458e60b3cba74cf725e4e192f
4
+ data.tar.gz: 8c83a8434ec84174ab823dfaa3f8fcd6e27159e57bdbcbaf6ccedda4c3d32af3
5
5
  SHA512:
6
- metadata.gz: 1f1c685f63ba8ff70ad67a5df1678e72b898e06a7d5ea70f0d068afb7a30cb2b195f643a40daa1864efc7eeaaeb6d6473d3e9af240098b24f27cb1e62acbdf3b
7
- data.tar.gz: 4b296611ecad07d1be4adee75685edfe4cb61dc7413bb734153c7fbbece7fbd1f04f56c15ef2a2916b214cf21670bed4316f710f2c7daf24af4ac24afab16e92
6
+ metadata.gz: e42253f54c49ff6dfd0b63da87792f7af2f658968b203c529729f25fb10c4d1ddbfef203f1e5c0ed2aa5c464d53c8e44919e2108a904387e9c5de9b8386a7f79
7
+ data.tar.gz: baf802e79b9ca38058a0a9d511ae382ad15748c3c949c29d43ed2e2e894abeeeb7f3f65bfcb3a24570dc710471cef8febadd641aab40919dfdc9d61b5e844068
@@ -115,7 +115,7 @@ module OptParseValidator
115
115
  # @return [ String ] The raw long option (e.g: --proxy)
116
116
  def to_long
117
117
  option.each do |option_attr|
118
- if option_attr =~ /^--/
118
+ if /^--/.match?(option_attr)
119
119
  return option_attr.gsub(/ .*$/, '')
120
120
  .gsub(/\[[^\]]+\]/, '')
121
121
  end
@@ -2,5 +2,5 @@
2
2
 
3
3
  # Gem Version
4
4
  module OptParseValidator
5
- VERSION = '0.0.17.1'
5
+ VERSION = '1.7.2'
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: 0.0.17.1
4
+ version: 1.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - WPScanTeam
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-04-01 00:00:00.000000000 Z
11
+ date: 2019-04-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -112,28 +112,28 @@ dependencies:
112
112
  requirements:
113
113
  - - "~>"
114
114
  - !ruby/object:Gem::Version
115
- version: 1.2.0
115
+ version: 1.3.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.2.0
122
+ version: 1.3.0
123
123
  - !ruby/object:Gem::Dependency
124
124
  name: rubocop
125
125
  requirement: !ruby/object:Gem::Requirement
126
126
  requirements:
127
127
  - - "~>"
128
128
  - !ruby/object:Gem::Version
129
- version: 0.66.0
129
+ version: 0.67.2
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: 0.66.0
136
+ version: 0.67.2
137
137
  - !ruby/object:Gem::Dependency
138
138
  name: simplecov
139
139
  requirement: !ruby/object:Gem::Requirement
@@ -199,7 +199,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
199
199
  requirements:
200
200
  - - ">="
201
201
  - !ruby/object:Gem::Version
202
- version: '2.3'
202
+ version: '2.4'
203
203
  required_rubygems_version: !ruby/object:Gem::Requirement
204
204
  requirements:
205
205
  - - ">="