rms_item_api 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -2
- data/lib/rms_item_api/helper.rb +0 -4
- data/lib/rms_item_api/version.rb +1 -1
- data/rms_item_api.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0e846dd9e65744adeb9f469e1fa06961930bddf6
|
4
|
+
data.tar.gz: f442700ff9c8340c62739044bb5ccd463223b36c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 262862163d0cc29ae9551c0e99fd211f0e6762e7b5c61aa7bbe68d3b01167ccba24858c0f4d945100a011cb03596ebc28238a5b38771a6c58c2e06fa2fadc2a6
|
7
|
+
data.tar.gz: 84870f7dd78422cd098b0dd68dc6880db11e4d0d965016ae2054c87957c7478ad751d0c980a13e17d80bfa0b2fcc502696ca34ee1044d229a21d7dc1850b9c1f
|
data/.gitignore
CHANGED
data/lib/rms_item_api/helper.rb
CHANGED
@@ -13,10 +13,6 @@ module RmsItemApi
|
|
13
13
|
Hash.from_xml(xml)
|
14
14
|
end
|
15
15
|
|
16
|
-
def convert_json_from_xml(xml)
|
17
|
-
XmlSimple.xml_in(xml)
|
18
|
-
end
|
19
|
-
|
20
16
|
def handler(response)
|
21
17
|
rexml = REXML::Document.new(response.body)
|
22
18
|
self.define_singleton_method(:all) { convert_xml_into_json(response.body) }
|
data/lib/rms_item_api/version.rb
CHANGED
data/rms_item_api.gemspec
CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
-
spec.add_dependency "faraday", '~> 0.
|
21
|
+
spec.add_dependency "faraday", '~> 0.12.1'
|
22
22
|
spec.add_dependency "activesupport", '~> 4.2.8'
|
23
23
|
spec.add_dependency "activemodel", '~> 4.2.8'
|
24
24
|
spec.add_dependency "builder"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rms_item_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- t4traw
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-06-
|
11
|
+
date: 2017-06-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.12.1
|
20
20
|
type: :runtime
|
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: 0.
|
26
|
+
version: 0.12.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: activesupport
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|