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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 680bf2f5ae675643de15ac69a168e9ece46100be
4
- data.tar.gz: 7110090e68a77091059152f6996cf67461876b27
3
+ metadata.gz: 0e846dd9e65744adeb9f469e1fa06961930bddf6
4
+ data.tar.gz: f442700ff9c8340c62739044bb5ccd463223b36c
5
5
  SHA512:
6
- metadata.gz: 3f00639cb78c532785819014c71e9061010803ba8f597091644ded49764ed062b4828b35c72a37b68dd12f77f3eb65d03f8e28b897b9cf8fa904099c851507b1
7
- data.tar.gz: 42ff148e2c961d9bc6eadf2d555dc202a8a68f1857c5797e3b03004c7dbc28a848f6c1a91b362b0d8d8b102931953c5699331888e8249c144e868cf62e74c578
6
+ metadata.gz: 262862163d0cc29ae9551c0e99fd211f0e6762e7b5c61aa7bbe68d3b01167ccba24858c0f4d945100a011cb03596ebc28238a5b38771a6c58c2e06fa2fadc2a6
7
+ data.tar.gz: 84870f7dd78422cd098b0dd68dc6880db11e4d0d965016ae2054c87957c7478ad751d0c980a13e17d80bfa0b2fcc502696ca34ee1044d229a21d7dc1850b9c1f
data/.gitignore CHANGED
@@ -10,5 +10,4 @@
10
10
 
11
11
  .env
12
12
  .rbenv-gemsets
13
- sample.rb
14
- sample.xml
13
+ sample*
@@ -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) }
@@ -1,3 +1,3 @@
1
1
  module RmsItemApi
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
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.11.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.1
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-08 00:00:00.000000000 Z
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.11.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.11.0
26
+ version: 0.12.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: activesupport
29
29
  requirement: !ruby/object:Gem::Requirement