versacommerce_api 1.0.4 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +1 -1
- data/Gemfile.lock +12 -12
- data/lib/versacommerce_api/resources/account.rb +11 -0
- data/lib/versacommerce_api/version.rb +1 -1
- data/spec/resources/order_spec.rb +0 -3
- data/spec/spec_helper.rb +3 -3
- metadata +4 -4
data/CHANGELOG
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
|
1
|
+
1.0.6 - Added Account resource
|
2
2
|
1.0.1 - First public release
|
data/Gemfile.lock
CHANGED
@@ -1,38 +1,38 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
versacommerce_api (1.0.
|
4
|
+
versacommerce_api (1.0.6)
|
5
5
|
activeresource (>= 3.2.14)
|
6
6
|
thor (>= 0.14.4)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
activemodel (4.0.
|
12
|
-
activesupport (= 4.0.
|
11
|
+
activemodel (4.0.4)
|
12
|
+
activesupport (= 4.0.4)
|
13
13
|
builder (~> 3.1.0)
|
14
14
|
activeresource (4.0.0)
|
15
15
|
activemodel (~> 4.0)
|
16
16
|
activesupport (~> 4.0)
|
17
17
|
rails-observers (~> 0.1.1)
|
18
|
-
activesupport (4.0.
|
19
|
-
i18n (~> 0.6, >= 0.6.
|
18
|
+
activesupport (4.0.4)
|
19
|
+
i18n (~> 0.6, >= 0.6.9)
|
20
20
|
minitest (~> 4.2)
|
21
21
|
multi_json (~> 1.3)
|
22
22
|
thread_safe (~> 0.1)
|
23
23
|
tzinfo (~> 0.3.37)
|
24
|
-
atomic (1.1.
|
24
|
+
atomic (1.1.16)
|
25
25
|
builder (3.1.4)
|
26
26
|
coderay (1.0.9)
|
27
27
|
diff-lcs (1.2.4)
|
28
28
|
fakeweb (1.3.0)
|
29
|
-
i18n (0.6.
|
29
|
+
i18n (0.6.9)
|
30
30
|
metaclass (0.0.1)
|
31
31
|
method_source (0.8.2)
|
32
32
|
minitest (4.7.5)
|
33
33
|
mocha (0.14.0)
|
34
34
|
metaclass (~> 0.0.1)
|
35
|
-
multi_json (1.
|
35
|
+
multi_json (1.9.2)
|
36
36
|
pry (0.9.12.2)
|
37
37
|
coderay (~> 1.0.5)
|
38
38
|
method_source (~> 0.8)
|
@@ -51,10 +51,10 @@ GEM
|
|
51
51
|
diff-lcs (>= 1.1.3, < 2.0)
|
52
52
|
rspec-mocks (2.14.3)
|
53
53
|
slop (3.4.6)
|
54
|
-
thor (0.
|
55
|
-
thread_safe (0.1
|
56
|
-
atomic
|
57
|
-
tzinfo (0.3.
|
54
|
+
thor (0.19.1)
|
55
|
+
thread_safe (0.3.1)
|
56
|
+
atomic (>= 1.1.7, < 2)
|
57
|
+
tzinfo (0.3.39)
|
58
58
|
|
59
59
|
PLATFORMS
|
60
60
|
ruby
|
data/spec/spec_helper.rb
CHANGED
@@ -12,8 +12,8 @@ end
|
|
12
12
|
|
13
13
|
|
14
14
|
def initialize_session
|
15
|
-
VersacommerceAPI::Session.setup(api_key: "
|
16
|
-
token = "
|
17
|
-
session = VersacommerceAPI::Session.new("
|
15
|
+
VersacommerceAPI::Session.setup(api_key: "xxxxx", secret: "xxxxx")
|
16
|
+
token = "xxxxx" #VersacommerceAPI::Session.request_token("test-produkte.versacommerce.de")
|
17
|
+
session = VersacommerceAPI::Session.new("xxxxx.versacommerce.de", token)
|
18
18
|
VersacommerceAPI::Base.activate_session(session)
|
19
19
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: versacommerce_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.6
|
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:
|
12
|
+
date: 2014-05-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -186,6 +186,7 @@ files:
|
|
186
186
|
- lib/versacommerce_api/cli.rb
|
187
187
|
- lib/versacommerce_api/countable.rb
|
188
188
|
- lib/versacommerce_api/resources.rb
|
189
|
+
- lib/versacommerce_api/resources/account.rb
|
189
190
|
- lib/versacommerce_api/resources/base.rb
|
190
191
|
- lib/versacommerce_api/resources/billing_addres.rb
|
191
192
|
- lib/versacommerce_api/resources/collection.rb
|
@@ -230,7 +231,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
230
231
|
version: '0'
|
231
232
|
requirements: []
|
232
233
|
rubyforge_project:
|
233
|
-
rubygems_version: 1.8.
|
234
|
+
rubygems_version: 1.8.25
|
234
235
|
signing_key:
|
235
236
|
specification_version: 3
|
236
237
|
summary: The VersaCommerce API gem is a lightweight gem for accessing the VersaCommerce
|
@@ -239,4 +240,3 @@ test_files:
|
|
239
240
|
- spec/resources/order_spec.rb
|
240
241
|
- spec/resources/product_spec.rb
|
241
242
|
- spec/spec_helper.rb
|
242
|
-
has_rdoc:
|