shopifydev 0.0.5 → 0.0.6
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.
- data/lib/shopifydev/pry/commands.rb +2 -0
- data/lib/shopifydev/version.rb +1 -1
- metadata +3 -3
@@ -99,6 +99,7 @@ class Switch
|
|
99
99
|
if @cfg.keys.include?("shop_type")
|
100
100
|
case @cfg["shop_type"].to_sym
|
101
101
|
when :local
|
102
|
+
ShopifyAPI::Base.clear_session
|
102
103
|
session = ShopifyAPI::Session.new(@cfg['url'], @cfg['token'])
|
103
104
|
session.valid? # returns true
|
104
105
|
ShopifyAPI::Base.activate_session(session)
|
@@ -106,6 +107,7 @@ class Switch
|
|
106
107
|
puts Color.red{ "can't handle heroku yet"}
|
107
108
|
end
|
108
109
|
else
|
110
|
+
ShopifyAPI::Base.clear_session
|
109
111
|
set_shop(@cfg[:api_key], @cfg[:password], @cfg[:myshopify_domain])
|
110
112
|
end
|
111
113
|
self.current_shop
|
data/lib/shopifydev/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shopifydev
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -250,7 +250,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
250
250
|
version: '0'
|
251
251
|
segments:
|
252
252
|
- 0
|
253
|
-
hash:
|
253
|
+
hash: 1934802469332501028
|
254
254
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
255
255
|
none: false
|
256
256
|
requirements:
|
@@ -259,7 +259,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
259
259
|
version: '0'
|
260
260
|
segments:
|
261
261
|
- 0
|
262
|
-
hash:
|
262
|
+
hash: 1934802469332501028
|
263
263
|
requirements: []
|
264
264
|
rubyforge_project:
|
265
265
|
rubygems_version: 1.8.25
|