taps 0.3.7 → 0.3.8

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -63,4 +63,10 @@ task :spec do
63
63
  end
64
64
  end
65
65
 
66
+ desc "copy/paste env vars for dev testing"
67
+ task :env do
68
+ puts "export RUBYLIB='#{File.dirname(__FILE__) + '/lib'}'"
69
+ puts "export RUBYOPT='-rrubygems'"
70
+ end
71
+
66
72
  task :default => :spec
@@ -1,5 +1,5 @@
1
1
  ---
2
2
  :build:
3
3
  :minor: 3
4
- :patch: 7
4
+ :patch: 8
5
5
  :major: 0
@@ -58,7 +58,7 @@ class Operation
58
58
 
59
59
  def store_session
60
60
  file = "#{file_prefix}_#{Time.now.strftime("%Y%m%d%H%M")}.dat"
61
- puts "Saving session to #{file}.."
61
+ puts "\nSaving session to #{file}.."
62
62
  File.open(file, 'w') do |f|
63
63
  f.write(to_hash.to_json)
64
64
  end
@@ -122,7 +122,8 @@ module Utils
122
122
  end
123
123
 
124
124
  def schema_bin(*args)
125
- `'#{File.dirname(__FILE__)}/../../bin/#{bin('schema')}' #{args.map { |a| "'#{a}'" }.join(' ')}`
125
+ bin_path = File.expand_path("#{File.dirname(__FILE__)}/../../bin/#{bin('schema')}")
126
+ `'#{bin_path}' #{args.map { |a| "'#{a}'" }.join(' ')}`
126
127
  end
127
128
 
128
129
  def primary_key(db, table)
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 3
8
- - 7
9
- version: 0.3.7
8
+ - 8
9
+ version: 0.3.8
10
10
  platform: ruby
11
11
  authors:
12
12
  - Ricardo Chimal, Jr.
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-06-02 00:00:00 -07:00
17
+ date: 2010-06-03 00:00:00 -07:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency