keycloak-api-rails 0.10 → 0.10.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1d291e8d66fe760d36ba51a38fdc340cf73ba70a
4
- data.tar.gz: aa7a777c5708e2e427ba135489e1547f065e315d
3
+ metadata.gz: 87874dec1c650142ab5ab797da0242c54307a27f
4
+ data.tar.gz: 261fe67cecc45c6fd9831b15289d242e697ee354
5
5
  SHA512:
6
- metadata.gz: 02ccaced32e6599c226300f48246c97a8ffdfdd3ef2adb85d6cde4862c4f3375e2695636f3fd0a51ca6f437fc4f66f6494a8c2d4bd20a5c1b6fb962dc7591cfc
7
- data.tar.gz: 5577788c4255d19f5f62e46f2989ee0b33167cf9af8461dd19b9d29d3c6588eb3766bc8473533a8a1c71792910c0c45fe82908c81c7d822148303fea7a4c47e3
6
+ metadata.gz: 2eecc8d1fb2e293f265712b90d44b012b68b319a22739906a39fc03e4c159d6780793dd1a2210b0e510d175bf86df6c414ddaa9c7bd360250b2a101f275548bd
7
+ data.tar.gz: 96aa59b4a9d1617f946d827660bed9e7f97b6326ac02d91e00805d2ac989de33af5bb53f7ee92e0c598a81dc8e1800b63966c872b553180f07a8164f2c665803
@@ -1,50 +1,51 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- keycloak-api-rails (0.8)
5
- json-jwt (~> 1.8, >= 1.8.3)
4
+ keycloak-api-rails (0.10.2)
5
+ json-jwt (>= 1.9.4)
6
6
  rails (>= 4.2)
7
+ rest-client (>= 2.0.2)
7
8
 
8
9
  GEM
9
10
  remote: https://rubygems.org/
10
11
  specs:
11
- actioncable (5.2.0)
12
- actionpack (= 5.2.0)
12
+ actioncable (5.2.1)
13
+ actionpack (= 5.2.1)
13
14
  nio4r (~> 2.0)
14
15
  websocket-driver (>= 0.6.1)
15
- actionmailer (5.2.0)
16
- actionpack (= 5.2.0)
17
- actionview (= 5.2.0)
18
- activejob (= 5.2.0)
16
+ actionmailer (5.2.1)
17
+ actionpack (= 5.2.1)
18
+ actionview (= 5.2.1)
19
+ activejob (= 5.2.1)
19
20
  mail (~> 2.5, >= 2.5.4)
20
21
  rails-dom-testing (~> 2.0)
21
- actionpack (5.2.0)
22
- actionview (= 5.2.0)
23
- activesupport (= 5.2.0)
22
+ actionpack (5.2.1)
23
+ actionview (= 5.2.1)
24
+ activesupport (= 5.2.1)
24
25
  rack (~> 2.0)
25
26
  rack-test (>= 0.6.3)
26
27
  rails-dom-testing (~> 2.0)
27
28
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
28
- actionview (5.2.0)
29
- activesupport (= 5.2.0)
29
+ actionview (5.2.1)
30
+ activesupport (= 5.2.1)
30
31
  builder (~> 3.1)
31
32
  erubi (~> 1.4)
32
33
  rails-dom-testing (~> 2.0)
33
34
  rails-html-sanitizer (~> 1.0, >= 1.0.3)
34
- activejob (5.2.0)
35
- activesupport (= 5.2.0)
35
+ activejob (5.2.1)
36
+ activesupport (= 5.2.1)
36
37
  globalid (>= 0.3.6)
37
- activemodel (5.2.0)
38
- activesupport (= 5.2.0)
39
- activerecord (5.2.0)
40
- activemodel (= 5.2.0)
41
- activesupport (= 5.2.0)
38
+ activemodel (5.2.1)
39
+ activesupport (= 5.2.1)
40
+ activerecord (5.2.1)
41
+ activemodel (= 5.2.1)
42
+ activesupport (= 5.2.1)
42
43
  arel (>= 9.0)
43
- activestorage (5.2.0)
44
- actionpack (= 5.2.0)
45
- activerecord (= 5.2.0)
44
+ activestorage (5.2.1)
45
+ actionpack (= 5.2.1)
46
+ activerecord (= 5.2.1)
46
47
  marcel (~> 0.3.1)
47
- activesupport (5.2.0)
48
+ activesupport (5.2.1)
48
49
  concurrent-ruby (~> 1.0, >= 1.0.2)
49
50
  i18n (>= 0.7, < 2)
50
51
  minitest (~> 5.1)
@@ -57,10 +58,14 @@ GEM
57
58
  concurrent-ruby (1.0.5)
58
59
  crass (1.0.4)
59
60
  diff-lcs (1.3)
61
+ domain_name (0.5.20180417)
62
+ unf (>= 0.0.5, < 1.0.0)
60
63
  erubi (1.7.1)
61
64
  globalid (0.4.1)
62
65
  activesupport (>= 4.2.0)
63
- i18n (1.0.1)
66
+ http-cookie (1.0.3)
67
+ domain_name (~> 0.5)
68
+ i18n (1.1.0)
64
69
  concurrent-ruby (~> 1.0)
65
70
  json-jwt (1.9.4)
66
71
  activesupport
@@ -74,41 +79,49 @@ GEM
74
79
  marcel (0.3.2)
75
80
  mimemagic (~> 0.3.2)
76
81
  method_source (0.9.0)
82
+ mime-types (3.2.2)
83
+ mime-types-data (~> 3.2015)
84
+ mime-types-data (3.2018.0812)
77
85
  mimemagic (0.3.2)
78
- mini_mime (1.0.0)
86
+ mini_mime (1.0.1)
79
87
  mini_portile2 (2.3.0)
80
88
  minitest (5.11.3)
89
+ netrc (0.11.0)
81
90
  nio4r (2.3.1)
82
- nokogiri (1.8.2)
91
+ nokogiri (1.8.4)
83
92
  mini_portile2 (~> 2.3.0)
84
- rack (2.0.5)
85
- rack-test (1.0.0)
93
+ rack (2.0.6)
94
+ rack-test (1.1.0)
86
95
  rack (>= 1.0, < 3)
87
- rails (5.2.0)
88
- actioncable (= 5.2.0)
89
- actionmailer (= 5.2.0)
90
- actionpack (= 5.2.0)
91
- actionview (= 5.2.0)
92
- activejob (= 5.2.0)
93
- activemodel (= 5.2.0)
94
- activerecord (= 5.2.0)
95
- activestorage (= 5.2.0)
96
- activesupport (= 5.2.0)
96
+ rails (5.2.1)
97
+ actioncable (= 5.2.1)
98
+ actionmailer (= 5.2.1)
99
+ actionpack (= 5.2.1)
100
+ actionview (= 5.2.1)
101
+ activejob (= 5.2.1)
102
+ activemodel (= 5.2.1)
103
+ activerecord (= 5.2.1)
104
+ activestorage (= 5.2.1)
105
+ activesupport (= 5.2.1)
97
106
  bundler (>= 1.3.0)
98
- railties (= 5.2.0)
107
+ railties (= 5.2.1)
99
108
  sprockets-rails (>= 2.0.0)
100
109
  rails-dom-testing (2.0.3)
101
110
  activesupport (>= 4.2.0)
102
111
  nokogiri (>= 1.6)
103
112
  rails-html-sanitizer (1.0.4)
104
113
  loofah (~> 2.2, >= 2.2.2)
105
- railties (5.2.0)
106
- actionpack (= 5.2.0)
107
- activesupport (= 5.2.0)
114
+ railties (5.2.1)
115
+ actionpack (= 5.2.1)
116
+ activesupport (= 5.2.1)
108
117
  method_source
109
118
  rake (>= 0.8.7)
110
- thor (>= 0.18.1, < 2.0)
119
+ thor (>= 0.19.0, < 2.0)
111
120
  rake (12.3.1)
121
+ rest-client (2.0.2)
122
+ http-cookie (>= 1.0.2, < 2.0)
123
+ mime-types (>= 1.16, < 4.0)
124
+ netrc (~> 0.8)
112
125
  rspec (3.7.0)
113
126
  rspec-core (~> 3.7.0)
114
127
  rspec-expectations (~> 3.7.0)
@@ -122,7 +135,7 @@ GEM
122
135
  diff-lcs (>= 1.2.0, < 2.0)
123
136
  rspec-support (~> 3.7.0)
124
137
  rspec-support (3.7.0)
125
- sprockets (3.7.1)
138
+ sprockets (3.7.2)
126
139
  concurrent-ruby (~> 1.0)
127
140
  rack (> 1, < 3)
128
141
  sprockets-rails (3.2.1)
@@ -134,6 +147,9 @@ GEM
134
147
  timecop (0.9.1)
135
148
  tzinfo (1.2.5)
136
149
  thread_safe (~> 0.1)
150
+ unf (0.1.4)
151
+ unf_ext
152
+ unf_ext (0.0.7.5)
137
153
  websocket-driver (0.7.0)
138
154
  websocket-extensions (>= 0.1.0)
139
155
  websocket-extensions (0.1.3)
data/README.md CHANGED
@@ -5,7 +5,7 @@ This gem aims at validates Keycloak JWT token in Ruby On Rails APIs.
5
5
  ## Install
6
6
 
7
7
  ```ruby
8
- gem "keycloak-api-rails", "0.10"
8
+ gem "keycloak-api-rails", "0.10.2"
9
9
  ```
10
10
 
11
11
  ## Token validation
@@ -170,3 +170,7 @@ From the `keycloak-rails-api` directory:
170
170
  $ docker build . -t keycloak-rails-api:test
171
171
  $ docker run -v `pwd`:/usr/src/app/ keycloak-rails-api:test bundle exec rspec spec
172
172
  ```
173
+
174
+ ## Next developments
175
+
176
+ * Remove dependency to `rest-client`
@@ -15,8 +15,10 @@ Gem::Specification.new do |spec|
15
15
  spec.files = `git ls-files -z`.split("\x0")
16
16
  spec.require_paths = ["lib"]
17
17
 
18
- spec.add_dependency "rails", ">= 4.2"
19
- spec.add_dependency "json-jwt", ">= 1.9.4"
18
+ spec.add_dependency "rails", ">= 4.2"
19
+ spec.add_dependency "json-jwt", ">= 1.9.4"
20
+ spec.add_dependency "rest-client", ">= 2.0.2"
21
+
20
22
  spec.add_development_dependency "rspec", "3.7.0"
21
23
  spec.add_development_dependency "timecop", "0.9.1"
22
24
  spec.add_development_dependency "byebug", "9.1.0"
@@ -1,3 +1,3 @@
1
1
  module Keycloak
2
- VERSION = "0.10"
2
+ VERSION = "0.10.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: keycloak-api-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.10'
4
+ version: 0.10.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lorent Lempereur
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-01-23 00:00:00.000000000 Z
11
+ date: 2019-05-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -38,6 +38,20 @@ dependencies:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: 1.9.4
41
+ - !ruby/object:Gem::Dependency
42
+ name: rest-client
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: 2.0.2
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: 2.0.2
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: rspec
43
57
  requirement: !ruby/object:Gem::Requirement