ztk 2.0.1 → 2.1.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7c749fb44dbb0ecd765c34c686477ee483614417
4
- data.tar.gz: b6745ca013f7956ba362807542a97f9aa8f9a3f2
3
+ metadata.gz: 51995730c367aad573a7ef3e29511b467db4b66f
4
+ data.tar.gz: ff200826eedc9d5578dba75a466e624a94a36101
5
5
  SHA512:
6
- metadata.gz: 463364a8b5774faf2e1a5f1c27235c023a0950c10040147d045e525ae2d77d3542c24eb928b8b95bcb6e6f5f2d79be698709e1ccfeb9245dc493125da1cb0431
7
- data.tar.gz: baa62c1544cef40fb385180fd6a947db0f8dadf0814ac05647421853c858ef260069ee0803abd466ab07d7d8b243bbfbb72b0fe77932ab91a69a25b1df6e851d
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
- autoload :Base, "ztk/base"
18
- autoload :DSL, "ztk/dsl"
17
+ require 'ztk/base'
18
+ require 'ztk/dsl'
19
19
 
20
- autoload :ANSI, "ztk/ansi"
21
- autoload :Background, "ztk/background"
22
- autoload :Benchmark, "ztk/benchmark"
23
- autoload :Command, "ztk/command"
24
- autoload :Config, "ztk/config"
25
- autoload :Locator, "ztk/locator"
26
- autoload :Logger, "ztk/logger"
27
- autoload :Parallel, "ztk/parallel"
28
- autoload :PTY, "ztk/pty"
29
- autoload :Report, "ztk/report"
30
- autoload :RescueRetry, "ztk/rescue_retry"
31
- autoload :Spinner, "ztk/spinner"
32
- autoload :SSH, "ztk/ssh"
33
- autoload :TCPSocketCheck, "ztk/tcp_socket_check"
34
- autoload :Template, "ztk/template"
35
- autoload :UI, "ztk/ui"
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
@@ -11,8 +11,8 @@ module ZTK
11
11
  # @author Zachary Patten <zachary AT jovelabs DOT com>
12
12
  class DSLError < Error; end
13
13
 
14
- autoload :Base, "ztk/dsl/base"
15
- autoload :Core, "ztk/dsl/core"
14
+ require 'ztk/dsl/core'
15
+ require 'ztk/dsl/base'
16
16
 
17
17
  end
18
18
  end
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
- autoload :Attributes, 'ztk/dsl/core/attributes'
9
- autoload :Actions, 'ztk/dsl/core/actions'
10
- autoload :Dataset, 'ztk/dsl/core/dataset'
11
- autoload :IO, 'ztk/dsl/core/io'
12
- autoload :Options, 'ztk/dsl/core/options'
13
- autoload :Relations, 'ztk/dsl/core/relations'
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
@@ -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
- autoload :Find, "ztk/dsl/core/actions/find"
7
- autoload :Timestamps, "ztk/dsl/core/actions/timestamps"
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
- autoload :BelongsTo, "ztk/dsl/core/relations/belongs_to"
7
- autoload :HasMany, "ztk/dsl/core/relations/has_many"
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
@@ -1,6 +1,6 @@
1
1
  module ZTK
2
2
 
3
3
  # ZTK Version String
4
- VERSION = "2.0.1"
4
+ VERSION = "2.1.0"
5
5
 
6
6
  end
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.1
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-04-27 00:00:00.000000000 Z
11
+ date: 2014-05-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport