roqua-support 0.3.2 → 0.3.3

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.
Files changed (41) hide show
  1. checksums.yaml +4 -4
  2. data/.gitlab-ci.yml +5 -20
  3. data/.rspec +0 -0
  4. data/.travis.yml +0 -0
  5. data/Appraisals +11 -0
  6. data/CHANGELOG.md +4 -0
  7. data/Gemfile +1 -1
  8. data/Gemfile.lock +7 -9
  9. data/LICENSE.txt +0 -0
  10. data/circle.yml +0 -0
  11. data/gemfiles/rails42.gemfile +4 -2
  12. data/gemfiles/rails50.gemfile +4 -2
  13. data/gemfiles/rails51.gemfile +4 -2
  14. data/gemfiles/rails52.gemfile +4 -2
  15. data/gemfiles/rails60.gemfile +24 -0
  16. data/lib/roqua-support/version.rb +1 -1
  17. data/lib/roqua/core_ext/active_interaction/filters/date_time_as_unix_extension.rb +0 -0
  18. data/lib/roqua/core_ext/active_interaction/filters/duration_filter.rb +0 -0
  19. data/lib/roqua/core_ext/active_interaction/rails_instrumentation.rb +0 -0
  20. data/lib/roqua/core_ext/activerecord/uniq_find_or_create.rb +0 -0
  21. data/lib/roqua/core_ext/enumerable/sort_by_alphanum.rb +0 -0
  22. data/lib/roqua/core_ext/fabrication/singleton.rb +0 -0
  23. data/lib/roqua/responders/active_interaction_aware_responder.rb +0 -0
  24. data/lib/roqua/responders/api_errors_responder.rb +0 -0
  25. data/lib/roqua/support/command_runner.rb +0 -0
  26. data/lib/roqua/support/errors.rb +1 -0
  27. data/lib/roqua/support/instrumentation.rb +0 -0
  28. data/lib/roqua/support/log_wrapper.rb +0 -0
  29. data/lib/roqua/support/request_logger.rb +0 -0
  30. data/lib/roqua/support/stats.rb +0 -0
  31. data/lib/roqua/support/stats/hosted_graphite_backend.rb +0 -0
  32. data/lib/roqua/validators/subset_validator.rb +0 -0
  33. data/roqua-support.gemspec +2 -3
  34. data/spec/roqua/core_ext/active_interaction/date_time_as_unix_extension_spec.rb +0 -0
  35. data/spec/roqua/core_ext/active_interaction/duration_filter_spec.rb +0 -0
  36. data/spec/roqua/core_ext/active_interaction/rails_intrumentation_spec.rb +0 -0
  37. data/spec/roqua/responders/active_interaction_aware_responder_spec.rb +0 -0
  38. data/spec/roqua/responders/api_errors_responder_spec.rb +0 -0
  39. data/spec/roqua/support/stats_spec.rb +0 -0
  40. data/spec/roqua/validators/subset_validator_spec.rb +0 -0
  41. metadata +9 -21
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e7d9dfb663d723ece7cb2972d37b393ec69966b364324d3993bd9c132b3be106
4
- data.tar.gz: 15d4f06832bf6c50e66faace5db84255ee81359d666d7fa657622832a44f9942
3
+ metadata.gz: 24fe6b6328c7e8a57bbd3de088117e34d320f9ddc6aaa4954334dcfe5a934d35
4
+ data.tar.gz: 6429dbcedaea67f7b8581afca9181fb6854fd467f01ce01d403cf55a8c9b19b2
5
5
  SHA512:
6
- metadata.gz: be346d85ae38329372ebbfcb73238dcb6edf263fb87b0fa1fff4eb7c45434b0fb1fe315df5d3d0bdb7ba24c6f45a4a44a563874c423c505644980dddc4318a07
7
- data.tar.gz: 7072cb75b17a3214a4b1180736f307fbba8d916e5be3dc8812c5ece18cc1b92a8d75d042cec8225a0b708284d085c63c499eabaa98283449f34224ddfb9138de
6
+ metadata.gz: 308371f74905c87008b9a6d91989614fa18d058b75ba3c55f934d17ac68947d0fa0fe1d582bf9b9a67cc2da595d83e446505a10bbd9da285919808c9a729c645
7
+ data.tar.gz: 9a2ae0fef0524d771e5306045db5fb4d2172a6e48647355c8a271d1216d39ededf08e89824c123bf14dd561c29898c7a18338efc897ba3143860098dc0a56ea8
@@ -28,16 +28,6 @@ before_script:
28
28
  paths:
29
29
  - .gems
30
30
 
31
- rails_42_ruby_23:
32
- <<: *ruby_23
33
- script:
34
- - bundle exec appraisal rails42 bundle exec rspec
35
-
36
- rails_50_ruby_23:
37
- <<: *ruby_23
38
- script:
39
- - bundle exec appraisal rails50 bundle exec rspec
40
-
41
31
  rails_50_ruby_24:
42
32
  <<: *ruby_24
43
33
  script:
@@ -48,11 +38,6 @@ rails_50_ruby_25:
48
38
  script:
49
39
  - bundle exec appraisal rails50 bundle exec rspec
50
40
 
51
- rails_51_ruby_23:
52
- <<: *ruby_23
53
- script:
54
- - bundle exec appraisal rails51 bundle exec rspec
55
-
56
41
  rails_51_ruby_24:
57
42
  <<: *ruby_24
58
43
  script:
@@ -63,11 +48,6 @@ rails_51_ruby_25:
63
48
  script:
64
49
  - bundle exec appraisal rails51 bundle exec rspec
65
50
 
66
- rails_52_ruby_23:
67
- <<: *ruby_23
68
- script:
69
- - bundle exec appraisal rails52 bundle exec rspec
70
-
71
51
  rails_52_ruby_24:
72
52
  <<: *ruby_24
73
53
  script:
@@ -77,3 +57,8 @@ rails_52_ruby_25:
77
57
  <<: *ruby_25
78
58
  script:
79
59
  - bundle exec appraisal rails52 bundle exec rspec
60
+
61
+ rails_60_ruby_25:
62
+ <<: *ruby_25
63
+ script:
64
+ - bundle exec appraisal rails60 bundle exec rspec
data/.rspec CHANGED
File without changes
File without changes
data/Appraisals CHANGED
@@ -1,15 +1,26 @@
1
1
  appraise "rails42" do
2
2
  gem "activesupport", "~> 4.2.10"
3
+ gem 'sqlite3', '~> 1.3.6'
3
4
  end
4
5
 
5
6
  appraise "rails50" do
6
7
  gem "activesupport", "~> 5.0.0"
8
+ gem 'sqlite3', '~> 1.3.6'
7
9
  end
8
10
 
9
11
  appraise "rails51" do
10
12
  gem "activesupport", "~> 5.1.0"
13
+ gem 'sqlite3', '~> 1.3.6'
11
14
  end
12
15
 
13
16
  appraise "rails52" do
14
17
  gem "activesupport", "~> 5.2.0"
18
+ gem 'sqlite3', '~> 1.3.6'
19
+ end
20
+
21
+ if RUBY_VERSION.to_f >= 2.5
22
+ appraise "rails60" do
23
+ gem "activesupport", "~> 6.0.0"
24
+ gem 'sqlite3', '~> 1.4'
25
+ end
15
26
  end
@@ -1,3 +1,7 @@
1
+ ## 0.3.3
2
+
3
+ * Added support for hl7 namespace when reporting errors
4
+
1
5
  ## 0.3.2
2
6
 
3
7
  * Use tags for better appsignal metrics
data/Gemfile CHANGED
@@ -11,7 +11,7 @@ group :test do
11
11
  gem 'active_interaction', '~> 3.0'
12
12
  gem 'appsignal', '~> 2.9.8'
13
13
  gem 'climate_control' # For ENV modification in specs
