versacommerce_app 1.0.26 → 1.0.27

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: c7ee48681a329a534329c3549c464345f8d46914
4
+ data.tar.gz: 7c307d7272d492c23c81ed8c6bdf44c20ae82a80
5
+ SHA512:
6
+ metadata.gz: 9c690d1acf2f707017d2dd83bf0d044d7d0943bf0505b9a580c6c2fca0668fa750fbe6792e02ee868c8ee243a2b8811c9f89a8e08f9ebf78a02c61121f6c0314
7
+ data.tar.gz: aa9c53e448f34c04a30e83c42e03daf1578891f29b0303bacba6bf327d24747c168b7e20886889a6172e8b8121486e83b14df95b75c161fb85fac23f578b5ed6
data/CHANGELOG CHANGED
@@ -1,2 +1,3 @@
1
- 1.0.5
2
- 1.0.0 initial version [dorra]
1
+ 1.0.27 - Ensure that current session is bound to current shop, if shop param is given.
2
+ - Updated 'versacommerce_api' to '1.0.8'
3
+ 1.0.0 - initial version [dorra]
@@ -7,6 +7,8 @@ module VersacommerceApp::EnsureApiSession
7
7
  end
8
8
 
9
9
  def ensure_current_api_session
10
+ session[:versacommerce] = nil if params[:shop].present? && current_shop && current_shop.url != params[:shop]
11
+
10
12
  if session[:versacommerce]
11
13
  begin
12
14
  VersacommerceAPI::Base.activate_session(session[:versacommerce])
@@ -1,4 +1,4 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
  module VersacommerceApp
3
- VERSION = "1.0.26"
3
+ VERSION = "1.0.27"
4
4
  end
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
13
13
  s.description = %q{This generator creates a basic sessions controller for authenticating with your Shop. Also a home controller which lets you access your shop easily.}
14
14
 
15
15
  s.add_runtime_dependency('rails', '>= 3.1', '< 5.0')
16
- s.add_runtime_dependency('versacommerce_api', '~> 1.0.2')
16
+ s.add_runtime_dependency('versacommerce_api', '~> 1.0.8')
17
17
 
18
18
  s.files = `git ls-files`.split("\n")
19
19
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
metadata CHANGED
@@ -1,54 +1,49 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: versacommerce_app
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.26
5
- prerelease:
4
+ version: 1.0.27
6
5
  platform: ruby
7
6
  authors:
8
7
  - VersaCommerce
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2014-02-27 00:00:00.000000000 Z
11
+ date: 2014-08-21 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rails
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - ">="
20
18
  - !ruby/object:Gem::Version
21
19
  version: '3.1'
22
- - - <
20
+ - - "<"
23
21
  - !ruby/object:Gem::Version
24
22
  version: '5.0'
25
23
  type: :runtime
26
24
  prerelease: false
27
25
  version_requirements: !ruby/object:Gem::Requirement
28
- none: false
29
26
  requirements:
30
- - - ! '>='
27
+ - - ">="
31
28
  - !ruby/object:Gem::Version
32
29
  version: '3.1'
33
- - - <
30
+ - - "<"
34
31
  - !ruby/object:Gem::Version
35
32
  version: '5.0'
36
33
  - !ruby/object:Gem::Dependency
37
34
  name: versacommerce_api
38
35
  requirement: !ruby/object:Gem::Requirement
39
- none: false
40
36
  requirements:
41
- - - ~>
37
+ - - "~>"
42
38
  - !ruby/object:Gem::Version
43
- version: 1.0.2
39
+ version: 1.0.8
44
40
  type: :runtime
45
41
  prerelease: false
46
42
  version_requirements: !ruby/object:Gem::Requirement
47
- none: false
48
43
  requirements:
49
- - - ~>
44
+ - - "~>"
50
45
  - !ruby/object:Gem::Version
51
- version: 1.0.2
46
+ version: 1.0.8
52
47
  description: This generator creates a basic sessions controller for authenticating
53
48
  with your Shop. Also a home controller which lets you access your shop easily.
54
49
  email:
@@ -57,7 +52,7 @@ executables: []
57
52
  extensions: []
58
53
  extra_rdoc_files: []
59
54
  files:
60
- - .gitignore
55
+ - ".gitignore"
61
56
  - CHANGELOG
62
57
  - Gemfile
63
58
  - LICENSE
@@ -97,27 +92,25 @@ files:
97
92
  - versacommerce_app.gemspec
98
93
  homepage: http://www.versacommerce.de
99
94
  licenses: []
95
+ metadata: {}
100
96
  post_install_message:
101
97
  rdoc_options: []
102
98
  require_paths:
103
99
  - lib
104
100
  required_ruby_version: !ruby/object:Gem::Requirement
105
- none: false
106
101
  requirements:
107
- - - ! '>='
102
+ - - ">="
108
103
  - !ruby/object:Gem::Version
109
104
  version: '0'
110
105
  required_rubygems_version: !ruby/object:Gem::Requirement
111
- none: false
112
106
  requirements:
113
- - - ! '>='
107
+ - - ">="
114
108
  - !ruby/object:Gem::Version
115
109
  version: '0'
116
110
  requirements: []
117
111
  rubyforge_project:
118
- rubygems_version: 1.8.25
112
+ rubygems_version: 2.2.2
119
113
  signing_key:
120
- specification_version: 3
114
+ specification_version: 4
121
115
  summary: This gem is used to get quickly started with the VersaCommerce API
122
116
  test_files: []
123
- has_rdoc: