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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ac1bb48d5286801855f0c23b4cd48c49fbea73de060c3ed8e9ae9c85ffd2c737
4
- data.tar.gz: 65ec182f18a96523983d7a0e6562625fedf5df26e1ed2dedd5c410934cd00b83
3
+ metadata.gz: c493de864a40af74ca25fb344231105e22062e7ba89ba3c7b7b184fdb2f4d84c
4
+ data.tar.gz: ca23f9567caee34d4a09f11dc7dfe70fa19abdbedb25177dc51b5adc23a25a04
5
5
  SHA512:
6
- metadata.gz: 9fa5d7039fa7041c70058167a83498df449d49ff44e3f286277f76c3ef2dc70178caaf14f4f269c769f46394995f8b644c678aa2d809a0f1dd8bd6bdb532c715
7
- data.tar.gz: 1f72f01b0de09b58d9fd950bcfef59d87f36f101a23be4d66ca6e7672911784f30a5d87d192a7477438d348b4bbe05759d246318e645527b3440a55171ad6977
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-Z\-_]+\}/
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-Z\-_]+\}/, arg.to_s)
244
- @prepared_help.sub!(/\{[a-zA-Z\-_]+\}/, arg.to_s)
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
@@ -1,6 +1,6 @@
1
1
  module HaveAPI
2
2
  module Client
3
3
  PROTOCOL_VERSION = '2.0'
4
- VERSION = '0.19.0'
4
+ VERSION = '0.19.1'
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: haveapi-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.0
4
+ version: 0.19.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jakub Skokan