nsq-env 1.1.0 → 1.1.1

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 +5 -5
  2. data/lib/nsq-env/producer.rb +0 -2
  3. metadata +3 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: b1441fb8bec51ce0c93f20dd8d11c01c7a01c447
4
- data.tar.gz: fef8316538b01db943c6c29748f2ced079028b63
2
+ SHA256:
3
+ metadata.gz: 101c4025658c9dfc6bfd945911630b72baadb11c94458cb6197d443e5c21803c
4
+ data.tar.gz: eb71f382f767d76c9f5213b034733658e1788f1a0bc2779b3bce5e3216de7145
5
5
  SHA512:
6
- metadata.gz: 4e9ce88c8a6dd4ee34bf58d6c84ba3d3e4f8abc35ae9a12a30e1352539cc02f6199bcac1a7f026e70ef8db96063c4d33ac22e24ea3075f4150ed84bd549a782c
7
- data.tar.gz: 155d82f1b901e7fb5865b426af459c26feadaf5a03e6d5db0cf2361b1643072b1cb75144301746186ba37a5dfa52f8c5826bc52cad3992a0520dde605582ee3a
6
+ metadata.gz: 6e593dc14683c53b1c7b6d2f075c355f0e3447847ad47868eed58ea7a7a1f125a6e387acc4e2980b529ef3b3ca1ab719c96397f22604376c72037556473a2d37
7
+ data.tar.gz: 5079c41a11dd67ca83e34f50e93ae97c63617adf20b21a82bd4fc82259f3fb4e707f0a18461769dbfb783e0aa77fa64c36fee3c498640aafee18c7e90165961f
@@ -3,8 +3,6 @@ require 'nsq'
3
3
  module NsqEnv
4
4
  class Producer < Nsq::Producer
5
5
  def initialize(opts = {})
6
- raise ArgumentError.new "opts should have a :topic key" if not opts[:topic]
7
-
8
6
  opts[:nsqd] = NsqEnv::nsqds
9
7
 
10
8
  opts.merge! TLSContext.env if ENV["NSQD_TLS"] == "true"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nsq-env
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Léo Unbekandt
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-08-06 00:00:00.000000000 Z
11
+ date: 2019-01-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nsq-ruby
@@ -64,8 +64,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
64
64
  - !ruby/object:Gem::Version
65
65
  version: '0'
66
66
  requirements: []
67
- rubyforge_project:
68
- rubygems_version: 2.6.13
67
+ rubygems_version: 3.0.1
69
68
  signing_key:
70
69
  specification_version: 4
71
70
  summary: Build consumers and producers with help of environment