gizzmo 0.3.1 → 0.3.2

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.
data/.gitignore CHANGED
@@ -19,4 +19,5 @@ rdoc
19
19
  pkg
20
20
 
21
21
  ## PROJECT::SPECIFIC
22
- tmp
22
+ tmp
23
+ gizzmo.log
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.1
1
+ 0.3.2
data/gizzmo.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{gizzmo}
8
- s.version = "0.3.1"
8
+ s.version = "0.3.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Kyle Maxwell"]
data/lib/gizzmo.rb CHANGED
@@ -181,9 +181,13 @@ unless subcommands.include?(subcommand_name)
181
181
  exit 1
182
182
  end
183
183
 
184
- log = global_options.log || "/tmp/gizzmo.log"
184
+ log = global_options.log || "./gizzmo.log"
185
185
  service = Gizzard::Thrift::ShardManager.new(global_options.host, global_options.port, log, global_options.dry)
186
186
 
187
+ while !$stdin.tty? && line = STDIN.gets
188
+ argv << line.strip
189
+ end
190
+
187
191
  begin
188
192
  Gizzard::Command.run(subcommand_name, service, global_options, argv, subcommand_options)
189
193
  rescue HelpNeededError => e
data/test/test.sh CHANGED
@@ -61,3 +61,4 @@ g links localhost/table_b_0 | expect empty-file.txt
61
61
 
62
62
  g wrap com.twitter.gizzard.shards.BlockedShard localhost/table_a_3
63
63
  g find -hlocalhost | xargs ../bin/gizzmo -Cconfig.yaml subtree 2>&1 | expect subtree.txt
64
+ g find -hlocalhost | ../bin/gizzmo -Cconfig.yaml subtree 2>&1 | expect subtree.txt
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 3
8
- - 1
9
- version: 0.3.1
8
+ - 2
9
+ version: 0.3.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Kyle Maxwell