heroku_san 0.2.1 → 0.2.2

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.
data/README.rdoc CHANGED
@@ -83,7 +83,7 @@ Frequently used tasks are not namespaced, everything else lives under heroku.
83
83
  == Links
84
84
 
85
85
  Homepage:: http://github.com/fastestforward/heroku_san
86
- Bug Tracker:: http://heroku_san.lighthouseapp.com/projects/56301-heroku_san/tickets
86
+ Issue Tracker:: http://github.com/fastestforward/heroku_san/issues
87
87
 
88
88
  == Contributors
89
89
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.1
1
+ 0.2.2
data/heroku_san.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{heroku_san}
8
- s.version = "0.2.1"
8
+ s.version = "0.2.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Elijah Miller", "Glenn Roberts"]
12
- s.date = %q{2010-07-20}
12
+ s.date = %q{2010-08-19}
13
13
  s.description = %q{Manage multiple Heroku instances/apps for a single Rails app using Rake}
14
14
  s.email = %q{glenn.roberts@siyelo.com}
15
15
  s.extra_rdoc_files = [
@@ -1,4 +1,4 @@
1
- HEROKU_CONFIG_FILE = File.join(RAILS_ROOT, 'config', 'heroku.yml')
1
+ HEROKU_CONFIG_FILE = Rails.root.join('config', 'heroku.yml')
2
2
 
3
3
  HEROKU_SETTINGS =
4
4
  if File.exists?(HEROKU_CONFIG_FILE)
@@ -40,7 +40,7 @@ namespace :heroku do
40
40
 
41
41
  list.unshift(%Q{rails --version "= #{Rails.version}"})
42
42
 
43
- File.open(File.join(RAILS_ROOT, '.gems'), 'w') do |f|
43
+ File.open(Rails.root.join('.gems'), 'w') do |f|
44
44
  f.write(list.join("\n"))
45
45
  end
46
46
  end
@@ -160,12 +160,12 @@ namespace :db do
160
160
  each_heroku_app do |name, app, repo|
161
161
  system_with_echo "heroku pgdumps:capture --app #{app}"
162
162
  dump = `heroku pgdumps --app #{app}`.split("\n").last.split(" ").first
163
- system_with_echo "mkdir -p #{RAILS_ROOT}/db/dumps"
164
- file = "#{RAILS_ROOT}/db/dumps/#{dump}.sql.gz"
163
+ system_with_echo "mkdir -p #{Rails.root}/db/dumps"
164
+ file = "#{Rails.root}/db/dumps/#{dump}.sql.gz"
165
165
  url = `heroku pgdumps:url --app #{app} #{dump}`.chomp
166
166
  system_with_echo "wget", url, "-O", file
167
167
  system_with_echo "rake db:drop db:create"
168
- system_with_echo "gunzip -c #{file} | #{RAILS_ROOT}/script/dbconsole"
168
+ system_with_echo "gunzip -c #{file} | #{Rails.root}/script/dbconsole"
169
169
  system_with_echo "rake jobs:clear"
170
170
  end
171
171
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: heroku_san
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 19
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 1
10
- version: 0.2.1
9
+ - 2
10
+ version: 0.2.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Elijah Miller
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2010-07-20 00:00:00 -04:00
19
+ date: 2010-08-19 00:00:00 -04:00
20
20
  default_executable:
21
21
  dependencies: []
22
22