soaspec 0.0.67 → 0.0.68

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
  SHA1:
3
- metadata.gz: ad22851bbf5ce8c7725927c3e73eb8b079e49625
4
- data.tar.gz: 8c7ad3ee71c7ca0ee664408b4e0e5660a6e9489d
3
+ metadata.gz: 598e32d75616543432d61150ecdd1105a255b172
4
+ data.tar.gz: eeeeb60b9f49ec979dada1b46caf83ba77523455
5
5
  SHA512:
6
- metadata.gz: 5269ba0197b5ec5b5b96faa246c9dad55785ada65bb78a4adc91b40fe636b431957f60ee4e54f2ffdabe9526ab2dd7aaf7641f9c68ebc12eebb10b4f07216f36
7
- data.tar.gz: e00205fe4bfc59092650eaada3917c0bf220f00b885b8cdf3ee351f0fbef3c7885c0eb8a6296abc3df1c8e01fe6dc87fc876e23c898dbfc031a99c5adc3886ed
6
+ metadata.gz: cc58120c84d46e6bcf688c35c19508e5bf0130bd83c33e80fe146720c4c33cf20f599b0126fcfc05a5e233911407a5dad75e2eec2dbb63409e874dec7f27d4ac
7
+ data.tar.gz: c58d409768534149f900b6b9314181ac548f5b1699540e496901ff26c4007ea607897535b9d0dc6928e4a0888f608cce5e83adf8a9a000e78baafc9f819feb3f
data/ChangeLog CHANGED
@@ -1,3 +1,7 @@
1
+ Version 0.0.68
2
+ * Enhancements
3
+ * Use ERB to calculate base_url for dynamic bases
4
+
1
5
  Version 0.0.67
2
6
  * Enhancements
3
7
  * Handle scenario where Request key is unconventional and not PascalCase key snakecase convert would break it
@@ -142,7 +142,7 @@ module Soaspec
142
142
  merged_options[:headers] ||= {}
143
143
  merged_options[:headers].merge! parse_headers
144
144
  merged_options.merge!(options)
145
- @resource = RestClient::Resource.new(base_url_value, merged_options) # @resource[url_extension].get
145
+ @resource = RestClient::Resource.new(ERB.new(base_url_value).result(binding), merged_options)
146
146
  end
147
147
 
148
148
  # Convert snakecase to PascalCase
@@ -1,3 +1,3 @@
1
1
  module Soaspec
2
- VERSION = '0.0.67'.freeze
2
+ VERSION = '0.0.68'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: soaspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.67
4
+ version: 0.0.68
5
5
  platform: ruby
6
6
  authors:
7
7
  - SamuelGarrattIQA
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-05-24 00:00:00.000000000 Z
11
+ date: 2018-05-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler