spree_api_auth 0.1.0 → 0.1.1

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/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- spree_api_auth (0.1.0)
4
+ spree_api_auth (0.1.1)
5
5
  spree_api
6
6
  spree_auth
7
7
  spree_core
@@ -19,6 +19,7 @@ module Spree
19
19
  unauthorized
20
20
  return
21
21
  end
22
+ @user.generate_api_key! if @user.api_key.blank?
22
23
  end
23
24
 
24
25
  end
@@ -2,7 +2,7 @@
2
2
  Gem::Specification.new do |s|
3
3
  s.platform = Gem::Platform::RUBY
4
4
  s.name = 'spree_api_auth'
5
- s.version = '0.1.0'
5
+ s.version = '0.1.1'
6
6
  s.summary = "Spree's Authenticattion API"
7
7
  s.description = "Spree's Authenticattion API"
8
8
  s.required_ruby_version = '>= 1.8.7'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_api_auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -185,7 +185,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
185
185
  version: '0'
186
186
  segments:
187
187
  - 0
188
- hash: -1136786608211768738
188
+ hash: -2270508300482352318
189
189
  requirements:
190
190
  - none
191
191
  rubyforge_project: