ztk 2.0.1 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ztk.rb +18 -18
- data/lib/ztk/dsl.rb +2 -2
- data/lib/ztk/dsl/core.rb +6 -6
- data/lib/ztk/dsl/core/actions.rb +2 -2
- data/lib/ztk/dsl/core/relations.rb +2 -2
- data/lib/ztk/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 51995730c367aad573a7ef3e29511b467db4b66f
|
4
|
+
data.tar.gz: ff200826eedc9d5578dba75a466e624a94a36101
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 603fbd897d88db627ed8a305671d53704009bb768d91c08225ba6416966a67e59e787c7da547f4d4536fa44343dff859678d8686ebf1feaebe61f8c19fb038ac
|
7
|
+
data.tar.gz: 3c50cfb817e364ee304d5c30514ee5bc45e2c1a152b5cad2b246e86cb2c875037b23f91e054e447790983a94701f8d103228fedd21b604967e93d539a36b23b1
|
data/lib/ztk.rb
CHANGED
@@ -14,24 +14,24 @@ module ZTK
|
|
14
14
|
# @author Zachary Patten <zachary AT jovelabs DOT com>
|
15
15
|
class Error < StandardError; end
|
16
16
|
|
17
|
-
|
18
|
-
|
17
|
+
require 'ztk/base'
|
18
|
+
require 'ztk/dsl'
|
19
19
|
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
20
|
+
require 'ztk/ansi'
|
21
|
+
require 'ztk/background'
|
22
|
+
require 'ztk/benchmark'
|
23
|
+
require 'ztk/command'
|
24
|
+
require 'ztk/config'
|
25
|
+
require 'ztk/locator'
|
26
|
+
require 'ztk/logger'
|
27
|
+
require 'ztk/parallel'
|
28
|
+
require 'ztk/pty'
|
29
|
+
require 'ztk/report'
|
30
|
+
require 'ztk/rescue_retry'
|
31
|
+
require 'ztk/spinner'
|
32
|
+
require 'ztk/ssh'
|
33
|
+
require 'ztk/tcp_socket_check'
|
34
|
+
require 'ztk/template'
|
35
|
+
require 'ztk/ui'
|
36
36
|
|
37
37
|
end
|
data/lib/ztk/dsl.rb
CHANGED
data/lib/ztk/dsl/core.rb
CHANGED
@@ -5,12 +5,12 @@ module ZTK::DSL
|
|
5
5
|
# @author Zachary Patten <zachary AT jovelabs DOT com>
|
6
6
|
# @api private
|
7
7
|
module Core
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
8
|
+
require 'ztk/dsl/core/attributes'
|
9
|
+
require 'ztk/dsl/core/actions'
|
10
|
+
require 'ztk/dsl/core/dataset'
|
11
|
+
require 'ztk/dsl/core/io'
|
12
|
+
require 'ztk/dsl/core/options'
|
13
|
+
require 'ztk/dsl/core/relations'
|
14
14
|
|
15
15
|
def self.included(base)
|
16
16
|
base.class_eval do
|
data/lib/ztk/dsl/core/actions.rb
CHANGED
@@ -3,8 +3,8 @@ module ZTK::DSL::Core
|
|
3
3
|
# @author Zachary Patten <zachary AT jovelabs DOT com>
|
4
4
|
# @api private
|
5
5
|
module Actions
|
6
|
-
|
7
|
-
|
6
|
+
require 'ztk/dsl/core/actions/find'
|
7
|
+
require 'ztk/dsl/core/actions/timestamps'
|
8
8
|
|
9
9
|
def self.included(base)
|
10
10
|
base.class_eval do
|
@@ -3,8 +3,8 @@ module ZTK::DSL::Core
|
|
3
3
|
# @author Zachary Patten <zachary AT jovelabs DOT com>
|
4
4
|
# @api private
|
5
5
|
module Relations
|
6
|
-
|
7
|
-
|
6
|
+
require 'ztk/dsl/core/relations/belongs_to'
|
7
|
+
require 'ztk/dsl/core/relations/has_many'
|
8
8
|
|
9
9
|
def self.included(base)
|
10
10
|
base.class_eval do
|
data/lib/ztk/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ztk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0
|
4
|
+
version: 2.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Zachary Patten
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-05-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|