pah 0.0.25 → 0.0.26
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -1
- data/features/commands.feature +2 -2
- data/features/rails_works.feature +1 -0
- data/features/runner.feature +3 -2
- data/features/support/bin/heroku +3 -3
- data/features/support/hooks.rb +3 -0
- data/lib/pah/files/Gemfile +1 -1
- data/lib/pah/templates/heroku.rb +1 -1
- data/lib/pah/version.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 17be47e225ea6a2abd9fbd5c0b4eb568c8356252
|
4
|
+
data.tar.gz: eb4602498a03c170f6616504189615be717f0ab9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 05cd0695679d99414cec9e4c1338399a9de2325882fe1eff88985f657c15ac2b5ecf75536cd174d4a1c9ed7920db9ff5221729129a6736ff20cea423ae7041e9
|
7
|
+
data.tar.gz: b9a347fe5c806b09870b046768f95a00034583d9b24d870ef6a06f6d50c8376ce7a92d93019195dcdd1407f74eee627207ee351c311d7cfb058c33856a508805
|
data/CHANGELOG.md
CHANGED
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.25
|
8
8
|
Rails version: 4.2.5
|
9
9
|
Ruby version: 2.2.3
|
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.25
|
16
16
|
Rails version: 4.2.5
|
17
17
|
Ruby version: 2.2.3
|
18
18
|
"""
|
@@ -7,6 +7,7 @@ Feature: Rails works
|
|
7
7
|
Scenario: The rails works
|
8
8
|
When I run `cp -r myapp myapp_with_controller`
|
9
9
|
And I cd to "myapp_with_controller"
|
10
|
+
And I run `ruby -e "Bundler.with_clean_env { system 'bundle exec spring stop' }"`
|
10
11
|
And I run `ruby -e "Bundler.with_clean_env { system 'bundle exec rails g controller welcome index' }"`
|
11
12
|
And I run `ruby -e "Bundler.with_clean_env { system 'bundle exec rails s' }"` interactively
|
12
13
|
And I run `ruby -e "Bundler.with_clean_env { system 'sleep 15' }"`
|
data/features/runner.feature
CHANGED
@@ -4,6 +4,7 @@ Feature: Run without errors
|
|
4
4
|
In order to use pah, I need this to run
|
5
5
|
without any error
|
6
6
|
|
7
|
+
@no-travis
|
7
8
|
Scenario: Running pah with heroku
|
8
9
|
When I run `pah myapp_on_heroku` interactively
|
9
10
|
And I type "y"
|
@@ -21,8 +22,8 @@ Feature: Run without errors
|
|
21
22
|
"""
|
22
23
|
Then the stdout should contain:
|
23
24
|
"""
|
24
|
-
running heroku
|
25
|
-
running heroku
|
25
|
+
running heroku access:add jondoe@example.com --app myapponheroku
|
26
|
+
running heroku access:add janedoe@example.com --app myapponheroku
|
26
27
|
"""
|
27
28
|
Then the stdout should contain:
|
28
29
|
"""
|
data/features/support/bin/heroku
CHANGED
@@ -22,9 +22,9 @@ class Heroku < Thor
|
|
22
22
|
puts "running heroku domains:add #{domain.join(' ')}"
|
23
23
|
end
|
24
24
|
|
25
|
-
desc '
|
26
|
-
define_method '
|
27
|
-
puts "running heroku
|
25
|
+
desc 'access:add', 'stub of heroku access:add'
|
26
|
+
define_method 'access:add' do |*domain|
|
27
|
+
puts "running heroku access:add #{domain.join(' ')}"
|
28
28
|
end
|
29
29
|
|
30
30
|
desc 'pg:backups', 'stub of heroku pg:backups'
|
data/lib/pah/files/Gemfile
CHANGED
data/lib/pah/templates/heroku.rb
CHANGED
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.26
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- HE:labs
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-05-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -166,6 +166,7 @@ files:
|
|
166
166
|
- features/support/bin/heroku
|
167
167
|
- features/support/env.rb
|
168
168
|
- features/support/file_helpers.rb
|
169
|
+
- features/support/hooks.rb
|
169
170
|
- lib/pah.rb
|
170
171
|
- lib/pah/cli.rb
|
171
172
|
- lib/pah/commands.rb
|
@@ -302,3 +303,4 @@ test_files:
|
|
302
303
|
- features/support/bin/heroku
|
303
304
|
- features/support/env.rb
|
304
305
|
- features/support/file_helpers.rb
|
306
|
+
- features/support/hooks.rb
|