deploy_nanny 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +10 -0
- data/.travis.yml +4 -0
- data/CODE_OF_CONDUCT.md +13 -0
- data/Gemfile +8 -0
- data/LICENSE.txt +21 -0
- data/README.md +64 -0
- data/Rakefile +10 -0
- data/assets/ascii_title.txt +6 -0
- data/bin/console +14 -0
- data/bin/setup +7 -0
- data/deploy_nanny.gemspec +29 -0
- data/examples/basic.rb +3 -0
- data/lib/deploy_nanny.rb +79 -0
- data/lib/deploy_nanny/base.rb +117 -0
- data/lib/deploy_nanny/deployer.rb +62 -0
- data/lib/deploy_nanny/github_commit.rb +23 -0
- data/lib/deploy_nanny/github_table.rb +55 -0
- data/lib/deploy_nanny/version.rb +3 -0
- metadata +161 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 7d119d6e84814e1f7983b2f6da0a89e3a7b557cd
|
4
|
+
data.tar.gz: 349e4e77981f0438a27232127a08528958419de4
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: d4b775e63faf59c8838d457876741b3181c26b31fbc4e13137c349ed5728ce3c64cd86fcfcdcb0b139d0dde833e943b371d0f0104631e9032bb50b6d4b57f1c5
|
7
|
+
data.tar.gz: 0e9b46b618bd66fa3611417a98b7b6635488b12e7366f3997233abd4b3511cc621548b2a41df32758302891ec33756eab0fe31b1b0f6653232f1195374acbc39
|
data/.gitignore
ADDED
data/.travis.yml
ADDED
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
# Contributor Code of Conduct
|
2
|
+
|
3
|
+
As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
|
4
|
+
|
5
|
+
We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, or religion.
|
6
|
+
|
7
|
+
Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
|
8
|
+
|
9
|
+
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
|
10
|
+
|
11
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
|
12
|
+
|
13
|
+
This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
|
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2015 David Begin
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,64 @@
|
|
1
|
+
# DeployNanny
|
2
|
+
|
3
|
+
Some help with managing deploying multiple-apps and multiple-branches to multiple-environments.
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
```ruby
|
10
|
+
gem 'deploy_nanny'
|
11
|
+
```
|
12
|
+
|
13
|
+
And then execute:
|
14
|
+
|
15
|
+
$ bundle
|
16
|
+
|
17
|
+
Or install it yourself as:
|
18
|
+
|
19
|
+
$ gem install deploy_nanny
|
20
|
+
|
21
|
+
## Usage
|
22
|
+
|
23
|
+
With an executable file called bin/babysit containing the following:
|
24
|
+
```ruby
|
25
|
+
#!/usr/bin/env ruby
|
26
|
+
|
27
|
+
require "deploy_nanny"
|
28
|
+
require "yaml"
|
29
|
+
|
30
|
+
environments = YAML.load_file("environments.yml")
|
31
|
+
deploy_instructions = YAML.load_file("deploy_instructions.yml")
|
32
|
+
nannyrc = YAML.load_file(".nannyrc")
|
33
|
+
|
34
|
+
DeployNanny.babysit(
|
35
|
+
github_account: "yourgithubname",
|
36
|
+
nannyrc: nannyrc,
|
37
|
+
environments: environments,
|
38
|
+
deploy_instructions: deploy_instructions,
|
39
|
+
)
|
40
|
+
|
41
|
+
```
|
42
|
+
|
43
|
+
Create a .nannyrc to specify were all your apps are stored.
|
44
|
+
This means you have to have every app nested in the same directory for Mrs. Doubtfire to work.
|
45
|
+
|
46
|
+
# .nannyrc
|
47
|
+
```
|
48
|
+
apps_directory: "/Users/username/app_folder"
|
49
|
+
```
|
50
|
+
|
51
|
+
```bash
|
52
|
+
bin/babysit --help
|
53
|
+
bin/babysit --no-deploy
|
54
|
+
```
|
55
|
+
|
56
|
+
## Contributing
|
57
|
+
|
58
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/deploy_nanny. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.
|
59
|
+
|
60
|
+
|
61
|
+
## License
|
62
|
+
|
63
|
+
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
64
|
+
|
data/Rakefile
ADDED
@@ -0,0 +1,6 @@
|
|
1
|
+
____ _ _ _
|
2
|
+
| _ \ ___ _ __ | | ___ _ _ | \ | | __ _ _ __ _ __ _ _
|
3
|
+
| | | |/ _ \ '_ \| |/ _ \| | | | | \| |/ _` | '_ \| '_ \| | | |
|
4
|
+
| |_| | __/ |_) | | (_) | |_| | | |\ | (_| | | | | | | | |_| |
|
5
|
+
|____/ \___| .__/|_|\___/ \__, | |_| \_|\__,_|_| |_|_| |_|\__, |
|
6
|
+
|_| |___/ |___/
|
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "deploy_nanny"
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require "irb"
|
14
|
+
IRB.start
|
data/bin/setup
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'deploy_nanny/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "deploy_nanny"
|
8
|
+
spec.version = DeployNanny::VERSION
|
9
|
+
spec.authors = ["David Begin"]
|
10
|
+
spec.email = ["davidmichaelbe@gmail.com"]
|
11
|
+
|
12
|
+
spec.summary = %q{Help with keeping multiple environments up to date.}
|
13
|
+
spec.description = %q{Help with keeping multiple environments up to date.}
|
14
|
+
spec.homepage = "https://github.com/davidbegin/deploy-nanny"
|
15
|
+
spec.license = "MIT"
|
16
|
+
|
17
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
18
|
+
spec.bindir = "exe"
|
19
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
20
|
+
spec.require_paths = ["lib"]
|
21
|
+
|
22
|
+
spec.add_development_dependency "bundler", "~> 1.10"
|
23
|
+
spec.add_runtime_dependency "terminal-table"
|
24
|
+
spec.add_runtime_dependency "spinning_cursor"
|
25
|
+
spec.add_runtime_dependency "tty-progressbar"
|
26
|
+
spec.add_runtime_dependency "colorize"
|
27
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
28
|
+
spec.add_development_dependency "minitest"
|
29
|
+
end
|
data/examples/basic.rb
ADDED
data/lib/deploy_nanny.rb
ADDED
@@ -0,0 +1,79 @@
|
|
1
|
+
require_relative "deploy_nanny/version"
|
2
|
+
require_relative "deploy_nanny/github_table"
|
3
|
+
require_relative "deploy_nanny/github_commit"
|
4
|
+
require_relative "deploy_nanny/deployer"
|
5
|
+
require_relative "deploy_nanny/base"
|
6
|
+
require "tty-progressbar"
|
7
|
+
require "terminal-table"
|
8
|
+
require "optparse"
|
9
|
+
require "ostruct"
|
10
|
+
|
11
|
+
module DeployNanny
|
12
|
+
|
13
|
+
class << self
|
14
|
+
def babysit(github_account:,
|
15
|
+
nannyrc:,
|
16
|
+
environments:,
|
17
|
+
deploy_instructions:)
|
18
|
+
|
19
|
+
options = {}
|
20
|
+
OptionParser.new do |opts|
|
21
|
+
opts.banner = "\nUsage: bin/your_exec [options]\n".yellow
|
22
|
+
|
23
|
+
opts.on("-n", "--no-deploy", "Do not auto-deploy out-of-date apps") do
|
24
|
+
options[:no_deploy] = true
|
25
|
+
end
|
26
|
+
|
27
|
+
opts.on_tail("-h", "--help", "Here are all the options Deploy Nanny takes") do
|
28
|
+
puts opts
|
29
|
+
exit
|
30
|
+
end
|
31
|
+
end.parse!
|
32
|
+
options = OpenStruct.new(options)
|
33
|
+
|
34
|
+
babysitter = Base.new(
|
35
|
+
github_account: github_account,
|
36
|
+
nannyrc: nannyrc,
|
37
|
+
environments: environments,
|
38
|
+
deploy_instructions: deploy_instructions,
|
39
|
+
options: options
|
40
|
+
)
|
41
|
+
|
42
|
+
loop do
|
43
|
+
babysitter.babysit
|
44
|
+
|
45
|
+
bar = TTY::ProgressBar.new(":time", total: sweep_rest) do |config|
|
46
|
+
config.hide_cursor = true
|
47
|
+
end
|
48
|
+
bar.use TimeFormatter
|
49
|
+
|
50
|
+
sweep_rest.times do
|
51
|
+
sleep(1)
|
52
|
+
bar.advance(1)
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
def sweep_rest
|
58
|
+
60 * 5
|
59
|
+
end
|
60
|
+
|
61
|
+
end
|
62
|
+
|
63
|
+
class TimeFormatter
|
64
|
+
def initialize(progress)
|
65
|
+
@progress = progress
|
66
|
+
end
|
67
|
+
|
68
|
+
def matches?(value)
|
69
|
+
value.to_s =~ /:time/
|
70
|
+
end
|
71
|
+
|
72
|
+
def format(value)
|
73
|
+
time = Time.at((DeployNanny.sweep_rest - @progress.current)).utc.strftime("%M:%S")
|
74
|
+
formatted_str = "Time remaining before next sweep and deploy: #{time}".yellow
|
75
|
+
value.gsub(/:time/, formatted_str)
|
76
|
+
end
|
77
|
+
end
|
78
|
+
end
|
79
|
+
|
@@ -0,0 +1,117 @@
|
|
1
|
+
require_relative "deployer"
|
2
|
+
require 'spinning_cursor'
|
3
|
+
|
4
|
+
module DeployNanny
|
5
|
+
class Base
|
6
|
+
def initialize(github_account:,
|
7
|
+
nannyrc:,
|
8
|
+
environments:,
|
9
|
+
deploy_instructions:,
|
10
|
+
options: {})
|
11
|
+
|
12
|
+
@github_account = github_account
|
13
|
+
@nannyrc = nannyrc
|
14
|
+
@environments = environments
|
15
|
+
@deploy_instructions = deploy_instructions
|
16
|
+
@options = options
|
17
|
+
@rows = []
|
18
|
+
@updates = {}
|
19
|
+
end
|
20
|
+
|
21
|
+
def babysit
|
22
|
+
display_github_shas!
|
23
|
+
display_deployed_shas!
|
24
|
+
deploy_to_outdated_envs! unless options.no_deploy
|
25
|
+
clear_memoized_values!
|
26
|
+
end
|
27
|
+
|
28
|
+
private
|
29
|
+
|
30
|
+
attr_reader :github_account,
|
31
|
+
:nannyrc,
|
32
|
+
:environments,
|
33
|
+
:deploy_instructions,
|
34
|
+
:options
|
35
|
+
|
36
|
+
def clear_memoized_values!
|
37
|
+
@updates = {}
|
38
|
+
@rows = []
|
39
|
+
@github_table = nil
|
40
|
+
end
|
41
|
+
|
42
|
+
def display_deployed_shas!
|
43
|
+
puts "\n"
|
44
|
+
SpinningCursor.run do
|
45
|
+
banner "Pulling SHA's from servers".yellow
|
46
|
+
type :spinner
|
47
|
+
action { fetch_and_display_shas! }
|
48
|
+
message "\n"
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
def fetch_and_display_shas!
|
53
|
+
apps.each do |app|
|
54
|
+
envs.each do |env|
|
55
|
+
host = environments.fetch(env).fetch("host")
|
56
|
+
ssh_host = "#{app}@#{host}"
|
57
|
+
remote_sha = `ssh #{ssh_host} cat app/REVISION`.strip
|
58
|
+
|
59
|
+
if github_table.match(app, remote_sha)
|
60
|
+
@rows << [env, app.yellow, remote_sha.green]
|
61
|
+
else
|
62
|
+
@rows << [env, app.yellow, remote_sha.red]
|
63
|
+
str = @updates[env].to_a
|
64
|
+
@updates[env] = str << app
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
68
|
+
|
69
|
+
puts Terminal::Table.new(
|
70
|
+
:title => "Deployments",
|
71
|
+
:headings => ['server', 'app', 'deployed'],
|
72
|
+
:rows => @rows
|
73
|
+
)
|
74
|
+
end
|
75
|
+
|
76
|
+
def envs
|
77
|
+
@envs ||= deploy_instructions.fetch("envs")
|
78
|
+
end
|
79
|
+
|
80
|
+
def apps
|
81
|
+
@apps ||= deploy_instructions.fetch("apps").keys
|
82
|
+
end
|
83
|
+
|
84
|
+
def application_branches
|
85
|
+
deploy_instructions.fetch("apps")
|
86
|
+
end
|
87
|
+
|
88
|
+
def github_table
|
89
|
+
@github_table ||= GithubTable.new(
|
90
|
+
github_account: github_account,
|
91
|
+
application_branches: application_branches
|
92
|
+
)
|
93
|
+
end
|
94
|
+
|
95
|
+
def display_github_shas!
|
96
|
+
github_table.fetch_all
|
97
|
+
github_table.render
|
98
|
+
end
|
99
|
+
|
100
|
+
def deploy_to_outdated_envs!
|
101
|
+
@updates.each do |env, apps|
|
102
|
+
apps.each do |app|
|
103
|
+
puts "Deploying #{app}: #{env}\n".yellow
|
104
|
+
deployer = Deployer.new(
|
105
|
+
env: env,
|
106
|
+
app: app,
|
107
|
+
nannyrc: nannyrc,
|
108
|
+
environments: environments,
|
109
|
+
deploy_instructions: deploy_instructions
|
110
|
+
)
|
111
|
+
puts deployer.command
|
112
|
+
deployer.deploy
|
113
|
+
end
|
114
|
+
end
|
115
|
+
end
|
116
|
+
end
|
117
|
+
end
|
@@ -0,0 +1,62 @@
|
|
1
|
+
require "open3"
|
2
|
+
|
3
|
+
module DeployNanny
|
4
|
+
class Deployer
|
5
|
+
|
6
|
+
def initialize(env:, app:, environments:, deploy_instructions:, nannyrc:)
|
7
|
+
@env = env
|
8
|
+
@app = app
|
9
|
+
@nannyrc = nannyrc
|
10
|
+
@environments = environments
|
11
|
+
@deploy_instructions = deploy_instructions
|
12
|
+
end
|
13
|
+
|
14
|
+
def deploy
|
15
|
+
Bundler.with_clean_env {
|
16
|
+
Dir.chdir("#{dir}/") {
|
17
|
+
cmd = "bundle install && #{command}"
|
18
|
+
output, status = Open3.capture2(cmd)
|
19
|
+
}
|
20
|
+
}
|
21
|
+
end
|
22
|
+
|
23
|
+
def command
|
24
|
+
cmd = command_template.dup
|
25
|
+
deploy_instructions.fetch("deploy_variables").each do |var|
|
26
|
+
cmd.sub!(":#{var}:", deploy_info(var))
|
27
|
+
end
|
28
|
+
cmd
|
29
|
+
end
|
30
|
+
|
31
|
+
private
|
32
|
+
|
33
|
+
attr_reader :env, :app, :nannyrc, :environments, :deploy_instructions
|
34
|
+
|
35
|
+
def command_template
|
36
|
+
deploy_instructions.fetch("deploy_template")
|
37
|
+
end
|
38
|
+
|
39
|
+
def dir
|
40
|
+
nannyrc.fetch("apps_directory") + "/#{app}"
|
41
|
+
end
|
42
|
+
|
43
|
+
def revision
|
44
|
+
deploy_instructions.fetch("apps").fetch(app)
|
45
|
+
end
|
46
|
+
|
47
|
+
def deploy_info(var)
|
48
|
+
case var
|
49
|
+
when "revision"
|
50
|
+
revision
|
51
|
+
when "user"
|
52
|
+
env
|
53
|
+
when "cap_env"
|
54
|
+
environments.fetch(env).fetch("cap_env")
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
def apps_config
|
59
|
+
@apps_config ||= deploy_instructions.fetch("apps").fetch(app)
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
class GithubCommit
|
2
|
+
|
3
|
+
attr_accessor :application, :branch
|
4
|
+
|
5
|
+
def initialize(application, branch, github_account)
|
6
|
+
@github_account = github_account
|
7
|
+
@application = application
|
8
|
+
@branch = branch
|
9
|
+
end
|
10
|
+
|
11
|
+
def sha
|
12
|
+
@sha.nil? ? ' ' : @sha
|
13
|
+
end
|
14
|
+
|
15
|
+
def fetch_sha
|
16
|
+
@sha = `git ls-remote git@github.com:#{github_account}/#{@application}.git | grep "refs/heads/#{@branch}"`[0...7]
|
17
|
+
end
|
18
|
+
|
19
|
+
private
|
20
|
+
|
21
|
+
attr_reader :github_account
|
22
|
+
|
23
|
+
end
|
@@ -0,0 +1,55 @@
|
|
1
|
+
require "colorize"
|
2
|
+
|
3
|
+
class GithubTable
|
4
|
+
|
5
|
+
def initialize(github_account:, application_branches:)
|
6
|
+
@github_commits = []
|
7
|
+
application_branches.each do |application, branch|
|
8
|
+
@github_commits << GithubCommit.new(application, branch, github_account)
|
9
|
+
end
|
10
|
+
|
11
|
+
render
|
12
|
+
end
|
13
|
+
|
14
|
+
def match(application, sha)
|
15
|
+
@github_commits.each do |gc|
|
16
|
+
if gc.application == application && gc.sha == sha
|
17
|
+
return true
|
18
|
+
end
|
19
|
+
end
|
20
|
+
false
|
21
|
+
end
|
22
|
+
|
23
|
+
def fetch_all
|
24
|
+
threads = []
|
25
|
+
@github_commits.each do |github_commit|
|
26
|
+
threads << Thread.new {github_commit.fetch_sha; render}
|
27
|
+
end
|
28
|
+
threads.map(&:join)
|
29
|
+
end
|
30
|
+
|
31
|
+
def build_rows
|
32
|
+
rows = []
|
33
|
+
@github_commits.each do |gc|
|
34
|
+
rows << [gc.application.yellow, gc.branch.magenta, gc.sha.green]
|
35
|
+
end
|
36
|
+
rows
|
37
|
+
end
|
38
|
+
|
39
|
+
def render
|
40
|
+
print_title
|
41
|
+
puts Terminal::Table.new(
|
42
|
+
:title => "Latest github commits",
|
43
|
+
:headings => ['app', 'branch', 'sha'],
|
44
|
+
:rows => build_rows
|
45
|
+
)
|
46
|
+
end
|
47
|
+
|
48
|
+
def print_title
|
49
|
+
system "clear"
|
50
|
+
assets_path = File.expand_path('../../assets', File.dirname(__FILE__))
|
51
|
+
print File.read(File.join(assets_path, "/ascii_title.txt")).
|
52
|
+
colorize(:color => :red, :mode => :bold)
|
53
|
+
puts ("-" * 65).light_black; puts
|
54
|
+
end
|
55
|
+
end
|
metadata
ADDED
@@ -0,0 +1,161 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: deploy_nanny
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- David Begin
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-11-03 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.10'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.10'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: terminal-table
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
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: spinning_cursor
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
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: tty-progressbar
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
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: colorize
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :runtime
|
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: rake
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '10.0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '10.0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: minitest
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
description: Help with keeping multiple environments up to date.
|
112
|
+
email:
|
113
|
+
- davidmichaelbe@gmail.com
|
114
|
+
executables: []
|
115
|
+
extensions: []
|
116
|
+
extra_rdoc_files: []
|
117
|
+
files:
|
118
|
+
- ".gitignore"
|
119
|
+
- ".travis.yml"
|
120
|
+
- CODE_OF_CONDUCT.md
|
121
|
+
- Gemfile
|
122
|
+
- LICENSE.txt
|
123
|
+
- README.md
|
124
|
+
- Rakefile
|
125
|
+
- assets/ascii_title.txt
|
126
|
+
- bin/console
|
127
|
+
- bin/setup
|
128
|
+
- deploy_nanny.gemspec
|
129
|
+
- examples/basic.rb
|
130
|
+
- lib/deploy_nanny.rb
|
131
|
+
- lib/deploy_nanny/base.rb
|
132
|
+
- lib/deploy_nanny/deployer.rb
|
133
|
+
- lib/deploy_nanny/github_commit.rb
|
134
|
+
- lib/deploy_nanny/github_table.rb
|
135
|
+
- lib/deploy_nanny/version.rb
|
136
|
+
homepage: https://github.com/davidbegin/deploy-nanny
|
137
|
+
licenses:
|
138
|
+
- MIT
|
139
|
+
metadata: {}
|
140
|
+
post_install_message:
|
141
|
+
rdoc_options: []
|
142
|
+
require_paths:
|
143
|
+
- lib
|
144
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
145
|
+
requirements:
|
146
|
+
- - ">="
|
147
|
+
- !ruby/object:Gem::Version
|
148
|
+
version: '0'
|
149
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
150
|
+
requirements:
|
151
|
+
- - ">="
|
152
|
+
- !ruby/object:Gem::Version
|
153
|
+
version: '0'
|
154
|
+
requirements: []
|
155
|
+
rubyforge_project:
|
156
|
+
rubygems_version: 2.2.2
|
157
|
+
signing_key:
|
158
|
+
specification_version: 4
|
159
|
+
summary: Help with keeping multiple environments up to date.
|
160
|
+
test_files: []
|
161
|
+
has_rdoc:
|