isbm_adaptor 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 25b4c4ff55a4d6c03a3a75fd9f3a1810697b512d
4
- data.tar.gz: e321d14733e13e32b151b7bebc454f45d3ef9d34
3
+ metadata.gz: 6fac98ac39adfbb4235458bb99b02333b193b156
4
+ data.tar.gz: cdd8bacd7d15c60a169c13bb869a6a765868122d
5
5
  SHA512:
6
- metadata.gz: b2616d0904f557ed1838a9278d234ecb88215f18047a0259f0f0e22f3764a22c3966876c7dab35ca88141d4a80a3e94c3bb9400561b72ea09591e350341c0beb
7
- data.tar.gz: 5556e2d0d28f1bf0a664cb3e33536a1a4c4f03add822b0925e76f8680c3ebc20cecc74ffc4ac16827c2507a831544a72a96c3c022408e28c463faacf6ed6a7a8
6
+ metadata.gz: bf5ed0b432022299ab22ca603e73049b3dcc8dbfa772f845604f282da62eb69109a4c2ea9244c435c8184e3ca4678630376cc35d57d3dbe365f639e1ad4cc882
7
+ data.tar.gz: 301ad505ed5b00f075ae16a5c7154965afd919a60915bb6c4481570a832fd0de537514125909cc3e5e5d0cdd76188c117383f21e0d43e4c4f6bb4691d1c66ea1
data/README.md CHANGED
@@ -5,9 +5,9 @@
5
5
  [![Code Climate](https://codeclimate.com/github/assetricity/isbm_adaptor.png)](https://codeclimate.com/github/assetricity/isbm_adaptor)
6
6
  [![Dependency Status](https://gemnasium.com/assetricity/isbm_adaptor.png)](https://gemnasium.com/assetricity/isbm_adaptor)
7
7
 
8
- The ISBM Adaptor provides a Ruby API for the [OpenO&M ISBM specification](http://www.mimosa.org/?q=about/what-open-om).
8
+ The ISBM Adaptor provides a Ruby API for the [OpenO&M ws-ISBM specification](http://www.openoandm.org/ws-isbm).
9
9
 
10
- It is based on the [Savon](http://savonrb.com) SOAP client and provides convenience methods for interaction with an ISBM Service Provider.
10
+ It is based on the [Savon](http://savonrb.com) SOAP client and provides convenience methods for interaction with an ws-ISBM Service Provider.
11
11
 
12
12
  ## Install
13
13
 
@@ -19,10 +19,10 @@ Add to the isbm_adaptor gem to your Gemfile:
19
19
  gem 'isbm_adaptor'
20
20
  ```
21
21
 
22
- This gem uses a four part version, with the first three parts following the OpenO&M ISBM specification and last part specifying a patch number. To use the pessimistic version constraint, you will want to include the four part version in your Gemfile:
22
+ This gem uses a three part version, with the first two parts following the OpenO&M ws-ISBM specification and last part specifying a patch number. To use the pessimistic version constraint, you will want to include the three part version in your Gemfile:
23
23
 
24
24
  ```ruby
25
- gem 'isbm_adaptor', '~> 1.0.0.0'
25
+ gem 'isbm_adaptor', '~> 1.0.0'
26
26
  ```
27
27
 
28
28
  ### Other
@@ -128,6 +128,6 @@ channel_client.delete_channel(uri)
128
128
 
129
129
  ## License
130
130
 
131
- Copyright 2013 [Assetricity, LLC](http://assetricity.com)
131
+ Copyright 2014 [Assetricity, LLC](http://assetricity.com)
132
132
 
133
133
  ISBM Adaptor is released under the MIT License. See [LICENSE](https://github.com/assetricity/isbm_adaptor/blob/master/LICENSE) for details.
@@ -66,7 +66,8 @@ module IsbmAdaptor
66
66
  def extract_message(response)
67
67
  # Extract the message element
68
68
  # e.g. /Envelope/Body/ReadPublicationResponse/PublicationMessage
69
- message = response.doc.root.first_element_child.first_element_child.first_element_child
69
+ soap_ns = 'http://schemas.xmlsoap.org/soap/envelope/'
70
+ message = response.doc.xpath('s:Envelope/s:Body', s: soap_ns).first.first_element_child.first_element_child
70
71
 
71
72
  return nil unless message
72
73
 
@@ -1,4 +1,4 @@
1
1
  module IsbmAdaptor
2
2
  # Version should match the ISBM spec version, with a patch level
3
- VERSION = '1.0.0'
3
+ VERSION = '1.0.1'
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: isbm_adaptor
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Assetricity
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-27 00:00:00.000000000 Z
11
+ date: 2015-02-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -16,56 +16,56 @@ dependencies:
16
16
  requirements:
17
17
  - - ~>
18
18
  - !ruby/object:Gem::Version
19
- version: 10.3.0
19
+ version: 10.4.0
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ~>
25
25
  - !ruby/object:Gem::Version
26
- version: 10.3.0
26
+ version: 10.4.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rspec
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ~>
32
32
  - !ruby/object:Gem::Version
33
- version: 2.14.0
33
+ version: 3.2.0
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ~>
39
39
  - !ruby/object:Gem::Version
40
- version: 2.14.0
40
+ version: 3.2.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: vcr
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - ~>
46
46
  - !ruby/object:Gem::Version
47
- version: 2.9.0
47
+ version: 2.9.1
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - ~>
53
53
  - !ruby/object:Gem::Version
54
- version: 2.9.0
54
+ version: 2.9.1
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: webmock
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - ~>
60
60
  - !ruby/object:Gem::Version
61
- version: 1.18.0
61
+ version: 1.20.0
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - ~>
67
67
  - !ruby/object:Gem::Version
68
- version: 1.18.0
68
+ version: 1.20.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: activesupport
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -181,8 +181,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
181
181
  version: '0'
182
182
  requirements: []
183
183
  rubyforge_project:
184
- rubygems_version: 2.0.14
184
+ rubygems_version: 2.0.15
185
185
  signing_key:
186
186
  specification_version: 4
187
- summary: ISBM Adaptor provides a Ruby API for the OpenO&M ISBM specification
187
+ summary: ISBM Adaptor provides a Ruby API for the OpenO&M ws-ISBM specification
188
188
  test_files: []