haveapi-client 0.19.0 → 0.19.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/haveapi/client/action.rb +3 -3
- data/lib/haveapi/client/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c493de864a40af74ca25fb344231105e22062e7ba89ba3c7b7b184fdb2f4d84c
|
4
|
+
data.tar.gz: ca23f9567caee34d4a09f11dc7dfe70fa19abdbedb25177dc51b5adc23a25a04
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 80213c5b7c105c4230d6a808e0f5588b78dbac4a03eb67facdcd6c6121a6befdc24faed906de1efeb52cfb53c7ebd5b284185a2ff1e46e0a56e84592c5ea82c4
|
7
|
+
data.tar.gz: d01f03dab057c6f67780b5feda3063ce1892d0884b472b364ddc66868029f5baaeb1cd6dc76698ea003a3a960e97e0ec0a2c08b886c6e22af5e877a3e571bf7c
|
@@ -124,7 +124,7 @@ module HaveAPI::Client
|
|
124
124
|
end
|
125
125
|
|
126
126
|
def unresolved_args?
|
127
|
-
prepared_path =~ /\{[a-zA-
|
127
|
+
prepared_path =~ /\{[a-zA-Z0-9\-_]+\}/
|
128
128
|
end
|
129
129
|
|
130
130
|
def provide_args(*args)
|
@@ -240,8 +240,8 @@ module HaveAPI::Client
|
|
240
240
|
@prepared_help ||= @spec[:help].dup
|
241
241
|
|
242
242
|
args.each do |arg|
|
243
|
-
@prepared_path.sub!(/\{[a-zA-
|
244
|
-
@prepared_help.sub!(/\{[a-zA-
|
243
|
+
@prepared_path.sub!(/\{[a-zA-Z0-9\-_]+\}/, arg.to_s)
|
244
|
+
@prepared_help.sub!(/\{[a-zA-Z0-9\-_]+\}/, arg.to_s)
|
245
245
|
end
|
246
246
|
end
|
247
247
|
end
|