elibri_api_client 1.1.8 → 1.1.9
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.
- data/.gitignore +51 -0
- data/.travis.yml +12 -0
- data/Gemfile +3 -14
- data/Gemfile.lock +36 -28
- data/README.rdoc +3 -0
- data/Rakefile +6 -26
- data/elibri_api_client.gemspec +29 -78
- data/lib/elibri_api_client/api_adapters/v1.rb +5 -1
- data/lib/elibri_api_client/version.rb +2 -9
- data/test/elibri_api_client_test.rb +2 -1
- data/test/elibri_api_v1_adapter_publisher_test.rb +1 -0
- data/test/elibri_api_v1_adapter_test.rb +3 -2
- metadata +43 -49
- data/.document +0 -5
data/.gitignore
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# rcov generated
|
|
2
|
+
coverage
|
|
3
|
+
|
|
4
|
+
# rdoc generated
|
|
5
|
+
rdoc
|
|
6
|
+
|
|
7
|
+
# yard generated
|
|
8
|
+
doc
|
|
9
|
+
.yardoc
|
|
10
|
+
|
|
11
|
+
# bundler
|
|
12
|
+
.bundle
|
|
13
|
+
|
|
14
|
+
# jeweler generated
|
|
15
|
+
pkg
|
|
16
|
+
|
|
17
|
+
# Have editor/IDE/OS specific files you need to ignore? Consider using a global gitignore:
|
|
18
|
+
#
|
|
19
|
+
# * Create a file at ~/.gitignore
|
|
20
|
+
# * Include files you want ignored
|
|
21
|
+
# * Run: git config --global core.excludesfile ~/.gitignore
|
|
22
|
+
#
|
|
23
|
+
# After doing this, these files will be ignored in all your git projects,
|
|
24
|
+
# saving you from having to 'pollute' every project you touch with them
|
|
25
|
+
#
|
|
26
|
+
# Not sure what to needs to be ignored for particular editors/OSes? Here's some ideas to get you started. (Remember, remove the leading # of the line)
|
|
27
|
+
#
|
|
28
|
+
# For MacOS:
|
|
29
|
+
#
|
|
30
|
+
#.DS_Store
|
|
31
|
+
|
|
32
|
+
# For TextMate
|
|
33
|
+
#*.tmproj
|
|
34
|
+
#tmtags
|
|
35
|
+
|
|
36
|
+
# For emacs:
|
|
37
|
+
#*~
|
|
38
|
+
#\#*
|
|
39
|
+
#.\#*
|
|
40
|
+
|
|
41
|
+
# For vim:
|
|
42
|
+
#*.swp
|
|
43
|
+
|
|
44
|
+
# For redcar:
|
|
45
|
+
#.redcar
|
|
46
|
+
|
|
47
|
+
# For rubinius:
|
|
48
|
+
#*.rbc
|
|
49
|
+
|
|
50
|
+
tests.watchr
|
|
51
|
+
.rake_tasks~
|
data/.travis.yml
ADDED
data/Gemfile
CHANGED
|
@@ -1,15 +1,4 @@
|
|
|
1
|
-
source
|
|
1
|
+
source 'https://rubygems.org'
|
|
2
2
|
|
|
3
|
-
gem
|
|
4
|
-
|
|
5
|
-
gem 'activesupport', '>= 2.3.5'
|
|
6
|
-
gem 'elibri_onix', '>= 0.1.11'
|
|
7
|
-
|
|
8
|
-
group :development do
|
|
9
|
-
gem "pry"
|
|
10
|
-
gem "mocha"
|
|
11
|
-
gem "minitest", ">= 0"
|
|
12
|
-
gem "bundler"
|
|
13
|
-
gem "jeweler", "~> 1.6.2"
|
|
14
|
-
gem "rcov", ">= 0"
|
|
15
|
-
end
|
|
3
|
+
# Specify your gem's dependencies in elibri_api_client.gemspec
|
|
4
|
+
gemspec
|
data/Gemfile.lock
CHANGED
|
@@ -1,15 +1,25 @@
|
|
|
1
|
+
PATH
|
|
2
|
+
remote: .
|
|
3
|
+
specs:
|
|
4
|
+
elibri_api_client (1.1.8)
|
|
5
|
+
activesupport (>= 2.3.5)
|
|
6
|
+
elibri_onix (>= 0.1.11)
|
|
7
|
+
httparty (= 0.8.1)
|
|
8
|
+
nokogiri (~> 1.5.0)
|
|
9
|
+
|
|
1
10
|
GEM
|
|
2
|
-
remote:
|
|
11
|
+
remote: https://rubygems.org/
|
|
3
12
|
specs:
|
|
4
|
-
activesupport (3.
|
|
13
|
+
activesupport (3.2.3)
|
|
14
|
+
i18n (~> 0.6)
|
|
5
15
|
multi_json (~> 1.0)
|
|
6
|
-
coderay (0.
|
|
7
|
-
elibri_onix (0.1.
|
|
16
|
+
coderay (1.0.6)
|
|
17
|
+
elibri_onix (0.1.17)
|
|
8
18
|
activesupport (>= 2.3.5)
|
|
9
19
|
elibri_onix_dict (>= 0.0.5)
|
|
10
20
|
i18n
|
|
11
21
|
roxml (= 3.1.3)
|
|
12
|
-
elibri_onix_dict (0.0.
|
|
22
|
+
elibri_onix_dict (0.0.13)
|
|
13
23
|
git (1.2.5)
|
|
14
24
|
httparty (0.8.1)
|
|
15
25
|
multi_json
|
|
@@ -20,40 +30,38 @@ GEM
|
|
|
20
30
|
git (>= 1.2.5)
|
|
21
31
|
rake
|
|
22
32
|
metaclass (0.0.1)
|
|
23
|
-
method_source (0.
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
mocha (0.10.0)
|
|
33
|
+
method_source (0.7.1)
|
|
34
|
+
minitest (3.0.0)
|
|
35
|
+
mocha (0.11.4)
|
|
27
36
|
metaclass (~> 0.0.1)
|
|
28
|
-
multi_json (1.
|
|
29
|
-
multi_xml (0.
|
|
30
|
-
nokogiri (1.5.
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
slop (
|
|
36
|
-
|
|
37
|
-
|
|
37
|
+
multi_json (1.3.4)
|
|
38
|
+
multi_xml (0.5.1)
|
|
39
|
+
nokogiri (1.5.2)
|
|
40
|
+
nokogiri (1.5.2-java)
|
|
41
|
+
pry (0.9.9.6)
|
|
42
|
+
coderay (~> 1.0.5)
|
|
43
|
+
method_source (~> 0.7.1)
|
|
44
|
+
slop (>= 2.4.4, < 3)
|
|
45
|
+
pry (0.9.9.6-java)
|
|
46
|
+
coderay (~> 1.0.5)
|
|
47
|
+
method_source (~> 0.7.1)
|
|
48
|
+
slop (>= 2.4.4, < 3)
|
|
49
|
+
spoon (~> 0.0)
|
|
50
|
+
rake (0.9.2.2)
|
|
38
51
|
roxml (3.1.3)
|
|
39
52
|
activesupport (>= 2.1.0)
|
|
40
53
|
nokogiri (>= 1.3.3)
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
sexp_processor (3.0.7)
|
|
44
|
-
slop (2.1.0)
|
|
54
|
+
slop (2.4.4)
|
|
55
|
+
spoon (0.0.1)
|
|
45
56
|
|
|
46
57
|
PLATFORMS
|
|
58
|
+
java
|
|
47
59
|
ruby
|
|
48
60
|
|
|
49
61
|
DEPENDENCIES
|
|
50
|
-
activesupport (>= 2.3.5)
|
|
51
62
|
bundler
|
|
52
|
-
|
|
53
|
-
httparty (= 0.8.1)
|
|
63
|
+
elibri_api_client!
|
|
54
64
|
jeweler (~> 1.6.2)
|
|
55
65
|
minitest
|
|
56
66
|
mocha
|
|
57
|
-
nokogiri (~> 1.5.0)
|
|
58
67
|
pry
|
|
59
|
-
rcov
|
data/README.rdoc
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
= Klient API serwisu elibri.com.pl
|
|
2
2
|
|
|
3
|
+
=== Status testów:
|
|
4
|
+
{<img src="https://secure.travis-ci.org/elibri/elibri_api_client.png?branch=master" alt="Build Status" />}[http://travis-ci.org/elibri/elibri_api_client]
|
|
5
|
+
|
|
3
6
|
=== 0. Gemfile dla Bundlera
|
|
4
7
|
gem 'elibri_api_client'
|
|
5
8
|
|
data/Rakefile
CHANGED
|
@@ -1,29 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
#!/usr/bin/env rake
|
|
2
|
+
require "bundler/gem_tasks"
|
|
2
3
|
|
|
3
|
-
require 'rubygems'
|
|
4
|
-
require 'bundler'
|
|
5
|
-
begin
|
|
6
|
-
Bundler.setup(:default, :development)
|
|
7
|
-
rescue Bundler::BundlerError => e
|
|
8
|
-
$stderr.puts e.message
|
|
9
|
-
$stderr.puts "Run `bundle install` to install missing gems"
|
|
10
|
-
exit e.status_code
|
|
11
|
-
end
|
|
12
|
-
require 'rake'
|
|
13
|
-
|
|
14
|
-
require 'jeweler'
|
|
15
|
-
require './lib/elibri_api_client/version.rb'
|
|
16
|
-
Jeweler::Tasks.new do |gem|
|
|
17
|
-
gem.name = "elibri_api_client"
|
|
18
|
-
gem.version = Elibri::ApiClient::Version::STRING
|
|
19
|
-
gem.homepage = "http://github.com/elibri/elibri_api_client"
|
|
20
|
-
gem.license = "MIT"
|
|
21
|
-
gem.summary = %Q{API client for elibri.com.pl publishing system}
|
|
22
|
-
gem.description = %Q{API client for elibri.com.pl publishing system}
|
|
23
|
-
gem.email = "marcin@urbanski.vdl.pl"
|
|
24
|
-
gem.authors = ["Marcin Urbański"]
|
|
25
|
-
end
|
|
26
|
-
Jeweler::RubygemsDotOrgTasks.new
|
|
27
4
|
|
|
28
5
|
require 'rake/testtask'
|
|
29
6
|
Rake::TestTask.new(:test) do |test|
|
|
@@ -32,6 +9,7 @@ Rake::TestTask.new(:test) do |test|
|
|
|
32
9
|
test.verbose = true
|
|
33
10
|
end
|
|
34
11
|
|
|
12
|
+
=begin
|
|
35
13
|
require 'rcov/rcovtask'
|
|
36
14
|
Rcov::RcovTask.new do |test|
|
|
37
15
|
test.libs << 'test'
|
|
@@ -39,15 +17,17 @@ Rcov::RcovTask.new do |test|
|
|
|
39
17
|
test.verbose = true
|
|
40
18
|
test.rcov_opts << '--exclude "gems/*"'
|
|
41
19
|
end
|
|
20
|
+
=end
|
|
42
21
|
|
|
43
22
|
task :default => :test
|
|
44
23
|
|
|
45
24
|
require 'rake/rdoctask'
|
|
46
25
|
Rake::RDocTask.new do |rdoc|
|
|
47
|
-
version = Elibri::ApiClient::
|
|
26
|
+
version = Elibri::ApiClient::VERSION
|
|
48
27
|
|
|
49
28
|
rdoc.rdoc_dir = 'rdoc'
|
|
50
29
|
rdoc.title = "elibri_api_client #{version}"
|
|
51
30
|
rdoc.rdoc_files.include('README*')
|
|
52
31
|
rdoc.rdoc_files.include('lib/**/*.rb')
|
|
53
32
|
end
|
|
33
|
+
|
data/elibri_api_client.gemspec
CHANGED
|
@@ -1,86 +1,37 @@
|
|
|
1
|
-
# Generated by jeweler
|
|
2
|
-
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
|
4
1
|
# -*- encoding: utf-8 -*-
|
|
2
|
+
require File.expand_path('../lib/elibri_api_client/version', __FILE__)
|
|
5
3
|
|
|
6
|
-
Gem::Specification.new do |
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
Gem::Specification.new do |gem|
|
|
5
|
+
gem.authors = ["Marcin Urba\305\204ski"]
|
|
6
|
+
gem.email = ["marcin@urbanski.vdl.pl"]
|
|
7
|
+
gem.description = %q{API client for elibri.com.pl publishing system}
|
|
8
|
+
gem.summary = %q{API client for elibri.com.pl publishing system}
|
|
9
|
+
gem.homepage = "http://github.com/elibri/elibri_api_client"
|
|
10
|
+
gem.date = %q{2011-12-19}
|
|
9
11
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
gem.files = `git ls-files`.split($\)
|
|
13
|
+
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
|
14
|
+
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
|
15
|
+
gem.name = "elibri_api_client"
|
|
16
|
+
gem.require_paths = ["lib"]
|
|
17
|
+
gem.licenses = ["MIT"]
|
|
18
|
+
gem.version = Elibri::ApiClient::VERSION
|
|
19
|
+
|
|
20
|
+
gem.extra_rdoc_files = [
|
|
16
21
|
"LICENSE.txt",
|
|
17
22
|
"README.rdoc"
|
|
18
23
|
]
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
"README.rdoc",
|
|
25
|
-
"Rakefile",
|
|
26
|
-
"elibri_api_client.gemspec",
|
|
27
|
-
"lib/elibri_api_client.rb",
|
|
28
|
-
"lib/elibri_api_client/api_adapters.rb",
|
|
29
|
-
"lib/elibri_api_client/api_adapters/v1.rb",
|
|
30
|
-
"lib/elibri_api_client/api_adapters/v1_helpers.rb",
|
|
31
|
-
"lib/elibri_api_client/core_extensions.rb",
|
|
32
|
-
"lib/elibri_api_client/version.rb",
|
|
33
|
-
"test/elibri_api_client_test.rb",
|
|
34
|
-
"test/elibri_api_v1_adapter_product_test.rb",
|
|
35
|
-
"test/elibri_api_v1_adapter_publisher_test.rb",
|
|
36
|
-
"test/elibri_api_v1_adapter_queue_pop_test.rb",
|
|
37
|
-
"test/elibri_api_v1_adapter_queue_test.rb",
|
|
38
|
-
"test/elibri_api_v1_adapter_test.rb",
|
|
39
|
-
"test/helper.rb"
|
|
40
|
-
]
|
|
41
|
-
s.homepage = %q{http://github.com/elibri/elibri_api_client}
|
|
42
|
-
s.licenses = ["MIT"]
|
|
43
|
-
s.require_paths = ["lib"]
|
|
44
|
-
s.rubygems_version = %q{1.6.2}
|
|
45
|
-
s.summary = %q{API client for elibri.com.pl publishing system}
|
|
24
|
+
|
|
25
|
+
gem.add_runtime_dependency "httparty", "= 0.8.1"
|
|
26
|
+
gem.add_runtime_dependency "nokogiri", "~> 1.5.0"
|
|
27
|
+
gem.add_runtime_dependency 'activesupport', '>= 2.3.5'
|
|
28
|
+
gem.add_runtime_dependency 'elibri_onix', '>= 0.1.11'
|
|
46
29
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
s.add_runtime_dependency(%q<elibri_onix>, [">= 0.1.11"])
|
|
55
|
-
s.add_development_dependency(%q<pry>, [">= 0"])
|
|
56
|
-
s.add_development_dependency(%q<mocha>, [">= 0"])
|
|
57
|
-
s.add_development_dependency(%q<minitest>, [">= 0"])
|
|
58
|
-
s.add_development_dependency(%q<bundler>, [">= 0"])
|
|
59
|
-
s.add_development_dependency(%q<jeweler>, ["~> 1.6.2"])
|
|
60
|
-
s.add_development_dependency(%q<rcov>, [">= 0"])
|
|
61
|
-
else
|
|
62
|
-
s.add_dependency(%q<httparty>, ["= 0.8.1"])
|
|
63
|
-
s.add_dependency(%q<nokogiri>, ["~> 1.5.0"])
|
|
64
|
-
s.add_dependency(%q<activesupport>, [">= 2.3.5"])
|
|
65
|
-
s.add_dependency(%q<elibri_onix>, [">= 0.1.11"])
|
|
66
|
-
s.add_dependency(%q<pry>, [">= 0"])
|
|
67
|
-
s.add_dependency(%q<mocha>, [">= 0"])
|
|
68
|
-
s.add_dependency(%q<minitest>, [">= 0"])
|
|
69
|
-
s.add_dependency(%q<bundler>, [">= 0"])
|
|
70
|
-
s.add_dependency(%q<jeweler>, ["~> 1.6.2"])
|
|
71
|
-
s.add_dependency(%q<rcov>, [">= 0"])
|
|
72
|
-
end
|
|
73
|
-
else
|
|
74
|
-
s.add_dependency(%q<httparty>, ["= 0.8.1"])
|
|
75
|
-
s.add_dependency(%q<nokogiri>, ["~> 1.5.0"])
|
|
76
|
-
s.add_dependency(%q<activesupport>, [">= 2.3.5"])
|
|
77
|
-
s.add_dependency(%q<elibri_onix>, [">= 0.1.11"])
|
|
78
|
-
s.add_dependency(%q<pry>, [">= 0"])
|
|
79
|
-
s.add_dependency(%q<mocha>, [">= 0"])
|
|
80
|
-
s.add_dependency(%q<minitest>, [">= 0"])
|
|
81
|
-
s.add_dependency(%q<bundler>, [">= 0"])
|
|
82
|
-
s.add_dependency(%q<jeweler>, ["~> 1.6.2"])
|
|
83
|
-
s.add_dependency(%q<rcov>, [">= 0"])
|
|
84
|
-
end
|
|
30
|
+
gem.add_development_dependency "pry"
|
|
31
|
+
gem.add_development_dependency "mocha"
|
|
32
|
+
gem.add_development_dependency "minitest", ">= 0"
|
|
33
|
+
gem.add_development_dependency "bundler"
|
|
34
|
+
gem.add_development_dependency "jeweler", "~> 1.6.2"
|
|
35
|
+
# gem.add_development_dependency "rcov", ">= 0"
|
|
36
|
+
|
|
85
37
|
end
|
|
86
|
-
|
|
@@ -73,8 +73,12 @@ module Elibri
|
|
|
73
73
|
end
|
|
74
74
|
end
|
|
75
75
|
|
|
76
|
+
def remove_from_queue(queue_name, record_reference)
|
|
77
|
+
resp = post "/queues/#{queue_name}/remove/#{record_reference}"
|
|
78
|
+
return true
|
|
79
|
+
end
|
|
76
80
|
|
|
77
|
-
# params moze przyjac {:testing => 1, :count => 100}
|
|
81
|
+
# params moze przyjac {:testing => 1, :count => 100, :offset => 100 (tylko przy testing=1)}
|
|
78
82
|
def pop_from_queue(queue_name, params = {})
|
|
79
83
|
params[:testing] = 1 if params[:testing]
|
|
80
84
|
params = ' ' if params.empty?
|
|
@@ -18,7 +18,8 @@ end
|
|
|
18
18
|
describe Elibri::ApiClient do
|
|
19
19
|
|
|
20
20
|
it "should be able to establish its version" do
|
|
21
|
-
assert_match /\d+\.\d+\.\d+/, Elibri::ApiClient::
|
|
21
|
+
assert_match /\d+\.\d+\.\d+/, Elibri::ApiClient::VERSION
|
|
22
|
+
assert_match /\d+\.\d+\.\d+/, Elibri::ApiClient::Version
|
|
22
23
|
end
|
|
23
24
|
|
|
24
25
|
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
#encoding: UTF-8
|
|
1
2
|
require 'helper'
|
|
2
3
|
|
|
3
4
|
|
|
@@ -245,7 +246,7 @@ describe Elibri::ApiClient::ApiAdapters::V1 do
|
|
|
245
246
|
describe "when asked to pop data from specified queue name" do
|
|
246
247
|
|
|
247
248
|
before do
|
|
248
|
-
@xml = <<-XML
|
|
249
|
+
@xml = <<-XML.strip_heredoc
|
|
249
250
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
250
251
|
<ONIXMessage release="3.0" xmlns:elibri="http://elibri.com.pl/ns/extensions" xmlns="http://www.editeur.org/onix/3.0/reference">
|
|
251
252
|
<elibri:Dialect>3.0.1</elibri:Dialect>
|
|
@@ -349,7 +350,7 @@ describe Elibri::ApiClient::ApiAdapters::V1 do
|
|
|
349
350
|
describe "and there was a pop" do
|
|
350
351
|
|
|
351
352
|
before do
|
|
352
|
-
@xml = <<-XML
|
|
353
|
+
@xml = <<-XML.strip_heredoc
|
|
353
354
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
354
355
|
<ONIXMessage release="3.0" xmlns:elibri="http://elibri.com.pl/ns/extensions" xmlns="http://www.editeur.org/onix/3.0/reference">
|
|
355
356
|
<elibri:Dialect>3.0.1</elibri:Dialect>
|
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:
|
|
4
|
+
hash: 1
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 1
|
|
8
8
|
- 1
|
|
9
|
-
-
|
|
10
|
-
version: 1.1.
|
|
9
|
+
- 9
|
|
10
|
+
version: 1.1.9
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- "Marcin Urba\xC5\x84ski"
|
|
@@ -20,7 +20,8 @@ default_executable:
|
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|
|
22
22
|
name: httparty
|
|
23
|
-
|
|
23
|
+
prerelease: false
|
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
|
24
25
|
none: false
|
|
25
26
|
requirements:
|
|
26
27
|
- - "="
|
|
@@ -31,12 +32,12 @@ dependencies:
|
|
|
31
32
|
- 8
|
|
32
33
|
- 1
|
|
33
34
|
version: 0.8.1
|
|
34
|
-
prerelease: false
|
|
35
35
|
type: :runtime
|
|
36
|
-
|
|
36
|
+
version_requirements: *id001
|
|
37
37
|
- !ruby/object:Gem::Dependency
|
|
38
38
|
name: nokogiri
|
|
39
|
-
|
|
39
|
+
prerelease: false
|
|
40
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
|
40
41
|
none: false
|
|
41
42
|
requirements:
|
|
42
43
|
- - ~>
|
|
@@ -47,12 +48,12 @@ dependencies:
|
|
|
47
48
|
- 5
|
|
48
49
|
- 0
|
|
49
50
|
version: 1.5.0
|
|
50
|
-
prerelease: false
|
|
51
51
|
type: :runtime
|
|
52
|
-
|
|
52
|
+
version_requirements: *id002
|
|
53
53
|
- !ruby/object:Gem::Dependency
|
|
54
54
|
name: activesupport
|
|
55
|
-
|
|
55
|
+
prerelease: false
|
|
56
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
|
56
57
|
none: false
|
|
57
58
|
requirements:
|
|
58
59
|
- - ">="
|
|
@@ -63,12 +64,12 @@ dependencies:
|
|
|
63
64
|
- 3
|
|
64
65
|
- 5
|
|
65
66
|
version: 2.3.5
|
|
66
|
-
prerelease: false
|
|
67
67
|
type: :runtime
|
|
68
|
-
|
|
68
|
+
version_requirements: *id003
|
|
69
69
|
- !ruby/object:Gem::Dependency
|
|
70
70
|
name: elibri_onix
|
|
71
|
-
|
|
71
|
+
prerelease: false
|
|
72
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
|
72
73
|
none: false
|
|
73
74
|
requirements:
|
|
74
75
|
- - ">="
|
|
@@ -79,12 +80,12 @@ dependencies:
|
|
|
79
80
|
- 1
|
|
80
81
|
- 11
|
|
81
82
|
version: 0.1.11
|
|
82
|
-
prerelease: false
|
|
83
83
|
type: :runtime
|
|
84
|
-
|
|
84
|
+
version_requirements: *id004
|
|
85
85
|
- !ruby/object:Gem::Dependency
|
|
86
86
|
name: pry
|
|
87
|
-
|
|
87
|
+
prerelease: false
|
|
88
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
|
88
89
|
none: false
|
|
89
90
|
requirements:
|
|
90
91
|
- - ">="
|
|
@@ -93,12 +94,12 @@ dependencies:
|
|
|
93
94
|
segments:
|
|
94
95
|
- 0
|
|
95
96
|
version: "0"
|
|
96
|
-
prerelease: false
|
|
97
97
|
type: :development
|
|
98
|
-
|
|
98
|
+
version_requirements: *id005
|
|
99
99
|
- !ruby/object:Gem::Dependency
|
|
100
100
|
name: mocha
|
|
101
|
-
|
|
101
|
+
prerelease: false
|
|
102
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
|
102
103
|
none: false
|
|
103
104
|
requirements:
|
|
104
105
|
- - ">="
|
|
@@ -107,12 +108,12 @@ dependencies:
|
|
|
107
108
|
segments:
|
|
108
109
|
- 0
|
|
109
110
|
version: "0"
|
|
110
|
-
prerelease: false
|
|
111
111
|
type: :development
|
|
112
|
-
|
|
112
|
+
version_requirements: *id006
|
|
113
113
|
- !ruby/object:Gem::Dependency
|
|
114
114
|
name: minitest
|
|
115
|
-
|
|
115
|
+
prerelease: false
|
|
116
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
|
116
117
|
none: false
|
|
117
118
|
requirements:
|
|
118
119
|
- - ">="
|
|
@@ -121,12 +122,12 @@ dependencies:
|
|
|
121
122
|
segments:
|
|
122
123
|
- 0
|
|
123
124
|
version: "0"
|
|
124
|
-
prerelease: false
|
|
125
125
|
type: :development
|
|
126
|
-
|
|
126
|
+
version_requirements: *id007
|
|
127
127
|
- !ruby/object:Gem::Dependency
|
|
128
128
|
name: bundler
|
|
129
|
-
|
|
129
|
+
prerelease: false
|
|
130
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
|
130
131
|
none: false
|
|
131
132
|
requirements:
|
|
132
133
|
- - ">="
|
|
@@ -135,12 +136,12 @@ dependencies:
|
|
|
135
136
|
segments:
|
|
136
137
|
- 0
|
|
137
138
|
version: "0"
|
|
138
|
-
prerelease: false
|
|
139
139
|
type: :development
|
|
140
|
-
|
|
140
|
+
version_requirements: *id008
|
|
141
141
|
- !ruby/object:Gem::Dependency
|
|
142
142
|
name: jeweler
|
|
143
|
-
|
|
143
|
+
prerelease: false
|
|
144
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
|
144
145
|
none: false
|
|
145
146
|
requirements:
|
|
146
147
|
- - ~>
|
|
@@ -151,25 +152,11 @@ dependencies:
|
|
|
151
152
|
- 6
|
|
152
153
|
- 2
|
|
153
154
|
version: 1.6.2
|
|
154
|
-
prerelease: false
|
|
155
155
|
type: :development
|
|
156
|
-
|
|
157
|
-
- !ruby/object:Gem::Dependency
|
|
158
|
-
name: rcov
|
|
159
|
-
version_requirements: &id010 !ruby/object:Gem::Requirement
|
|
160
|
-
none: false
|
|
161
|
-
requirements:
|
|
162
|
-
- - ">="
|
|
163
|
-
- !ruby/object:Gem::Version
|
|
164
|
-
hash: 3
|
|
165
|
-
segments:
|
|
166
|
-
- 0
|
|
167
|
-
version: "0"
|
|
168
|
-
prerelease: false
|
|
169
|
-
type: :development
|
|
170
|
-
requirement: *id010
|
|
156
|
+
version_requirements: *id009
|
|
171
157
|
description: API client for elibri.com.pl publishing system
|
|
172
|
-
email:
|
|
158
|
+
email:
|
|
159
|
+
- marcin@urbanski.vdl.pl
|
|
173
160
|
executables: []
|
|
174
161
|
|
|
175
162
|
extensions: []
|
|
@@ -178,7 +165,8 @@ extra_rdoc_files:
|
|
|
178
165
|
- LICENSE.txt
|
|
179
166
|
- README.rdoc
|
|
180
167
|
files:
|
|
181
|
-
- .
|
|
168
|
+
- .gitignore
|
|
169
|
+
- .travis.yml
|
|
182
170
|
- Gemfile
|
|
183
171
|
- Gemfile.lock
|
|
184
172
|
- LICENSE.txt
|
|
@@ -228,9 +216,15 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
228
216
|
requirements: []
|
|
229
217
|
|
|
230
218
|
rubyforge_project:
|
|
231
|
-
rubygems_version: 1.
|
|
219
|
+
rubygems_version: 1.5.2
|
|
232
220
|
signing_key:
|
|
233
221
|
specification_version: 3
|
|
234
222
|
summary: API client for elibri.com.pl publishing system
|
|
235
|
-
test_files:
|
|
236
|
-
|
|
223
|
+
test_files:
|
|
224
|
+
- test/elibri_api_client_test.rb
|
|
225
|
+
- test/elibri_api_v1_adapter_product_test.rb
|
|
226
|
+
- test/elibri_api_v1_adapter_publisher_test.rb
|
|
227
|
+
- test/elibri_api_v1_adapter_queue_pop_test.rb
|
|
228
|
+
- test/elibri_api_v1_adapter_queue_test.rb
|
|
229
|
+
- test/elibri_api_v1_adapter_test.rb
|
|
230
|
+
- test/helper.rb
|