solidus_jwt 1.2.0 → 1.2.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.
- checksums.yaml +4 -4
- data/.gem_release.yml +1 -1
- data/CHANGELOG.md +98 -0
- data/Gemfile +7 -1
- data/lib/solidus_jwt/version.rb +1 -1
- data/solidus_jwt.gemspec +4 -4
- metadata +18 -17
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c4f62820292cb45a7c1e638d7c7f62006d379bb5c9bbad5efd840b8bc04ac574
|
|
4
|
+
data.tar.gz: ea71387db0d75e9fd22966968516a35c26dc870dbeaa420229ed6bc6cc1d9e90
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 334d6f0f28fc4c66f5d9f5b979f334ba8a56de9ec7fac0a41409cde8be3aa14e493d6309036768a00a9c15d712fcbced4a827511211772fc9c11a5696f033e26
|
|
7
|
+
data.tar.gz: 459344ffa6e482fa1dab6baf1e2dd3d5249d9e12572546c3263ed7f0d4447022648647e6e3568f4b1554538b4e2db657d446d833be7410353fda8b516fcf45f2
|
data/.gem_release.yml
CHANGED
data/CHANGELOG.md
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## [v1.2.1](https://github.com/solidusio-contrib/solidus_jwt/tree/v1.2.1) (2023-01-09)
|
|
4
|
+
|
|
5
|
+
[Full Changelog](https://github.com/solidusio-contrib/solidus_jwt/compare/v1.2.0...v1.2.1)
|
|
6
|
+
|
|
7
|
+
**Merged pull requests:**
|
|
8
|
+
|
|
9
|
+
- Bump Solidus Version in Gemspec to Allow Above 3.0 [\#35](https://github.com/solidusio-contrib/solidus_jwt/pull/35) ([cpfergus1](https://github.com/cpfergus1))
|
|
10
|
+
- Update to use forked solidus\_frontend when needed [\#34](https://github.com/solidusio-contrib/solidus_jwt/pull/34) ([waiting-for-dev](https://github.com/waiting-for-dev))
|
|
11
|
+
- relaxing dependencies for working with solidus v3 [\#33](https://github.com/solidusio-contrib/solidus_jwt/pull/33) ([iLucker93](https://github.com/iLucker93))
|
|
12
|
+
- relaxing solidus\_core lower than v3 dependency [\#32](https://github.com/solidusio-contrib/solidus_jwt/pull/32) ([iLucker93](https://github.com/iLucker93))
|
|
13
|
+
|
|
14
|
+
## [v1.2.0](https://github.com/solidusio-contrib/solidus_jwt/tree/v1.2.0) (2020-06-09)
|
|
15
|
+
|
|
16
|
+
[Full Changelog](https://github.com/solidusio-contrib/solidus_jwt/compare/v1.0.0...v1.2.0)
|
|
17
|
+
|
|
18
|
+
**Closed issues:**
|
|
19
|
+
|
|
20
|
+
- Add helper method for matching user [\#25](https://github.com/solidusio-contrib/solidus_jwt/issues/25)
|
|
21
|
+
- Update for solidus\_dev\_support [\#22](https://github.com/solidusio-contrib/solidus_jwt/issues/22)
|
|
22
|
+
- Prefer Gem::Version [\#21](https://github.com/solidusio-contrib/solidus_jwt/issues/21)
|
|
23
|
+
|
|
24
|
+
**Merged pull requests:**
|
|
25
|
+
|
|
26
|
+
- Upgrade dev environment [\#28](https://github.com/solidusio-contrib/solidus_jwt/pull/28) ([skukx](https://github.com/skukx))
|
|
27
|
+
- Add for jwt user method [\#26](https://github.com/solidusio-contrib/solidus_jwt/pull/26) ([skukx](https://github.com/skukx))
|
|
28
|
+
- update solidus\_support to 0.5.0 [\#24](https://github.com/solidusio-contrib/solidus_jwt/pull/24) ([ccarruitero](https://github.com/ccarruitero))
|
|
29
|
+
- 22 update gem for solidus dev support [\#23](https://github.com/solidusio-contrib/solidus_jwt/pull/23) ([skukx](https://github.com/skukx))
|
|
30
|
+
- Handle other Warden strategy errors in API response [\#20](https://github.com/solidusio-contrib/solidus_jwt/pull/20) ([tvdeyen](https://github.com/tvdeyen))
|
|
31
|
+
- Change Devise strategy base class [\#19](https://github.com/solidusio-contrib/solidus_jwt/pull/19) ([tvdeyen](https://github.com/tvdeyen))
|
|
32
|
+
- Translate error response [\#18](https://github.com/solidusio-contrib/solidus_jwt/pull/18) ([tvdeyen](https://github.com/tvdeyen))
|
|
33
|
+
- Fix specs [\#17](https://github.com/solidusio-contrib/solidus_jwt/pull/17) ([tvdeyen](https://github.com/tvdeyen))
|
|
34
|
+
- Fix table\_name\_prefix [\#16](https://github.com/solidusio-contrib/solidus_jwt/pull/16) ([tvdeyen](https://github.com/tvdeyen))
|
|
35
|
+
- Fix Solidus dependencies [\#15](https://github.com/solidusio-contrib/solidus_jwt/pull/15) ([tvdeyen](https://github.com/tvdeyen))
|
|
36
|
+
- Add foreign key to users [\#14](https://github.com/solidusio-contrib/solidus_jwt/pull/14) ([tvdeyen](https://github.com/tvdeyen))
|
|
37
|
+
- Remove asset installation [\#13](https://github.com/solidusio-contrib/solidus_jwt/pull/13) ([tvdeyen](https://github.com/tvdeyen))
|
|
38
|
+
|
|
39
|
+
## [v1.0.0](https://github.com/solidusio-contrib/solidus_jwt/tree/v1.0.0) (2019-12-09)
|
|
40
|
+
|
|
41
|
+
[Full Changelog](https://github.com/solidusio-contrib/solidus_jwt/compare/v1.0.0.beta2...v1.0.0)
|
|
42
|
+
|
|
43
|
+
## [v1.0.0.beta2](https://github.com/solidusio-contrib/solidus_jwt/tree/v1.0.0.beta2) (2019-12-04)
|
|
44
|
+
|
|
45
|
+
[Full Changelog](https://github.com/solidusio-contrib/solidus_jwt/compare/v1.0.0.beta1...v1.0.0.beta2)
|
|
46
|
+
|
|
47
|
+
**Closed issues:**
|
|
48
|
+
|
|
49
|
+
- Allow authentication through API? [\#2](https://github.com/solidusio-contrib/solidus_jwt/issues/2)
|
|
50
|
+
- Add Refresh Token [\#1](https://github.com/solidusio-contrib/solidus_jwt/issues/1)
|
|
51
|
+
|
|
52
|
+
## [v1.0.0.beta1](https://github.com/solidusio-contrib/solidus_jwt/tree/v1.0.0.beta1) (2019-11-01)
|
|
53
|
+
|
|
54
|
+
[Full Changelog](https://github.com/solidusio-contrib/solidus_jwt/compare/v0.1.0...v1.0.0.beta1)
|
|
55
|
+
|
|
56
|
+
**Merged pull requests:**
|
|
57
|
+
|
|
58
|
+
- WIP: Implement Refresh Tokens [\#5](https://github.com/solidusio-contrib/solidus_jwt/pull/5) ([skukx](https://github.com/skukx))
|
|
59
|
+
|
|
60
|
+
## [v0.1.0](https://github.com/solidusio-contrib/solidus_jwt/tree/v0.1.0) (2019-11-01)
|
|
61
|
+
|
|
62
|
+
[Full Changelog](https://github.com/solidusio-contrib/solidus_jwt/compare/v0.0.2...v0.1.0)
|
|
63
|
+
|
|
64
|
+
**Closed issues:**
|
|
65
|
+
|
|
66
|
+
- JWT::InvalidPayload with jwt 2.2.1 [\#9](https://github.com/solidusio-contrib/solidus_jwt/issues/9)
|
|
67
|
+
- Prefer using sub claim over id [\#8](https://github.com/solidusio-contrib/solidus_jwt/issues/8)
|
|
68
|
+
- Allow claims to be passed through [\#4](https://github.com/solidusio-contrib/solidus_jwt/issues/4)
|
|
69
|
+
|
|
70
|
+
**Merged pull requests:**
|
|
71
|
+
|
|
72
|
+
- Update jwt claims [\#11](https://github.com/solidusio-contrib/solidus_jwt/pull/11) ([skukx](https://github.com/skukx))
|
|
73
|
+
|
|
74
|
+
## [v0.0.2](https://github.com/solidusio-contrib/solidus_jwt/tree/v0.0.2) (2019-06-18)
|
|
75
|
+
|
|
76
|
+
[Full Changelog](https://github.com/solidusio-contrib/solidus_jwt/compare/v0.0.1...v0.0.2)
|
|
77
|
+
|
|
78
|
+
**Closed issues:**
|
|
79
|
+
|
|
80
|
+
- SQLite3::ConstraintException: UNIQUE constraint failed: spree\_users.uid [\#3](https://github.com/solidusio-contrib/solidus_jwt/issues/3)
|
|
81
|
+
|
|
82
|
+
**Merged pull requests:**
|
|
83
|
+
|
|
84
|
+
- Fix bug with iat [\#10](https://github.com/solidusio-contrib/solidus_jwt/pull/10) ([skukx](https://github.com/skukx))
|
|
85
|
+
- Lock sqlite3 gem version [\#7](https://github.com/solidusio-contrib/solidus_jwt/pull/7) ([mdesantis](https://github.com/mdesantis))
|
|
86
|
+
- Calculate 'exp' and 'iat' upon the same timestamp [\#6](https://github.com/solidusio-contrib/solidus_jwt/pull/6) ([mdesantis](https://github.com/mdesantis))
|
|
87
|
+
|
|
88
|
+
## [v0.0.1](https://github.com/solidusio-contrib/solidus_jwt/tree/v0.0.1) (2018-11-12)
|
|
89
|
+
|
|
90
|
+
[Full Changelog](https://github.com/solidusio-contrib/solidus_jwt/compare/v0.0.1.pre...v0.0.1)
|
|
91
|
+
|
|
92
|
+
## [v0.0.1.pre](https://github.com/solidusio-contrib/solidus_jwt/tree/v0.0.1.pre) (2018-10-27)
|
|
93
|
+
|
|
94
|
+
[Full Changelog](https://github.com/solidusio-contrib/solidus_jwt/compare/3e4c03b72d6259529a8cab3b0def7b338dc7b026...v0.0.1.pre)
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
|
data/Gemfile
CHANGED
|
@@ -4,7 +4,13 @@ source 'https://rubygems.org'
|
|
|
4
4
|
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
|
|
5
5
|
|
|
6
6
|
branch = ENV.fetch('SOLIDUS_BRANCH', 'master')
|
|
7
|
-
|
|
7
|
+
solidus_git, solidus_frontend_git = if (branch == 'master') || (branch >= 'v3.2')
|
|
8
|
+
%w[solidusio/solidus solidusio/solidus_frontend]
|
|
9
|
+
else
|
|
10
|
+
%w[solidusio/solidus] * 2
|
|
11
|
+
end
|
|
12
|
+
gem 'solidus', github: solidus_git, branch: branch
|
|
13
|
+
gem 'solidus_frontend', github: solidus_frontend_git, branch: branch
|
|
8
14
|
|
|
9
15
|
# Needed to help Bundler figure out how to resolve dependencies,
|
|
10
16
|
# otherwise it takes forever to resolve them.
|
data/lib/solidus_jwt/version.rb
CHANGED
data/solidus_jwt.gemspec
CHANGED
|
@@ -11,12 +11,12 @@ Gem::Specification.new do |s|
|
|
|
11
11
|
|
|
12
12
|
s.author = 'Taylor Scott'
|
|
13
13
|
s.email = 't.skukx@gmail.com'
|
|
14
|
-
s.homepage = 'https://github.com/
|
|
14
|
+
s.homepage = 'https://github.com/solidusio-contrib/solidus_jwt'
|
|
15
15
|
|
|
16
16
|
s.metadata['homepage_uri'] = s.homepage
|
|
17
17
|
s.metadata['source_code_uri'] = s.homepage
|
|
18
18
|
|
|
19
|
-
s.required_ruby_version = Gem::Requirement.new
|
|
19
|
+
s.required_ruby_version = Gem::Requirement.new
|
|
20
20
|
|
|
21
21
|
# Specify which files should be added to the gem when it is released.
|
|
22
22
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
|
@@ -30,8 +30,8 @@ Gem::Specification.new do |s|
|
|
|
30
30
|
|
|
31
31
|
s.add_dependency 'jwt'
|
|
32
32
|
s.add_dependency 'solidus_auth_devise'
|
|
33
|
-
s.add_dependency 'solidus_core', ['>= 2.0.0', '<
|
|
34
|
-
s.add_dependency 'solidus_support'
|
|
33
|
+
s.add_dependency 'solidus_core', ['>= 2.0.0', '< 4']
|
|
34
|
+
s.add_dependency 'solidus_support'
|
|
35
35
|
|
|
36
36
|
s.add_development_dependency 'byebug'
|
|
37
37
|
s.add_development_dependency 'solidus_dev_support'
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: solidus_jwt
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Taylor Scott
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2023-01-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jwt
|
|
@@ -47,7 +47,7 @@ dependencies:
|
|
|
47
47
|
version: 2.0.0
|
|
48
48
|
- - "<"
|
|
49
49
|
- !ruby/object:Gem::Version
|
|
50
|
-
version: '
|
|
50
|
+
version: '4'
|
|
51
51
|
type: :runtime
|
|
52
52
|
prerelease: false
|
|
53
53
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -57,21 +57,21 @@ dependencies:
|
|
|
57
57
|
version: 2.0.0
|
|
58
58
|
- - "<"
|
|
59
59
|
- !ruby/object:Gem::Version
|
|
60
|
-
version: '
|
|
60
|
+
version: '4'
|
|
61
61
|
- !ruby/object:Gem::Dependency
|
|
62
62
|
name: solidus_support
|
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
|
64
64
|
requirements:
|
|
65
|
-
- - "
|
|
65
|
+
- - ">="
|
|
66
66
|
- !ruby/object:Gem::Version
|
|
67
|
-
version: 0
|
|
67
|
+
version: '0'
|
|
68
68
|
type: :runtime
|
|
69
69
|
prerelease: false
|
|
70
70
|
version_requirements: !ruby/object:Gem::Requirement
|
|
71
71
|
requirements:
|
|
72
|
-
- - "
|
|
72
|
+
- - ">="
|
|
73
73
|
- !ruby/object:Gem::Version
|
|
74
|
-
version: 0
|
|
74
|
+
version: '0'
|
|
75
75
|
- !ruby/object:Gem::Dependency
|
|
76
76
|
name: byebug
|
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -115,6 +115,7 @@ files:
|
|
|
115
115
|
- ".rubocop.yml"
|
|
116
116
|
- ".ruby-gemset"
|
|
117
117
|
- ".ruby-version"
|
|
118
|
+
- CHANGELOG.md
|
|
118
119
|
- Gemfile
|
|
119
120
|
- LICENSE
|
|
120
121
|
- README.md
|
|
@@ -165,29 +166,29 @@ files:
|
|
|
165
166
|
- spec/spec_helper.rb
|
|
166
167
|
- spec/support/shared_examples/decodeable_examples.rb
|
|
167
168
|
- spec/support/shared_examples/encodeable_examples.rb
|
|
168
|
-
homepage: https://github.com/
|
|
169
|
+
homepage: https://github.com/solidusio-contrib/solidus_jwt
|
|
169
170
|
licenses:
|
|
170
171
|
- BSD-3-Clause
|
|
171
172
|
metadata:
|
|
172
|
-
homepage_uri: https://github.com/
|
|
173
|
-
source_code_uri: https://github.com/
|
|
174
|
-
post_install_message:
|
|
173
|
+
homepage_uri: https://github.com/solidusio-contrib/solidus_jwt
|
|
174
|
+
source_code_uri: https://github.com/solidusio-contrib/solidus_jwt
|
|
175
|
+
post_install_message:
|
|
175
176
|
rdoc_options: []
|
|
176
177
|
require_paths:
|
|
177
178
|
- lib
|
|
178
179
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
179
180
|
requirements:
|
|
180
|
-
- - "
|
|
181
|
+
- - ">="
|
|
181
182
|
- !ruby/object:Gem::Version
|
|
182
|
-
version: '
|
|
183
|
+
version: '0'
|
|
183
184
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
184
185
|
requirements:
|
|
185
186
|
- - ">="
|
|
186
187
|
- !ruby/object:Gem::Version
|
|
187
188
|
version: '0'
|
|
188
189
|
requirements: []
|
|
189
|
-
rubygems_version: 3.
|
|
190
|
-
signing_key:
|
|
190
|
+
rubygems_version: 3.3.7
|
|
191
|
+
signing_key:
|
|
191
192
|
specification_version: 4
|
|
192
193
|
summary: Add Json Web Tokens to Solidus API
|
|
193
194
|
test_files:
|