fleck 0.1.0 → 0.1.1

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: 24b9067f1d101ff5cadc4166c022214fda4d9d13
4
- data.tar.gz: 14863e29b01553bccc160a5e88f08bf39886f16f
3
+ metadata.gz: db88918b523fdd99f7012fbc62e4cba76fa9608b
4
+ data.tar.gz: 980ec9d1ce72cbf407afb6e6196fde6f4b3fadfa
5
5
  SHA512:
6
- metadata.gz: 823e39b13adf5a7d0843e61004eb3b9c44b34011a9fafce94fbee64c832d62f97dc21e0b095a493e65fc179ebf2eb8edf68bface5aedb61c287cdacde6241447
7
- data.tar.gz: f7f5765eb76bf403a3edd7b5d0575747266c75d02435e9e50f2d373541c7d1eda534706f922d93f26cae3733a0a8ede3aa3e1c9a9cca9cc3213bbabab6a6a71d
6
+ metadata.gz: 87f78806cbf265ac005aeafe5de931eb1a72ce93ab98667d0ce5764a9e68c4622d1ce64c8a69909b13e65880b37c2acbabe8a1729b1bcbfede3f0987ff80b99a
7
+ data.tar.gz: a4233f4a52c89178363be0177dfc98da976e1b777e8a21fac70dfda2c01c4349a55fc3e4516a07430e00cb178038377c78cf1817074cfedc499e9dc09023ea01
data/README.md CHANGED
@@ -103,7 +103,8 @@ end
103
103
  This code will automatically automatically start `N` instances of MyConsumer in background (you don't have to do anything), that will start consuming
104
104
  messages from `my.queue` and will respond with a 200 status when the randomly generated number is greater than `0.1` and with a 500 otherwise.
105
105
 
106
- **NOTE**:
106
+ **NOTE**: the default status code of the response is 200, but if any uncaught exception is raised from within `#on_message` method, the status
107
+ will automatically change to 500 and will add `"Internal Server Error"` message to response errors array.
107
108
 
108
109
 
109
110
  ## Contributing
@@ -1,7 +1,7 @@
1
1
 
2
2
  class HashWithIndifferentAccess < Hash
3
3
  def initialize(original)
4
- super
4
+ super(nil)
5
5
  copy_from(original)
6
6
  end
7
7
 
data/lib/fleck/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Fleck
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fleck
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Groza Sergiu