hobo_support 1.3.0.pre13 → 1.3.0.pre14

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.3.0.pre13
1
+ 1.3.0.pre14
@@ -1,4 +1,5 @@
1
1
  require 'fileutils'
2
+ require 'tmpdir'
2
3
 
3
4
  module HoboSupport
4
5
  module Command
@@ -49,7 +50,7 @@ Dev Notes:
49
50
  puts banner
50
51
  exit
51
52
  end
52
- template_path = "/tmp/hobo_app_template"
53
+ template_path = File.join Dir.tmpdir, "hobo_app_template"
53
54
  File.open(template_path, 'w') do |file|
54
55
  if ENV["HOBODEV"]
55
56
  dev_root = File.expand_path ENV["HOBODEV"], FileUtils.pwd
@@ -1,4 +1,5 @@
1
1
  require 'hobo_support/module'
2
+
2
3
  module HoboSupport
3
4
  CommonTasks = classy_module do
4
5
 
@@ -13,8 +14,6 @@ namespace :test do
13
14
  task :prepare_testapp, :force do |t, args|
14
15
  if args.force || !File.directory?(TESTAPP_PATH)
15
16
  remove_entry_secure( TESTAPP_PATH, true )
16
- # hobodev = %(HOBODEV=#{ENV["HOBODEV"]}) if ENV["HOBODEV"]
17
- # sh %(export #{hobodev})
18
17
  sh %(#{BIN} new #{TESTAPP_PATH} --skip-wizard)
19
18
  chdir TESTAPP_PATH
20
19
  sh %(echo "gem 'irt', :group => :console" >> Gemfile) # to make the bundler happy
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hobo_support
3
3
  version: !ruby/object:Gem::Version
4
- hash: -1637175964
4
+ hash: -1637175963
5
5
  prerelease: true
6
6
  segments:
7
7
  - 1
8
8
  - 3
9
9
  - 0
10
- - pre13
11
- version: 1.3.0.pre13
10
+ - pre14
11
+ version: 1.3.0.pre14
12
12
  platform: ruby
13
13
  authors:
14
14
  - Tom Locke
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2010-10-20 00:00:00 -04:00
19
+ date: 2010-10-27 00:00:00 -04:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency