gizzmo 0.11.0 → 0.11.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +11 -16
- data/VERSION +1 -1
- data/bin/setup_shards +173 -0
- data/lib/gizzard.rb +4 -0
- data/lib/gizzard/commands.rb +286 -152
- data/lib/gizzard/migrator.rb +192 -0
- data/lib/gizzard/nameserver.rb +206 -0
- data/lib/gizzard/shard_template.rb +252 -0
- data/lib/gizzard/thrift.rb +187 -135
- data/lib/gizzard/transformation.rb +230 -0
- data/lib/gizzard/transformation_op.rb +181 -0
- data/lib/gizzard/transformation_scheduler.rb +220 -0
- data/lib/gizzmo.rb +87 -20
- data/test/gizzmo_spec.rb +499 -0
- data/test/nameserver_spec.rb +139 -0
- data/test/scheduler_spec.rb +59 -0
- data/test/shard_template_spec.rb +103 -0
- data/test/spec.opts +7 -0
- data/test/spec_helper.rb +139 -0
- data/test/test_server/.gitignore +13 -0
- data/test/test_server/project/build.properties +8 -0
- data/test/test_server/project/build/Project.scala +13 -0
- data/test/test_server/project/plugins/Plugins.scala +6 -0
- data/test/test_server/src/main/scala/Main.scala +18 -0
- data/test/test_server/src/main/scala/TestServer.scala +247 -0
- data/test/test_server/src/main/thrift/TestServer.thrift +12 -0
- data/test/transformation_spec.rb +181 -0
- metadata +32 -5
- data/gizzmo.gemspec +0 -75
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 11
|
8
|
-
-
|
9
|
-
version: 0.11.
|
8
|
+
- 1
|
9
|
+
version: 0.11.1
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Kyle Maxwell
|
@@ -14,14 +14,15 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2011-01-
|
18
|
-
default_executable:
|
17
|
+
date: 2011-01-06 00:00:00 -08:00
|
18
|
+
default_executable:
|
19
19
|
dependencies: []
|
20
20
|
|
21
21
|
description: Gizzmo is a command-line client for managing gizzard clusters.
|
22
22
|
email: kmaxwell@twitter.com
|
23
23
|
executables:
|
24
24
|
- gizzmo
|
25
|
+
- setup_shards
|
25
26
|
extensions: []
|
26
27
|
|
27
28
|
extra_rdoc_files:
|
@@ -34,11 +35,17 @@ files:
|
|
34
35
|
- Rakefile
|
35
36
|
- VERSION
|
36
37
|
- bin/gizzmo
|
37
|
-
-
|
38
|
+
- bin/setup_shards
|
38
39
|
- lib/gizzard.rb
|
39
40
|
- lib/gizzard/commands.rb
|
40
41
|
- lib/gizzard/digest.rb
|
42
|
+
- lib/gizzard/migrator.rb
|
43
|
+
- lib/gizzard/nameserver.rb
|
44
|
+
- lib/gizzard/shard_template.rb
|
41
45
|
- lib/gizzard/thrift.rb
|
46
|
+
- lib/gizzard/transformation.rb
|
47
|
+
- lib/gizzard/transformation_op.rb
|
48
|
+
- lib/gizzard/transformation_scheduler.rb
|
42
49
|
- lib/gizzmo.rb
|
43
50
|
- lib/vendor/thrift_client/simple.rb
|
44
51
|
- test/config.yaml
|
@@ -58,9 +65,23 @@ files:
|
|
58
65
|
- test/expected/unwrapped-replicating_table_b_0.txt
|
59
66
|
- test/expected/unwrapped-table_b_0.txt
|
60
67
|
- test/expected/wrap-table_b_0.txt
|
68
|
+
- test/gizzmo_spec.rb
|
61
69
|
- test/helper.rb
|
70
|
+
- test/nameserver_spec.rb
|
62
71
|
- test/recreate.sql
|
72
|
+
- test/scheduler_spec.rb
|
73
|
+
- test/shard_template_spec.rb
|
74
|
+
- test/spec.opts
|
75
|
+
- test/spec_helper.rb
|
63
76
|
- test/test.sh
|
77
|
+
- test/test_server/.gitignore
|
78
|
+
- test/test_server/project/build.properties
|
79
|
+
- test/test_server/project/build/Project.scala
|
80
|
+
- test/test_server/project/plugins/Plugins.scala
|
81
|
+
- test/test_server/src/main/scala/Main.scala
|
82
|
+
- test/test_server/src/main/scala/TestServer.scala
|
83
|
+
- test/test_server/src/main/thrift/TestServer.thrift
|
84
|
+
- test/transformation_spec.rb
|
64
85
|
has_rdoc: true
|
65
86
|
homepage: http://github.com/twitter/gizzmo
|
66
87
|
licenses: []
|
@@ -92,4 +113,10 @@ signing_key:
|
|
92
113
|
specification_version: 3
|
93
114
|
summary: Gizzmo is a command-line client for managing gizzard clusters.
|
94
115
|
test_files:
|
116
|
+
- test/gizzmo_spec.rb
|
95
117
|
- test/helper.rb
|
118
|
+
- test/nameserver_spec.rb
|
119
|
+
- test/scheduler_spec.rb
|
120
|
+
- test/shard_template_spec.rb
|
121
|
+
- test/spec_helper.rb
|
122
|
+
- test/transformation_spec.rb
|
data/gizzmo.gemspec
DELETED
@@ -1,75 +0,0 @@
|
|
1
|
-
# Generated by jeweler
|
2
|
-
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
4
|
-
# -*- encoding: utf-8 -*-
|
5
|
-
|
6
|
-
Gem::Specification.new do |s|
|
7
|
-
s.name = %q{gizzmo}
|
8
|
-
s.version = "0.11.0"
|
9
|
-
|
10
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = ["Kyle Maxwell"]
|
12
|
-
s.date = %q{2011-01-05}
|
13
|
-
s.default_executable = %q{gizzmo}
|
14
|
-
s.description = %q{Gizzmo is a command-line client for managing gizzard clusters.}
|
15
|
-
s.email = %q{kmaxwell@twitter.com}
|
16
|
-
s.executables = ["gizzmo"]
|
17
|
-
s.extra_rdoc_files = [
|
18
|
-
"LICENSE",
|
19
|
-
"README.rdoc"
|
20
|
-
]
|
21
|
-
s.files = [
|
22
|
-
".gitignore",
|
23
|
-
"LICENSE",
|
24
|
-
"README.rdoc",
|
25
|
-
"Rakefile",
|
26
|
-
"VERSION",
|
27
|
-
"bin/gizzmo",
|
28
|
-
"gizzmo.gemspec",
|
29
|
-
"lib/gizzard.rb",
|
30
|
-
"lib/gizzard/commands.rb",
|
31
|
-
"lib/gizzard/digest.rb",
|
32
|
-
"lib/gizzard/thrift.rb",
|
33
|
-
"lib/gizzmo.rb",
|
34
|
-
"lib/vendor/thrift_client/simple.rb",
|
35
|
-
"test/config.yaml",
|
36
|
-
"test/expected/deep.txt",
|
37
|
-
"test/expected/dry-wrap-table_b_0.txt",
|
38
|
-
"test/expected/empty-file.txt",
|
39
|
-
"test/expected/find-only-sql-shard-type.txt",
|
40
|
-
"test/expected/forwardings.txt",
|
41
|
-
"test/expected/help-info.txt",
|
42
|
-
"test/expected/info.txt",
|
43
|
-
"test/expected/links-for-replicating_table_b_0.txt",
|
44
|
-
"test/expected/links-for-table_b_0.txt",
|
45
|
-
"test/expected/links-for-table_repl_0.txt",
|
46
|
-
"test/expected/original-find.txt",
|
47
|
-
"test/expected/subtree-info.txt",
|
48
|
-
"test/expected/subtree.txt",
|
49
|
-
"test/expected/unwrapped-replicating_table_b_0.txt",
|
50
|
-
"test/expected/unwrapped-table_b_0.txt",
|
51
|
-
"test/expected/wrap-table_b_0.txt",
|
52
|
-
"test/helper.rb",
|
53
|
-
"test/recreate.sql",
|
54
|
-
"test/test.sh"
|
55
|
-
]
|
56
|
-
s.homepage = %q{http://github.com/twitter/gizzmo}
|
57
|
-
s.rdoc_options = ["--charset=UTF-8"]
|
58
|
-
s.require_paths = ["lib"]
|
59
|
-
s.rubygems_version = %q{1.3.6}
|
60
|
-
s.summary = %q{Gizzmo is a command-line client for managing gizzard clusters.}
|
61
|
-
s.test_files = [
|
62
|
-
"test/helper.rb"
|
63
|
-
]
|
64
|
-
|
65
|
-
if s.respond_to? :specification_version then
|
66
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
67
|
-
s.specification_version = 3
|
68
|
-
|
69
|
-
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
70
|
-
else
|
71
|
-
end
|
72
|
-
else
|
73
|
-
end
|
74
|
-
end
|
75
|
-
|