ztk 0.3.1 → 1.0.0.rc.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +7 -5
- data/.yardopts +2 -0
- data/README.md +3 -3
- data/Rakefile +39 -0
- data/lib/ztk/background.rb +14 -6
- data/lib/ztk/base.rb +20 -5
- data/lib/ztk/benchmark.rb +33 -1
- data/lib/ztk/command.rb +24 -14
- data/lib/ztk/config.rb +0 -1
- data/lib/ztk/dsl/base.rb +76 -0
- data/lib/ztk/dsl/core/actions/find.rb +49 -0
- data/lib/ztk/dsl/core/actions/timestamps.rb +47 -0
- data/lib/ztk/dsl/core/actions.rb +34 -0
- data/lib/ztk/dsl/core/attributes.rb +53 -0
- data/lib/ztk/dsl/core/dataset.rb +66 -0
- data/lib/ztk/dsl/core/io.rb +41 -0
- data/lib/ztk/dsl/core/relations/belongs_to.rb +135 -0
- data/lib/ztk/dsl/core/relations/has_many.rb +105 -0
- data/lib/ztk/dsl/core/relations.rb +45 -0
- data/lib/ztk/dsl/core.rb +77 -0
- data/lib/ztk/dsl.rb +34 -0
- data/lib/ztk/logger.rb +14 -1
- data/lib/ztk/parallel.rb +2 -2
- data/lib/ztk/report.rb +43 -1
- data/lib/ztk/rescue_retry.rb +39 -1
- data/lib/ztk/spinner.rb +27 -8
- data/lib/ztk/ssh.rb +29 -28
- data/lib/ztk/tcp_socket_check.rb +1 -2
- data/lib/ztk/template.rb +0 -1
- data/lib/ztk/ui.rb +47 -0
- data/lib/ztk/version.rb +4 -1
- data/lib/ztk.rb +20 -14
- data/spec/ztk/background_spec.rb +60 -0
- data/spec/ztk/dsl_spec.rb +635 -0
- data/ztk.gemspec +4 -2
- metadata +38 -9
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ztk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
5
|
-
prerelease:
|
4
|
+
version: 1.0.0.rc.0
|
5
|
+
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Zachary Patten
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-01-
|
12
|
+
date: 2013-01-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: erubis
|
@@ -59,6 +59,22 @@ dependencies:
|
|
59
59
|
- - ! '>='
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0'
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: activesupport
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ! '>='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
70
|
+
type: :runtime
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
62
78
|
- !ruby/object:Gem::Dependency
|
63
79
|
name: pry
|
64
80
|
requirement: !ruby/object:Gem::Requirement
|
@@ -167,6 +183,7 @@ files:
|
|
167
183
|
- .rspec
|
168
184
|
- .rvmrc.template
|
169
185
|
- .travis.yml
|
186
|
+
- .yardopts
|
170
187
|
- Gemfile
|
171
188
|
- LICENSE
|
172
189
|
- README.md
|
@@ -178,6 +195,18 @@ files:
|
|
178
195
|
- lib/ztk/benchmark.rb
|
179
196
|
- lib/ztk/command.rb
|
180
197
|
- lib/ztk/config.rb
|
198
|
+
- lib/ztk/dsl.rb
|
199
|
+
- lib/ztk/dsl/base.rb
|
200
|
+
- lib/ztk/dsl/core.rb
|
201
|
+
- lib/ztk/dsl/core/actions.rb
|
202
|
+
- lib/ztk/dsl/core/actions/find.rb
|
203
|
+
- lib/ztk/dsl/core/actions/timestamps.rb
|
204
|
+
- lib/ztk/dsl/core/attributes.rb
|
205
|
+
- lib/ztk/dsl/core/dataset.rb
|
206
|
+
- lib/ztk/dsl/core/io.rb
|
207
|
+
- lib/ztk/dsl/core/relations.rb
|
208
|
+
- lib/ztk/dsl/core/relations/belongs_to.rb
|
209
|
+
- lib/ztk/dsl/core/relations/has_many.rb
|
181
210
|
- lib/ztk/logger.rb
|
182
211
|
- lib/ztk/parallel.rb
|
183
212
|
- lib/ztk/report.rb
|
@@ -186,6 +215,7 @@ files:
|
|
186
215
|
- lib/ztk/ssh.rb
|
187
216
|
- lib/ztk/tcp_socket_check.rb
|
188
217
|
- lib/ztk/template.rb
|
218
|
+
- lib/ztk/ui.rb
|
189
219
|
- lib/ztk/version.rb
|
190
220
|
- spec/spec_helper.rb
|
191
221
|
- spec/support/test-config.rb
|
@@ -195,6 +225,7 @@ files:
|
|
195
225
|
- spec/ztk/benchmark_spec.rb
|
196
226
|
- spec/ztk/command_spec.rb
|
197
227
|
- spec/ztk/config_spec.rb
|
228
|
+
- spec/ztk/dsl_spec.rb
|
198
229
|
- spec/ztk/logger_spec.rb
|
199
230
|
- spec/ztk/parallel_spec.rb
|
200
231
|
- spec/ztk/rescue_retry_spec.rb
|
@@ -217,16 +248,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
217
248
|
version: '0'
|
218
249
|
segments:
|
219
250
|
- 0
|
220
|
-
hash: -
|
251
|
+
hash: -2271608271036724635
|
221
252
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
222
253
|
none: false
|
223
254
|
requirements:
|
224
|
-
- - ! '
|
255
|
+
- - ! '>'
|
225
256
|
- !ruby/object:Gem::Version
|
226
|
-
version:
|
227
|
-
segments:
|
228
|
-
- 0
|
229
|
-
hash: -4389390539649954166
|
257
|
+
version: 1.3.1
|
230
258
|
requirements: []
|
231
259
|
rubyforge_project:
|
232
260
|
rubygems_version: 1.8.24
|
@@ -242,6 +270,7 @@ test_files:
|
|
242
270
|
- spec/ztk/benchmark_spec.rb
|
243
271
|
- spec/ztk/command_spec.rb
|
244
272
|
- spec/ztk/config_spec.rb
|
273
|
+
- spec/ztk/dsl_spec.rb
|
245
274
|
- spec/ztk/logger_spec.rb
|
246
275
|
- spec/ztk/parallel_spec.rb
|
247
276
|
- spec/ztk/rescue_retry_spec.rb
|