shopqi-app 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -9,8 +9,10 @@ UNCOMMENT the line below in Gemfile
9
9
  Step 2.
10
10
  $ bundle
11
11
 
12
-
13
12
  Step 3.
13
+ $ rake db:create db:migrate
14
+
15
+ Step 4.
14
16
  $ rails server
15
17
 
16
18
  ===============================================================================
@@ -3,7 +3,7 @@ class HomeController < ApplicationController
3
3
 
4
4
  def index
5
5
  if signed_in?
6
- Shopkit.setup url: session[:shopqi][:url], access_token: session[:shopqi][:access_token] # set in shopqi-app sessions controller
6
+ Shopkit.setup url: current_shop.shopqi_domain, access_token: current_shop.access_token # set in shopqi-app sessions controller
7
7
  @orders = Shopkit.orders per_page: 3
8
8
  @products = Shopkit.products per_page: 5
9
9
  else
@@ -1,3 +1,3 @@
1
1
  module ShopQiApp
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shopqi-app
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -188,7 +188,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
188
188
  version: '0'
189
189
  segments:
190
190
  - 0
191
- hash: 557789341
191
+ hash: 678150255
192
192
  required_rubygems_version: !ruby/object:Gem::Requirement
193
193
  none: false
194
194
  requirements:
@@ -197,7 +197,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
197
197
  version: '0'
198
198
  segments:
199
199
  - 0
200
- hash: 557789341
200
+ hash: 678150255
201
201
  requirements: []
202
202
  rubyforge_project:
203
203
  rubygems_version: 1.8.24