post_pusher 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +60 -0
- data/Rakefile +15 -0
- data/db/migrate/20160620190743_create_post_push_status.rb +7 -0
- data/exe/post_push +6 -0
- data/lib/generators/post_push_invoke/post_push_invoke_generator.rb +35 -0
- data/lib/generators/post_push_invoke/templates/post_push_invoke.rake.erb +8 -0
- data/lib/generators/post_push_task/post_push_task_generator.rb +17 -0
- data/lib/generators/post_push_task/templates/post_push_task.rake.erb +32 -0
- data/lib/post_push_cli.rb +98 -0
- data/lib/post_pusher.rb +16 -0
- data/lib/post_pusher/engine.rb +13 -0
- data/lib/post_pusher/rake_task_runner.rb +44 -0
- data/lib/post_pusher/version.rb +4 -0
- data/test/dummy/README.rdoc +28 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/javascripts/application.js +13 -0
- data/test/dummy/app/assets/stylesheets/application.css +15 -0
- data/test/dummy/app/controllers/application_controller.rb +5 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/bin/setup +29 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +12 -0
- data/test/dummy/config/boot.rb +5 -0
- data/test/dummy/config/database.yml +7 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +41 -0
- data/test/dummy/config/environments/production.rb +79 -0
- data/test/dummy/config/environments/test.rb +42 -0
- data/test/dummy/config/initializers/assets.rb +11 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +4 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/routes.rb +1 -0
- data/test/dummy/config/secrets.yml +22 -0
- data/test/dummy/db/migrate/20150618161222_create_user.rb +6 -0
- data/test/dummy/db/migrate/20151229195418_create_soft_deletables.rb +8 -0
- data/test/dummy/db/schema.rb +34 -0
- data/test/dummy/lib/tasks/dummy_tasks.rake +31 -0
- data/test/dummy/public/404.html +67 -0
- data/test/dummy/public/422.html +67 -0
- data/test/dummy/public/500.html +66 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/post_push_exe_test.rb +61 -0
- data/test/rake_task_runner_test.rb +32 -0
- data/test/test_helper.rb +31 -0
- metadata +224 -0
@@ -0,0 +1,31 @@
|
|
1
|
+
namespace :post_push do
|
2
|
+
namespace "3" do
|
3
|
+
desc "This task can be run and should be visible to tests."
|
4
|
+
task runnable_task: :environment do
|
5
|
+
puts "I'm wicked runnable, bro"
|
6
|
+
end
|
7
|
+
end
|
8
|
+
|
9
|
+
namespace "2" do
|
10
|
+
desc "This one already ran"
|
11
|
+
task completed_task: :environment do
|
12
|
+
puts "Don't rerun me"
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
namespace "1" do
|
17
|
+
desc "This one wont run and will remain in the runnable queue forevaaah"
|
18
|
+
task broken_task: :environment do
|
19
|
+
shit_the_bed(true)
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
namespace :not_a_post_push_task_at_all do
|
25
|
+
namespace "0" do
|
26
|
+
desc "bin/post_push should ignore me"
|
27
|
+
task just_an_ordinary_rake_task_minding_its_own_business: :environment do
|
28
|
+
raise "You shouldn't have run this one"
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
@@ -0,0 +1,67 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The page you were looking for doesn't exist (404)</title>
|
5
|
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
6
|
+
<style>
|
7
|
+
body {
|
8
|
+
background-color: #EFEFEF;
|
9
|
+
color: #2E2F30;
|
10
|
+
text-align: center;
|
11
|
+
font-family: arial, sans-serif;
|
12
|
+
margin: 0;
|
13
|
+
}
|
14
|
+
|
15
|
+
div.dialog {
|
16
|
+
width: 95%;
|
17
|
+
max-width: 33em;
|
18
|
+
margin: 4em auto 0;
|
19
|
+
}
|
20
|
+
|
21
|
+
div.dialog > div {
|
22
|
+
border: 1px solid #CCC;
|
23
|
+
border-right-color: #999;
|
24
|
+
border-left-color: #999;
|
25
|
+
border-bottom-color: #BBB;
|
26
|
+
border-top: #B00100 solid 4px;
|
27
|
+
border-top-left-radius: 9px;
|
28
|
+
border-top-right-radius: 9px;
|
29
|
+
background-color: white;
|
30
|
+
padding: 7px 12% 0;
|
31
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
32
|
+
}
|
33
|
+
|
34
|
+
h1 {
|
35
|
+
font-size: 100%;
|
36
|
+
color: #730E15;
|
37
|
+
line-height: 1.5em;
|
38
|
+
}
|
39
|
+
|
40
|
+
div.dialog > p {
|
41
|
+
margin: 0 0 1em;
|
42
|
+
padding: 1em;
|
43
|
+
background-color: #F7F7F7;
|
44
|
+
border: 1px solid #CCC;
|
45
|
+
border-right-color: #999;
|
46
|
+
border-left-color: #999;
|
47
|
+
border-bottom-color: #999;
|
48
|
+
border-bottom-left-radius: 4px;
|
49
|
+
border-bottom-right-radius: 4px;
|
50
|
+
border-top-color: #DADADA;
|
51
|
+
color: #666;
|
52
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
53
|
+
}
|
54
|
+
</style>
|
55
|
+
</head>
|
56
|
+
|
57
|
+
<body>
|
58
|
+
<!-- This file lives in public/404.html -->
|
59
|
+
<div class="dialog">
|
60
|
+
<div>
|
61
|
+
<h1>The page you were looking for doesn't exist.</h1>
|
62
|
+
<p>You may have mistyped the address or the page may have moved.</p>
|
63
|
+
</div>
|
64
|
+
<p>If you are the application owner check the logs for more information.</p>
|
65
|
+
</div>
|
66
|
+
</body>
|
67
|
+
</html>
|
@@ -0,0 +1,67 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The change you wanted was rejected (422)</title>
|
5
|
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
6
|
+
<style>
|
7
|
+
body {
|
8
|
+
background-color: #EFEFEF;
|
9
|
+
color: #2E2F30;
|
10
|
+
text-align: center;
|
11
|
+
font-family: arial, sans-serif;
|
12
|
+
margin: 0;
|
13
|
+
}
|
14
|
+
|
15
|
+
div.dialog {
|
16
|
+
width: 95%;
|
17
|
+
max-width: 33em;
|
18
|
+
margin: 4em auto 0;
|
19
|
+
}
|
20
|
+
|
21
|
+
div.dialog > div {
|
22
|
+
border: 1px solid #CCC;
|
23
|
+
border-right-color: #999;
|
24
|
+
border-left-color: #999;
|
25
|
+
border-bottom-color: #BBB;
|
26
|
+
border-top: #B00100 solid 4px;
|
27
|
+
border-top-left-radius: 9px;
|
28
|
+
border-top-right-radius: 9px;
|
29
|
+
background-color: white;
|
30
|
+
padding: 7px 12% 0;
|
31
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
32
|
+
}
|
33
|
+
|
34
|
+
h1 {
|
35
|
+
font-size: 100%;
|
36
|
+
color: #730E15;
|
37
|
+
line-height: 1.5em;
|
38
|
+
}
|
39
|
+
|
40
|
+
div.dialog > p {
|
41
|
+
margin: 0 0 1em;
|
42
|
+
padding: 1em;
|
43
|
+
background-color: #F7F7F7;
|
44
|
+
border: 1px solid #CCC;
|
45
|
+
border-right-color: #999;
|
46
|
+
border-left-color: #999;
|
47
|
+
border-bottom-color: #999;
|
48
|
+
border-bottom-left-radius: 4px;
|
49
|
+
border-bottom-right-radius: 4px;
|
50
|
+
border-top-color: #DADADA;
|
51
|
+
color: #666;
|
52
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
53
|
+
}
|
54
|
+
</style>
|
55
|
+
</head>
|
56
|
+
|
57
|
+
<body>
|
58
|
+
<!-- This file lives in public/422.html -->
|
59
|
+
<div class="dialog">
|
60
|
+
<div>
|
61
|
+
<h1>The change you wanted was rejected.</h1>
|
62
|
+
<p>Maybe you tried to change something you didn't have access to.</p>
|
63
|
+
</div>
|
64
|
+
<p>If you are the application owner check the logs for more information.</p>
|
65
|
+
</div>
|
66
|
+
</body>
|
67
|
+
</html>
|
@@ -0,0 +1,66 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>We're sorry, but something went wrong (500)</title>
|
5
|
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
6
|
+
<style>
|
7
|
+
body {
|
8
|
+
background-color: #EFEFEF;
|
9
|
+
color: #2E2F30;
|
10
|
+
text-align: center;
|
11
|
+
font-family: arial, sans-serif;
|
12
|
+
margin: 0;
|
13
|
+
}
|
14
|
+
|
15
|
+
div.dialog {
|
16
|
+
width: 95%;
|
17
|
+
max-width: 33em;
|
18
|
+
margin: 4em auto 0;
|
19
|
+
}
|
20
|
+
|
21
|
+
div.dialog > div {
|
22
|
+
border: 1px solid #CCC;
|
23
|
+
border-right-color: #999;
|
24
|
+
border-left-color: #999;
|
25
|
+
border-bottom-color: #BBB;
|
26
|
+
border-top: #B00100 solid 4px;
|
27
|
+
border-top-left-radius: 9px;
|
28
|
+
border-top-right-radius: 9px;
|
29
|
+
background-color: white;
|
30
|
+
padding: 7px 12% 0;
|
31
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
32
|
+
}
|
33
|
+
|
34
|
+
h1 {
|
35
|
+
font-size: 100%;
|
36
|
+
color: #730E15;
|
37
|
+
line-height: 1.5em;
|
38
|
+
}
|
39
|
+
|
40
|
+
div.dialog > p {
|
41
|
+
margin: 0 0 1em;
|
42
|
+
padding: 1em;
|
43
|
+
background-color: #F7F7F7;
|
44
|
+
border: 1px solid #CCC;
|
45
|
+
border-right-color: #999;
|
46
|
+
border-left-color: #999;
|
47
|
+
border-bottom-color: #999;
|
48
|
+
border-bottom-left-radius: 4px;
|
49
|
+
border-bottom-right-radius: 4px;
|
50
|
+
border-top-color: #DADADA;
|
51
|
+
color: #666;
|
52
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
53
|
+
}
|
54
|
+
</style>
|
55
|
+
</head>
|
56
|
+
|
57
|
+
<body>
|
58
|
+
<!-- This file lives in public/500.html -->
|
59
|
+
<div class="dialog">
|
60
|
+
<div>
|
61
|
+
<h1>We're sorry, but something went wrong.</h1>
|
62
|
+
</div>
|
63
|
+
<p>If you are the application owner check the logs for more information.</p>
|
64
|
+
</div>
|
65
|
+
</body>
|
66
|
+
</html>
|
File without changes
|
@@ -0,0 +1,61 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
require_relative "../lib/post_push_cli"
|
3
|
+
|
4
|
+
class PostPushExeTest < ActiveSupport::TestCase
|
5
|
+
let(:runnable_tasks) { subject.send(:runnable_tasks) }
|
6
|
+
let(:completed_tasks) { subject.send(:completed_tasks) }
|
7
|
+
|
8
|
+
subject { PostPushCli.new }
|
9
|
+
|
10
|
+
setup do
|
11
|
+
ActiveRecord::Base.connection.execute("DELETE FROM post_push_statuses")
|
12
|
+
ActiveRecord::Base.connection.execute("INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')")
|
13
|
+
end
|
14
|
+
|
15
|
+
describe "#work" do
|
16
|
+
setup { subject.work }
|
17
|
+
|
18
|
+
# TODO: re-enable this. Solano isn't finding all the tasks (I think),
|
19
|
+
# so this one isn't available. Make it work in a debug console with
|
20
|
+
# bin/solano_run_gem_tests. --sagotsky
|
21
|
+
# it "should mark finished tasks so they dont rerun" do
|
22
|
+
# completed_tasks.must_include 'post_push:3:runnable_task'
|
23
|
+
# end
|
24
|
+
|
25
|
+
it "should not mark failed tasks as finished" do
|
26
|
+
completed_tasks.wont_include "post_push:1:broken_task"
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
describe "#runnable_tasks" do
|
31
|
+
it "should only return tasks that have not been run" do
|
32
|
+
runnable_tasks.sort.must_equal(["post_push:1:broken_task", "post_push:3:runnable_task"])
|
33
|
+
end
|
34
|
+
|
35
|
+
it "should run the tasks in alphanumerical order" do
|
36
|
+
runnable_tasks.sort.must_equal runnable_tasks
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
describe "#completed_tasks" do
|
41
|
+
it "should return tasks we know are completed" do
|
42
|
+
completed_tasks.must_equal(["post_push:2:completed_task"])
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
describe "#task_complete!" do
|
47
|
+
setup do
|
48
|
+
subject.send(:task_complete!, "post_push:the_new_rake_task")
|
49
|
+
end
|
50
|
+
|
51
|
+
it "should insert the rake task name into post_push_statuses when completed" do
|
52
|
+
completed_tasks.sort.must_equal ["post_push:2:completed_task", "post_push:the_new_rake_task"]
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
describe "#post_push_tasks" do
|
57
|
+
it "should only return tasks that start with post_push:" do
|
58
|
+
subject.send(:post_push_tasks).sort.must_equal(["post_push:1:broken_task", "post_push:2:completed_task", "post_push:3:runnable_task"])
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
@@ -0,0 +1,32 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
require_relative "../lib/post_pusher/rake_task_runner"
|
3
|
+
|
4
|
+
class RakeTaskRunnerTest < ActiveSupport::TestCase
|
5
|
+
let(:log_path) { "test/dummy/log/post_push" }
|
6
|
+
let(:log_file_name) { task.split(":").drop(1).join("_") << ".log" }
|
7
|
+
let(:log_file) { "#{log_path}/#{log_file_name}" }
|
8
|
+
let(:log) { File.read log_file }
|
9
|
+
|
10
|
+
subject { RakeTaskRunner.new task }
|
11
|
+
|
12
|
+
setup do
|
13
|
+
Dir["#{log_path}/post_push/*.log"].each { |file| File.delete file }
|
14
|
+
subject.work
|
15
|
+
end
|
16
|
+
|
17
|
+
describe "happy path" do
|
18
|
+
let(:task) { "post_push:3:runnable_task" }
|
19
|
+
|
20
|
+
it "should log the rake tasks output" do
|
21
|
+
log.must_include "I'm wicked runnable, bro"
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
describe "broken tasks" do
|
26
|
+
let(:task) { "post_push:1:broken_task" }
|
27
|
+
it "should also log busted tasks" do
|
28
|
+
log.must_include "rake aborted"
|
29
|
+
log.must_include "undefined method `shit_the_bed'"
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
data/test/test_helper.rb
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
$LOAD_PATH.unshift File.expand_path("../lib", __dir__)
|
2
|
+
|
3
|
+
require "active_support"
|
4
|
+
require File.expand_path("dummy/config/environment.rb", __dir__)
|
5
|
+
ActiveSupport::TestCase.test_order = :random # if we don't set this, active_support gives a warning
|
6
|
+
require "minitest/autorun"
|
7
|
+
require 'minitest/reporters'
|
8
|
+
require "post_pusher"
|
9
|
+
require "rake"
|
10
|
+
require "bundler/gem_tasks"
|
11
|
+
require "rake/testtask"
|
12
|
+
require "pry"
|
13
|
+
|
14
|
+
Rails.env = "test"
|
15
|
+
|
16
|
+
if ENV['BUILD_NUMBER']
|
17
|
+
Minitest::Reporters.use!(
|
18
|
+
[MiniTest::Reporters::DefaultReporter.new, MiniTest::Reporters::JUnitReporter.new('test/reports')],
|
19
|
+
ENV,
|
20
|
+
Minitest.backtrace_filter,
|
21
|
+
)
|
22
|
+
else
|
23
|
+
Minitest::Reporters.use!(Minitest::Reporters::SpecReporter.new, ENV, Minitest.backtrace_filter)
|
24
|
+
end
|
25
|
+
|
26
|
+
class ActiveSupport::TestCase
|
27
|
+
extend MiniTest::Spec::DSL
|
28
|
+
end
|
29
|
+
|
30
|
+
ActiveRecord::Migrator.migrate File.expand_path("dummy/db/migrate", __dir__)
|
31
|
+
ActiveRecord::Migrator.migrate File.expand_path("../db/migrate", __dir__)
|
metadata
ADDED
@@ -0,0 +1,224 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: post_pusher
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- PatientsLikeMe
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2018-04-23 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rails
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: sqlite3
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: minitest
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: minitest-reporters
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: minitest-spec-rails
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: pry
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
description: A tool to run a set of tasks after deploys
|
98
|
+
email:
|
99
|
+
- engineers@patientslikeme.com
|
100
|
+
executables:
|
101
|
+
- post_push
|
102
|
+
extensions: []
|
103
|
+
extra_rdoc_files: []
|
104
|
+
files:
|
105
|
+
- README.md
|
106
|
+
- Rakefile
|
107
|
+
- db/migrate/20160620190743_create_post_push_status.rb
|
108
|
+
- exe/post_push
|
109
|
+
- lib/generators/post_push_invoke/post_push_invoke_generator.rb
|
110
|
+
- lib/generators/post_push_invoke/templates/post_push_invoke.rake.erb
|
111
|
+
- lib/generators/post_push_task/post_push_task_generator.rb
|
112
|
+
- lib/generators/post_push_task/templates/post_push_task.rake.erb
|
113
|
+
- lib/post_push_cli.rb
|
114
|
+
- lib/post_pusher.rb
|
115
|
+
- lib/post_pusher/engine.rb
|
116
|
+
- lib/post_pusher/rake_task_runner.rb
|
117
|
+
- lib/post_pusher/version.rb
|
118
|
+
- test/dummy/README.rdoc
|
119
|
+
- test/dummy/Rakefile
|
120
|
+
- test/dummy/app/assets/javascripts/application.js
|
121
|
+
- test/dummy/app/assets/stylesheets/application.css
|
122
|
+
- test/dummy/app/controllers/application_controller.rb
|
123
|
+
- test/dummy/app/helpers/application_helper.rb
|
124
|
+
- test/dummy/app/views/layouts/application.html.erb
|
125
|
+
- test/dummy/bin/bundle
|
126
|
+
- test/dummy/bin/rails
|
127
|
+
- test/dummy/bin/rake
|
128
|
+
- test/dummy/bin/setup
|
129
|
+
- test/dummy/config.ru
|
130
|
+
- test/dummy/config/application.rb
|
131
|
+
- test/dummy/config/boot.rb
|
132
|
+
- test/dummy/config/database.yml
|
133
|
+
- test/dummy/config/environment.rb
|
134
|
+
- test/dummy/config/environments/development.rb
|
135
|
+
- test/dummy/config/environments/production.rb
|
136
|
+
- test/dummy/config/environments/test.rb
|
137
|
+
- test/dummy/config/initializers/assets.rb
|
138
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
139
|
+
- test/dummy/config/initializers/cookies_serializer.rb
|
140
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
141
|
+
- test/dummy/config/initializers/inflections.rb
|
142
|
+
- test/dummy/config/initializers/mime_types.rb
|
143
|
+
- test/dummy/config/initializers/session_store.rb
|
144
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
145
|
+
- test/dummy/config/locales/en.yml
|
146
|
+
- test/dummy/config/routes.rb
|
147
|
+
- test/dummy/config/secrets.yml
|
148
|
+
- test/dummy/db/migrate/20150618161222_create_user.rb
|
149
|
+
- test/dummy/db/migrate/20151229195418_create_soft_deletables.rb
|
150
|
+
- test/dummy/db/schema.rb
|
151
|
+
- test/dummy/lib/tasks/dummy_tasks.rake
|
152
|
+
- test/dummy/public/404.html
|
153
|
+
- test/dummy/public/422.html
|
154
|
+
- test/dummy/public/500.html
|
155
|
+
- test/dummy/public/favicon.ico
|
156
|
+
- test/post_push_exe_test.rb
|
157
|
+
- test/rake_task_runner_test.rb
|
158
|
+
- test/test_helper.rb
|
159
|
+
homepage: https://www.patientslikeme.com
|
160
|
+
licenses:
|
161
|
+
- MIT
|
162
|
+
metadata: {}
|
163
|
+
post_install_message:
|
164
|
+
rdoc_options: []
|
165
|
+
require_paths:
|
166
|
+
- lib
|
167
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
168
|
+
requirements:
|
169
|
+
- - ">="
|
170
|
+
- !ruby/object:Gem::Version
|
171
|
+
version: '0'
|
172
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
173
|
+
requirements:
|
174
|
+
- - ">="
|
175
|
+
- !ruby/object:Gem::Version
|
176
|
+
version: '0'
|
177
|
+
requirements: []
|
178
|
+
rubyforge_project:
|
179
|
+
rubygems_version: 2.5.2
|
180
|
+
signing_key:
|
181
|
+
specification_version: 4
|
182
|
+
summary: A tool to run a set of tasks after deploys
|
183
|
+
test_files:
|
184
|
+
- test/rake_task_runner_test.rb
|
185
|
+
- test/test_helper.rb
|
186
|
+
- test/dummy/README.rdoc
|
187
|
+
- test/dummy/app/assets/stylesheets/application.css
|
188
|
+
- test/dummy/app/assets/javascripts/application.js
|
189
|
+
- test/dummy/app/controllers/application_controller.rb
|
190
|
+
- test/dummy/app/helpers/application_helper.rb
|
191
|
+
- test/dummy/app/views/layouts/application.html.erb
|
192
|
+
- test/dummy/config.ru
|
193
|
+
- test/dummy/lib/tasks/dummy_tasks.rake
|
194
|
+
- test/dummy/db/schema.rb
|
195
|
+
- test/dummy/db/migrate/20151229195418_create_soft_deletables.rb
|
196
|
+
- test/dummy/db/migrate/20150618161222_create_user.rb
|
197
|
+
- test/dummy/bin/rake
|
198
|
+
- test/dummy/bin/setup
|
199
|
+
- test/dummy/bin/rails
|
200
|
+
- test/dummy/bin/bundle
|
201
|
+
- test/dummy/config/environment.rb
|
202
|
+
- test/dummy/config/initializers/inflections.rb
|
203
|
+
- test/dummy/config/initializers/session_store.rb
|
204
|
+
- test/dummy/config/initializers/cookies_serializer.rb
|
205
|
+
- test/dummy/config/initializers/assets.rb
|
206
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
207
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
208
|
+
- test/dummy/config/initializers/mime_types.rb
|
209
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
210
|
+
- test/dummy/config/locales/en.yml
|
211
|
+
- test/dummy/config/application.rb
|
212
|
+
- test/dummy/config/environments/production.rb
|
213
|
+
- test/dummy/config/environments/development.rb
|
214
|
+
- test/dummy/config/environments/test.rb
|
215
|
+
- test/dummy/config/database.yml
|
216
|
+
- test/dummy/config/boot.rb
|
217
|
+
- test/dummy/config/secrets.yml
|
218
|
+
- test/dummy/config/routes.rb
|
219
|
+
- test/dummy/Rakefile
|
220
|
+
- test/dummy/public/404.html
|
221
|
+
- test/dummy/public/500.html
|
222
|
+
- test/dummy/public/favicon.ico
|
223
|
+
- test/dummy/public/422.html
|
224
|
+
- test/post_push_exe_test.rb
|