eventush 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +28 -0
- data/Rakefile +22 -0
- data/app/consumers/barong/model/label_updated_consumer.rb +25 -0
- data/app/consumers/peatio/model/deposit_created_consumer.rb +23 -0
- data/app/controllers/concerns/exception_handlers.rb +19 -0
- data/app/controllers/concerns/jwt_payload.rb +19 -0
- data/app/controllers/concerns/response.rb +25 -0
- data/app/controllers/event/api/v2/admin/base_controller.rb +22 -0
- data/app/controllers/event/api/v2/admin/events_controller.rb +59 -0
- data/app/controllers/event/application_controller.rb +9 -0
- data/app/helpers/event/application_helper.rb +4 -0
- data/app/helpers/event/event_helper.rb +4 -0
- data/app/models/concerns/currency.rb +26 -0
- data/app/models/event/application_record.rb +5 -0
- data/app/models/event/event.rb +82 -0
- data/app/models/event/participant.rb +83 -0
- data/app/services/barong/management_api_v2/client.rb +33 -0
- data/app/services/event_api_listener.rb +120 -0
- data/app/services/management_api_v2/client.rb +73 -0
- data/app/services/management_api_v2/exception.rb +25 -0
- data/app/services/peatio/management_api_v2/client.rb +27 -0
- data/config/initializers/active_model.rb +13 -0
- data/config/initializers/api_pagination.rb +33 -0
- data/config/initializers/inflections.rb +18 -0
- data/config/routes.rb +12 -0
- data/db/migrate/20200825103859_create_events.rb +24 -0
- data/lib/event.rb +10 -0
- data/lib/event/engine.rb +17 -0
- data/lib/event/version.rb +3 -0
- data/lib/tasks/auto_annotate_models.rake +59 -0
- data/lib/tasks/event_api.rake +9 -0
- data/lib/tasks/event_tasks.rake +4 -0
- data/spec/controllers/event/api/v2/admin/metadata_controller_spec.rb +72 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/config/manifest.js +3 -0
- data/spec/dummy/app/assets/stylesheets/application.css +15 -0
- data/spec/dummy/app/channels/application_cable/channel.rb +4 -0
- data/spec/dummy/app/channels/application_cable/connection.rb +4 -0
- data/spec/dummy/app/controllers/application_controller.rb +2 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/javascript/packs/application.js +15 -0
- data/spec/dummy/app/jobs/application_job.rb +7 -0
- data/spec/dummy/app/mailers/application_mailer.rb +4 -0
- data/spec/dummy/app/models/application_record.rb +3 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/app/views/layouts/mailer.html.erb +13 -0
- data/spec/dummy/app/views/layouts/mailer.text.erb +1 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/bin/setup +33 -0
- data/spec/dummy/config.ru +5 -0
- data/spec/dummy/config/application.rb +30 -0
- data/spec/dummy/config/application.yml +42 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/cable.yml +10 -0
- data/spec/dummy/config/database.yml +17 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +62 -0
- data/spec/dummy/config/environments/production.rb +112 -0
- data/spec/dummy/config/environments/test.rb +48 -0
- data/spec/dummy/config/initializers/application_controller_renderer.rb +8 -0
- data/spec/dummy/config/initializers/assets.rb +12 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/content_security_policy.rb +28 -0
- data/spec/dummy/config/initializers/cookies_serializer.rb +5 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/config/initializers/inflections.rb +18 -0
- data/spec/dummy/config/initializers/mime_types.rb +4 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +33 -0
- data/spec/dummy/config/puma.rb +38 -0
- data/spec/dummy/config/routes.rb +3 -0
- data/spec/dummy/config/spring.rb +6 -0
- data/spec/dummy/config/storage.yml +34 -0
- data/spec/dummy/db/schema.rb +37 -0
- data/spec/dummy/public/404.html +67 -0
- data/spec/dummy/public/422.html +67 -0
- data/spec/dummy/public/500.html +66 -0
- data/spec/dummy/public/apple-touch-icon-precomposed.png +0 -0
- data/spec/dummy/public/apple-touch-icon.png +0 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/tmp/development_secret.txt +1 -0
- data/spec/factories/event/events.rb +22 -0
- data/spec/factories/event/participants.rb +21 -0
- data/spec/factories/event/sequences.rb +26 -0
- data/spec/models/event/event_spec.rb +24 -0
- data/spec/models/event/participant_spec.rb +23 -0
- data/spec/rails_helper.rb +72 -0
- data/spec/routing/metadastore/metadata_routing_spec.rb +29 -0
- data/spec/spec_helper.rb +96 -0
- data/spec/support/api_helper.rb +46 -0
- data/spec/support/auth_helper.rb +15 -0
- data/spec/support/rspec_matchers.rb +17 -0
- metadata +352 -0
@@ -0,0 +1,46 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module APITestHelpers
|
4
|
+
#
|
5
|
+
# Generates valid JWT for member, allows to pass additional payload.
|
6
|
+
#
|
7
|
+
def jwt_for(member, payload={x: "x", y: "y", z: "z"})
|
8
|
+
jwt_build(payload.merge(email: member[:email], uid: member[:uid], level: member[:level]))
|
9
|
+
end
|
10
|
+
|
11
|
+
#
|
12
|
+
# Generates valid JWT. Accepts payload as argument. Add fields required for JWT to be valid.
|
13
|
+
#
|
14
|
+
def jwt_build(payload)
|
15
|
+
jwt_encode payload.reverse_merge \
|
16
|
+
iat: Time.now.to_i,
|
17
|
+
exp: 20.minutes.from_now.to_i,
|
18
|
+
jti: SecureRandom.uuid,
|
19
|
+
sub: "session",
|
20
|
+
iss: "peatio",
|
21
|
+
aud: ["peatio"]
|
22
|
+
end
|
23
|
+
|
24
|
+
#
|
25
|
+
# Generates JWT token based on payload. Doesn't add any extra fields to payload.
|
26
|
+
#
|
27
|
+
def jwt_encode(payload)
|
28
|
+
OpenSSL::PKey.read(Base64.urlsafe_decode64(jwt_keypair_encoded[:private])).yield_self do |key|
|
29
|
+
JWT.encode(payload, key, "RS256")
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
def jwt_keypair_encoded
|
34
|
+
require "openssl"
|
35
|
+
require "base64"
|
36
|
+
OpenSSL::PKey::RSA.generate(2048).yield_self do |p|
|
37
|
+
Rails.configuration.x.keystore.public_key = p.public_key
|
38
|
+
Rails.configuration.x.keystore.pair_key = p
|
39
|
+
Rails.configuration.x.jwt_public_key = p.public_key
|
40
|
+
{public: Base64.urlsafe_encode64(p.public_key.to_pem),
|
41
|
+
private: Base64.urlsafe_encode64(p.to_pem)}
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
RSpec.configure { |config| config.include APITestHelpers }
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module AuthHelpers
|
4
|
+
def inject_jwt_payload!(jwt_payload)
|
5
|
+
@request.env["jwt.payload"] = jwt_payload
|
6
|
+
end
|
7
|
+
|
8
|
+
def eject_jwt_payload!
|
9
|
+
@request.env["jwt.payload"] = nil
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
13
|
+
RSpec.configure do |config|
|
14
|
+
config.include AuthHelpers, type: :controller
|
15
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
RSpec::Matchers.define :include_api_error do |expected|
|
5
|
+
match do |actual|
|
6
|
+
raise 'actual doesnt respond to body' unless actual.respond_to?(:body)
|
7
|
+
raise 'expected is not a String' unless expected.is_a? String
|
8
|
+
|
9
|
+
errors = JSON.parse(actual.body)['errors']
|
10
|
+
!errors.nil? && expected.in?(errors)
|
11
|
+
end
|
12
|
+
|
13
|
+
# TODO: Better Error message. Same as in module RSpec::Matchers::BuiltIn::Include
|
14
|
+
failure_message do |actual|
|
15
|
+
"expected: #{JSON.parse(actual.body)['errors'].join(',')}\nto include: #{expected}\n"
|
16
|
+
end
|
17
|
+
end
|
metadata
ADDED
@@ -0,0 +1,352 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: eventush
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Dinesh Chohda
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2021-08-22 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: mysql2
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rails
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 6.0.0
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 6.0.0
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: api-pagination
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 4.8.2
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 4.8.2
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: enumerize
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: net-http-persistent
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 3.0.1
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 3.0.1
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: pagy
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: peatio
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 0.6.3
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 0.6.3
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: ransack
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 2.3.0
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: 2.3.0
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: memoist
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :runtime
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: bunny
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - "~>"
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '2.9'
|
146
|
+
type: :runtime
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - "~>"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '2.9'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: jwt-multisig
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
type: :runtime
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ">="
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
167
|
+
description: Description of Event.
|
168
|
+
email:
|
169
|
+
- dinesh.skyach@gmail.com
|
170
|
+
executables: []
|
171
|
+
extensions: []
|
172
|
+
extra_rdoc_files: []
|
173
|
+
files:
|
174
|
+
- README.md
|
175
|
+
- Rakefile
|
176
|
+
- app/consumers/barong/model/label_updated_consumer.rb
|
177
|
+
- app/consumers/peatio/model/deposit_created_consumer.rb
|
178
|
+
- app/controllers/concerns/exception_handlers.rb
|
179
|
+
- app/controllers/concerns/jwt_payload.rb
|
180
|
+
- app/controllers/concerns/response.rb
|
181
|
+
- app/controllers/event/api/v2/admin/base_controller.rb
|
182
|
+
- app/controllers/event/api/v2/admin/events_controller.rb
|
183
|
+
- app/controllers/event/application_controller.rb
|
184
|
+
- app/helpers/event/application_helper.rb
|
185
|
+
- app/helpers/event/event_helper.rb
|
186
|
+
- app/models/concerns/currency.rb
|
187
|
+
- app/models/event/application_record.rb
|
188
|
+
- app/models/event/event.rb
|
189
|
+
- app/models/event/participant.rb
|
190
|
+
- app/services/barong/management_api_v2/client.rb
|
191
|
+
- app/services/event_api_listener.rb
|
192
|
+
- app/services/management_api_v2/client.rb
|
193
|
+
- app/services/management_api_v2/exception.rb
|
194
|
+
- app/services/peatio/management_api_v2/client.rb
|
195
|
+
- config/initializers/active_model.rb
|
196
|
+
- config/initializers/api_pagination.rb
|
197
|
+
- config/initializers/inflections.rb
|
198
|
+
- config/routes.rb
|
199
|
+
- db/migrate/20200825103859_create_events.rb
|
200
|
+
- lib/event.rb
|
201
|
+
- lib/event/engine.rb
|
202
|
+
- lib/event/version.rb
|
203
|
+
- lib/tasks/auto_annotate_models.rake
|
204
|
+
- lib/tasks/event_api.rake
|
205
|
+
- lib/tasks/event_tasks.rake
|
206
|
+
- spec/controllers/event/api/v2/admin/metadata_controller_spec.rb
|
207
|
+
- spec/dummy/Rakefile
|
208
|
+
- spec/dummy/app/assets/config/manifest.js
|
209
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
210
|
+
- spec/dummy/app/channels/application_cable/channel.rb
|
211
|
+
- spec/dummy/app/channels/application_cable/connection.rb
|
212
|
+
- spec/dummy/app/controllers/application_controller.rb
|
213
|
+
- spec/dummy/app/helpers/application_helper.rb
|
214
|
+
- spec/dummy/app/javascript/packs/application.js
|
215
|
+
- spec/dummy/app/jobs/application_job.rb
|
216
|
+
- spec/dummy/app/mailers/application_mailer.rb
|
217
|
+
- spec/dummy/app/models/application_record.rb
|
218
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
219
|
+
- spec/dummy/app/views/layouts/mailer.html.erb
|
220
|
+
- spec/dummy/app/views/layouts/mailer.text.erb
|
221
|
+
- spec/dummy/bin/rails
|
222
|
+
- spec/dummy/bin/rake
|
223
|
+
- spec/dummy/bin/setup
|
224
|
+
- spec/dummy/config.ru
|
225
|
+
- spec/dummy/config/application.rb
|
226
|
+
- spec/dummy/config/application.yml
|
227
|
+
- spec/dummy/config/boot.rb
|
228
|
+
- spec/dummy/config/cable.yml
|
229
|
+
- spec/dummy/config/database.yml
|
230
|
+
- spec/dummy/config/environment.rb
|
231
|
+
- spec/dummy/config/environments/development.rb
|
232
|
+
- spec/dummy/config/environments/production.rb
|
233
|
+
- spec/dummy/config/environments/test.rb
|
234
|
+
- spec/dummy/config/initializers/application_controller_renderer.rb
|
235
|
+
- spec/dummy/config/initializers/assets.rb
|
236
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
237
|
+
- spec/dummy/config/initializers/content_security_policy.rb
|
238
|
+
- spec/dummy/config/initializers/cookies_serializer.rb
|
239
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
240
|
+
- spec/dummy/config/initializers/inflections.rb
|
241
|
+
- spec/dummy/config/initializers/mime_types.rb
|
242
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
243
|
+
- spec/dummy/config/locales/en.yml
|
244
|
+
- spec/dummy/config/puma.rb
|
245
|
+
- spec/dummy/config/routes.rb
|
246
|
+
- spec/dummy/config/spring.rb
|
247
|
+
- spec/dummy/config/storage.yml
|
248
|
+
- spec/dummy/db/schema.rb
|
249
|
+
- spec/dummy/public/404.html
|
250
|
+
- spec/dummy/public/422.html
|
251
|
+
- spec/dummy/public/500.html
|
252
|
+
- spec/dummy/public/apple-touch-icon-precomposed.png
|
253
|
+
- spec/dummy/public/apple-touch-icon.png
|
254
|
+
- spec/dummy/public/favicon.ico
|
255
|
+
- spec/dummy/tmp/development_secret.txt
|
256
|
+
- spec/factories/event/events.rb
|
257
|
+
- spec/factories/event/participants.rb
|
258
|
+
- spec/factories/event/sequences.rb
|
259
|
+
- spec/models/event/event_spec.rb
|
260
|
+
- spec/models/event/participant_spec.rb
|
261
|
+
- spec/rails_helper.rb
|
262
|
+
- spec/routing/metadastore/metadata_routing_spec.rb
|
263
|
+
- spec/spec_helper.rb
|
264
|
+
- spec/support/api_helper.rb
|
265
|
+
- spec/support/auth_helper.rb
|
266
|
+
- spec/support/rspec_matchers.rb
|
267
|
+
homepage: https://github.com/skyach
|
268
|
+
licenses: []
|
269
|
+
metadata:
|
270
|
+
homepage_uri: https://github.com/skyach
|
271
|
+
source_code_uri: https://github.com/openware/enterprise-engines/event
|
272
|
+
post_install_message:
|
273
|
+
rdoc_options: []
|
274
|
+
require_paths:
|
275
|
+
- lib
|
276
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
277
|
+
requirements:
|
278
|
+
- - ">="
|
279
|
+
- !ruby/object:Gem::Version
|
280
|
+
version: '0'
|
281
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
282
|
+
requirements:
|
283
|
+
- - ">="
|
284
|
+
- !ruby/object:Gem::Version
|
285
|
+
version: '0'
|
286
|
+
requirements: []
|
287
|
+
rubygems_version: 3.0.9
|
288
|
+
signing_key:
|
289
|
+
specification_version: 4
|
290
|
+
summary: Summary of Event.
|
291
|
+
test_files:
|
292
|
+
- spec/factories/event/events.rb
|
293
|
+
- spec/factories/event/sequences.rb
|
294
|
+
- spec/factories/event/participants.rb
|
295
|
+
- spec/spec_helper.rb
|
296
|
+
- spec/controllers/event/api/v2/admin/metadata_controller_spec.rb
|
297
|
+
- spec/models/event/participant_spec.rb
|
298
|
+
- spec/models/event/event_spec.rb
|
299
|
+
- spec/support/auth_helper.rb
|
300
|
+
- spec/support/api_helper.rb
|
301
|
+
- spec/support/rspec_matchers.rb
|
302
|
+
- spec/rails_helper.rb
|
303
|
+
- spec/dummy/tmp/development_secret.txt
|
304
|
+
- spec/dummy/config/boot.rb
|
305
|
+
- spec/dummy/config/puma.rb
|
306
|
+
- spec/dummy/config/initializers/cookies_serializer.rb
|
307
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
308
|
+
- spec/dummy/config/initializers/assets.rb
|
309
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
310
|
+
- spec/dummy/config/initializers/application_controller_renderer.rb
|
311
|
+
- spec/dummy/config/initializers/mime_types.rb
|
312
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
313
|
+
- spec/dummy/config/initializers/inflections.rb
|
314
|
+
- spec/dummy/config/initializers/content_security_policy.rb
|
315
|
+
- spec/dummy/config/environments/test.rb
|
316
|
+
- spec/dummy/config/environments/development.rb
|
317
|
+
- spec/dummy/config/environments/production.rb
|
318
|
+
- spec/dummy/config/application.rb
|
319
|
+
- spec/dummy/config/spring.rb
|
320
|
+
- spec/dummy/config/environment.rb
|
321
|
+
- spec/dummy/config/cable.yml
|
322
|
+
- spec/dummy/config/routes.rb
|
323
|
+
- spec/dummy/config/storage.yml
|
324
|
+
- spec/dummy/config/application.yml
|
325
|
+
- spec/dummy/config/locales/en.yml
|
326
|
+
- spec/dummy/config/database.yml
|
327
|
+
- spec/dummy/db/schema.rb
|
328
|
+
- spec/dummy/bin/rails
|
329
|
+
- spec/dummy/bin/rake
|
330
|
+
- spec/dummy/bin/setup
|
331
|
+
- spec/dummy/app/jobs/application_job.rb
|
332
|
+
- spec/dummy/app/controllers/application_controller.rb
|
333
|
+
- spec/dummy/app/helpers/application_helper.rb
|
334
|
+
- spec/dummy/app/models/application_record.rb
|
335
|
+
- spec/dummy/app/mailers/application_mailer.rb
|
336
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
337
|
+
- spec/dummy/app/views/layouts/mailer.html.erb
|
338
|
+
- spec/dummy/app/views/layouts/mailer.text.erb
|
339
|
+
- spec/dummy/app/assets/config/manifest.js
|
340
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
341
|
+
- spec/dummy/app/javascript/packs/application.js
|
342
|
+
- spec/dummy/app/channels/application_cable/connection.rb
|
343
|
+
- spec/dummy/app/channels/application_cable/channel.rb
|
344
|
+
- spec/dummy/Rakefile
|
345
|
+
- spec/dummy/public/422.html
|
346
|
+
- spec/dummy/public/500.html
|
347
|
+
- spec/dummy/public/apple-touch-icon-precomposed.png
|
348
|
+
- spec/dummy/public/apple-touch-icon.png
|
349
|
+
- spec/dummy/public/favicon.ico
|
350
|
+
- spec/dummy/public/404.html
|
351
|
+
- spec/dummy/config.ru
|
352
|
+
- spec/routing/metadastore/metadata_routing_spec.rb
|