slop 4.4.2 → 4.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -1
- data/lib/slop.rb +1 -1
- data/lib/slop/parser.rb +1 -1
- data/test/slop_test.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8c63fac368765194fd91613b7972278df8ae6640
|
4
|
+
data.tar.gz: 2090a28f3ad52ac3d7f053237d31bf4b0c1af732
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 706aae3b6e32a0d93f26f1e0ffc6ebbc60df899d1ce60fcb68fcb85fa4c5fa0242e581ea24fb8947c43efe7d88753062a05d4ec8d2896681028d5ec003070662
|
7
|
+
data.tar.gz: 3d81629d6cb5183e19b1a26f7bc582035bc4c7513775d9406a21e7f1783240a0bfbc4e10a2a87bc3c40fc6f282576490a588b9aa275eaec708023df86b6ec825
|
data/CHANGELOG.md
CHANGED
data/lib/slop.rb
CHANGED
data/lib/slop/parser.rb
CHANGED
@@ -145,7 +145,7 @@ module Slop
|
|
145
145
|
options.find { |o| o.flags.include?(flag) }
|
146
146
|
end
|
147
147
|
|
148
|
-
|
148
|
+
def partition(strings)
|
149
149
|
if strings.include?("--")
|
150
150
|
partition_idx = strings.index("--")
|
151
151
|
[strings[0..partition_idx-1], strings[partition_idx+1..-1]]
|
data/test/slop_test.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: slop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.4.
|
4
|
+
version: 4.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lee Jarvis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-05-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|