auth0 3.6.1 → 4.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +4 -0
  3. data/.rubocop.yml +7 -0
  4. data/.rubocop_todo.yml +7 -0
  5. data/.travis.yml +12 -7
  6. data/CHANGELOG.md +10 -0
  7. data/Gemfile +4 -2
  8. data/Guardfile +13 -10
  9. data/LICENSE +2 -2
  10. data/README.md +9 -11
  11. data/Rakefile +33 -7
  12. data/auth0.gemspec +12 -12
  13. data/deploy_documentation.sh +29 -0
  14. data/doc_config/templates/default/fulldoc/html/css/full_list.css +79 -0
  15. data/doc_config/templates/default/fulldoc/html/css/style.css +546 -0
  16. data/doc_config/templates/default/layout/html/breadcrumb.erb +11 -0
  17. data/doc_config/templates/default/layout/html/footer.erb +115 -0
  18. data/doc_config/templates/default/layout/html/headers.erb +17 -0
  19. data/doc_config/templates/default/layout/html/layout.erb +27 -0
  20. data/lib/auth0.rb +5 -5
  21. data/lib/auth0/api/authentication_endpoints.rb +264 -46
  22. data/lib/auth0/api/v1.rb +5 -5
  23. data/lib/auth0/api/v1/clients.rb +7 -7
  24. data/lib/auth0/api/v1/connections.rb +9 -10
  25. data/lib/auth0/api/v1/logs.rb +9 -16
  26. data/lib/auth0/api/v1/rules.rb +5 -5
  27. data/lib/auth0/api/v1/users.rb +28 -27
  28. data/lib/auth0/api/v2.rb +17 -9
  29. data/lib/auth0/api/v2/blacklists.rb +30 -9
  30. data/lib/auth0/api/v2/clients.rb +60 -19
  31. data/lib/auth0/api/v2/connections.rb +63 -10
  32. data/lib/auth0/api/v2/emails.rb +58 -0
  33. data/lib/auth0/api/v2/jobs.rb +44 -7
  34. data/lib/auth0/api/v2/rules.rb +104 -0
  35. data/lib/auth0/api/v2/stats.rb +22 -5
  36. data/lib/auth0/api/v2/tenants.rb +39 -0
  37. data/lib/auth0/api/v2/tickets.rb +58 -0
  38. data/lib/auth0/api/v2/users.rb +128 -39
  39. data/lib/auth0/client.rb +8 -6
  40. data/lib/auth0/exception.rb +29 -23
  41. data/lib/auth0/mixins.rb +12 -10
  42. data/lib/auth0/mixins/httparty_proxy.rb +13 -10
  43. data/lib/auth0/mixins/initializer.rb +25 -27
  44. data/lib/auth0/version.rb +2 -2
  45. data/spec/integration/lib/auth0/api/v1/api_clients_spec.rb +2 -4
  46. data/spec/integration/lib/auth0/api/v1/api_users_spec.rb +25 -32
  47. data/spec/integration/lib/auth0/api/v2/api_blacklist_spec.rb +14 -0
  48. data/spec/integration/lib/auth0/api/v2/api_clients_spec.rb +61 -6
  49. data/spec/integration/lib/auth0/api/v2/api_connections_spec.rb +68 -42
  50. data/spec/integration/lib/auth0/api/v2/api_email_spec.rb +71 -0
  51. data/spec/integration/lib/auth0/api/v2/api_jobs_spec.rb +69 -0
  52. data/spec/integration/lib/auth0/api/v2/api_rules_spec.rb +83 -0
  53. data/spec/integration/lib/auth0/api/v2/api_stats_spec.rb +16 -0
  54. data/spec/integration/lib/auth0/api/v2/api_tenants_spec.rb +37 -0
  55. data/spec/integration/lib/auth0/api/v2/api_tickets_spec.rb +33 -0
  56. data/spec/integration/lib/auth0/api/v2/api_users_spec.rb +88 -36
  57. data/spec/integration/lib/auth0/auth0_client_spec.rb +43 -35
  58. data/spec/lib/auth0/api/authentication_endpoints_spec.rb +253 -47
  59. data/spec/lib/auth0/api/v1/clients_spec.rb +37 -38
  60. data/spec/lib/auth0/api/v1/connections_spec.rb +44 -38
  61. data/spec/lib/auth0/api/v1/logs_spec.rb +24 -24
  62. data/spec/lib/auth0/api/v1/rules_spec.rb +23 -22
  63. data/spec/lib/auth0/api/v1/users_spec.rb +153 -130
  64. data/spec/lib/auth0/api/v2/blacklists_spec.rb +12 -11
  65. data/spec/lib/auth0/api/v2/clients_spec.rb +38 -33
  66. data/spec/lib/auth0/api/v2/connections_spec.rb +59 -34
  67. data/spec/lib/auth0/api/v2/emails_spec.rb +47 -0
  68. data/spec/lib/auth0/api/v2/jobs_spec.rb +24 -10
  69. data/spec/lib/auth0/api/v2/rules_spec.rb +69 -0
  70. data/spec/lib/auth0/api/v2/stats_spec.rb +11 -11
  71. data/spec/lib/auth0/api/v2/tenants_spec.rb +25 -0
  72. data/spec/lib/auth0/api/v2/tickets_spec.rb +31 -0
  73. data/spec/lib/auth0/api/v2/users_spec.rb +101 -39
  74. data/spec/lib/auth0/client_spec.rb +46 -58
  75. data/spec/lib/auth0/mixins/httparty_proxy_spec.rb +98 -69
  76. data/spec/lib/auth0/mixins/initializer_spec.rb +2 -2
  77. data/spec/spec_helper.rb +2 -2
  78. data/spec/spec_helper_full.rb +16 -15
  79. data/spec/spec_helper_unit.rb +5 -5
  80. data/spec/support/credentials.rb +9 -3
  81. data/spec/support/dummy_class.rb +7 -1
  82. data/spec/support/dummy_class_for_proxy.rb +2 -2
  83. data/spec/support/import_users.json +13 -0
  84. data/spec/support/stub_response.rb +1 -2
  85. metadata +78 -41
@@ -1,9 +1,9 @@
1
- require "spec_helper"
1
+ require 'spec_helper'
2
2
 
3
3
  class MockClass
4
4
  attr_reader :token
5
5
  include Auth0::Mixins::Initializer
6
- include HTTParty
6
+ include HTTMultiParty
7
7
  end
8
8
 
9
9
  describe Auth0::Mixins::Initializer do
@@ -1,2 +1,2 @@
1
- mode = ENV["MODE"] || "unit"
2
- require_relative "spec_helper_#{mode}"
1
+ mode = ENV['MODE'] || 'unit'
2
+ require_relative "spec_helper_#{mode}"
@@ -1,13 +1,13 @@
1
- $:.unshift File.expand_path('..', __FILE__)
2
- $:.unshift File.expand_path('../../lib', __FILE__)
1
+ $LOAD_PATH.unshift File.expand_path('..', __FILE__)
2
+ $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
3
3
 
4
4
  require 'coveralls'
5
5
  Coveralls.wear!
6
6
 
7
7
  require 'simplecov'
8
8
  SimpleCov.start do
9
- add_filter "/spec/"
10
- add_filter "/spec/integration"
9
+ add_filter '/spec/'
10
+ add_filter '/spec/integration'
11
11
  end
12
12
 
13
13
  require 'rspec'
@@ -16,31 +16,32 @@ require 'faker'
16
16
  require 'auth0'
17
17
  require 'pry'
18
18
 
19
- Dir[("./lib/**/*.rb")].each { |f| require f }
20
- Dir[("./spec/support/**/*.rb")].each { |f| require f }
19
+ Dir[('./lib/**/*.rb')].each { |f| require f }
20
+ Dir[('./spec/support/**/*.rb')].each { |f| require f }
21
21
 
22
22
  def entity_suffix
23
- (ENV["TRAVIS_JOB_ID"] || "local").gsub('_', '')
23
+ (ENV['TRAVIS_JOB_ID'] || 'local').delete('_')
24
24
  end
25
25
 
26
26
  puts "Entity suffix is #{entity_suffix}"
27
27
 
28
28
  RSpec.configure do |config|
29
- config.filter_run :focus => true
29
+ config.filter_run focus: true
30
30
  config.run_all_when_everything_filtered = true
31
31
  config.include Rack::Test::Methods
32
32
  config.include Credentials
33
33
  config.after(:suite) do
34
34
  puts "Cleaning up for #{entity_suffix}"
35
- v2_client = Auth0Client.new({token: ENV["MASTER_JWT"], api_version: 2, domain: ENV["DOMAIN"]})
35
+ v2_client = Auth0Client.new(
36
+ token: ENV['MASTER_JWT'], api_version: 2, domain: ENV['DOMAIN'])
36
37
  v2_client
37
- .clients
38
- .select { |client| client["name"] != "DefaultApp" and not client["global"] and client["name"].include? entity_suffix }
39
- .each { |client| v2_client.delete_client(client["client_id"]) }
38
+ .clients
39
+ .select { |client| client['name'] != 'DefaultApp' && !client['global'] && client['name'].include?(entity_suffix) }
40
+ .each { |client| v2_client.delete_client(client['client_id']) }
40
41
  v2_client
41
- .users
42
- .select { |user| user["email"].split("@").first.include? entity_suffix }
43
- .each { |user| v2_client.delete_user(user["user_id"])}
42
+ .users
43
+ .select { |user| user['email'].split('@').first.include? entity_suffix }
44
+ .each { |user| v2_client.delete_user(user['user_id']) }
44
45
  puts "Finished cleaning up for #{entity_suffix}"
45
46
  end
46
47
  end
@@ -1,12 +1,12 @@
1
- $:.unshift File.expand_path('..', __FILE__)
2
- $:.unshift File.expand_path('../../lib', __FILE__)
1
+ $LOAD_PATH.unshift File.expand_path('..', __FILE__)
2
+ $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
3
3
  require 'rspec'
4
4
  require 'rack/test'
5
5
  require 'faker'
6
6
  require 'auth0'
7
- Dir[("./lib/**/*.rb")].each { |f| require f }
8
- Dir[("./spec/support/**/*.rb")].each { |f| require f }
7
+ Dir[('./lib/**/*.rb')].each { |f| require f }
8
+ Dir[('./spec/support/**/*.rb')].each { |f| require f }
9
9
  RSpec.configure do |config|
10
- config.include Rack::Test::Methods
10
+ config.include Rack::Test::Methods
11
11
  config.fail_fast = true
12
12
  end
@@ -1,13 +1,19 @@
1
1
  module Credentials
2
2
  def v1_creds
3
- {client_id: ENV["CLIENT_ID"], client_secret: ENV["CLIENT_SECRET"], domain: ENV["DOMAIN"]}
3
+ { client_id: ENV['CLIENT_ID'],
4
+ client_secret: ENV['CLIENT_SECRET'],
5
+ domain: ENV['DOMAIN'] }
4
6
  end
5
7
 
6
8
  def v1_global_creds
7
- {client_id: ENV["GLOBAL_CLIENT_ID"], client_secret: ENV["GLOBAL_CLIENT_SECRET"], domain: ENV["DOMAIN"]}
9
+ { client_id: ENV['GLOBAL_CLIENT_ID'],
10
+ client_secret: ENV['GLOBAL_CLIENT_SECRET'],
11
+ domain: ENV['DOMAIN'] }
8
12
  end
9
13
 
10
14
  def v2_creds
11
- {token: ENV["MASTER_JWT"], api_version: 2, domain: ENV["DOMAIN"]}
15
+ { token: ENV['MASTER_JWT'],
16
+ api_version: 2,
17
+ domain: ENV['DOMAIN'] }
12
18
  end
13
19
  end
@@ -1,6 +1,12 @@
1
1
  class DummyClass
2
+ attr_reader :domain
3
+
4
+ def initialize
5
+ @domain = 'test.auth0.com'
6
+ end
7
+
2
8
  %i(get post put patch delete).each do |method|
3
- define_method(method) do |path, body={}|
9
+ define_method(method) do |_path, _body = {}|
4
10
  true
5
11
  end
6
12
  end
@@ -1,4 +1,4 @@
1
1
  class DummyClassForProxy
2
- include HTTParty
3
- base_uri "http://auth0.com"
2
+ include HTTMultiParty
3
+ base_uri 'http://auth0.com'
4
4
  end
@@ -0,0 +1,13 @@
1
+ [
2
+ {
3
+ "email": "john.doe@contoso.com",
4
+ "email_verified": false,
5
+ "app_metadata": {
6
+ "roles": ["admin"],
7
+ "plan": "premium"
8
+ },
9
+ "user_metadata": {
10
+ "theme": "light"
11
+ }
12
+ }
13
+ ]
@@ -1,2 +1 @@
1
- class StubResponse<Struct.new(:body, :success?, :code)
2
- end
1
+ StubResponse = Struct.new(:body, :success?, :code)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: auth0
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.6.1
4
+ version: 4.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Auth0
@@ -11,194 +11,194 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2015-07-09 00:00:00.000000000 Z
14
+ date: 2016-02-24 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
- name: httparty
17
+ name: httmultiparty
18
18
  requirement: !ruby/object:Gem::Requirement
19
19
  requirements:
20
- - - "~>"
20
+ - - ~>
21
21
  - !ruby/object:Gem::Version
22
- version: '0.13'
22
+ version: 0.3.16
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
- - - "~>"
27
+ - - ~>
28
28
  - !ruby/object:Gem::Version
29
- version: '0.13'
29
+ version: 0.3.16
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: rake
32
32
  requirement: !ruby/object:Gem::Requirement
33
33
  requirements:
34
- - - "~>"
34
+ - - ~>
35
35
  - !ruby/object:Gem::Version
36
36
  version: '10.4'
37
37
  type: :development
38
38
  prerelease: false
39
39
  version_requirements: !ruby/object:Gem::Requirement
40
40
  requirements:
41
- - - "~>"
41
+ - - ~>
42
42
  - !ruby/object:Gem::Version
43
43
  version: '10.4'
44
44
  - !ruby/object:Gem::Dependency
45
45
  name: fuubar
46
46
  requirement: !ruby/object:Gem::Requirement
47
47
  requirements:
48
- - - "~>"
48
+ - - ~>
49
49
  - !ruby/object:Gem::Version
50
50
  version: '2.0'
51
51
  type: :development
52
52
  prerelease: false
53
53
  version_requirements: !ruby/object:Gem::Requirement
54
54
  requirements:
55
- - - "~>"
55
+ - - ~>
56
56
  - !ruby/object:Gem::Version
57
57
  version: '2.0'
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: guard-rspec
60
60
  requirement: !ruby/object:Gem::Requirement
61
61
  requirements:
62
- - - "~>"
62
+ - - ~>
63
63
  - !ruby/object:Gem::Version
64
64
  version: '4.5'
65
65
  type: :development
66
66
  prerelease: false
67
67
  version_requirements: !ruby/object:Gem::Requirement
68
68
  requirements:
69
- - - "~>"
69
+ - - ~>
70
70
  - !ruby/object:Gem::Version
71
71
  version: '4.5'
72
72
  - !ruby/object:Gem::Dependency
73
73
  name: dotenv-rails
74
74
  requirement: !ruby/object:Gem::Requirement
75
75
  requirements:
76
- - - "~>"
76
+ - - ~>
77
77
  - !ruby/object:Gem::Version
78
78
  version: '2.0'
79
79
  type: :development
80
80
  prerelease: false
81
81
  version_requirements: !ruby/object:Gem::Requirement
82
82
  requirements:
83
- - - "~>"
83
+ - - ~>
84
84
  - !ruby/object:Gem::Version
85
85
  version: '2.0'
86
86
  - !ruby/object:Gem::Dependency
87
87
  name: pry
88
88
  requirement: !ruby/object:Gem::Requirement
89
89
  requirements:
90
- - - "~>"
90
+ - - ~>
91
91
  - !ruby/object:Gem::Version
92
92
  version: '0.10'
93
93
  type: :development
94
94
  prerelease: false
95
95
  version_requirements: !ruby/object:Gem::Requirement
96
96
  requirements:
97
- - - "~>"
97
+ - - ~>
98
98
  - !ruby/object:Gem::Version
99
99
  version: '0.10'
100
100
  - !ruby/object:Gem::Dependency
101
101
  name: pry-nav
102
102
  requirement: !ruby/object:Gem::Requirement
103
103
  requirements:
104
- - - "~>"
104
+ - - ~>
105
105
  - !ruby/object:Gem::Version
106
106
  version: 0.2.4
107
107
  type: :development
108
108
  prerelease: false
109
109
  version_requirements: !ruby/object:Gem::Requirement
110
110
  requirements:
111
- - - "~>"
111
+ - - ~>
112
112
  - !ruby/object:Gem::Version
113
113
  version: 0.2.4
114
114
  - !ruby/object:Gem::Dependency
115
115
  name: rspec
116
116
  requirement: !ruby/object:Gem::Requirement
117
117
  requirements:
118
- - - "~>"
118
+ - - ~>
119
119
  - !ruby/object:Gem::Version
120
120
  version: '3.1'
121
- - - ">="
121
+ - - '>='
122
122
  - !ruby/object:Gem::Version
123
123
  version: 3.1.0
124
124
  type: :development
125
125
  prerelease: false
126
126
  version_requirements: !ruby/object:Gem::Requirement
127
127
  requirements:
128
- - - "~>"
128
+ - - ~>
129
129
  - !ruby/object:Gem::Version
130
130
  version: '3.1'
131
- - - ">="
131
+ - - '>='
132
132
  - !ruby/object:Gem::Version
133
133
  version: 3.1.0
134
134
  - !ruby/object:Gem::Dependency
135
135
  name: rack-test
136
136
  requirement: !ruby/object:Gem::Requirement
137
137
  requirements:
138
- - - "~>"
138
+ - - ~>
139
139
  - !ruby/object:Gem::Version
140
140
  version: '0.6'
141
141
  type: :development
142
142
  prerelease: false
143
143
  version_requirements: !ruby/object:Gem::Requirement
144
144
  requirements:
145
- - - "~>"
145
+ - - ~>
146
146
  - !ruby/object:Gem::Version
147
147
  version: '0.6'
148
148
  - !ruby/object:Gem::Dependency
149
149
  name: simplecov
150
150
  requirement: !ruby/object:Gem::Requirement
151
151
  requirements:
152
- - - "~>"
152
+ - - ~>
153
153
  - !ruby/object:Gem::Version
154
154
  version: '0.9'
155
155
  type: :development
156
156
  prerelease: false
157
157
  version_requirements: !ruby/object:Gem::Requirement
158
158
  requirements:
159
- - - "~>"
159
+ - - ~>
160
160
  - !ruby/object:Gem::Version
161
161
  version: '0.9'
162
162
  - !ruby/object:Gem::Dependency
163
163
  name: faker
164
164
  requirement: !ruby/object:Gem::Requirement
165
165
  requirements:
166
- - - "~>"
166
+ - - ~>
167
167
  - !ruby/object:Gem::Version
168
168
  version: '1.4'
169
169
  type: :development
170
170
  prerelease: false
171
171
  version_requirements: !ruby/object:Gem::Requirement
172
172
  requirements:
173
- - - "~>"
173
+ - - ~>
174
174
  - !ruby/object:Gem::Version
175
175
  version: '1.4'
176
176
  - !ruby/object:Gem::Dependency
177
177
  name: yard
178
178
  requirement: !ruby/object:Gem::Requirement
179
179
  requirements:
180
- - - "~>"
180
+ - - ~>
181
181
  - !ruby/object:Gem::Version
182
182
  version: '0.8'
183
183
  type: :development
184
184
  prerelease: false
185
185
  version_requirements: !ruby/object:Gem::Requirement
186
186
  requirements:
187
- - - "~>"
187
+ - - ~>
188
188
  - !ruby/object:Gem::Version
189
189
  version: '0.8'
190
190
  - !ruby/object:Gem::Dependency
191
191
  name: gem-release
192
192
  requirement: !ruby/object:Gem::Requirement
193
193
  requirements:
194
- - - "~>"
194
+ - - ~>
195
195
  - !ruby/object:Gem::Version
196
196
  version: '0.7'
197
197
  type: :development
198
198
  prerelease: false
