ztk 1.6.3 → 1.6.4

Sign up to get free protection for your applications and to get access to all the features.
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- ruby-1.9.3
1
+ ree
data/lib/ztk/ssh.rb CHANGED
@@ -19,7 +19,7 @@ module ZTK
19
19
  #
20
20
  # If you want to specify SSH options you can:
21
21
  #
22
- # keys = File.expand_path(File.join(Dir.home, '.ssh', 'id_rsa'))
22
+ # keys = File.expand_path(File.join(ENV['HOME'], '.ssh', 'id_rsa'))
23
23
  # ssh = ZTK::SSH.new(:host_name => '127.0.0.1', :user => ENV['USER'], :keys => keys)
24
24
  #
25
25
  # = Configuration Examples:
@@ -36,8 +36,8 @@ module ZTK
36
36
  # Specify an identity file:
37
37
  #
38
38
  # ssh.config do |config|
39
- # config.keys = File.expand_path(File.join(Dir.home, '.ssh', 'id_rsa'))
40
- # config.proxy_keys = File.expand_path(File.join(Dir.home, '.ssh', 'id_rsa'))
39
+ # config.keys = File.expand_path(File.join(ENV['HOME'], '.ssh', 'id_rsa'))
40
+ # config.proxy_keys = File.expand_path(File.join(ENV['HOME'], '.ssh', 'id_rsa'))
41
41
  # end
42
42
  #
43
43
  # Specify a timeout:
@@ -22,7 +22,7 @@ module ZTK
22
22
  # config.host_name = "127.0.0.1"
23
23
  # end
24
24
  # local = File.expand_path(File.join(ZTK::Locator.root, "tmp", "id_rsa.pub"))
25
- # remote = File.expand_path(File.join(Dir.home, ".ssh", "id_rsa.pub"))
25
+ # remote = File.expand_path(File.join(ENV['HOME'], ".ssh", "id_rsa.pub"))
26
26
  # ssh.download(remote, local)
27
27
  def download(remote, local, options={})
28
28
  options = {:recursive => ::File.directory?(local) }.merge(options)
@@ -13,7 +13,7 @@ module ZTK
13
13
  # config.user = ENV["USER"]
14
14
  # config.host_name = "127.0.0.1"
15
15
  # end
16
- # local = File.expand_path(File.join(Dir.home, ".ssh", "id_rsa.pub"))
16
+ # local = File.expand_path(File.join(ENV['HOME'], ".ssh", "id_rsa.pub"))
17
17
  # remote = File.expand_path(File.join(ZTK::Locator.root, "tmp", "id_rsa.pub"))
18
18
  # ssh.upload(local, remote)
19
19
  #
data/lib/ztk/version.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  module ZTK
2
2
 
3
3
  # ZTK Version String
4
- VERSION = "1.6.3"
4
+ VERSION = "1.6.4"
5
5
 
6
6
  end
metadata CHANGED
@@ -1,184 +1,172 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: ztk
3
- version: !ruby/object:Gem::Version
4
- version: 1.6.3
3
+ version: !ruby/object:Gem::Version
4
+ hash: 7
5
5
  prerelease:
6
+ segments:
7
+ - 1
8
+ - 6
9
+ - 4
10
+ version: 1.6.4
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - Zachary Patten
9
14
  autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
- date: 2013-07-01 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
15
- name: activesupport
16
- requirement: !ruby/object:Gem::Requirement
17
+
18
+ date: 2013-07-01 00:00:00 Z
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
21
+ version_requirements: &id001 !ruby/object:Gem::Requirement
17
22
  none: false
18
- requirements:
19
- - - ! '>='
20
- - !ruby/object:Gem::Version
21
- version: '0'
22
- type: :runtime
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ hash: 3
27
+ segments:
28
+ - 0
29
+ version: "0"
23
30
  prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
31
+ type: :runtime
32
+ requirement: *id001
33
+ name: activesupport
34
+ - !ruby/object:Gem::Dependency
35
+ version_requirements: &id002 !ruby/object:Gem::Requirement
25
36
  none: false
26
- requirements:
27
- - - ! '>='
28
- - !ruby/object:Gem::Version
29
- version: '0'
30
- - !ruby/object:Gem::Dependency
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ hash: 3
41
+ segments:
42
+ - 0
43
+ version: "0"
44
+ prerelease: false
45
+ type: :runtime
46
+ requirement: *id002
31
47
  name: erubis
