ztk 1.9.0 → 1.9.1

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -7,4 +7,8 @@ if (RUBY_VERSION < "1.9.3")
7
7
  gem "redcarpet", "< 3.0.0"
8
8
  end
9
9
 
10
+ if (RUBY_VERSION < "1.9.2")
11
+ gem "mime-types", "< 2.0"
12
+ end
13
+
10
14
  gemspec
@@ -26,7 +26,9 @@ module ZTK
26
26
  def bootstrap(content, options={})
27
27
  options = {
28
28
  :silence => true,
29
- :use_sudo => true
29
+ :use_sudo => true,
30
+ :set_x => true,
31
+ :set_e => false
30
32
  }.merge(options)
31
33
 
32
34
  bootstrap_tempfile = Tempfile.new("bootstrap")
@@ -41,6 +43,8 @@ module ZTK
41
43
  command = Array.new
42
44
  command << %(sudo) if (options[:use_sudo] == true)
43
45
  command << %(/bin/bash)
46
+ command << %(-x) if (options[:set_x] == true)
47
+ command << %(-e) if (options[:set_e] == true)
44
48
  command << remote_tempfile
45
49
  command = command.join(' ')
46
50
 
@@ -1,6 +1,6 @@
1
1
  module ZTK
2
2
 
3
3
  # ZTK Version String
4
- VERSION = "1.9.0"
4
+ VERSION = "1.9.1"
5
5
 
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ztk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.0
4
+ version: 1.9.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-09-14 00:00:00.000000000 Z
12
+ date: 2013-12-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -275,7 +275,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
275
275
  version: '0'
276
276
  segments:
277
277
  - 0
278
- hash: 2100749939518044855
278
+ hash: -4609495191496685449
279
279
  required_rubygems_version: !ruby/object:Gem::Requirement
280
280
  none: false
281
281
  requirements:
@@ -284,7 +284,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
284
284
  version: '0'
285
285
  segments:
286
286
  - 0
287
- hash: 2100749939518044855
287
+ hash: -4609495191496685449
288
288
  requirements: []
289
289
  rubyforge_project:
290
290
  rubygems_version: 1.8.25