14
- gem 'combustion', '~> 0.5.2'
14
+ gem 'combustion', '~> 1.1.1'
15
15
  gem 'fakefs', require: 'fakefs/safe'
16
16
  gem 'guard-rspec', '~> 4.2.6'
17
17
  gem 'responders'
@@ -8,9 +8,9 @@ GIT
8
8
  PATH
9
9
  remote: .
10
10
  specs:
11
- roqua-support (0.3.2)
11
+ roqua-support (0.3.3)
12
12
  active_interaction (~> 3.0)
13
- activesupport (>= 3.2, < 6)
13
+ activesupport (>= 3.2, < 6.1)
14
14
  appsignal (~> 2.9.8)
15
15
  naught (~> 1.0)
16
16
  with_advisory_lock (~> 3.2)
@@ -55,7 +55,7 @@ GEM
55
55
  builder (3.2.3)
56
56
  climate_control (0.2.0)
57
57
  coderay (1.1.1)
58
- combustion (0.5.5)
58
+ combustion (1.1.1)
59
59
  activesupport (>= 3.0.0)
60
60
  railties (>= 3.0.0)
61
61
  thor (>= 0.14.6)
@@ -165,7 +165,6 @@ GEM
165
165
  ruby_dep (1.5.0)
166
166
  shellany (0.0.1)
167
167
  slop (3.6.0)
168
- sqlite3 (1.3.13)
169
168
  thor (0.19.4)
170
169
  thread_safe (0.3.5)
171
170
  timecop (0.9.1)
@@ -182,10 +181,10 @@ DEPENDENCIES
182
181
  actionpack (>= 4.0)
183
182
  active_interaction (~> 3.0)
184
183
  appraisal
185
- appsignal (~> 2.9.6)
186
- bundler (~> 1.0)
184
+ appsignal (~> 2.9.8)
185
+ bundler (~> 2.0)
187
186
  climate_control
188
- combustion (~> 0.5.2)
187
+ combustion (~> 1.1.1)
189
188
  delayed_job_active_record
190
189
  fakefs
191
190
  guard-rspec (~> 4.2.6)
@@ -197,8 +196,7 @@ DEPENDENCIES
197
196
  rspec (>= 2.12.0, < 4.0)
198
197
  rspec-instrumentation-matcher
199
198
  rspec-rails
200
- sqlite3 (~> 1.3.6)
201
199
  timecop
202
200
 
203
201
  BUNDLED WITH
204
- 1.17.3
202
+ 2.1.4
File without changes
data/circle.yml CHANGED
File without changes
@@ -5,18 +5,20 @@ source "https://rubygems.org"
5
5
  gem "appraisal"
6
6
  gem "roqua_styleguide", :git => "https://gitlab.roqua.nl/roqua/styleguide.git"
7
7
  gem "activesupport", "~> 4.2.10"
8
+ gem "sqlite3", "~> 1.3.6"
8
9
 
9
10
  group :test do
10
11
  gem "actionpack", ">= 4.0"
11
12
  gem "active_interaction", "~> 3.0"
12
- gem "appsignal"
13
+ gem "appsignal", "~> 2.9.8"
13
14
  gem "climate_control"
14
- gem "combustion", "~> 0.5.2"
15
+ gem "combustion", "~> 1.1.1"
15
16
  gem "fakefs", :require => "fakefs/safe"
16
17
  gem "guard-rspec", "~> 4.2.6"
17
18
  gem "responders"
18
19
  gem "rspec-instrumentation-matcher"
19
20
  gem "rspec-rails"
21
+ gem "pry"
20
22
  end
21
23
 
22
24
  gemspec :path => "../"
@@ -5,18 +5,20 @@ source "https://rubygems.org"
5
5
  gem "appraisal"
6
6
  gem "roqua_styleguide", :git => "https://gitlab.roqua.nl/roqua/styleguide.git"
7
7
  gem "activesupport", "~> 5.0.0"
8
+ gem "sqlite3", "~> 1.3.6"
8
9
 
9
10
  group :test do
