paratrooper 1.4.1 → 1.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +15 -0
- data/Gemfile.lock +1 -1
- data/README.md +1 -1
- data/lib/paratrooper/deploy.rb +1 -1
- data/lib/paratrooper/version.rb +1 -1
- data/spec/paratrooper/deploy_spec.rb +1 -1
- metadata +12 -25
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: f62f87661b86c70e2e8734ddd93a7e98d1b9efc7
|
4
|
+
data.tar.gz: b1b2d6d30d6b62b686ff039f1a91835191c7334d
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 0aac9f0ed9d23d09603e1851b8fc7da35d463793db9652725cad40e0ad4b043a8f4caea7ac3fa07bbe31a282d1719f62bfe2644f49a21e6c5d2f70f47d2635d2
|
7
|
+
data.tar.gz: 31c6fb7829cd85e0051c6fe982f17129c83ca47081a099f731a382e430e76ced578067d3b905d0f7bb3da5bfa4c08538bf4f2a084baa1639fe4d326074265397
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
# Changelog
|
2
|
+
|
3
|
+
## 1.4.2
|
4
|
+
|
5
|
+
- Fixed incorrect pushing of a tag called 'master' to heroku on first deploy.
|
6
|
+
- Small README change regarding migrations
|
7
|
+
|
8
|
+
## 1.4.1
|
9
|
+
|
10
|
+
- Fix for migrations always being skipped
|
11
|
+
|
12
|
+
## 1.4.0
|
13
|
+
|
14
|
+
- Skip migrations if no changes have been made to `db/migrate`
|
15
|
+
- Removed #repo_host and #repo_name options from `Paratrooper::Deploy`
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -111,7 +111,7 @@ This will perform the following tasks:
|
|
111
111
|
* Activate maintenance mode
|
112
112
|
* Create or update a git tag (if provided)
|
113
113
|
* Push changes to Heroku
|
114
|
-
* Run database migrations
|
114
|
+
* Run database migrations if any have been added to db/migrate
|
115
115
|
* Restart the application
|
116
116
|
* Deactivate maintenance mode
|
117
117
|
* Warm application instance
|
data/lib/paratrooper/deploy.rb
CHANGED
@@ -87,7 +87,7 @@ module Paratrooper
|
|
87
87
|
def push_repo
|
88
88
|
reference_point = tag_name || 'master'
|
89
89
|
notify(:push_repo, reference_point: reference_point)
|
90
|
-
system_call "git push -f #{deployment_remote} #{reference_point}:master"
|
90
|
+
system_call "git push -f #{deployment_remote} #{reference_point}:refs/heads/master"
|
91
91
|
end
|
92
92
|
|
93
93
|
# Public: Runs rails database migrations on your application.
|
data/lib/paratrooper/version.rb
CHANGED
@@ -168,7 +168,7 @@ describe Paratrooper::Deploy do
|
|
168
168
|
end
|
169
169
|
|
170
170
|
it 'pushes repo to heroku' do
|
171
|
-
expected_call = 'git push -f git@heroku.com:app.git master:master'
|
171
|
+
expected_call = 'git push -f git@heroku.com:app.git master:refs/heads/master'
|
172
172
|
system_caller.should_receive(:execute).with(expected_call)
|
173
173
|
deployer.push_repo
|
174
174
|
end
|
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: paratrooper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
5
|
-
prerelease:
|
4
|
+
version: 1.4.2
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Matt Polito
|
@@ -10,28 +9,25 @@ authors:
|
|
10
9
|
autorequire:
|
11
10
|
bindir: bin
|
12
11
|
cert_chain: []
|
13
|
-
date: 2013-
|
12
|
+
date: 2013-06-17 00:00:00.000000000 Z
|
14
13
|
dependencies:
|
15
14
|
- !ruby/object:Gem::Dependency
|
16
15
|
name: rake
|
17
16
|
requirement: !ruby/object:Gem::Requirement
|
18
|
-
none: false
|
19
17
|
requirements:
|
20
|
-
- -
|
18
|
+
- - '>='
|
21
19
|
- !ruby/object:Gem::Version
|
22
20
|
version: '0'
|
23
21
|
type: :development
|
24
22
|
prerelease: false
|
25
23
|
version_requirements: !ruby/object:Gem::Requirement
|
26
|
-
none: false
|
27
24
|
requirements:
|
28
|
-
- -
|
25
|
+
- - '>='
|
29
26
|
- !ruby/object:Gem::Version
|
30
27
|
version: '0'
|
31
28
|
- !ruby/object:Gem::Dependency
|
32
29
|
name: rspec
|
33
30
|
requirement: !ruby/object:Gem::Requirement
|
34
|
-
none: false
|
35
31
|
requirements:
|
36
32
|
- - ~>
|
37
33
|
- !ruby/object:Gem::Version
|
@@ -39,7 +35,6 @@ dependencies:
|
|
39
35
|
type: :development
|
40
36
|
prerelease: false
|
41
37
|
version_requirements: !ruby/object:Gem::Requirement
|
42
|
-
none: false
|
43
38
|
requirements:
|
44
39
|
- - ~>
|
45
40
|
- !ruby/object:Gem::Version
|
@@ -47,23 +42,20 @@ dependencies:
|
|
47
42
|
- !ruby/object:Gem::Dependency
|
48
43
|
name: pry
|
49
44
|
requirement: !ruby/object:Gem::Requirement
|
50
|
-
none: false
|
51
45
|
requirements:
|
52
|
-
- -
|
46
|
+
- - '>='
|
53
47
|
- !ruby/object:Gem::Version
|
54
48
|
version: '0'
|
55
49
|
type: :development
|
56
50
|
prerelease: false
|
57
51
|
version_requirements: !ruby/object:Gem::Requirement
|
58
|
-
none: false
|
59
52
|
requirements:
|
60
|
-
- -
|
53
|
+
- - '>='
|
61
54
|
- !ruby/object:Gem::Version
|
62
55
|
version: '0'
|
63
56
|
- !ruby/object:Gem::Dependency
|
64
57
|
name: heroku-api
|
65
58
|
requirement: !ruby/object:Gem::Requirement
|
66
|
-
none: false
|
67
59
|
requirements:
|
68
60
|
- - ~>
|
69
61
|
- !ruby/object:Gem::Version
|
@@ -71,7 +63,6 @@ dependencies:
|
|
71
63
|
type: :runtime
|
72
64
|
prerelease: false
|
73
65
|
version_requirements: !ruby/object:Gem::Requirement
|
74
|
-
none: false
|
75
66
|
requirements:
|
76
67
|
- - ~>
|
77
68
|
- !ruby/object:Gem::Version
|
@@ -79,7 +70,6 @@ dependencies:
|
|
79
70
|
- !ruby/object:Gem::Dependency
|
80
71
|
name: rendezvous
|
81
72
|
requirement: !ruby/object:Gem::Requirement
|
82
|
-
none: false
|
83
73
|
requirements:
|
84
74
|
- - ~>
|
85
75
|
- !ruby/object:Gem::Version
|
@@ -87,7 +77,6 @@ dependencies:
|
|
87
77
|
type: :runtime
|
88
78
|
prerelease: false
|
89
79
|
version_requirements: !ruby/object:Gem::Requirement
|
90
|
-
none: false
|
91
80
|
requirements:
|
92
81
|
- - ~>
|
93
82
|
- !ruby/object:Gem::Version
|
@@ -95,7 +84,6 @@ dependencies:
|
|
95
84
|
- !ruby/object:Gem::Dependency
|
96
85
|
name: netrc
|
97
86
|
requirement: !ruby/object:Gem::Requirement
|
98
|
-
none: false
|
99
87
|
requirements:
|
100
88
|
- - ~>
|
101
89
|
- !ruby/object:Gem::Version
|
@@ -103,7 +91,6 @@ dependencies:
|
|
103
91
|
type: :runtime
|
104
92
|
prerelease: false
|
105
93
|
version_requirements: !ruby/object:Gem::Requirement
|
106
|
-
none: false
|
107
94
|
requirements:
|
108
95
|
- - ~>
|
109
96
|
- !ruby/object:Gem::Version
|
@@ -119,6 +106,7 @@ files:
|
|
119
106
|
- .bundle/config
|
120
107
|
- .gitignore
|
121
108
|
- .ruby-version
|
109
|
+
- CHANGELOG.md
|
122
110
|
- Gemfile
|
123
111
|
- Gemfile.lock
|
124
112
|
- LICENSE.txt
|
@@ -144,27 +132,26 @@ files:
|
|
144
132
|
- spec/spec_helper.rb
|
145
133
|
homepage: http://github.com/mattpolito/paratrooper
|
146
134
|
licenses: []
|
135
|
+
metadata: {}
|
147
136
|
post_install_message:
|
148
137
|
rdoc_options: []
|
149
138
|
require_paths:
|
150
139
|
- lib
|
151
140
|
required_ruby_version: !ruby/object:Gem::Requirement
|
152
|
-
none: false
|
153
141
|
requirements:
|
154
|
-
- -
|
142
|
+
- - '>='
|
155
143
|
- !ruby/object:Gem::Version
|
156
144
|
version: '0'
|
157
145
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
158
|
-
none: false
|
159
146
|
requirements:
|
160
|
-
- -
|
147
|
+
- - '>='
|
161
148
|
- !ruby/object:Gem::Version
|
162
149
|
version: '0'
|
163
150
|
requirements: []
|
164
151
|
rubyforge_project:
|
165
|
-
rubygems_version:
|
152
|
+
rubygems_version: 2.0.3
|
166
153
|
signing_key:
|
167
|
-
specification_version:
|
154
|
+
specification_version: 4
|
168
155
|
summary: Library to create task for deployment to Heroku
|
169
156
|
test_files:
|
170
157
|
- spec/fixtures/netrc
|