nchan_tools 0.1.7 → 0.1.8

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: 9cce7f7cc54b6764afddca855f9e1a58d929f05a81b7d364489ff87d9f298e81
4
- data.tar.gz: 9892571bd84b6779007eaf94a151f1d0e42209396848bddf22e3bcfabe83475d
3
+ metadata.gz: 248e672dca0bd32b3f19b72ebbb6bdf9074cdb71f94ae61d26c5e06019abcba8
4
+ data.tar.gz: 0167f0442b2a325f25b64a93916563b9e53de250dff7401c7471735d7854feec
5
5
  SHA512:
6
- metadata.gz: 23fb2e18d4885b2cdff8fbb8e79ed1b99fd65ff51f247ba908b24bb604c0a541c7d553e264578a8d799c7edd35c545bb9275e50704ea20b2009c363f459ec425
7
- data.tar.gz: fbdfd34328967212fcbff8f491cf2109da6ba5b3856d07abe654992197fad874bb844a5a7ec7ac26b4db0b177d2e37bfb1b8d45c33c4ecc4a3cb60192818bf07
6
+ metadata.gz: 9da652c3162c4911784bf0e2b0442e63aa2a766a213b2edd3dd9ffaef2005a4f66dc7cf5ef3992ca655ebc8782d1c0468b1f14a97b268216b1f746c95b2a6cb9
7
+ data.tar.gz: 4b9b7be540e3a4584cb8eeaaffcedd673e3d657d852639f5946e31e07110b43c1c167df1d39339d87ef4bf091ae560e95a017b7385b6e032da0abc3983d69269
@@ -10,13 +10,6 @@ $opt = {
10
10
  command: nil
11
11
  }
12
12
 
13
- def dbg(...)
14
- if $opt[:verbose]
15
- print("# ")
16
- puts(...)
17
- end
18
- end
19
-
20
13
  opt_parser=OptionParser.new do |opts|
21
14
  opts.on("--url", "--url REDIS_URL (#{$opt[:url]})", "Redis server and port..") do |v|
22
15
  $opt[:url]=v
@@ -1,6 +1,14 @@
1
1
  class Rdsck
2
2
  attr_accessor :url, :verbose, :namespace
3
3
  attr_accessor :redis, :masters
4
+
5
+ def dbg(*args)
6
+ if $opt[:verbose]
7
+ print("# ")
8
+ puts(*args)
9
+ end
10
+ end
11
+
4
12
  def initialize(opt)
5
13
  @url=opt[:url]
6
14
  @verbose=opt[:verbose]
@@ -1,3 +1,3 @@
1
1
  module NchanTools
2
- VERSION = "0.1.7"
2
+ VERSION = "0.1.8"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nchan_tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leo Ponomarev
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-12-29 00:00:00.000000000 Z
11
+ date: 2021-01-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus