solidus_api_devise_token_auth 2.8.0.alpha.3 → 2.8.0.alpha.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f7f97957ff652cb809a3bd6fdb16498f33b4f068a460469b0d347ce8eaae305b
4
- data.tar.gz: bd586400ee50e2c5c92d0663292f89c1a5c5c49ebdeb2576230d8cee54f4d2d2
3
+ metadata.gz: a5ca9ef20feba20f8437d98b974dcc7a1c5fd249f83b5ca2acbdea166172b415
4
+ data.tar.gz: e659fa8a119d4c150435fae9760c60f353b5f40b46a8715178affa3052b87b20
5
5
  SHA512:
6
- metadata.gz: 8ad0839b6d16d9e3b0facd1263928051702ac031cca9e39b2bb4e6058405a1701ed341160cfefe59d5a225ef7d6de510a648f969d2e028d04f46a2d9baff8736
7
- data.tar.gz: c739a3db8d7fe31804de6d8d12cdcdeeff730c0f2eb97e2926a2367448b568c0c4c0816709f4dc8bb053b71976cee98c3bb6d306eace3d6acd4a7c68325aeef3
6
+ metadata.gz: 13b403de1346cdfae12b59f8a595244f213774fcc4b4b38d984b7355d36919fd9ce74be1d5f943c8a2a938ddaf591c08a5039891c8e121a7a1d345bc3ba39f6c
7
+ data.tar.gz: 76d7e4c8d45eaa9119604a90b05db1a98e6b7373cbb34b39e79df910017412c9ab389bd6ee81c1ed50181b47c01e8d722e2fceac502db7c24facb673903f60b2
@@ -3,7 +3,9 @@
3
3
  class RenameApiKeyToSpreeApiKey < ActiveRecord::Migration[4.2]
4
4
  def change
5
5
  unless defined?(User)
6
- rename_column :spree_users, :api_key, :spree_api_key
6
+ if column_exists?(:spree_users, :api_key)
7
+ rename_column :spree_users, :api_key, :spree_api_key
8
+ end
7
9
  end
8
10
  end
9
11
  end
@@ -3,7 +3,9 @@
3
3
  class AddIndexToUserSpreeApiKey < ActiveRecord::Migration[4.2]
4
4
  def change
5
5
  unless defined?(User)
6
- add_index :spree_users, :spree_api_key
6
+ if column_exists?(:spree_users, :spree_api_key)
7
+ add_index :spree_users, :spree_api_key
8
+ end
7
9
  end
8
10
  end
9
11
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_api_devise_token_auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.8.0.alpha.3
4
+ version: 2.8.0.alpha.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michał Siwek (skycocker)
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-24 00:00:00.000000000 Z
11
+ date: 2018-10-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jbuilder
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 2.8.0.alpha.3
61
+ version: 2.8.0.alpha.4
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - '='
67
67
  - !ruby/object:Gem::Version
68
- version: 2.8.0.alpha.3
68
+ version: 2.8.0.alpha.4
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: devise_token_auth
71
71
  requirement: !ruby/object:Gem::Requirement