heroku-rails 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- heroku-rails (0.2.1)
5
- heroku
4
+ heroku-rails (0.2.2)
5
+ heroku (>= 1.11.0)
6
6
 
7
7
  GEM
8
8
  remote: http://rubygems.org/
@@ -60,7 +60,7 @@ PLATFORMS
60
60
  DEPENDENCIES
61
61
  autotest
62
62
  growl-glue
63
- heroku
63
+ heroku (>= 1.11.0)
64
64
  heroku-rails!
65
65
  rspec (~> 2.0)
66
66
  ruby-debug
data/README.md CHANGED
@@ -37,12 +37,6 @@ In config/heroku.yml you will need add the Heroku apps that you would like to at
37
37
 
38
38
  rails generate heroku:config
39
39
 
40
- Then edit config/heroku.yml with your project's heroku configurations. To persist the changes onto Heroku, just run:
41
-
42
- rake all heroku:setup
43
-
44
- This will create the heroku apps you have defined, and create the settings for each.
45
-
46
40
  ### Example Configuration File
47
41
 
48
42
  apps:
@@ -83,6 +77,17 @@ This will create the heroku apps you have defined, and create the settings for e
83
77
  # list production env specific addons here
84
78
 
85
79
 
80
+ ### Setting up Heroku
81
+
82
+ To set heroku up (using your heroku.yml), just run.
83
+
84
+ rake all heroku:setup
85
+
86
+ This will create the heroku apps you have defined, and create the settings for each.
87
+
88
+ Run `rake heroku:setup` every time you edit the heroku.yml. It will only make incremental changes (based on what you've added/removed). If nothing has changed in the heroku.yml since the last `heroku:setup`, then no heroku changes will be sent.
89
+
90
+
86
91
  ## Usage
87
92
 
88
93
  After configuring your Heroku apps you can use rake tasks to control the
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "heroku-rails"
3
- s.version = "0.2.1"
3
+ s.version = "0.2.2"
4
4
 
5
5
  s.authors = ["Elijah Miller", "Glenn Roberts", "Jacques Crocker"]
6
6
  s.summary = "Deployment and configuration tools for Heroku/Rails"
@@ -31,7 +31,7 @@ Gem::Specification.new do |s|
31
31
  "CHANGELOG"
32
32
  ]
33
33
 
34
- s.add_runtime_dependency("heroku")
34
+ s.add_runtime_dependency "heroku", ">= 1.11.0"
35
35
  s.add_development_dependency "rspec", "~> 2.0"
36
36
  end
37
37
 
@@ -206,8 +206,8 @@ module Heroku
206
206
  # yields the environment name, the app name, and the repo url
207
207
  def each_heroku_app
208
208
  if @environments.blank? && @config.apps.size == 1
209
- puts "Defaulting to #{env} app since only one app is defined"
210
209
  @environments = [@config.app_environments.first]
210
+ puts "Defaulting to #{@environments.first} app since only one app is defined"
211
211
  end
212
212
 
213
213
  if @environments.present?
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: heroku-rails
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
@@ -29,10 +29,12 @@ dependencies:
29
29
  requirements:
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- hash: 3
32
+ hash: 59
33
33
  segments:
34
+ - 1
35
+ - 11
34
36
  - 0
35
- version: "0"
37
+ version: 1.11.0
36
38
  requirement: *id001
37
39
  - !ruby/object:Gem::Dependency
38
40
  type: :development