elibri_api_client 1.1.10 → 1.1.11

Sign up to get free protection for your applications and to get access to all the features.
@@ -22,7 +22,7 @@ Gem::Specification.new do |gem|
22
22
  "README.rdoc"
23
23
  ]
24
24
 
25
- gem.add_runtime_dependency "httparty", "= 0.8.1"
25
+ gem.add_runtime_dependency "httparty", ">= 0.8.1"
26
26
  gem.add_runtime_dependency "nokogiri", "~> 1.5.0"
27
27
  gem.add_runtime_dependency 'activesupport', '>= 2.3.5'
28
28
  gem.add_runtime_dependency 'elibri_onix', '>= 0.1.11'
@@ -44,7 +44,8 @@ module Elibri
44
44
 
45
45
 
46
46
  # Metody API delegujemy do odpowiedniego adaptera:
47
- def_delegators :@api_adapter, :refill_all_queues!, :pending_data?, :pending_queues, :publishers, :last_pop_from_queue, :pop_from_queue, :remove_from_queue
47
+ def_delegators :@api_adapter, :refill_all_queues!, :pending_data?, :pending_queues, :publishers, :last_pop_from_queue, :pop_from_queue,
48
+ :remove_from_queue, :onix_xml_for_product
48
49
 
49
50
  end
50
51
  end
@@ -74,7 +74,7 @@ module Elibri
74
74
  end
75
75
 
76
76
  def remove_from_queue(queue_name, record_reference)
77
- resp = post "/queues/#{queue_name}/remove/#{record_reference}"
77
+ resp = post "/queues/#{queue_name}/remove/#{record_reference}", :body => ' '
78
78
  return true
79
79
  end
80
80
 
@@ -1,6 +1,6 @@
1
1
  module Elibri
2
2
  class ApiClient
3
- VERSION = "1.1.10"
3
+ VERSION = "1.1.11"
4
4
  Version = VERSION
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elibri_api_client
3
3
  version: !ruby/object:Gem::Version
4
- hash: 7
4
+ hash: 5
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
- - 10
10
- version: 1.1.10
9
+ - 11
10
+ version: 1.1.11
11
11
  platform: ruby
12
12
  authors:
13
13
  - "Marcin Urba\xC5\x84ski"
@@ -24,7 +24,7 @@ dependencies:
24
24
  requirement: &id001 !ruby/object:Gem::Requirement
25
25
  none: false
26
26
  requirements:
27
- - - "="
27
+ - - ">="
28
28
  - !ruby/object:Gem::Version
29
29
  hash: 61
30
30
  segments: