bard 0.28.0 → 0.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/bard/capistrano.rb +4 -0
- data/lib/bard/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: 2680eef24b5d9b45721ae0ba983117087f585943
|
|
4
|
+
data.tar.gz: 4f2611c48f1f7c4456239ae5434fccaca9222f50
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a252cb91d17cc6eee7eb17205462dae8bb2f4cc76da1cdc53742adf684255b30977337c76d7016ca2f83d1fc0c925eeeff80bc2e407b6c09681b54813e092902
|
|
7
|
+
data.tar.gz: 5ea4d06fbd9611c81d90471320a78ddcb143abcf553e3bc596d6983e1abc05676d716c4d967d25b193c094026f76b579ff6675e101e29835c9f5facb4cd1e3d3
|
data/lib/bard/capistrano.rb
CHANGED
|
@@ -67,6 +67,8 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
|
67
67
|
system "git push production master"
|
|
68
68
|
system "heroku run rake bootstrap:production:post"
|
|
69
69
|
else
|
|
70
|
+
ENV["ROLES"] = "production"
|
|
71
|
+
find_and_execute_task "rvm:install_ruby"
|
|
70
72
|
system "git push github" if `git remote` =~ /\bgithub\b/
|
|
71
73
|
run "cd #{application} && git pull origin master && bin/setup", :roles => :production
|
|
72
74
|
end
|
|
@@ -78,6 +80,8 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
|
78
80
|
system "git push -f staging master"
|
|
79
81
|
system "heroku run rake bootstrap:production:post"
|
|
80
82
|
else
|
|
83
|
+
ENV["ROLES"] = "staging"
|
|
84
|
+
find_and_execute_task "rvm:install_ruby"
|
|
81
85
|
branch = ENV.fetch("BRANCH")
|
|
82
86
|
run "cd #{application} && git fetch && git checkout -f origin/#{branch} && bin/setup", :roles => :staging
|
|
83
87
|
end
|
data/lib/bard/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bard
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.29.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Micah Geisel
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-02-
|
|
11
|
+
date: 2018-02-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: thor
|