versacommerce_api 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,38 +1,46 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- versacommerce_api (1.0.1)
5
- activeresource (~> 3.2.14)
4
+ versacommerce_api (1.0.3)
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 (3.2.14)
12
- activesupport (= 3.2.14)
13
- builder (~> 3.0.0)
14
- activeresource (3.2.14)
15
- activemodel (= 3.2.14)
16
- activesupport (= 3.2.14)
17
- activesupport (3.2.14)
11
+ activemodel (4.0.0)
12
+ activesupport (= 4.0.0)
13
+ builder (~> 3.1.0)
14
+ activeresource (4.0.0)
15
+ activemodel (~> 4.0)
16
+ activesupport (~> 4.0)
17
+ rails-observers (~> 0.1.1)
18
+ activesupport (4.0.0)
18
19
  i18n (~> 0.6, >= 0.6.4)
19
- multi_json (~> 1.0)
20
- builder (3.0.4)
20
+ minitest (~> 4.2)
21
+ multi_json (~> 1.3)
22
+ thread_safe (~> 0.1)
23
+ tzinfo (~> 0.3.37)
24
+ atomic (1.1.14)
25
+ builder (3.1.4)
21
26
  coderay (1.0.9)
22
27
  diff-lcs (1.2.4)
23
28
  fakeweb (1.3.0)
24
29
  i18n (0.6.5)
25
30
  metaclass (0.0.1)
26
31
  method_source (0.8.2)
32
+ minitest (4.7.5)
27
33
  mocha (0.14.0)
28
34
  metaclass (~> 0.0.1)
29
- multi_json (1.8.0)
35
+ multi_json (1.8.2)
30
36
  pry (0.9.12.2)
31
37
  coderay (~> 1.0.5)
32
38
  method_source (~> 0.8)
33
39
  slop (~> 3.4)
34
40
  pry-nav (0.2.3)
35
41
  pry (~> 0.9.10)
42
+ rails-observers (0.1.2)
43
+ activemodel (~> 4.0)
36
44
  rake (10.1.0)
37
45
  rspec (2.14.1)
38
46
  rspec-core (~> 2.14.0)
@@ -44,6 +52,9 @@ GEM
44
52
  rspec-mocks (2.14.3)
45
53
  slop (3.4.6)
46
54
  thor (0.18.1)
55
+ thread_safe (0.1.3)
56
+ atomic
57
+ tzinfo (0.3.38)
47
58
 
48
59
  PLATFORMS
49
60
  ruby
data/README.md CHANGED
@@ -25,9 +25,14 @@ Every app needs to:
25
25
 
26
26
  You communicate with your shop using your APP_KEY and a generated password. The password is an MD5-Hash of your token and shared secret.
27
27
 
28
-
29
28
  For detailed information see: [Authentication](https://github.com/versacommerce/vc-api/blob/master/sections/authentication.md)
30
29
 
30
+ ## Registering your app with VersaCommerce
31
+
32
+ 1. SignUp as an developer: http://app.versacommerce.de/developer/signup
33
+ 2. Login to your developer account: http://app.versacommerce.de/developer
34
+ 3. Register your app.
35
+
31
36
 
32
37
  ## Registering your app with a shop.
33
38
 
@@ -3,7 +3,7 @@ module VersacommerceAPI
3
3
 
4
4
  class ProductImage < Base
5
5
 
6
- def initialize(attributes)
6
+ def initialize(attributes, persisted = false)
7
7
  super
8
8
  if self.attributes['file']
9
9
  file = self.attributes['file']
@@ -1,4 +1,4 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
  module VersacommerceAPI
3
- VERSION = "1.0.3"
3
+ VERSION = "1.0.4"
4
4
  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.3
4
+ version: 1.0.4
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-10-03 00:00:00.000000000 Z
12
+ date: 2013-10-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler