sqewer 6.0.2 → 6.0.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1fe1dcc3096015e3410fabaf3d66f7755923bc04
4
- data.tar.gz: 3147a90a18af9825bcd7ac6926a29b66f321b4bf
3
+ metadata.gz: 358ffc94b851de9112fd13dbd5c202983b95c579
4
+ data.tar.gz: 3feb3fcdc128bdc995767f5a3c0c286afb4b68f9
5
5
  SHA512:
6
- metadata.gz: b77682c85851986480bd9fe66f55dda52afd2779523e976b1dac94a6cc58b9e1eb78b307f4cbaa803d573778b096f9c20411599eaf47caa48b1d6c9d0cb4d92d
7
- data.tar.gz: 4cb84e036ea4e7889ee6e6d1d2db6601ccde6163907331d7e7e7be3843155d1cbe3f31664eb0a3ac0936ddfec0a0272a14119ab697814b5fcb84df91ab0b41df
6
+ metadata.gz: 2a97c7ea2851ad709ca8537023a141eae3f5ddf25a2e5f10e376a16b16f6a46200169c22bbbe1c8d1549638abeadf9144953f87382a661d5e6ae46cc00e6c503
7
+ data.tar.gz: 60b4458766f77b4347b90f2b4f88ae7cc40a922af42a70a649952bd5743be065c1d6859778ed8a267635512ebb05dfd503f7580a5126e0b5bbac411a308c016b
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ### 6.0.3
2
+ - It is now no longer required to have ActiveJob loaded when integrating with Appsignal.
3
+
1
4
  ### 6.0.2
2
5
  - Fix an issue in the interaction in the Activejob extension that caused all the background jobs to show up as instances of `#run`.
3
6
 
@@ -1,7 +1,7 @@
1
1
  # ActiveJob docs: http://edgeguides.rubyonrails.org/active_job_basics.html
2
2
  # Example adapters ref: https://github.com/rails/rails/tree/master/activejob/lib/active_job/queue_adapters
3
3
  module ActiveJob
4
- # Only prepend the module with keyword agrument acceptance when the version is 4
4
+ # Only prepend the module with keyword argument acceptance when the version is 4
5
5
  # ActiveJob 5.x supports kwargs out of the box
6
6
  if ActiveJob::VERSION::MAJOR <= 4
7
7
  module Execution
@@ -59,7 +59,7 @@ module Sqewer
59
59
  end
60
60
 
61
61
  def set_transaction_details_from_job(transaction, job)
62
- job_class_string = job.is_a?(ActiveJob::QueueAdapters::SqewerAdapter::Performable) ? job.class_name : job.class.to_s
62
+ job_class_string = job.respond_to?(:class_name) ? job.class_name : job.class.to_s
63
63
  transaction.set_action('%s#%s' % [job_class_string, 'run'])
64
64
  job_params = job.respond_to?(:to_h) ? job.to_h : {}
65
65
  transaction.request.params = job_params
@@ -1,3 +1,3 @@
1
1
  module Sqewer
2
- VERSION = '6.0.2'
2
+ VERSION = '6.0.3'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sqewer
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.2
4
+ version: 6.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julik Tarkhanov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-12 00:00:00.000000000 Z
11
+ date: 2018-03-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-sqs