32
- requirement: !ruby/object:Gem::Requirement
48
+ - !ruby/object:Gem::Dependency
49
+ version_requirements: &id003 !ruby/object:Gem::Requirement
33
50
  none: false
34
- requirements:
35
- - - ! '>='
36
- - !ruby/object:Gem::Version
37
- version: '0'
38
- type: :runtime
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ hash: 3
55
+ segments:
56
+ - 0
57
+ version: "0"
39
58
  prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - ! '>='
44
- - !ruby/object:Gem::Version
45
- version: '0'
46
- - !ruby/object:Gem::Dependency
59
+ type: :runtime
60
+ requirement: *id003
47
61
  name: net-ssh
48
- requirement: !ruby/object:Gem::Requirement
62
+ - !ruby/object:Gem::Dependency
63
+ version_requirements: &id004 !ruby/object:Gem::Requirement
49
64
  none: false
50
- requirements:
51
- - - ! '>='
52
- - !ruby/object:Gem::Version
53
- version: '0'
54
- type: :runtime
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ hash: 3
69
+ segments:
70
+ - 0
71
+ version: "0"
55
72
  prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
- requirements:
59
- - - ! '>='
60
- - !ruby/object:Gem::Version
61
- version: '0'
62
- - !ruby/object:Gem::Dependency
73
+ type: :runtime
74
+ requirement: *id004
63
75
  name: net-sftp
64
- requirement: !ruby/object:Gem::Requirement
76
+ - !ruby/object:Gem::Dependency
77
+ version_requirements: &id005 !ruby/object:Gem::Requirement
65
78
  none: false
66
- requirements:
67
- - - ! '>='
68
- - !ruby/object:Gem::Version
69
- version: '0'
70
- type: :runtime
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ hash: 3
83
+ segments:
84
+ - 0
85
+ version: "0"
71
86
  prerelease: false
72
- version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
- requirements:
75
- - - ! '>='
76
- - !ruby/object:Gem::Version
77
- version: '0'
78
- - !ruby/object:Gem::Dependency
87
+ type: :development
88
+ requirement: *id005
79
89
  name: pry
80
- requirement: !ruby/object:Gem::Requirement
90
+ - !ruby/object:Gem::Dependency
91
+ version_requirements: &id006 !ruby/object:Gem::Requirement
81
92
  none: false
82
- requirements:
83
- - - ! '>='
84
- - !ruby/object:Gem::Version
85
- version: '0'
86
- type: :development
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ hash: 3
97
+ segments:
98
+ - 0
99
+ version: "0"
87
100
  prerelease: false
88
- version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
- requirements:
91
- - - ! '>='
92
- - !ruby/object:Gem::Version
93
- version: '0'
94
- - !ruby/object:Gem::Dependency
101
+ type: :development
102
+ requirement: *id006
95
103
  name: rake
96
- requirement: !ruby/object:Gem::Requirement
104
+ - !ruby/object:Gem::Dependency
105
+ version_requirements: &id007 !ruby/object:Gem::Requirement
97
106
  none: false
98
- requirements:
99
- - - ! '>='
100
- - !ruby/object:Gem::Version
101
- version: '0'
102
- type: :development
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ hash: 3
111
+ segments:
112
+ - 0
113
+ version: "0"
103
114
  prerelease: false
104
- version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
- requirements:
107
- - - ! '>='
108
- - !ruby/object:Gem::Version
109
- version: '0'
110
- - !ruby/object:Gem::Dependency
115
+ type: :development
116
+ requirement: *id007
111
117
  name: rspec
112
- requirement: !ruby/object:Gem::Requirement
118
+ - !ruby/object:Gem::Dependency
119
+ version_requirements: &id008 !ruby/object:Gem::Requirement
113
120
  none: false
114
- requirements:
115
- - - ! '>='
116
- - !ruby/object:Gem::Version
117
- version: '0'
118
- type: :development
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ hash: 3
125
+ segments:
126
+ - 0
127
+ version: "0"
119
128
  prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
- requirements:
123
- - - ! '>='
124
- - !ruby/object:Gem::Version
125
- version: '0'
126
- - !ruby/object:Gem::Dependency
129
+ type: :development
130
+ requirement: *id008
127
131
  name: yard
128
- requirement: !ruby/object:Gem::Requirement
132
+ - !ruby/object:Gem::Dependency
133
+ version_requirements: &id009 !ruby/object:Gem::Requirement
129
134
  none: false
130
- requirements:
131
- - - ! '>='
132
- - !ruby/object:Gem::Version
133
- version: '0'
134
- type: :development
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ hash: 3
139
+ segments:
140
+ - 0
141
+ version: "0"
135
142
  prerelease: false
136
- version_requirements: !ruby/object:Gem::Requirement
137
- none: false
138
- requirements:
139
- - - ! '>='
140
- - !ruby/object:Gem::Version
141
- version: '0'
142
- - !ruby/object:Gem::Dependency
143
+ type: :development
144
+ requirement: *id009
143
145
  name: redcarpet
144
- requirement: !ruby/object:Gem::Requirement
146
+ - !ruby/object:Gem::Dependency
147
+ version_requirements: &id010 !ruby/object:Gem::Requirement
145
148
  none: false
146
- requirements:
147
- - - ! '>='
148
- - !ruby/object:Gem::Version
149
- version: '0'
150
- type: :development
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ hash: 3
153
+ segments:
154
+ - 0
155
+ version: "0"
151
156
  prerelease: false
152
- version_requirements: !ruby/object:Gem::Requirement
153
- none: false
154
- requirements:
155
- - - ! '>='
156
- - !ruby/object:Gem::Version
157
- version: '0'
158
- - !ruby/object:Gem::Dependency
159
- name: coveralls
160
- requirement: !ruby/object:Gem::Requirement
161
- none: false
162
- requirements:
163
- - - ! '>='
164
- - !ruby/object:Gem::Version
165
- version: '0'
166
157
  type: :development
167
- prerelease: false
168
- version_requirements: !ruby/object:Gem::Requirement
169
- none: false
170
- requirements:
171
- - - ! '>='
172
- - !ruby/object:Gem::Version
173
- version: '0'
158
+ requirement: *id010
159
+ name: coveralls
174
160
  description: Zachary's (DevOp) Tool Kit
175
- email:
161
+ email:
176
162
  - zachary AT jovelabs DOT com
177
- executables:
163
+ executables:
178
164
  - ztk
179
165
  extensions: []
166
+
180
167
  extra_rdoc_files: []
181
- files:
168
+
169
+ files:
182
170
  - .gitignore
183
171
  - .rspec
184
172
  - .ruby-gemset
@@ -261,37 +249,39 @@ files:
261
249
  - spec/ztk/version_spec.rb
262
250
  - ztk.gemspec
263
251
  homepage: https://github.com/zpatten/ztk
264
- licenses:
252
+ licenses:
265
253
  - Apache 2.0
266
254
  post_install_message:
267
255
  rdoc_options: []
268
- require_paths:
256
+
257
+ require_paths:
269
258
  - lib
270
- required_ruby_version: !ruby/object:Gem::Requirement
259
+ required_ruby_version: !ruby/object:Gem::Requirement
271
260
  none: false
272
- requirements:
273
- - - ! '>='
274
- - !ruby/object:Gem::Version
275
- version: '0'
276
- segments:
261
+ requirements:
262
+ - - ">="
263
+ - !ruby/object:Gem::Version
264
+ hash: 3
265
+ segments:
277
266
  - 0
278
- hash: 2265396699828621560
279
- required_rubygems_version: !ruby/object:Gem::Requirement
267
+ version: "0"
268
+ required_rubygems_version: !ruby/object:Gem::Requirement
280
269
  none: false
281
- requirements:
282
- - - ! '>='
283
- - !ruby/object:Gem::Version
284
- version: '0'
285
- segments:
270
+ requirements:
271
+ - - ">="
272
+ - !ruby/object:Gem::Version
273
+ hash: 3
274
+ segments:
286
275
  - 0
287
- hash: 2265396699828621560
276
+ version: "0"
288
277
  requirements: []
278
+
289
279
  rubyforge_project:
290
280
  rubygems_version: 1.8.25
291
281
  signing_key:
292
282
  specification_version: 3
293
283
  summary: Zachary's (DevOp) Tool Kit
294
- test_files:
284
+ test_files:
295
285
  - spec/spec_helper.rb
296
286
  - spec/support/before_install.sh
297
287
  - spec/support/test-config.rb