heroku_san 0.2.4 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +15 -12
- data/VERSION +1 -1
- data/heroku_san.gemspec +4 -6
- data/lib/heroku_san.rb +1 -0
- data/lib/heroku_san/railtie.rb +9 -0
- metadata +6 -8
- data/init.rb +0 -1
- data/rails/init.rb +0 -0
- data/uninstall.rb +0 -1
data/README.rdoc
CHANGED
@@ -4,7 +4,18 @@ Helpful rake tasks for Heroku.
|
|
4
4
|
|
5
5
|
== Install
|
6
6
|
|
7
|
-
|
7
|
+
=== Rails 3
|
8
|
+
|
9
|
+
Add this to your Gemfile:
|
10
|
+
|
11
|
+
group :development do
|
12
|
+
gem 'heroku'
|
13
|
+
gem 'heroku_san'
|
14
|
+
end
|
15
|
+
|
16
|
+
=== Rails 2
|
17
|
+
|
18
|
+
To install add the following to config/environment.rb:
|
8
19
|
|
9
20
|
config.gem 'heroku_san'
|
10
21
|
|
@@ -16,19 +27,11 @@ Rake tasks are not automatically loaded from gems, so you’ll need to add the f
|
|
16
27
|
STDERR.puts "Run `rake gems:install` to install heroku_san"
|
17
28
|
end
|
18
29
|
|
19
|
-
To install as a plugin:
|
20
|
-
|
21
|
-
script/plugin install git://github.com/fastestforward/heroku_san.git
|
22
|
-
|
23
30
|
== Configure
|
24
31
|
|
25
|
-
In config/heroku.yml you will need add the Heroku apps that you would like to attach to this project.
|
26
|
-
|
27
|
-
|
28
|
-
# shorthand: heroku app
|
29
|
-
production: awesomeapp
|
30
|
-
staging: awesomeapp-staging
|
31
|
-
demo: awesomeapp-demo
|
32
|
+
In config/heroku.yml you will need add the Heroku apps that you would like to attach to this project. You can generate this file and edit it by running:
|
33
|
+
|
34
|
+
rake heroku:create_config
|
32
35
|
|
33
36
|
If this is a fresh project, heroku_san can create all the applications for
|
34
37
|
you, and set the RACK_ENV.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
1.0.0
|
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.
|
8
|
+
s.version = "1.0.0"
|
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-
|
12
|
+
s.date = %q{2010-10-02}
|
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 = [
|
@@ -26,14 +26,12 @@ Gem::Specification.new do |s|
|
|
26
26
|
"TODO",
|
27
27
|
"VERSION",
|
28
28
|
"heroku_san.gemspec",
|
29
|
-
"init.rb",
|
30
29
|
"install.rb",
|
31
30
|
"lib/heroku_san.rb",
|
31
|
+
"lib/heroku_san/railtie.rb",
|
32
32
|
"lib/heroku_san/tasks.rb",
|
33
33
|
"lib/tasks/heroku.rake",
|
34
|
-
"lib/templates/heroku.example.yml"
|
35
|
-
"rails/init.rb",
|
36
|
-
"uninstall.rb"
|
34
|
+
"lib/templates/heroku.example.yml"
|
37
35
|
]
|
38
36
|
s.homepage = %q{http://github.com/glennr/heroku_san}
|
39
37
|
s.rdoc_options = ["--charset=UTF-8"]
|
data/lib/heroku_san.rb
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
require 'heroku_san/railtie' if defined?(Rails)
|
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:
|
4
|
+
hash: 23
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
|
+
- 1
|
7
8
|
- 0
|
8
|
-
-
|
9
|
-
|
10
|
-
version: 0.2.4
|
9
|
+
- 0
|
10
|
+
version: 1.0.0
|
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-
|
19
|
+
date: 2010-10-02 00:00:00 -04:00
|
20
20
|
default_executable:
|
21
21
|
dependencies: []
|
22
22
|
|
@@ -39,14 +39,12 @@ files:
|
|
39
39
|
- TODO
|
40
40
|
- VERSION
|
41
41
|
- heroku_san.gemspec
|
42
|
-
- init.rb
|
43
42
|
- install.rb
|
44
43
|
- lib/heroku_san.rb
|
44
|
+
- lib/heroku_san/railtie.rb
|
45
45
|
- lib/heroku_san/tasks.rb
|
46
46
|
- lib/tasks/heroku.rake
|
47
47
|
- lib/templates/heroku.example.yml
|
48
|
-
- rails/init.rb
|
49
|
-
- uninstall.rb
|
50
48
|
has_rdoc: true
|
51
49
|
homepage: http://github.com/glennr/heroku_san
|
52
50
|
licenses: []
|
data/init.rb
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
require File.join(File.dirname(__FILE__), 'rails', 'init')
|
data/rails/init.rb
DELETED
File without changes
|
data/uninstall.rb
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
# Uninstall hook code here
|