lessormq-rails 0.4.11 → 0.4.12

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
  SHA256:
3
- metadata.gz: baf73da0f0172c0de9ce5635e7f8cbd9ce7a904c71511d29142c0933ff8bd4f6
4
- data.tar.gz: 6d00872cd4067e785a62a7162d2189329d5ec292286dad0eda1750295de995ba
3
+ metadata.gz: a881149f19c1abf92110e8e45ec20da3e0fe5b610b9d3f88d41bfeea50769b7c
4
+ data.tar.gz: aaf45db6f734110fe2d1b8f1f7d81ead2fa1deb1ff234969e35811e474cacb0f
5
5
  SHA512:
6
- metadata.gz: a560d6023f4e5e0570199abb4430cb9d4a5db3c301d4768a8173c2260b1daf6c95b6c367b5772401b8f6e8e800e6c932af6e91eba70897aff5e90f4ca13bdd1f
7
- data.tar.gz: 222f3807f21a25e403a0399217b5514940cb8e2158ecdeacecc3d3289c9bf833c10d3fdb680186a4514ff916afa46e562601d21770e4751fc10db2b95bdff753
6
+ metadata.gz: c9982fb3e8d467164abcc82730d859e82b6758a6f43effb0a188d356be9251cf8661052c8bc219ef2d2b39b75a6edbc25c8b85b3325e43a3f5d07e8cad7e5986
7
+ data.tar.gz: 1afca1b0518c89abb6d7972027a13daa43f90e7dd630715da4ead5fca7a8bc4e0ebd0f0e961d95d5e38af30422f9e2ea71a5b76297c6f3e4ba26197f84cf3580
@@ -4,6 +4,6 @@ module LessorMQ
4
4
  module Rails
5
5
  # Written from the git tag when the gem is released, as the lessormq gem's; this gem
6
6
  # requires lessormq of the same version or a later patch.
7
- VERSION = "0.4.11"
7
+ VERSION = "0.4.12"
8
8
  end
9
9
  end
@@ -10,6 +10,9 @@ module LessorMQ
10
10
  #
11
11
  # Inside this module +Rails+ is LessorMQ::Rails: the framework is always ::Rails.
12
12
  module Rails
13
+ # lessormq-rails/0.4.10 lessormq-ruby/0.4.10: this adapter and the client it runs on.
14
+ USER_AGENT = "lessormq-rails/#{VERSION} #{LessorMQ::Client::USER_AGENT}"
15
+
13
16
  # How to reach the server and how the worker claims. There is nothing about retries:
14
17
  # those are the queue's settings.
15
18
  class Configuration
@@ -44,7 +47,8 @@ module LessorMQ
44
47
  raise ArgumentError, "LessorMQ: set config.lessormq.url and api_key (or LESSORMQ_URL and LESSORMQ_KEY)" \
45
48
  if url.to_s.empty? || api_key.to_s.empty?
46
49
 
47
- LessorMQ::Client.new(url, api_key, http_retries: http_retries, timeout: timeout, logger: logger)
50
+ LessorMQ::Client.new(url, api_key, http_retries: http_retries, timeout: timeout, logger: logger,
51
+ user_agent: USER_AGENT)
48
52
  end
49
53
  end
50
54
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lessormq-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.11
4
+ version: 0.4.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - LessorMQ
@@ -35,14 +35,14 @@ dependencies:
35
35
  requirements:
36
36
  - - "~>"
37
37
  - !ruby/object:Gem::Version
38
- version: 0.4.11
38
+ version: 0.4.12
39
39
  type: :runtime
40
40
  prerelease: false
41
41
  version_requirements: !ruby/object:Gem::Requirement
42
42
  requirements:
43
43
  - - "~>"
44
44
  - !ruby/object:Gem::Version
45
- version: 0.4.11
45
+ version: 0.4.12
46
46
  - !ruby/object:Gem::Dependency
47
47
  name: railties
48
48
  requirement: !ruby/object:Gem::Requirement