postburner 0.7.0 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9d8b5fb47d69c141d348c00520ff51579fc67f8300ac804f75b96cb023a8c584
4
- data.tar.gz: 49d79bc8e8e04edc9cca6d74e5f66326573a8defc859fc54d875c02dee626e4b
3
+ metadata.gz: 74d577811ded71db9296138442288dd53a0eb46718b8980564a84032c3a7b564
4
+ data.tar.gz: b97fb1adb55232e5c2293d88c852ab496f3519ad740b2f0d5df8d68f7d663e97
5
5
  SHA512:
6
- metadata.gz: 9f835395176f8ce70a2790e2e6f34e08ae051fde7711bd2ed17f83f2f211133dc15ba914967e5cf0737ab57b4e1737ea055cbb283ff4223f76921ad1dd2aea29
7
- data.tar.gz: a793a67476072574c1f5e1a2439d21377ea2074053a3ef6834daac4c28fe9e72048e0d6333c1536dce4dcf8801ea449d8f506dd3e76c0d2af8631c21b94b304b
6
+ metadata.gz: 995fe1db553b3e2b698427eeb061a6e5463011ed29315dbd5280f8a1d4c46f6f1c4a15607b80c58d2ba393d896e15f38baa4581a616a758f7f57ffda8d57ac70
7
+ data.tar.gz: d123415e6a7a4329a1897922ab6619a032fc5c61b501fb612dcfa9eb370ec45da97b3ff0787a2baf25101fd7fadee572c620f1fb32dbb202ee76c4f4e67a224d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## v0.7.1 - 2022-10-30
4
+
5
+ ### Changed
6
+ - return true from insert_if_queued! and log response to Rails logger.
7
+
3
8
  ## v0.7.0 - 2022-10-24
4
9
 
5
10
  ### Added
@@ -261,7 +261,9 @@ module Postburner
261
261
 
262
262
  def insert_if_queued!
263
263
  return unless self.will_insert?
264
- insert!(@_insert_options)
264
+ backburner_response = insert!(@_insert_options)
265
+ Rails.logger.info "[Postburner] Backburner::Worker#enqueue for #{self.id}: #{backburner_response}"
266
+ true
265
267
  end
266
268
 
267
269
  def insert!(options={})
@@ -1,3 +1,3 @@
1
1
  module Postburner
2
- VERSION = '0.7.0'
2
+ VERSION = '0.7.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: postburner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Smith
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-24 00:00:00.000000000 Z
11
+ date: 2022-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails