jetfuel 1.18.3 → 1.18.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/jetfuel/version.rb +1 -1
- data/spec/features/github_spec.rb +1 -1
- data/spec/features/heroku_spec.rb +1 -1
- data/spec/features/new_project_spec.rb +7 -7
- data/spec/support/jetfuel.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d822327fdb05cd68a2fed8a59c864892c9b30208
|
4
|
+
data.tar.gz: d6052fa6042a0290577b8357622c1ebedc30f0f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d10191aec3de14ea4a68e240c0d82ad6bb2901c52907d163878efd129bfd6fdc165a0f43b0b65444f176ade0716d02604b3f0fb7454574835f13c965060c4b3
|
7
|
+
data.tar.gz: 6762a9ef2df59126d2c47bcaf4ef46b6aadda0e216787d92f5dc118cc52ebbbbd9fd7cea85850879dd575e1a0d620ed22bf7fa884838675245690ea441751c40
|
data/Gemfile.lock
CHANGED
data/lib/jetfuel/version.rb
CHANGED
@@ -2,7 +2,7 @@ require 'spec_helper'
|
|
2
2
|
|
3
3
|
feature 'Heroku' do
|
4
4
|
scenario 'Suspend a project with --heroku=true' do
|
5
|
-
|
5
|
+
run_jetfuel('--heroku=true')
|
6
6
|
|
7
7
|
expect(FakeHeroku).to have_gem_included(project_path, 'rails_12factor')
|
8
8
|
expect(FakeHeroku).to have_created_app_for('staging')
|
@@ -2,7 +2,7 @@ require 'spec_helper'
|
|
2
2
|
|
3
3
|
feature 'Suspend a new project with default configuration' do
|
4
4
|
scenario 'specs pass' do
|
5
|
-
|
5
|
+
run_jetfuel
|
6
6
|
|
7
7
|
Dir.chdir(project_path) do
|
8
8
|
Bundler.with_clean_env do
|
@@ -12,7 +12,7 @@ feature 'Suspend a new project with default configuration' do
|
|
12
12
|
end
|
13
13
|
|
14
14
|
scenario 'staging config is inherited from production' do
|
15
|
-
|
15
|
+
run_jetfuel
|
16
16
|
|
17
17
|
staging_file = IO.read("#{project_path}/config/environments/staging.rb")
|
18
18
|
config_stub = "Rails.application.configure do"
|
@@ -22,7 +22,7 @@ feature 'Suspend a new project with default configuration' do
|
|
22
22
|
end
|
23
23
|
|
24
24
|
scenario 'generated .ruby-version is pulled from Suspenders .ruby-version' do
|
25
|
-
|
25
|
+
run_jetfuel
|
26
26
|
|
27
27
|
ruby_version_file = IO.read("#{project_path}/.ruby-version")
|
28
28
|
|
@@ -30,7 +30,7 @@ feature 'Suspend a new project with default configuration' do
|
|
30
30
|
end
|
31
31
|
|
32
32
|
scenario 'secrets.yml reads secret from env' do
|
33
|
-
|
33
|
+
run_jetfuel
|
34
34
|
|
35
35
|
secrets_file = IO.read("#{project_path}/config/secrets.yml")
|
36
36
|
|
@@ -38,13 +38,13 @@ feature 'Suspend a new project with default configuration' do
|
|
38
38
|
end
|
39
39
|
|
40
40
|
scenario 'action mailer support file is added' do
|
41
|
-
|
41
|
+
run_jetfuel
|
42
42
|
|
43
43
|
expect(File).to exist("#{project_path}/spec/support/action_mailer.rb")
|
44
44
|
end
|
45
45
|
|
46
46
|
scenario 'newrelic.yml reads NewRelic license from env' do
|
47
|
-
|
47
|
+
run_jetfuel
|
48
48
|
|
49
49
|
newrelic_file = IO.read("#{project_path}/config/newrelic.yml")
|
50
50
|
|
@@ -54,7 +54,7 @@ feature 'Suspend a new project with default configuration' do
|
|
54
54
|
end
|
55
55
|
|
56
56
|
scenario 'records pageviews through Segment.io if ENV variable set' do
|
57
|
-
|
57
|
+
run_jetfuel
|
58
58
|
|
59
59
|
expect(analytics_partial).
|
60
60
|
to include("<% if ENV['SEGMENT_IO_KEY'] %>")
|
data/spec/support/jetfuel.rb
CHANGED