pah 0.0.22 → 0.0.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -1
- data/features/commands.feature +2 -2
- data/features/runner.feature +6 -6
- data/features/support/bin/heroku +3 -3
- data/lib/pah/templates/heroku.rb +2 -2
- data/lib/pah/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 972b6d870ebb28ab6d2961182423d7f80a8a4233
|
4
|
+
data.tar.gz: 2fd33d8f15d13884f5504419bb7fa79b4b9e7e47
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e34e37fb95cefe7114379a3b3f2f67908c8409f568a035c38453da5d3a10d853fdeb74284b9784d89d46318404fd83a86dfd7c71e9833948206a0a5abf196db
|
7
|
+
data.tar.gz: aa3909a76296a02667d7003332347ddbadd6733b6ac4422a7797dc0286d74bea025ed3d41920b15091d9e22f4d5cadba6c9ab8c6c49d8e2fbc278bd045c96299
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
-
## 0.0.
|
3
|
+
## 0.0.24 (Unreleased)
|
4
4
|
|
5
5
|
### features
|
6
6
|
|
@@ -8,6 +8,14 @@
|
|
8
8
|
|
9
9
|
### bug fixes
|
10
10
|
|
11
|
+
## 0.0.23 (June 12,2015)
|
12
|
+
|
13
|
+
### improvements
|
14
|
+
- Change command that add Heroku add-ons from `addons:add` to `addons:create`
|
15
|
+
|
16
|
+
### bug fixes
|
17
|
+
- Changed NewRelic Add-on plan from stark to wayne
|
18
|
+
|
11
19
|
## 0.0.22 (April 20,2015)
|
12
20
|
|
13
21
|
### features
|
data/features/commands.feature
CHANGED
@@ -4,7 +4,7 @@ Feature: Commands
|
|
4
4
|
When I run `pah --version`
|
5
5
|
Then the output should contain:
|
6
6
|
"""
|
7
|
-
Pah version: 0.0.
|
7
|
+
Pah version: 0.0.23
|
8
8
|
Rails version: 4.2.0
|
9
9
|
Ruby version: 2.2.1
|
10
10
|
"""
|
@@ -12,7 +12,7 @@ Feature: Commands
|
|
12
12
|
When I run `pah -v`
|
13
13
|
Then the output should contain:
|
14
14
|
"""
|
15
|
-
Pah version: 0.0.
|
15
|
+
Pah version: 0.0.23
|
16
16
|
Rails version: 4.2.0
|
17
17
|
Ruby version: 2.2.1
|
18
18
|
"""
|
data/features/runner.feature
CHANGED
@@ -30,27 +30,27 @@ Feature: Run without errors
|
|
30
30
|
"""
|
31
31
|
Then the stdout should contain:
|
32
32
|
"""
|
33
|
-
running heroku addons:
|
33
|
+
running heroku addons:create heroku-postgresql:dev --app myapponheroku
|
34
34
|
"""
|
35
35
|
Then the stdout should contain:
|
36
36
|
"""
|
37
|
-
running heroku addons:
|
37
|
+
running heroku addons:create logentries --app myapponheroku
|
38
38
|
"""
|
39
39
|
Then the stdout should contain:
|
40
40
|
"""
|
41
|
-
running heroku addons:
|
41
|
+
running heroku addons:create mandrill:starter --app myapponheroku
|
42
42
|
"""
|
43
43
|
Then the stdout should contain:
|
44
44
|
"""
|
45
|
-
running heroku addons:
|
45
|
+
running heroku addons:create rollbar --app myapponheroku
|
46
46
|
"""
|
47
47
|
Then the stdout should contain:
|
48
48
|
"""
|
49
|
-
running heroku addons:
|
49
|
+
running heroku addons:create newrelic:wayne --app myapponheroku
|
50
50
|
"""
|
51
51
|
Then the stdout should contain:
|
52
52
|
"""
|
53
|
-
running heroku addons:
|
53
|
+
running heroku addons:create librato --app myapponheroku
|
54
54
|
"""
|
55
55
|
Then the stdout should contain:
|
56
56
|
"""
|
data/features/support/bin/heroku
CHANGED
@@ -12,9 +12,9 @@ class Heroku < Thor
|
|
12
12
|
puts "running heroku config:set #{config.join(' ')}"
|
13
13
|
end
|
14
14
|
|
15
|
-
desc 'addons:
|
16
|
-
define_method 'addons:
|
17
|
-
puts "running heroku addons:
|
15
|
+
desc 'addons:create', 'stub of heroku addons:create'
|
16
|
+
define_method 'addons:create' do |*addon|
|
17
|
+
puts "running heroku addons:create #{addon.join(' ')}"
|
18
18
|
end
|
19
19
|
|
20
20
|
desc 'domains:add', 'stub of heroku domains:add'
|
data/lib/pah/templates/heroku.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
class HerokuApp < Rails::Generators::AppGenerator
|
2
2
|
DEFAULT_ADDONS = %w(heroku-postgresql:dev logentries
|
3
|
-
mandrill:starter rollbar newrelic:
|
3
|
+
mandrill:starter rollbar newrelic:wayne librato)
|
4
4
|
|
5
5
|
attr_reader :name, :description, :config
|
6
6
|
|
@@ -35,7 +35,7 @@ class HerokuApp < Rails::Generators::AppGenerator
|
|
35
35
|
|
36
36
|
def add_heroku_addon(addon)
|
37
37
|
say "Adding heroku addon [#{addon}] to '#{name}'.".green
|
38
|
-
run "heroku addons:
|
38
|
+
run "heroku addons:create #{addon} --app #{name}"
|
39
39
|
end
|
40
40
|
|
41
41
|
def add_canonical_domain(domain)
|
data/lib/pah/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pah
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.23
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- HE:labs
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-06-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|