heroku_deploy 0.1.6 → 0.1.8
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/Gemfile +11 -0
- data/Gemfile.lock +32 -0
- data/README.markdown +9 -1
- data/Rakefile +0 -3
- data/VERSION +1 -1
- data/heroku_deploy.gemspec +3 -7
- data/lib/heroku_deploy.rb +1 -3
- data/test/heroku_deploy_test.rb +4 -0
- data/test/test_helper.rb +1 -0
- metadata +7 -36
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
GEM
|
2
|
+
remote: http://rubygems.org/
|
3
|
+
specs:
|
4
|
+
configuration (1.1.0)
|
5
|
+
crack (0.1.8)
|
6
|
+
heroku (1.10.2)
|
7
|
+
json_pure (>= 1.2.0, < 1.5.0)
|
8
|
+
launchy (~> 0.3.2)
|
9
|
+
rest-client (~> 1.4.0)
|
10
|
+
httparty (0.6.1)
|
11
|
+
crack (= 0.1.8)
|
12
|
+
json_pure (1.4.3)
|
13
|
+
launchy (0.3.7)
|
14
|
+
configuration (>= 0.0.5)
|
15
|
+
rake (>= 0.8.1)
|
16
|
+
mime-types (1.16)
|
17
|
+
rake (0.8.7)
|
18
|
+
rest-client (1.4.2)
|
19
|
+
mime-types (>= 1.16)
|
20
|
+
rr (1.0.0)
|
21
|
+
shoulda (2.11.3)
|
22
|
+
|
23
|
+
PLATFORMS
|
24
|
+
ruby
|
25
|
+
|
26
|
+
DEPENDENCIES
|
27
|
+
bundler (~> 1.0.0)
|
28
|
+
heroku (>= 1.10.2)
|
29
|
+
httparty (>= 0.6.1)
|
30
|
+
rake
|
31
|
+
rr
|
32
|
+
shoulda
|
data/README.markdown
CHANGED
@@ -10,6 +10,10 @@ Install the gem:
|
|
10
10
|
In environment.rb
|
11
11
|
config.gem "heroku_deploy"
|
12
12
|
|
13
|
+
or in your Gemfile
|
14
|
+
gem "heroku_deploy"
|
15
|
+
gem "heroku"
|
16
|
+
|
13
17
|
In your Rakefile:
|
14
18
|
begin
|
15
19
|
require 'heroku_deploy'
|
@@ -21,7 +25,8 @@ In your Rakefile:
|
|
21
25
|
end
|
22
26
|
|
23
27
|
###Setup and Deploy
|
24
|
-
heroku_deploy assumes that origin/master is your main development branch.
|
28
|
+
heroku_deploy assumes that origin/master is your main development branch. It also assumes your heroku credentials are saved in ~/.heroku/credentials
|
29
|
+
Once you have that in place, run:
|
25
30
|
|
26
31
|
rake heroku_deploy:setup
|
27
32
|
|
@@ -52,4 +57,7 @@ To skip the backup when deploying to staging or production run:
|
|
52
57
|
rake heroku_deploy:staging backup=false
|
53
58
|
|
54
59
|
###Coming Soon
|
60
|
+
* Prompts for credentials if you haven't entered them
|
61
|
+
* No need to include gem "heroku" in your Gemfile
|
62
|
+
* Better error messages if you're trying to create an existing heroku app
|
55
63
|
* Before and after hooks that allow you to arbitrarily execute code before and after deploy
|
data/Rakefile
CHANGED
@@ -11,9 +11,6 @@ begin
|
|
11
11
|
gem.email = "rosshale@gmail.com"
|
12
12
|
gem.homepage = "http://github.com/lottay/heroku_deploy"
|
13
13
|
gem.authors = ["Ross Hale"]
|
14
|
-
gem.add_development_dependency "heroku", ">= 1.10.2"
|
15
|
-
gem.add_development_dependency "httparty", ">= 0.6.1"
|
16
|
-
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
17
14
|
end
|
18
15
|
Jeweler::GemcutterTasks.new
|
19
16
|
rescue LoadError
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.8
|
data/heroku_deploy.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{heroku_deploy}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.8"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Ross Hale"]
|
@@ -17,6 +17,8 @@ Gem::Specification.new do |s|
|
|
17
17
|
]
|
18
18
|
s.files = [
|
19
19
|
".gitignore",
|
20
|
+
"Gemfile",
|
21
|
+
"Gemfile.lock",
|
20
22
|
"README.markdown",
|
21
23
|
"Rakefile",
|
22
24
|
"VERSION",
|
@@ -41,15 +43,9 @@ Gem::Specification.new do |s|
|
|
41
43
|
s.specification_version = 3
|
42
44
|
|
43
45
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
44
|
-
s.add_development_dependency(%q<heroku>, [">= 1.10.2"])
|
45
|
-
s.add_development_dependency(%q<httparty>, [">= 0.6.1"])
|
46
46
|
else
|
47
|
-
s.add_dependency(%q<heroku>, [">= 1.10.2"])
|
48
|
-
s.add_dependency(%q<httparty>, [">= 0.6.1"])
|
49
47
|
end
|
50
48
|
else
|
51
|
-
s.add_dependency(%q<heroku>, [">= 1.10.2"])
|
52
|
-
s.add_dependency(%q<httparty>, [">= 0.6.1"])
|
53
49
|
end
|
54
50
|
end
|
55
51
|
|
data/lib/heroku_deploy.rb
CHANGED
data/test/heroku_deploy_test.rb
CHANGED
data/test/test_helper.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: heroku_deploy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 11
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 8
|
10
|
+
version: 0.1.8
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Ross Hale
|
@@ -17,39 +17,8 @@ cert_chain: []
|
|
17
17
|
|
18
18
|
date: 2010-09-09 00:00:00 -07:00
|
19
19
|
default_executable:
|
20
|
-
dependencies:
|
21
|
-
|
22
|
-
name: heroku
|
23
|
-
prerelease: false
|
24
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
|
-
requirements:
|
27
|
-
- - ">="
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
hash: 59
|
30
|
-
segments:
|
31
|
-
- 1
|
32
|
-
- 10
|
33
|
-
- 2
|
34
|
-
version: 1.10.2
|
35
|
-
type: :development
|
36
|
-
version_requirements: *id001
|
37
|
-
- !ruby/object:Gem::Dependency
|
38
|
-
name: httparty
|
39
|
-
prerelease: false
|
40
|
-
requirement: &id002 !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
|
-
requirements:
|
43
|
-
- - ">="
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
hash: 5
|
46
|
-
segments:
|
47
|
-
- 0
|
48
|
-
- 6
|
49
|
-
- 1
|
50
|
-
version: 0.6.1
|
51
|
-
type: :development
|
52
|
-
version_requirements: *id002
|
20
|
+
dependencies: []
|
21
|
+
|
53
22
|
description: Deploy strategy and scripts for Heroku.
|
54
23
|
email: rosshale@gmail.com
|
55
24
|
executables: []
|
@@ -60,6 +29,8 @@ extra_rdoc_files:
|
|
60
29
|
- README.markdown
|
61
30
|
files:
|
62
31
|
- .gitignore
|
32
|
+
- Gemfile
|
33
|
+
- Gemfile.lock
|
63
34
|
- README.markdown
|
64
35
|
- Rakefile
|
65
36
|
- VERSION
|