199
199
  version_requirements: !ruby/object:Gem::Requirement
200
200
  requirements:
201
- - - "~>"
201
+ - - ~>
202
202
  - !ruby/object:Gem::Version
203
203
  version: '0.7'
204
204
  description: Ruby client library for the Auth0 API.
@@ -208,11 +208,13 @@ executables: []
208
208
  extensions: []
209
209
  extra_rdoc_files: []
210
210
  files:
211
- - ".bundle/config"
212
- - ".gemrelease"
213
- - ".gitignore"
214
- - ".rspec"
215
- - ".travis.yml"
211
+ - .bundle/config
212
+ - .gemrelease
213
+ - .gitignore
214
+ - .rspec
215
+ - .rubocop.yml
216
+ - .rubocop_todo.yml
217
+ - .travis.yml
216
218
  - CHANGELOG.md
217
219
  - Gemfile
218
220
  - Guardfile
@@ -221,6 +223,13 @@ files:
221
223
  - Rakefile
222
224
  - auth0.gemspec
223
225
  - build_travis.sh
226
+ - deploy_documentation.sh
227
+ - doc_config/templates/default/fulldoc/html/css/full_list.css
228
+ - doc_config/templates/default/fulldoc/html/css/style.css
229
+ - doc_config/templates/default/layout/html/breadcrumb.erb
230
+ - doc_config/templates/default/layout/html/footer.erb
231
+ - doc_config/templates/default/layout/html/headers.erb
232
+ - doc_config/templates/default/layout/html/layout.erb
224
233
  - lib/auth0.rb
225
234
  - lib/auth0/api/authentication_endpoints.rb
226
235
  - lib/auth0/api/v1.rb
@@ -233,8 +242,12 @@ files:
233
242
  - lib/auth0/api/v2/blacklists.rb
234
243
  - lib/auth0/api/v2/clients.rb
235
244
  - lib/auth0/api/v2/connections.rb
245
+ - lib/auth0/api/v2/emails.rb
236
246
  - lib/auth0/api/v2/jobs.rb
247
+ - lib/auth0/api/v2/rules.rb
237
248
  - lib/auth0/api/v2/stats.rb
249
+ - lib/auth0/api/v2/tenants.rb
250
+ - lib/auth0/api/v2/tickets.rb
238
251
  - lib/auth0/api/v2/users.rb
239
252
  - lib/auth0/client.rb
240
253
  - lib/auth0/exception.rb
@@ -245,8 +258,15 @@ files:
245
258
  - lib/auth0_client.rb
246
259
  - spec/integration/lib/auth0/api/v1/api_clients_spec.rb
247
260
  - spec/integration/lib/auth0/api/v1/api_users_spec.rb
261
+ - spec/integration/lib/auth0/api/v2/api_blacklist_spec.rb
248
262
  - spec/integration/lib/auth0/api/v2/api_clients_spec.rb
249
263
  - spec/integration/lib/auth0/api/v2/api_connections_spec.rb
264
+ - spec/integration/lib/auth0/api/v2/api_email_spec.rb
265
+ - spec/integration/lib/auth0/api/v2/api_jobs_spec.rb
266
+ - spec/integration/lib/auth0/api/v2/api_rules_spec.rb
267
+ - spec/integration/lib/auth0/api/v2/api_stats_spec.rb
268
+ - spec/integration/lib/auth0/api/v2/api_tenants_spec.rb
269
+ - spec/integration/lib/auth0/api/v2/api_tickets_spec.rb
250
270
  - spec/integration/lib/auth0/api/v2/api_users_spec.rb
251
271
  - spec/integration/lib/auth0/auth0_client_spec.rb
252
272
  - spec/lib/auth0/api/authentication_endpoints_spec.rb
@@ -258,8 +278,12 @@ files:
258
278
  - spec/lib/auth0/api/v2/blacklists_spec.rb
259
279
  - spec/lib/auth0/api/v2/clients_spec.rb
260
280
  - spec/lib/auth0/api/v2/connections_spec.rb
281
+ - spec/lib/auth0/api/v2/emails_spec.rb
261
282
  - spec/lib/auth0/api/v2/jobs_spec.rb
