americommerce-api 0.0.6 → 0.0.7

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.
@@ -1,16 +1,18 @@
1
1
  $:.push File.expand_path("../lib", __FILE__)
2
2
  require "americommerce/version"
3
3
  Gem::Specification.new do |s|
4
- s.name = "americommerce-api"
5
- s.version = Americommerce::VERSION
6
- s.date = Time.now.strftime("%Y-%m-%d")
7
- s.summary = "Enables Ruby applications to communicate with the Americommerce API"
8
- s.email = "omri@yotpo.com"
9
- s.homepage = "https://github.com/YotpoLtd/americommerce-api"
10
- s.description = "Enables Ruby applications to communicate with the Ebay Trading API."
11
- s.has_rdoc = false
12
- s.require_paths = ['lib']
13
- s.authors = ["Yotpo/avichay@yotpo"]
14
- s.files = ["README.md", "americommerce-api.gemspec"] + Dir['**/*.rb'] + Dir['**/*.crt'] + Dir['**/*.wsdl']
4
+ s.name = "americommerce-api"
5
+ s.version = Americommerce::VERSION
6
+ s.date = Time.now.strftime("%Y-%m-%d")
7
+ s.summary = "Enables Ruby applications to communicate with the Americommerce API"
8
+ s.email = "omri@yotpo.com"
9
+ s.homepage = "https://github.com/YotpoLtd/americommerce-api"
10
+ s.description = "Enables Ruby applications to communicate with the Ebay Trading API."
11
+ s.has_rdoc = false
12
+ s.require_paths = ['lib']
13
+ s.authors = ["Yotpo/avichay@yotpo"]
14
+ s.files = ["README.md", "americommerce-api.gemspec"] + Dir['**/*.rb'] + Dir['**/*.crt'] + Dir['**/*.wsdl']
15
+
16
+ s.license = "MIT"
15
17
  s.add_dependency 'savon'
16
18
  end
@@ -13,6 +13,7 @@ module AmericommerceApi
13
13
 
14
14
  @log_level = options[:log_level] || :warn
15
15
  @logger = options[:logger] || $stdout
16
+ @timeout = options[:timeout] || 60
16
17
  @ac_header = {
17
18
  'AmeriCommerceHeaderInfo' => {
18
19
  'UserName' => options[:username],
@@ -76,7 +77,9 @@ module AmericommerceApi
76
77
  :soap_header => ac_header,
77
78
  :namespaces => NAMESPACES,
78
79
  :log_level => @log_level,
79
- :logger => @logger
80
+ :logger => @logger,
81
+ :read_timeout => @timeout,
82
+ :open_timeout => @timeout
80
83
  })
81
84
  end
82
85
 
@@ -1,3 +1,3 @@
1
1
  module Americommerce
2
- VERSION = '0.0.6'
2
+ VERSION = '0.0.7'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: americommerce-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-11-28 00:00:00.000000000 Z
12
+ date: 2014-01-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: savon
@@ -43,7 +43,8 @@ files:
43
43
  - lib/americommerce-api.rb
44
44
  - lib/americommerce/wsdl/americommercedb.asmx.wsdl
45
45
  homepage: https://github.com/YotpoLtd/americommerce-api
46
- licenses: []
46
+ licenses:
47
+ - MIT
47
48
  post_install_message:
48
49
  rdoc_options: []
49
50
  require_paths: