soaspec 0.0.19 → 0.0.20

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
- module Soaspec
2
- VERSION = '0.0.19'
3
- end
1
+ module Soaspec
2
+ VERSION = '0.0.20'
3
+ end
@@ -0,0 +1,7 @@
1
+
2
+ # Raised to represent when there's no element at an Xpath
3
+ class NoElementAtXpath < StandardError
4
+ def initialize(msg="No element Xpath not found")
5
+ super
6
+ end
7
+ end
@@ -1,34 +1,34 @@
1
-
2
- lib = File.expand_path('../lib', __FILE__)
3
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'soaspec/version'
5
-
6
- Gem::Specification.new do |spec|
7
- spec.name = 'soaspec'
8
- spec.version = Soaspec::VERSION
9
- spec.authors = ['SamuelGarrattIQA']
10
- spec.email = ['samuel.garratt@integrationqa.com']
11
-
12
- spec.summary = %q{Helps to create RSpec specs for SOAP or REST apis }
13
- spec.description = %q{Helps to create RSpec specs for SOAP or REST apis. Easily represent multiple requests with
14
- the same configuration }
15
- spec.homepage = 'https://gitlab.com/samuel-garratt/soaspec'
16
- spec.license = 'MIT'
17
-
18
- spec.files = `git ls-files -z`.split("\x0").reject do |f|
19
- f.match(%r{^(test|spec|features)/})
20
- end
21
- spec.bindir = 'exe'
22
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23
- spec.require_paths = ['lib']
24
-
25
- spec.add_development_dependency 'bundler', '~> 1.16'
26
- spec.add_development_dependency 'rake', '~> 10.0'
27
- spec.add_development_dependency 'rspec', '~> 3.0'
28
- spec.add_dependency 'rest-client', '>= 2.0' # REST
29
- spec.add_dependency 'rspec', '~> 3.0' # This framework is designed to work with RSpec
30
- spec.add_dependency 'rspec-its', '>= 1.2.0'
31
- spec.add_dependency 'savon', '>= 2' # SOAP
32
- spec.add_dependency 'xml-simple', '>= 1.1.5'
33
-
34
- end
1
+
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'soaspec/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = 'soaspec'
8
+ spec.version = Soaspec::VERSION
9
+ spec.authors = ['SamuelGarrattIQA']
10
+ spec.email = ['samuel.garratt@integrationqa.com']
11
+
12
+ spec.summary = %q{Helps to create RSpec specs for SOAP or REST apis }
13
+ spec.description = %q{Helps to create RSpec specs for SOAP or REST apis. Easily represent multiple requests with
14
+ the same configuration }
15
+ spec.homepage = 'https://gitlab.com/samuel-garratt/soaspec'
16
+ spec.license = 'MIT'
17
+
18
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
19
+ f.match(%r{^(test|spec|features)/})
20
+ end
21
+ spec.bindir = 'exe'
22
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23
+ spec.require_paths = ['lib']
24
+
25
+ spec.add_development_dependency 'bundler', '~> 1.16'
26
+ spec.add_development_dependency 'rake', '~> 10.0'
27
+ spec.add_development_dependency 'rspec', '~> 3.0'
28
+ spec.add_dependency 'rest-client', '>= 2.0' # REST
29
+ spec.add_dependency 'rspec', '~> 3.0' # This framework is designed to work with RSpec
30
+ spec.add_dependency 'rspec-its', '>= 1.2.0'
31
+ spec.add_dependency 'savon', '>= 2' # SOAP
32
+ spec.add_dependency 'xml-simple', '>= 1.1.5'
33
+
34
+ end
@@ -1,10 +1,10 @@
1
- <s12:Envelope xmlns:s12='http://www.w3.org/2003/05/soap-envelope'>
2
- <s12:Body>
3
- <ns1:GetWeather xmlns:ns1='http://www.webserviceX.NET'>
4
- <!-- optional -->
5
- <ns1:CityName><%= test_values[:city_name] || 'Wellington' %></ns1:CityName>
6
- <!-- optional -->
7
- <ns1:CountryName><%= test_values[:country] || 'New Zealand' %></ns1:CountryName>
8
- </ns1:GetWeather>
9
- </s12:Body>
1
+ <s12:Envelope xmlns:s12='http://www.w3.org/2003/05/soap-envelope'>
2
+ <s12:Body>
3
+ <ns1:GetWeather xmlns:ns1='http://www.webserviceX.NET'>
4
+ <!-- optional -->
5
+ <ns1:CityName><%= test_values[:city_name] || 'Wellington' %></ns1:CityName>
6
+ <!-- optional -->
7
+ <ns1:CountryName><%= test_values[:country] || 'New Zealand' %></ns1:CountryName>
8
+ </ns1:GetWeather>
9
+ </s12:Body>
10
10
  </s12:Envelope>
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.19
4
+ version: 0.0.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - SamuelGarrattIQA
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-01-24 00:00:00.000000000 Z
11
+ date: 2018-01-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -156,6 +156,7 @@ files:
156
156
  - lib/soaspec/spec_logger.rb
157
157
  - lib/soaspec/tester.rb
158
158
  - lib/soaspec/version.rb
159
+ - lib/soaspec/xpath_not_found.rb
159
160
  - soaspec.gemspec
160
161
  - template/soap_template.xml
161
162
  homepage: https://gitlab.com/samuel-garratt/soaspec
@@ -178,7 +179,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
178
179
  version: '0'
179
180
  requirements: []
180
181
  rubyforge_project:
181
- rubygems_version: 2.6.13
182
+ rubygems_version: 2.6.14
182
183
  signing_key:
183
184
  specification_version: 4
184
185
  summary: Helps to create RSpec specs for SOAP or REST apis