From cbd6eb3a3ff7369840ef0f75b175a52f42fbd68a Mon Sep 17 00:00:00 2001
From: Marten Veldthuis <marten@roqua.nl>
Date: Tue, 14 Jan 2020 16:27:06 +0000
Subject: [PATCH] Add HL7 namespace

---
 .gitlab-ci.yml              | 20 --------------------
 Gemfile.lock                |  4 ++--
 lib/roqua/support/errors.rb |  1 +
 roqua-support.gemspec       |  2 +-
 4 files changed, 4 insertions(+), 23 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index dbfc76d..16297cd 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -28,16 +28,6 @@ before_script:
     paths:
       - .gems
 
-rails_42_ruby_23:
-  <<: *ruby_23
-  script:
-    - bundle exec appraisal rails42 bundle exec rspec
-
-rails_50_ruby_23:
-  <<: *ruby_23
-  script:
-    - bundle exec appraisal rails50 bundle exec rspec
-
 rails_50_ruby_24:
   <<: *ruby_24
   script:
@@ -48,11 +38,6 @@ rails_50_ruby_25:
   script:
     - bundle exec appraisal rails50 bundle exec rspec
 
-rails_51_ruby_23:
-  <<: *ruby_23
-  script:
-    - bundle exec appraisal rails51 bundle exec rspec
-
 rails_51_ruby_24:
   <<: *ruby_24
   script:
@@ -63,11 +48,6 @@ rails_51_ruby_25:
   script:
     - bundle exec appraisal rails51 bundle exec rspec
 
-rails_52_ruby_23:
-  <<: *ruby_23
-  script:
-    - bundle exec appraisal rails52 bundle exec rspec
-
 rails_52_ruby_24:
   <<: *ruby_24
   script:
diff --git a/Gemfile.lock b/Gemfile.lock
index ae1cd0b..6c4bba1 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -182,7 +182,7 @@ DEPENDENCIES
   active_interaction (~> 3.0)
   appraisal
   appsignal (~> 2.9.8)
-  bundler (~> 1.0)
+  bundler (~> 2.0)
   climate_control
   combustion (~> 1.1.1)
   delayed_job_active_record
@@ -199,4 +199,4 @@ DEPENDENCIES
   timecop
 
 BUNDLED WITH
-   1.17.3
+   2.1.4
diff --git a/lib/roqua/support/errors.rb b/lib/roqua/support/errors.rb
index d90b18f..341dcc2 100644
--- a/lib/roqua/support/errors.rb
+++ b/lib/roqua/support/errors.rb
@@ -33,6 +33,7 @@ module Roqua
         case category
         when :background then Appsignal::Transaction::BACKGROUND_JOB
         when :web then        Appsignal::Transaction::HTTP_REQUEST
+        when :hl7 then        'hl7'
         else                  Appsignal::Transaction::BLANK
         end
       end
diff --git a/roqua-support.gemspec b/roqua-support.gemspec
index 7490bf2..3fb9aa6 100644
--- a/roqua-support.gemspec
+++ b/roqua-support.gemspec
@@ -24,7 +24,7 @@ Gem::Specification.new do |gem|
   gem.add_dependency 'with_advisory_lock', '~> 3.2'
   gem.add_dependency 'appsignal', '~> 2.9.8'
 
-  gem.add_development_dependency 'bundler', '~> 1.0'
+  gem.add_development_dependency 'bundler', '~> 2.0'
   gem.add_development_dependency 'delayed_job_active_record'
   gem.add_development_dependency 'rake'
   gem.add_development_dependency 'rspec', '>= 2.12.0', '< 4.0'
-- 
GitLab