10
11
  gem "actionpack", ">= 4.0"
11
12
  gem "active_interaction", "~> 3.0"
12
- gem "appsignal"
13
+ gem "appsignal", "~> 2.9.8"
13
14
  gem "climate_control"
14
- gem "combustion", "~> 0.5.2"
15
+ gem "combustion", "~> 1.1.1"
15
16
  gem "fakefs", :require => "fakefs/safe"
16
17
  gem "guard-rspec", "~> 4.2.6"
17
18
  gem "responders"
18
19
  gem "rspec-instrumentation-matcher"
19
20
  gem "rspec-rails"
21
+ gem "pry"
20
22
  end
21
23
 
22
24
  gemspec :path => "../"
@@ -5,18 +5,20 @@ source "https://rubygems.org"
5
5
  gem "appraisal"
6
6
  gem "roqua_styleguide", :git => "https://gitlab.roqua.nl/roqua/styleguide.git"
7
7
  gem "activesupport", "~> 5.1.0"
8
+ gem "sqlite3", "~> 1.3.6"
8
9
 
9
10
  group :test do
10
11
  gem "actionpack", ">= 4.0"
11
12
  gem "active_interaction", "~> 3.0"
12
- gem "appsignal"
13
+ gem "appsignal", "~> 2.9.8"
13
14
  gem "climate_control"
14
- gem "combustion", "~> 0.5.2"
15
+ gem "combustion", "~> 1.1.1"
15
16
  gem "fakefs", :require => "fakefs/safe"
16
17
  gem "guard-rspec", "~> 4.2.6"
17
18
  gem "responders"
18
19
  gem "rspec-instrumentation-matcher"
19
20
  gem "rspec-rails"
21
+ gem "pry"
20
22
  end
21
23
 
22
24
  gemspec :path => "../"
@@ -5,18 +5,20 @@ source "https://rubygems.org"
5
5
  gem "appraisal"
6
6
  gem "roqua_styleguide", :git => "https://gitlab.roqua.nl/roqua/styleguide.git"
7
7
  gem "activesupport", "~> 5.2.0"
8
+ gem "sqlite3", "~> 1.3.6"
8
9
 
9
10
  group :test do
10
11
  gem "actionpack", ">= 4.0"
11
12
  gem "active_interaction", "~> 3.0"
12
- gem "appsignal"
13
+ gem "appsignal", "~> 2.9.8"
13
14
  gem "climate_control"
14
- gem "combustion", "~> 0.5.2"
15
+ gem "combustion", "~> 1.1.1"
15
16
  gem "fakefs", :require => "fakefs/safe"
16
17
  gem "guard-rspec", "~> 4.2.6"
17
18
  gem "responders"
18
19
  gem "rspec-instrumentation-matcher"
19
20
  gem "rspec-rails"
21
+ gem "pry"
20
22
  end
21
23
 
22
24
  gemspec :path => "../"
@@ -0,0 +1,24 @@
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"
7
+ gem "activesupport", "~> 6.0.0"
8
+ gem "sqlite3", "~> 1.4"
9
+
10
+ group :test do
11
+ gem "actionpack", ">= 4.0"
12
+ gem "active_interaction", "~> 3.0"
13
+ gem "appsignal", "~> 2.9.8"
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,5 +1,5 @@
1
1
  module Roqua
2
2
  module Support
3
- VERSION = '0.3.2'.freeze
3
+ VERSION = '0.3.3'.freeze
4
4
  end
5
5
  end
File without changes
@@ -33,6 +33,7 @@ module Roqua
33
33
  case category
34
34
  when :background then Appsignal::Transaction::BACKGROUND_JOB
35
35
  when :web then Appsignal::Transaction::HTTP_REQUEST
36
+ when :hl7 then 'hl7'
36
37
  else Appsignal::Transaction::BLANK
37
38
  end
38
39
  end
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -19,15 +19,14 @@ Gem::Specification.new do |gem|
19
19
  gem.require_paths = ["lib"]
20
20
 
21
21
  gem.add_dependency 'active_interaction', '~> 3.0'
22
- gem.add_dependency 'activesupport', '>= 3.2', '< 6'
22
+ gem.add_dependency 'activesupport', '>= 3.2', '< 6.1'
23
23
  gem.add_dependency 'naught', '~> 1.0'
24
24
  gem.add_dependency 'with_advisory_lock', '~> 3.2'
25
25
  gem.add_dependency 'appsignal', '~> 2.9.8'
26
26
 
27
- gem.add_development_dependency 'bundler', '~> 1.0'
27
+ gem.add_development_dependency 'bundler', '~> 2.0'
28
28
  gem.add_development_dependency 'delayed_job_active_record'
29
29
  gem.add_development_dependency 'rake'
30
30
  gem.add_development_dependency 'rspec', '>= 2.12.0', '< 4.0'
31
- gem.add_development_dependency 'sqlite3', '~> 1.3.6'
32
31
  gem.add_development_dependency 'timecop'
33
32
  end
File without changes
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.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marten Veldthuis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-06-17 00:00:00.000000000 Z
11
+ date: 2020-01-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: active_interaction
@@ -33,7 +33,7 @@ dependencies:
33
33
  version: '3.2'
34
34
  - - "<"
35
35
  - !ruby/object:Gem::Version
36
- version: '6'
36
+ version: '6.1'
37
37
  type: :runtime
38
38
  prerelease: false
39
39
  version_requirements: !ruby/object:Gem::Requirement
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: '3.2'
44
44
  - - "<"
45
45
  - !ruby/object:Gem::Version
46
- version: '6'
46
+ version: '6.1'
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: naught
49
49
  requirement: !ruby/object:Gem::Requirement
@@ -92,14 +92,14 @@ dependencies:
92
92
  requirements:
93
93
  - - "~>"
94
94
  - !ruby/object:Gem::Version
95
- version: '1.0'
95
+ version: '2.0'
96
96
  type: :development
97
97
  prerelease: false
98
98
  version_requirements: !ruby/object:Gem::Requirement
99
99
  requirements:
100
100
  - - "~>"
101
101
  - !ruby/object:Gem::Version
102
- version: '1.0'
102
+ version: '2.0'
103
103
  - !ruby/object:Gem::Dependency
104
104
  name: delayed_job_active_record
105
105
  requirement: !ruby/object:Gem::Requirement
@@ -148,20 +148,6 @@ dependencies:
148
148
  - - "<"
149
149
  - !ruby/object:Gem::Version
150
150
  version: '4.0'
151
- - !ruby/object:Gem::Dependency
152
- name: sqlite3
153
- requirement: !ruby/object:Gem::Requirement
154
- requirements:
155
- - - "~>"
156
- - !ruby/object:Gem::Version
157
- version: 1.3.6
158
- type: :development
159
- prerelease: false
160
- version_requirements: !ruby/object:Gem::Requirement
161
- requirements:
162
- - - "~>"
163
- - !ruby/object:Gem::Version
164
- version: 1.3.6
165
151
  - !ruby/object:Gem::Dependency
166
152
  name: timecop
167
153
  requirement: !ruby/object:Gem::Requirement
@@ -200,6 +186,7 @@ files:
200
186
  - gemfiles/rails50.gemfile
201
187
  - gemfiles/rails51.gemfile
202
188
  - gemfiles/rails52.gemfile
189
+ - gemfiles/rails60.gemfile
203
190
  - lib/roqua-support.rb
204
191
  - lib/roqua-support/railtie.rb
205
192
  - lib/roqua-support/version.rb
@@ -281,7 +268,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
281
268
  - !ruby/object:Gem::Version
282
269
  version: '0'
283
270
  requirements: []
284
- rubygems_version: 3.0.3
271
+ rubyforge_project:
272
+ rubygems_version: 2.7.6.2
285
273
  signing_key:
286
274
  specification_version: 4
287
275
  summary: Helper objects and proxies used by a lot of RoQua applications