roqua-support 0.4.4 → 0.4.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +8 -0
  3. data/lib/roqua/probes/base_probe.rb +3 -0
  4. data/lib/roqua/responders/api_errors_responder.rb +12 -1
  5. data/lib/roqua/support/errors.rb +3 -3
  6. data/lib/roqua-support/version.rb +1 -1
  7. data/roqua-support.gemspec +3 -3
  8. metadata +8 -76
  9. data/.gitignore +0 -20
  10. data/.gitlab-ci.yml +0 -32
  11. data/.rspec +0 -1
  12. data/.rubocop.yml +0 -2
  13. data/.travis.yml +0 -6
  14. data/Appraisals +0 -15
  15. data/Gemfile +0 -21
  16. data/Gemfile.lock +0 -213
  17. data/Guardfile +0 -8
  18. data/circle.yml +0 -13
  19. data/gemfiles/rails52.gemfile +0 -24
  20. data/gemfiles/rails60.gemfile +0 -23
  21. data/gemfiles/rails61.gemfile +0 -23
  22. data/spec/internal/config/balancer_state +0 -1
  23. data/spec/internal/config/routes.rb +0 -3
  24. data/spec/roqua/core_ext/active_interaction/date_time_as_unix_extension_spec.rb +0 -51
  25. data/spec/roqua/core_ext/active_interaction/duration_filter_spec.rb +0 -90
  26. data/spec/roqua/core_ext/active_interaction/rails_intrumentation_spec.rb +0 -20
  27. data/spec/roqua/core_ext/activerecord/uniq_find_or_create_spec.rb +0 -77
  28. data/spec/roqua/core_ext/delayed_job/activity_monitoring_spec.rb +0 -75
  29. data/spec/roqua/core_ext/enumerable/sort_by_alphanum_spec.rb +0 -33
  30. data/spec/roqua/core_ext/fabrication/singleton_spec.rb +0 -23
  31. data/spec/roqua/logging/roqua_logging_railtie_spec.rb +0 -48
  32. data/spec/roqua/probes/delayed_job_probe_spec.rb +0 -56
  33. data/spec/roqua/probes/monitoring_probe_spec.rb +0 -69
  34. data/spec/roqua/responders/active_interaction_aware_responder_spec.rb +0 -54
  35. data/spec/roqua/responders/api_errors_responder_spec.rb +0 -34
  36. data/spec/roqua/scheduling/scheduler_spec.rb +0 -114
  37. data/spec/roqua/status_checks/check_db_connection_spec.rb +0 -12
  38. data/spec/roqua/status_checks/check_load_balancer_member_spec.rb +0 -22
  39. data/spec/roqua/status_checks/status_controller_spec.rb +0 -63
  40. data/spec/roqua/support/errors_spec.rb +0 -168
  41. data/spec/roqua/support/helpers_spec.rb +0 -50
  42. data/spec/roqua/support/logwrapper_spec.rb +0 -69
  43. data/spec/roqua/support/request_logger_spec.rb +0 -148
  44. data/spec/roqua/support/stats_spec.rb +0 -18
  45. data/spec/roqua/support_spec.rb +0 -19
  46. data/spec/roqua/type/stripped_string_spec.rb +0 -34
  47. data/spec/roqua/validators/subset_validator_spec.rb +0 -39
  48. data/spec/spec_helper.rb +0 -39
  49. data/styleguide/ruby/rubocop.yml +0 -219
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 26f053a4b379494d15a9b24e9b8bc81911f3315c803f087dc0798bf668b762c3
4
- data.tar.gz: 564d0a8c6a2faf7dee1074d4f6f18798371febfeaacb0e76df40ff85109440e8
3
+ metadata.gz: c49c6061c749f9e07dc24337c37b16e340aa171a9c0505aca3565c87ad70c652
4
+ data.tar.gz: d9941d0dd4de434930a53fda1ee6fdf3953a00cb933806f5e3f462b3f366132a
5
5
  SHA512:
6
- metadata.gz: 90c413010ca39e84809c85fd7a659900293055d0db111adafcd70f7cba88c24aee6c8953bd6ef066c9861fc6406e6612ea34a318780302a6dc5488ceda29e7f1
7
- data.tar.gz: 4c977d93716db251acd831231904271d8ec216bc1abc1a7ca1620da75767bada7b4ab737b0917359b975c64172fcaebad8a1ffc305833daf80d00157329c5b97
6
+ metadata.gz: a700eb32a993b9c9a4ea95270c141175f2a49005d2f3eeb70597f5ad469b76e26fe1b0bb8a090121271a93cd39f82a312951d3b64c9e24776f14d5071dbc9de4
7
+ data.tar.gz: 5b5b6fbac88ed4a7a5d8e81b850791fe86218d41c4e33a81fe002c04d11d5effa4baa2b05a62b5bb82370f376fa419eabe238721cad03bcfe12ffcaf25770295
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## 0.4.6
2
+
3
+ * support for rails 7
4
+
5
+ ## 0.4.5
6
+
7
+ * Catch exceptions in appsignal probes and send them to appsignal.
8
+
1
9
  ## 0.4.4
2
10
 
3
11
  * Fix incompatibility with Appsignal v3 which removed long-deprecated is_ignored_exception? with no alternative
@@ -18,6 +18,9 @@ module Roqua
18
18
  def call
19
19
  run
20
20
  Appsignal.increment_counter("probe.call.completed", 1, probe_name: self.class.name.demodulize.underscore)
21
+ rescue => e
22
+ Appsignal.send_error(e) { _1.set_namespace(Appsignal::Transaction::BACKGROUND_JOB) }
23
+ raise
21
24
  end
22
25
  end
23
26
  end
@@ -8,7 +8,18 @@ module Roqua
8
8
  module Responders
9
9
  module ApiErrorsResponder
10
10
  def json_resource_errors
11
- {:errors => {resource.class.name.underscore => resource.errors}}
11
+ {:errors => {json_resource_class_name => resource.errors}}
12
+ end
13
+
14
+ def json_resource_class_name
15
+ # TODO: Break backwards compat and return "response => " instead
16
+ underscored = resource.class.name.underscore
17
+ case underscored
18
+ when "response"
19
+ "answer"
20
+ else
21
+ underscored
22
+ end
12
23
  end
13
24
  end
14
25
  end
@@ -19,7 +19,7 @@ module Roqua
19
19
  end
20
20
  end
21
21
 
22
- def self.report(exception, context = {})
22
+ def self.report(exception, **context)
23
23
  return if const_defined?(:Rails) && Rails.env.test?
24
24
 
25
25
  namespace, parameters, _controller, skip_backtrace = merge_parameters(exception, context)
@@ -63,7 +63,7 @@ module Roqua
63
63
  parameters: parameters}
64
64
  exception_info[:notification_urls] = notification_urls if notification_urls.present?
65
65
  exception_info[:backtrace] = exception.backtrace unless skip_backtrace
66
- Roqua.logger.error('roqua.exception', exception_info)
66
+ Roqua.logger.error('roqua.exception', **exception_info)
67
67
  end
68
68
  rescue Exception
69
69
  end
@@ -79,7 +79,7 @@ module Roqua
79
79
  current_transaction = Appsignal::Transaction.current
80
80
 
81
81
  if current_transaction.namespace == Appsignal::Transaction::HTTP_REQUEST
82
- current_transaction.set_tags(labels)
82
+ current_transaction.set_tags(**labels)
83
83
  current_transaction.add_exception(exception)
84
84
  else
85
85
  Appsignal.send_error exception do |transaction|
@@ -1,5 +1,5 @@
1
1
  module Roqua
2
2
  module Support
3
- VERSION = '0.4.4'.freeze
3
+ VERSION = '0.4.6'.freeze
4
4
  end
5
5
  end
@@ -13,17 +13,17 @@ Gem::Specification.new do |gem|
13
13
  gem.email = "marten@roqua.nl"
14
14
  gem.homepage = "https://github.com/roqua/roqua-support"
15
15
 
16
- gem.files = `git ls-files`.split($/)
16
+ gem.files = Dir["{lib}/**/*"] + %w{CHANGELOG.md Rakefile LICENSE.txt README.md roqua-support.gemspec}
17
17
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
18
18
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
19
19
  gem.require_paths = ["lib"]
20
20
 
21
21
  gem.required_ruby_version = '>= 2.7'
22
22
  gem.add_dependency 'active_interaction', '>= 3.0', '< 5.0'
23
- gem.add_dependency 'activesupport', '>= 5.2', '< 6.2'
23
+ gem.add_dependency 'activesupport', '>= 5.2', '< 7.1'
24
24
  gem.add_dependency 'naught', '~> 1.0'
25
25
  gem.add_dependency 'with_advisory_lock', '~> 3.2'
26
- gem.add_dependency 'appsignal', '>= 2.9', '< 3.1'
26
+ gem.add_dependency 'appsignal', '>= 2.9', '< 4.0'
27
27
 
28
28
  gem.add_development_dependency 'bundler', '~> 2.0'
29
29
  gem.add_development_dependency 'delayed_job_active_record'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: roqua-support
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.4
4
+ version: 0.4.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marten Veldthuis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-23 00:00:00.000000000 Z
11
+ date: 2024-11-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: active_interaction
@@ -39,7 +39,7 @@ dependencies:
39
39
  version: '5.2'
40
40
  - - "<"
41
41
  - !ruby/object:Gem::Version
42
- version: '6.2'
42
+ version: '7.1'
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
@@ -49,7 +49,7 @@ dependencies:
49
49
  version: '5.2'
50
50
  - - "<"
51
51
  - !ruby/object:Gem::Version
52
- version: '6.2'
52
+ version: '7.1'
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: naught
55
55
  requirement: !ruby/object:Gem::Requirement
@@ -87,7 +87,7 @@ dependencies:
87
87
  version: '2.9'
88
88
  - - "<"
89
89
  - !ruby/object:Gem::Version
90
- version: '3.1'
90
+ version: '4.0'
91
91
  type: :runtime
92
92
  prerelease: false
93
93
  version_requirements: !ruby/object:Gem::Requirement
@@ -97,7 +97,7 @@ dependencies:
97
97
  version: '2.9'
98
98
  - - "<"
99
99
  - !ruby/object:Gem::Version
100
- version: '3.1'
100
+ version: '4.0'
101
101
  - !ruby/object:Gem::Dependency
102
102
  name: bundler
103
103
  requirement: !ruby/object:Gem::Requirement
@@ -180,23 +180,10 @@ executables: []
180
180
  extensions: []
181
181
  extra_rdoc_files: []
182
182
  files:
183
- - ".gitignore"
184
- - ".gitlab-ci.yml"
185
- - ".rspec"
186
- - ".rubocop.yml"
187
- - ".travis.yml"
188
- - Appraisals
189
183
  - CHANGELOG.md
190
- - Gemfile
191
- - Gemfile.lock
192
- - Guardfile
193
184
  - LICENSE.txt
194
185
  - README.md
195
186
  - Rakefile
196
- - circle.yml
197
- - gemfiles/rails52.gemfile
198
- - gemfiles/rails60.gemfile
199
- - gemfiles/rails61.gemfile
200
187
  - lib/roqua-support.rb
201
188
  - lib/roqua-support/railtie.rb
202
189
  - lib/roqua-support/version.rb
@@ -234,34 +221,6 @@ files:
234
221
  - lib/roqua/type/stripped_string.rb
235
222
  - lib/roqua/validators/subset_validator.rb
236
223
  - roqua-support.gemspec
237
- - spec/internal/config/balancer_state
238
- - spec/internal/config/routes.rb
239
- - spec/roqua/core_ext/active_interaction/date_time_as_unix_extension_spec.rb
240
- - spec/roqua/core_ext/active_interaction/duration_filter_spec.rb
241
- - spec/roqua/core_ext/active_interaction/rails_intrumentation_spec.rb
242
- - spec/roqua/core_ext/activerecord/uniq_find_or_create_spec.rb
243
- - spec/roqua/core_ext/delayed_job/activity_monitoring_spec.rb
244
- - spec/roqua/core_ext/enumerable/sort_by_alphanum_spec.rb
245
- - spec/roqua/core_ext/fabrication/singleton_spec.rb
246
- - spec/roqua/logging/roqua_logging_railtie_spec.rb
247
- - spec/roqua/probes/delayed_job_probe_spec.rb
248
- - spec/roqua/probes/monitoring_probe_spec.rb
249
- - spec/roqua/responders/active_interaction_aware_responder_spec.rb
250
- - spec/roqua/responders/api_errors_responder_spec.rb
251
- - spec/roqua/scheduling/scheduler_spec.rb
252
- - spec/roqua/status_checks/check_db_connection_spec.rb
253
- - spec/roqua/status_checks/check_load_balancer_member_spec.rb
254
- - spec/roqua/status_checks/status_controller_spec.rb
255
- - spec/roqua/support/errors_spec.rb
256
- - spec/roqua/support/helpers_spec.rb
257
- - spec/roqua/support/logwrapper_spec.rb
258
- - spec/roqua/support/request_logger_spec.rb
259
- - spec/roqua/support/stats_spec.rb
260
- - spec/roqua/support_spec.rb
261
- - spec/roqua/type/stripped_string_spec.rb
262
- - spec/roqua/validators/subset_validator_spec.rb
263
- - spec/spec_helper.rb
264
- - styleguide/ruby/rubocop.yml
265
224
  homepage: https://github.com/roqua/roqua-support
266
225
  licenses:
267
226
  - MIT
@@ -281,35 +240,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
281
240
  - !ruby/object:Gem::Version
282
241
  version: '0'
283
242
  requirements: []
284
- rubygems_version: 3.1.4
243
+ rubygems_version: 3.4.22
285
244
  signing_key:
286
245
  specification_version: 4
287
246
  summary: Helper objects and proxies used by a lot of RoQua applications
288
- test_files:
289
- - spec/internal/config/balancer_state
290
- - spec/internal/config/routes.rb
291
- - spec/roqua/core_ext/active_interaction/date_time_as_unix_extension_spec.rb
292
- - spec/roqua/core_ext/active_interaction/duration_filter_spec.rb
293
- - spec/roqua/core_ext/active_interaction/rails_intrumentation_spec.rb
294
- - spec/roqua/core_ext/activerecord/uniq_find_or_create_spec.rb
295
- - spec/roqua/core_ext/delayed_job/activity_monitoring_spec.rb
296
- - spec/roqua/core_ext/enumerable/sort_by_alphanum_spec.rb
297
- - spec/roqua/core_ext/fabrication/singleton_spec.rb
298
- - spec/roqua/logging/roqua_logging_railtie_spec.rb
299
- - spec/roqua/probes/delayed_job_probe_spec.rb
300
- - spec/roqua/probes/monitoring_probe_spec.rb
301
- - spec/roqua/responders/active_interaction_aware_responder_spec.rb
302
- - spec/roqua/responders/api_errors_responder_spec.rb
303
- - spec/roqua/scheduling/scheduler_spec.rb
304
- - spec/roqua/status_checks/check_db_connection_spec.rb
305
- - spec/roqua/status_checks/check_load_balancer_member_spec.rb
306
- - spec/roqua/status_checks/status_controller_spec.rb
307
- - spec/roqua/support/errors_spec.rb
308
- - spec/roqua/support/helpers_spec.rb
309
- - spec/roqua/support/logwrapper_spec.rb
310
- - spec/roqua/support/request_logger_spec.rb
311
- - spec/roqua/support/stats_spec.rb
312
- - spec/roqua/support_spec.rb
313
- - spec/roqua/type/stripped_string_spec.rb
314
- - spec/roqua/validators/subset_validator_spec.rb
315
- - spec/spec_helper.rb
247
+ test_files: []
data/.gitignore DELETED
@@ -1,20 +0,0 @@
1
- *.gem
2
- *.rbc
3
- .bundle
4
- .config
5
- .yardoc
6
- .lock*
7
- InstalledFiles
8
- _yardoc
9
- coverage
10
- doc/
11
- lib/bundler/man
12
- pkg
13
- rdoc
14
- spec/reports
15
- spec/spec
16
- spec/internal/log
17
- test/tmp
18
- test/version_tmp
19
- tmp
20
- gemfiles/*.lock
data/.gitlab-ci.yml DELETED
@@ -1,32 +0,0 @@
1
- variables:
2
- RAILS_ENV: "test"
3
-
4
- before_script:
5
- - if [ -x "$(command -v apk)" ]; then apk add sqlite-dev; fi
6
- - export BUNDLE_PATH=$CI_PROJECT_DIR/.gems
7
- - bundle --jobs 2 --retry 3
8
- - bundle exec appraisal install
9
-
10
-
11
- .ruby_27: &ruby_27
12
- image: registry.roqua.nl/roqua/docker-base-images:ruby-2.7-builder
13
- cache:
14
- key: ruby_27
15
- paths:
16
- - .gems
17
-
18
-
19
- rails_52_ruby_27:
20
- <<: *ruby_27
21
- script:
22
- - bundle exec appraisal rails52 bundle exec rspec
23
-
24
- rails_60_ruby_27:
25
- <<: *ruby_27
26
- script:
27
- - bundle exec appraisal rails60 bundle exec rspec
28
-
29
- rails_61_ruby_27:
30
- <<: *ruby_27
31
- script:
32
- - bundle exec appraisal rails61 bundle exec rspec
data/.rspec DELETED
@@ -1 +0,0 @@
1
- --color
data/.rubocop.yml DELETED
@@ -1,2 +0,0 @@
1
- inherit_from:
2
- - styleguide/ruby/rubocop.yml
data/.travis.yml DELETED
@@ -1,6 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 1.9.3
4
- - 2.0.0
5
- - jruby-19mode # JRuby in 1.9 mode
6
- - rbx-2.1.1
data/Appraisals DELETED
@@ -1,15 +0,0 @@
1
- appraise "rails52" do
2
- gem "active_interaction", "~> 3.0"
3
- gem "activesupport", "~> 5.2.0"
4
- gem 'appsignal', '~> 2.9.8' # test each minor versions we support
5
- end
6
-
7
- appraise "rails60" do
8
- gem "activesupport", "~> 6.0.0"
9
- gem 'appsignal', '~> 2.10.6'
10
- end
11
-
12
- appraise "rails61" do
13
- gem "activesupport", "~> 6.1.0"
14
- gem 'appsignal', '~> 3.0.0'
15
- end
data/Gemfile DELETED
@@ -1,21 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- # Specify your gem's dependencies in roqua-support.gemspec
4
- gemspec
5
-
6
- gem 'appraisal'
7
- # fix so long as we support ruby 2.6 and ealier.
8
- gem 'roqua_styleguide', git: 'https://gitlab.roqua.nl/roqua/styleguide.git', ref: '9662550'
9
-
10
- group :test do
11
- gem 'sqlite3'
12
- gem 'actionpack', '>= 4.0'
13
- gem 'climate_control' # For ENV modification in specs
14
- gem 'combustion', '~> 1.1.1'
15
- gem 'fakefs', require: 'fakefs/safe'
16
- gem 'guard-rspec', '~> 4.2.6'
17
- gem 'responders'
18
- gem 'rspec-instrumentation-matcher'
19
- gem 'rspec-rails'
20
- gem 'pry'
21
- end
data/Gemfile.lock DELETED
@@ -1,213 +0,0 @@
1
- GIT
2
- remote: https://gitlab.roqua.nl/roqua/styleguide.git
3
- revision: 9662550201987db20c03e300eddb34d8ad035613
4
- ref: 9662550
5
- specs:
6
- roqua_styleguide (0.0.8)
7
- rubocop (~> 0.90.0)
8
- rubocop-rails
9
-
10
- PATH
11
- remote: .
12
- specs:
13
- roqua-support (0.4.4)
14
- active_interaction (>= 3.0, < 5.0)
15
- activesupport (>= 5.2, < 6.2)
16
- appsignal (>= 2.9, < 3.1)
17
- naught (~> 1.0)
18
- with_advisory_lock (~> 3.2)
19
-
20
- GEM
21
- remote: https://rubygems.org/
22
- specs:
23
- actionpack (6.0.2.2)
24
- actionview (= 6.0.2.2)
25
- activesupport (= 6.0.2.2)
26
- rack (~> 2.0, >= 2.0.8)
27
- rack-test (>= 0.6.3)
28
- rails-dom-testing (~> 2.0)
29
- rails-html-sanitizer (~> 1.0, >= 1.2.0)
30
- actionview (6.0.2.2)
31
- activesupport (= 6.0.2.2)
32
- builder (~> 3.1)
33
- erubi (~> 1.4)
34
- rails-dom-testing (~> 2.0)
35
- rails-html-sanitizer (~> 1.1, >= 1.2.0)
36
- active_interaction (4.1.0)
37
- activemodel (>= 5, < 8)
38
- activesupport (>= 5, < 8)
39
- activemodel (6.0.2.2)
40
- activesupport (= 6.0.2.2)
41
- activerecord (6.0.2.2)
42
- activemodel (= 6.0.2.2)
43
- activesupport (= 6.0.2.2)
44
- activesupport (6.0.2.2)
45
- concurrent-ruby (~> 1.0, >= 1.0.2)
46
- i18n (>= 0.7, < 2)
47
- minitest (~> 5.1)
48
- tzinfo (~> 1.1)
49
- zeitwerk (~> 2.2)
50
- appraisal (2.2.0)
51
- bundler
52
- rake
53
- thor (>= 0.14.0)
54
- appsignal (3.0.26)
55
- rack
56
- ast (2.4.2)
57
- builder (3.2.4)
58
- climate_control (0.2.0)
59
- coderay (1.1.2)
60
- combustion (1.1.2)
61
- activesupport (>= 3.0.0)
62
- railties (>= 3.0.0)
63
- thor (>= 0.14.6)
64
- concurrent-ruby (1.1.8)
65
- crass (1.0.6)
66
- delayed_job (4.1.8)
67
- activesupport (>= 3.0, < 6.1)
68
- delayed_job_active_record (4.1.4)
69
- activerecord (>= 3.0, < 6.1)
70
- delayed_job (>= 3.0, < 5)
71
- diff-lcs (1.3)
72
- erubi (1.9.0)
73
- fakefs (1.2.2)
74
- ffi (1.12.2)
75
- formatador (0.2.5)
76
- guard (2.16.2)
77
- formatador (>= 0.2.4)
78
- listen (>= 2.7, < 4.0)
79
- lumberjack (>= 1.0.12, < 2.0)
80
- nenv (~> 0.1)
81
- notiffany (~> 0.0)
82
- pry (>= 0.9.12)
83
- shellany (~> 0.0)
84
- thor (>= 0.18.1)
85
- guard-rspec (4.2.10)
86
- guard (~> 2.1)
87
- rspec (>= 2.14, < 4.0)
88
- i18n (1.8.10)
89
- concurrent-ruby (~> 1.0)
90
- listen (3.2.1)
91
- rb-fsevent (~> 0.10, >= 0.10.3)
92
- rb-inotify (~> 0.9, >= 0.9.10)
93
- loofah (2.5.0)
94
- crass (~> 1.0.2)
95
- nokogiri (>= 1.5.9)
96
- lumberjack (1.2.4)
97
- method_source (1.0.0)
98
- mini_portile2 (2.4.0)
99
- minitest (5.14.4)
100
- naught (1.1.0)
101
- nenv (0.3.0)
102
- nokogiri (1.10.9)
103
- mini_portile2 (~> 2.4.0)
104
- notiffany (0.1.3)
105
- nenv (~> 0.1)
106
- shellany (~> 0.0)
107
- parallel (1.20.1)
108
- parser (3.0.0.0)
109
- ast (~> 2.4.1)
110
- pry (0.13.1)
111
- coderay (~> 1.1)
112
- method_source (~> 1.0)
113
- rack (2.2.3)
114
- rack-test (1.1.0)
115
- rack (>= 1.0, < 3)
116
- rails-dom-testing (2.0.3)
117
- activesupport (>= 4.2.0)
118
- nokogiri (>= 1.6)
119
- rails-html-sanitizer (1.3.0)
120
- loofah (~> 2.3)
121
- railties (6.0.2.2)
122
- actionpack (= 6.0.2.2)
123
- activesupport (= 6.0.2.2)
124
- method_source
125
- rake (>= 0.8.7)
126
- thor (>= 0.20.3, < 2.0)
127
- rainbow (3.0.0)
128
- rake (13.0.1)
129
- rb-fsevent (0.10.4)
130
- rb-inotify (0.10.1)
131
- ffi (~> 1.0)
132
- regexp_parser (2.1.1)
133
- responders (3.0.0)
134
- actionpack (>= 5.0)
135
- railties (>= 5.0)
136
- rexml (3.2.4)
137
- rspec (3.9.0)
138
- rspec-core (~> 3.9.0)
139
- rspec-expectations (~> 3.9.0)
140
- rspec-mocks (~> 3.9.0)
141
- rspec-core (3.9.2)
142
- rspec-support (~> 3.9.3)
143
- rspec-expectations (3.9.1)
144
- diff-lcs (>= 1.2.0, < 2.0)
145
- rspec-support (~> 3.9.0)
146
- rspec-instrumentation-matcher (0.0.9)
147
- activesupport
148
- rspec-expectations
149
- rspec-mocks (3.9.1)
150
- diff-lcs (>= 1.2.0, < 2.0)
151
- rspec-support (~> 3.9.0)
152
- rspec-rails (4.0.0)
153
- actionpack (>= 4.2)
154
- activesupport (>= 4.2)
155
- railties (>= 4.2)
156
- rspec-core (~> 3.9)
157
- rspec-expectations (~> 3.9)
158
- rspec-mocks (~> 3.9)
159
- rspec-support (~> 3.9)
160
- rspec-support (3.9.3)
161
- rubocop (0.90.0)
162
- parallel (~> 1.10)
163
- parser (>= 2.7.1.1)
164
- rainbow (>= 2.2.2, < 4.0)
165
- regexp_parser (>= 1.7)
166
- rexml
167
- rubocop-ast (>= 0.3.0, < 1.0)
168
- ruby-progressbar (~> 1.7)
169
- unicode-display_width (>= 1.4.0, < 2.0)
170
- rubocop-ast (0.8.0)
171
- parser (>= 2.7.1.5)
172
- rubocop-rails (2.9.1)
173
- activesupport (>= 4.2.0)
174
- rack (>= 1.1)
175
- rubocop (>= 0.90.0, < 2.0)
176
- ruby-progressbar (1.11.0)
177
- shellany (0.0.1)
178
- sqlite3 (1.4.2)
179
- thor (1.0.1)
180
- thread_safe (0.3.6)
181
- timecop (0.9.1)
182
- tzinfo (1.2.9)
183
- thread_safe (~> 0.1)
184
- unicode-display_width (1.7.0)
185
- with_advisory_lock (3.2.0)
186
- activerecord (>= 3.2)
187
- zeitwerk (2.4.2)
188
-
189
- PLATFORMS
190
- ruby
191
-
192
- DEPENDENCIES
193
- actionpack (>= 4.0)
194
- appraisal
195
- bundler (~> 2.0)
196
- climate_control
197
- combustion (~> 1.1.1)
198
- delayed_job_active_record
199
- fakefs
200
- guard-rspec (~> 4.2.6)
201
- pry
202
- rake
203
- responders
204
- roqua-support!
205
- roqua_styleguide!
206
- rspec (>= 2.12.0, < 4.0)
207
- rspec-instrumentation-matcher
208
- rspec-rails
209
- sqlite3
210
- timecop
211
-
212
- BUNDLED WITH
213
- 2.1.4
data/Guardfile DELETED
@@ -1,8 +0,0 @@
1
- # A sample Guardfile
2
- # More info at https://github.com/guard/guard#readme
3
-
4
- guard :rspec, cmd: 'bundle exec rspec --colour' do
5
- watch(%r{^spec/.+_spec\.rb$})
6
- watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
7
- watch('spec/spec_helper.rb') { "spec" }
8
- end
data/circle.yml DELETED
@@ -1,13 +0,0 @@
1
- machine:
2
- ruby:
3
- version: 2.3.1
4
- dependencies:
5
- override:
6
- - bundle install
7
- - gem install appraisal
8
- - appraisal
9
- test:
10
- override:
11
- - appraisal rails41 bundle exec rspec
12
- - appraisal rails42 bundle exec rspec
13
- - appraisal rails50 bundle exec rspec
@@ -1,24 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "appraisal"
6
- gem "roqua_styleguide", git: "https://gitlab.roqua.nl/roqua/styleguide.git", ref: "9662550"
7
- gem "active_interaction", "~> 3.0"
8
- gem "activesupport", "~> 5.2.0"
9
- gem "appsignal", "~> 2.9.8"
10
-
11
- group :test do
12
- gem "sqlite3"
13
- gem "actionpack", ">= 4.0"
14
- gem "climate_control"
15
- gem "combustion", "~> 1.1.1"
16
- gem "fakefs", require: "fakefs/safe"
17
- gem "guard-rspec", "~> 4.2.6"
18
- gem "responders"
19
- gem "rspec-instrumentation-matcher"
20
- gem "rspec-rails"
21
- gem "pry"
22
- end
23
-
24
- gemspec path: "../"
@@ -1,23 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "appraisal"
6
- gem "roqua_styleguide", git: "https://gitlab.roqua.nl/roqua/styleguide.git", ref: "9662550"
7
- gem "activesupport", "~> 6.0.0"
8
- gem "appsignal", "~> 2.10.6"
9
-
10
- group :test do
11
- gem "sqlite3"
12
- gem "actionpack", ">= 4.0"
13
- gem "climate_control"
14
- gem "combustion", "~> 1.1.1"
15
- gem "fakefs", require: "fakefs/safe"
16
- gem "guard-rspec", "~> 4.2.6"
17
- gem "responders"
18
- gem "rspec-instrumentation-matcher"
19
- gem "rspec-rails"
20
- gem "pry"
21
- end
22
-
23
- gemspec path: "../"
@@ -1,23 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "appraisal"
6
- gem "roqua_styleguide", git: "https://gitlab.roqua.nl/roqua/styleguide.git", ref: "9662550"
7
- gem "activesupport", "~> 6.1.0"
8
- gem "appsignal", "~> 3.0.0"
9
-
10
- group :test do
11
- gem "sqlite3"
12
- gem "actionpack", ">= 4.0"
13
- gem "climate_control"
14
- gem "combustion", "~> 1.1.1"
15
- gem "fakefs", require: "fakefs/safe"
16
- gem "guard-rspec", "~> 4.2.6"
17
- gem "responders"
18
- gem "rspec-instrumentation-matcher"
19
- gem "rspec-rails"
20
- gem "pry"
21
- end
22
-
23
- gemspec path: "../"
@@ -1 +0,0 @@
1
- on