283
+ - spec/lib/auth0/api/v2/rules_spec.rb
262
284
  - spec/lib/auth0/api/v2/stats_spec.rb
285
+ - spec/lib/auth0/api/v2/tenants_spec.rb
286
+ - spec/lib/auth0/api/v2/tickets_spec.rb
263
287
  - spec/lib/auth0/api/v2/users_spec.rb
264
288
  - spec/lib/auth0/client_spec.rb
265
289
  - spec/lib/auth0/mixins/httparty_proxy_spec.rb
@@ -270,6 +294,7 @@ files:
270
294
  - spec/support/credentials.rb
271
295
  - spec/support/dummy_class.rb
272
296
  - spec/support/dummy_class_for_proxy.rb
297
+ - spec/support/import_users.json
273
298
  - spec/support/stub_response.rb
274
299
  homepage: https://github.com/auth0/ruby-auth0
275
300
  licenses:
@@ -281,25 +306,32 @@ require_paths:
281
306
  - lib
282
307
  required_ruby_version: !ruby/object:Gem::Requirement
283
308
  requirements:
284
- - - ">="
309
+ - - '>='
285
310
  - !ruby/object:Gem::Version
286
311
  version: '0'
287
312
  required_rubygems_version: !ruby/object:Gem::Requirement
288
313
  requirements:
289
- - - ">="
314
+ - - '>='
290
315
  - !ruby/object:Gem::Version
291
316
  version: '0'
292
317
  requirements: []
293
318
  rubyforge_project: auth0
294
- rubygems_version: 2.2.2
319
+ rubygems_version: 2.4.6
295
320
  signing_key:
296
321
  specification_version: 4
297
322
  summary: Auth0 API Client
298
323
  test_files:
299
324
  - spec/integration/lib/auth0/api/v1/api_clients_spec.rb
300
325
  - spec/integration/lib/auth0/api/v1/api_users_spec.rb
326
+ - spec/integration/lib/auth0/api/v2/api_blacklist_spec.rb
301
327
  - spec/integration/lib/auth0/api/v2/api_clients_spec.rb
302
328
  - spec/integration/lib/auth0/api/v2/api_connections_spec.rb
329
+ - spec/integration/lib/auth0/api/v2/api_email_spec.rb
330
+ - spec/integration/lib/auth0/api/v2/api_jobs_spec.rb
331
+ - spec/integration/lib/auth0/api/v2/api_rules_spec.rb
332
+ - spec/integration/lib/auth0/api/v2/api_stats_spec.rb
333
+ - spec/integration/lib/auth0/api/v2/api_tenants_spec.rb
334
+ - spec/integration/lib/auth0/api/v2/api_tickets_spec.rb
303
335
  - spec/integration/lib/auth0/api/v2/api_users_spec.rb
304
336
  - spec/integration/lib/auth0/auth0_client_spec.rb
305
337
  - spec/lib/auth0/api/authentication_endpoints_spec.rb
@@ -311,8 +343,12 @@ test_files:
311
343
  - spec/lib/auth0/api/v2/blacklists_spec.rb
312
344
  - spec/lib/auth0/api/v2/clients_spec.rb
313
345
  - spec/lib/auth0/api/v2/connections_spec.rb
346
+ - spec/lib/auth0/api/v2/emails_spec.rb
314
347
  - spec/lib/auth0/api/v2/jobs_spec.rb
348
+ - spec/lib/auth0/api/v2/rules_spec.rb
315
349
  - spec/lib/auth0/api/v2/stats_spec.rb
350
+ - spec/lib/auth0/api/v2/tenants_spec.rb
351
+ - spec/lib/auth0/api/v2/tickets_spec.rb
316
352
  - spec/lib/auth0/api/v2/users_spec.rb
317
353
  - spec/lib/auth0/client_spec.rb
318
354
  - spec/lib/auth0/mixins/httparty_proxy_spec.rb
@@ -323,5 +359,6 @@ test_files:
323
359
  - spec/support/credentials.rb
324
360
  - spec/support/dummy_class.rb
325
361
  - spec/support/dummy_class_for_proxy.rb
362
+ - spec/support/import_users.json
326
363
  - spec/support/stub_response.rb
327
364
  has_rdoc: