nsq-env 0.0.4 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/nsq-env/producer.rb +1 -1
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f197ab9f7bbf3ea6ee6d4bfe0e42a0cffb66acc6
4
- data.tar.gz: 4c4973e7cdeba34e76af3a6902c879e04fccf44d
3
+ metadata.gz: 8aa37ebd75945097e336678ccebaf266190742a2
4
+ data.tar.gz: e95bba6284e60936e33aeadbcf76f447b7e0f919
5
5
  SHA512:
6
- metadata.gz: 84daea6917ce0326a59f4344c48c0da78fa3aedd66913f48c52c1ff95db4229574c52f97dbbddd432f0df60a5901e6b5bc50a8c0192a544098004aa3d3e4d007
7
- data.tar.gz: 31ee057fa509b76d850b77fb520a8903d14f80b5bfa74d9e5c1eed75e6e5a99d672b397dec3ffebd452e857f04fa972d28f1ecfe82204a3569448b3371a58eb0
6
+ metadata.gz: 600a208a635c3826353bccd97ca9600289c74cefb02659b884f89b4862c09d202fc49ebdafbd14bd523c257886d788e20a7b6f13eb8a8287a545f399e30d8325
7
+ data.tar.gz: c94ac10165128ac72f12a7ccce3065e3dd9ab5bffde195904d8b688d0863be323f36d5cc5e18ef21b3f87d76f1042f326f06cd3fa000c6918d43cbcba5755635
@@ -5,7 +5,7 @@ module NsqEnv
5
5
  def initialize(opts = {})
6
6
  raise ArgumentError.new "opts should have a :topic key" if not opts[:topic]
7
7
 
8
- opts.merge({
8
+ opts.merge!({
9
9
  :host => ENV["NSQD_HOST"],
10
10
  :port => ENV["NSQD_PORT"],
11
11
  })
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nsq-env
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Léo Unbekandt
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.15.0
33
+ version: 0.16.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 0.15.0
40
+ version: 0.16.0
41
41
  description: |
42
42
  # Configure NSQ consumers and producers based on Krakow from environment
43
43