baboon 1.0.9 → 1.5.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.coveralls.yml +1 -0
- data/.gitignore +19 -0
- data/.rspec +4 -0
- data/.ruby-gemset +1 -0
- data/.ruby-version +1 -0
- data/.travis.yml +4 -0
- data/Gemfile +24 -0
- data/LICENSE +22 -0
- data/README.md +113 -33
- data/Rakefile +2 -2
- data/baboon.gemspec +25 -0
- data/lib/baboon.rb +4 -4
- data/lib/baboon/cli.rb +155 -51
- data/lib/baboon/instructions/rails.rb +4 -2
- data/lib/baboon/util.rb +21 -15
- data/lib/baboon/version.rb +2 -2
- data/lib/generators/baboon/install/templates/baboon.yml +36 -17
- data/media/baboon.psd +0 -0
- data/spec/baboon.yml +30 -0
- data/spec/lib/baboon/cli_spec.rb +37 -28
- data/spec/lib/baboon/util_spec.rb +19 -0
- data/spec/lib/baboon_spec.rb +11 -3
- data/spec/spec_helper.rb +40 -3
- metadata +36 -220
- data/lib/baboon/cli/options.rb +0 -241
- data/lib/baboon/configuration.rb +0 -38
- data/lib/baboon/logger.rb +0 -153
- data/lib/generators/baboon/config/config_generator.rb +0 -17
- data/lib/generators/baboon/config/templates/baboon.yml +0 -11
- data/spec/lib/baboon/configuration_spec.rb +0 -115
data/lib/baboon/util.rb
CHANGED
@@ -5,29 +5,35 @@ module Baboon
|
|
5
5
|
# @param: String file path
|
6
6
|
# @return: Boolean || String depending on if file is found
|
7
7
|
def file_check! file
|
8
|
-
|
8
|
+
file.nil? || !file ? false : true
|
9
9
|
end
|
10
|
-
|
11
|
-
#
|
10
|
+
|
11
|
+
# locate_baboon_configuration_file
|
12
12
|
# Will try and locate the baboon.rb file it it does not exist. Great method
|
13
13
|
# used especially for testing Baboon.
|
14
14
|
# @param:
|
15
15
|
# @return: String[file path, used to locate and initialize the configuration file]
|
16
|
-
def
|
17
|
-
config_file =
|
18
|
-
default_baboon_file_path =
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
16
|
+
def locate_baboon_configuration_file(specific_file_path=nil)
|
17
|
+
config_file = nil
|
18
|
+
default_baboon_file_path = 'config/baboon.yml'
|
19
|
+
|
20
|
+
if specific_file_path.nil?
|
21
|
+
if File.exists?(default_baboon_file_path)
|
22
|
+
config_file = default_baboon_file_path
|
23
|
+
else
|
24
|
+
Find.find('.') do |path|
|
25
|
+
if path.include?('baboon.yml')
|
26
|
+
config_file = path
|
27
|
+
break
|
28
|
+
end
|
26
29
|
end
|
27
30
|
end
|
31
|
+
else
|
32
|
+
config_file = specific_file
|
28
33
|
end
|
34
|
+
|
29
35
|
config_file
|
30
|
-
end
|
36
|
+
end
|
31
37
|
end # class << self
|
32
38
|
end # class Util
|
33
|
-
end # module Baboon
|
39
|
+
end # module Baboon
|
data/lib/baboon/version.rb
CHANGED
@@ -1,3 +1,3 @@
|
|
1
1
|
module Baboon
|
2
|
-
VERSION = '1.
|
3
|
-
end
|
2
|
+
VERSION = '1.5.5'
|
3
|
+
end
|
@@ -4,49 +4,68 @@ baboon:
|
|
4
4
|
# what is stored in your scm.
|
5
5
|
application: 'Vacuum HQ'
|
6
6
|
|
7
|
-
# For now, Baboon will determine what scm the remote code is stored
|
8
|
-
# based on the scm path.
|
9
|
-
# scm applications that are supported.
|
7
|
+
# For now, Baboon will determine what scm the remote code is stored
|
8
|
+
# in based on the scm path.
|
10
9
|
repository: 'git@github.com:amanelis/vacuum.git'
|
11
10
|
|
12
|
-
# Pass multiple environments in this section.
|
13
|
-
#
|
14
|
-
#
|
15
|
-
#
|
11
|
+
# Pass multiple environments in this section. Each environment you
|
12
|
+
# specify then becomes part of the deploy command: baboon deploy
|
13
|
+
# {environment}. Below, we have defined two envs of staging and
|
14
|
+
# production. Add more as needed.
|
16
15
|
environments:
|
17
16
|
# Name each environment to your own standard. Baboon, will use the
|
18
|
-
# settings defined after the env to to the deploy.
|
17
|
+
# settings defined after the env to to the deploy. This environment
|
18
|
+
# is named 'stating' -> baboon deploy staging
|
19
19
|
staging:
|
20
|
-
#
|
21
|
-
#
|
20
|
+
# This is the branch from your scm that Baboon will pull and merge
|
21
|
+
# code from. The repository is defined in the root node of this
|
22
|
+
# configuration file.
|
22
23
|
branch: 'staging'
|
23
24
|
|
24
|
-
#
|
25
|
+
# Pre/Post actions for your deploy to be run and specified here,
|
26
|
+
# run anything.
|
27
|
+
callbacks:
|
28
|
+
before_deploy:
|
29
|
+
- 'ruby ~/my_awesome_setup_script.rb'
|
30
|
+
- 'ruby ~/cache_warmup_check.rb'
|
31
|
+
after_deploy:
|
32
|
+
- 'bash ~/cleanup_pids'
|
33
|
+
- 'free -m'
|
34
|
+
|
35
|
+
# This is the path on the server where the root of the
|
25
36
|
# application is stored, not where /public is in terms of a rails
|
26
37
|
# setup.
|
27
38
|
deploy_path: '/home/rails/vacuum'
|
28
39
|
|
29
|
-
# This is the
|
40
|
+
# This is the user that baboon will use for SSH authentication
|
30
41
|
# into the servers that are defined here.
|
31
42
|
deploy_user: 'rails'
|
32
43
|
|
33
|
-
#
|
44
|
+
# Rails environment that Baboon will run all rake/bundler commands
|
45
|
+
# with.
|
34
46
|
rails_env: 'staging'
|
35
47
|
|
36
|
-
#
|
37
|
-
#
|
48
|
+
# Restart command, in case your setup does not support
|
49
|
+
# touch tmp/restart.txt
|
50
|
+
# you can over write this command here. If you do not wish to use
|
51
|
+
# this command, just leave it out of the configuration or nil.
|
52
|
+
restart_command: 'service nginx restart'
|
53
|
+
|
54
|
+
# These are the host machines that baboon will ssh into on each
|
55
|
+
# deploy. They can be defined as an ip address or a host name
|
38
56
|
servers:
|
39
57
|
- '127.0.0.1'
|
40
58
|
- '127.0.0.2'
|
41
59
|
|
42
|
-
# You can define as many different environments as needed
|
60
|
+
# You can define as many different environments as needed.
|
43
61
|
production:
|
44
62
|
branch: 'production'
|
45
63
|
deploy_path: '/home/rails/vacuum'
|
46
64
|
deploy_user: 'rails'
|
47
65
|
rails_env: 'production'
|
66
|
+
restart_command: nil
|
48
67
|
servers:
|
49
68
|
- '10.0.0.1'
|
50
69
|
- '10.0.0.2'
|
51
70
|
- '10.0.0.3'
|
52
|
-
- 'production.node1.east.com'
|
71
|
+
- 'production.node1.east.com'
|
data/media/baboon.psd
ADDED
Binary file
|
data/spec/baboon.yml
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
baboon:
|
2
|
+
# Give you application a descriptive name, has no effect on the actual
|
3
|
+
# running path or location of your application. Can be different then
|
4
|
+
# what is stored in your scm.
|
5
|
+
application: 'Baboon'
|
6
|
+
|
7
|
+
# For now, Baboon will determine what scm the remote code is stored
|
8
|
+
# in based on the scm path.
|
9
|
+
repository: 'git@github.com:amanelis/baboon.git'
|
10
|
+
|
11
|
+
# Pass multiple environments in this section. Each environment you
|
12
|
+
# specify then becomes part of the deploy command: baboon deploy
|
13
|
+
# {environment}. Below, we have defined two envs of staging and
|
14
|
+
# production. Add more as needed.
|
15
|
+
environments:
|
16
|
+
staging:
|
17
|
+
branch: 'master'
|
18
|
+
callbacks:
|
19
|
+
before_deploy:
|
20
|
+
- 'ruby awesome_script.rb'
|
21
|
+
- 'bash hello.sh'
|
22
|
+
after_deploy:
|
23
|
+
- 'ruby warm_cache.rb'
|
24
|
+
- '/etc/init.d/hello restart'
|
25
|
+
deploy_path: '/home/deploy/baboon'
|
26
|
+
deploy_user: 'deploy'
|
27
|
+
restart_command: 'sudo service nginx restart'
|
28
|
+
rails_env: 'production'
|
29
|
+
servers:
|
30
|
+
- 'localhost'
|
data/spec/lib/baboon/cli_spec.rb
CHANGED
@@ -1,34 +1,43 @@
|
|
1
1
|
require 'spec_helper'
|
2
|
+
require 'pry'
|
3
|
+
require 'json'
|
2
4
|
|
3
5
|
describe Baboon::Cli do
|
4
|
-
|
5
|
-
|
6
|
-
|
6
|
+
before {
|
7
|
+
$stdout.sync ||= true
|
8
|
+
WebMock.disable_net_connect!(allow_localhost: true)
|
9
|
+
allow(Baboon::Util).to receive(:locate_baboon_configuration_file).and_return("spec/baboon.yml")
|
10
|
+
}
|
11
|
+
|
12
|
+
describe 'console commands' do
|
13
|
+
describe 'baboon help' do
|
14
|
+
let(:output) { capture(:stdout) { subject.help }.strip }
|
15
|
+
|
16
|
+
it { should_not be_nil }
|
17
|
+
it { expect(output).to include('Baboon commands') }
|
7
18
|
end
|
8
19
|
|
9
|
-
|
10
|
-
|
11
|
-
it "gives the proper output and usage for baboon" do
|
12
|
-
content = capture(:stdout) { Baboon::Cli.start([]) }
|
13
|
-
expect(content).to match(/Tasks:\n/)
|
14
|
-
expect(content).to match(/configuration # Shows the current configuration for baboon.\n/)
|
15
|
-
expect(content).to match(/deploy # Deploys the application to the configured servers.\n/)
|
16
|
-
expect(content).to match(/help \[TASK\] # Describe available tasks or one specific task\n\n/)
|
17
|
-
end
|
18
|
-
end
|
20
|
+
describe 'baboon configuration' do
|
21
|
+
let(:output) { capture(:stdout) { subject.configuration }.strip }
|
19
22
|
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
23
|
+
it { should_not be_nil }
|
24
|
+
it { expect(output).to eq('Baboon') }
|
25
|
+
end
|
26
|
+
|
27
|
+
describe 'baboon deploy {environment}' do
|
28
|
+
let(:export_hash) {{ 'RAILS_ENV' => 'test', 'RACK_ENV' => 'test' }}
|
29
|
+
let(:ssh_connection) { double("SSH Connection", open: true, exit: true, export_hash: export_hash, run_multiple: true) }
|
30
|
+
|
31
|
+
before {
|
32
|
+
allow(Net::SSH::Session).to receive(:new).and_return(ssh_connection)
|
33
|
+
#expect(ssh_connection).to receive(:run_multiple).with(kind_of(Array))
|
34
|
+
#expect(subject).to receive(:run_commands)
|
35
|
+
}
|
36
|
+
|
37
|
+
let(:output) { capture(:stdout) { subject.send(:deploy, 'staging') }.strip }
|
38
|
+
|
39
|
+
it { should_not be_nil }
|
40
|
+
it { expect(output).to include('Deploying[localhost]') }
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe Baboon::Util do
|
4
|
+
describe '.file_check!' do
|
5
|
+
context 'checks if a file is nil' do
|
6
|
+
it {
|
7
|
+
expect(Baboon::Util.file_check!('lib/generators/baboon/install/templates/baboon.yml')).to eq(true)
|
8
|
+
}
|
9
|
+
end
|
10
|
+
end
|
11
|
+
|
12
|
+
describe '.locate_baboon_configuration_file' do
|
13
|
+
context 'will always return at least one path' do
|
14
|
+
it {
|
15
|
+
expect(Baboon::Util.locate_baboon_configuration_file).to include('lib/generators/baboon/install/templates/baboon.yml')
|
16
|
+
}
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
data/spec/lib/baboon_spec.rb
CHANGED
@@ -1,7 +1,15 @@
|
|
1
1
|
require 'spec_helper'
|
2
2
|
|
3
3
|
describe Baboon do
|
4
|
-
|
5
|
-
|
4
|
+
context 'application constants' do
|
5
|
+
context 'title' do
|
6
|
+
subject { BABOON_TITLE }
|
7
|
+
it { expect(subject).to eq("\033[22;31mB\033[22;35ma\033[22;36mb\033[22;32mo\033[01;31mo\033[01;33mn\033[22;37m") }
|
8
|
+
end
|
9
|
+
|
10
|
+
context 'environment settings' do
|
11
|
+
subject { BABOON_ENVIRONMENT_SETTINGS }
|
12
|
+
it { expect(subject).to eq(['branch', 'deploy_path', 'deploy_user', 'rails_env', 'servers']) }
|
13
|
+
end
|
6
14
|
end
|
7
|
-
end
|
15
|
+
end
|
data/spec/spec_helper.rb
CHANGED
@@ -3,6 +3,9 @@ SimpleCov.start do
|
|
3
3
|
add_group 'Baboon', 'lib/'
|
4
4
|
end
|
5
5
|
|
6
|
+
require 'yaml'
|
7
|
+
YAML::ENGINE.yamler = 'psych'
|
8
|
+
|
6
9
|
ENV['RAILS_ENV'] ||= 'test'
|
7
10
|
require File.expand_path('../../lib/baboon', __FILE__)
|
8
11
|
|
@@ -11,11 +14,45 @@ Dir["spec/support/**/*.rb"].each { |f| require f }
|
|
11
14
|
PROJECT_ROOT = File.expand_path('../..', __FILE__)
|
12
15
|
$LOAD_PATH << File.join(PROJECT_ROOT, 'lib')
|
13
16
|
|
17
|
+
require 'webmock/rspec'
|
18
|
+
require 'capybara/rspec'
|
19
|
+
|
14
20
|
RSpec.configure do |config|
|
15
|
-
config.color_enabled = true
|
21
|
+
#config.color_enabled = true
|
16
22
|
config.tty = true
|
17
23
|
config.mock_with :rspec
|
18
|
-
|
24
|
+
|
25
|
+
# Configure devise to work for authentication
|
26
|
+
config.include WebMock::API
|
27
|
+
|
28
|
+
# Capybara for integrations
|
29
|
+
config.include Capybara::DSL
|
30
|
+
|
31
|
+
# WebMock Configuration
|
32
|
+
config.before do
|
33
|
+
WebMock.enable!
|
34
|
+
if Capybara.current_driver != :rack_test
|
35
|
+
selenium_requests = %r{/((__.+__)|(hub/session.*))$}
|
36
|
+
WebMock.disable_net_connect! :allow => selenium_requests
|
37
|
+
WebMock.disable_net_connect! :allow => '127.0.0.1:#{Capybara.current_session.driver.server_port}' # this only works for capybara selenium and capybara-webkit
|
38
|
+
else
|
39
|
+
WebMock.disable_net_connect!
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
43
|
+
# Mock with rspec
|
44
|
+
config.mock_with :rspec do |mocks|
|
45
|
+
# Prevents you from mocking or stubbing a method that does not exist on
|
46
|
+
# a real object. This is generally recommended, and will default to
|
47
|
+
# `true` in RSpec 4.
|
48
|
+
mocks.verify_partial_doubles = true
|
49
|
+
end
|
50
|
+
|
51
|
+
# for connections where we need to have network access we just tag it network
|
52
|
+
config.before(:each, :network => true) do
|
53
|
+
WebMock.disable!
|
54
|
+
end
|
55
|
+
|
19
56
|
config.before(:each) do
|
20
57
|
ARGV.clear
|
21
58
|
$stdout.sync ||= true
|
@@ -52,4 +89,4 @@ RSpec.configure do |config|
|
|
52
89
|
# @param [IO] stream The stream to use such as $stderr or $stdout
|
53
90
|
# @return [nil]
|
54
91
|
alias :silence :capture
|
55
|
-
end
|
92
|
+
end
|
metadata
CHANGED
@@ -1,240 +1,57 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: baboon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
5
|
-
prerelease:
|
4
|
+
version: 1.5.5
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Alex Manelis
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2016-01-27 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: thor
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - "~>"
|
20
18
|
- !ruby/object:Gem::Version
|
21
|
-
version:
|
19
|
+
version: 0.19.1
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - "~>"
|
28
25
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
26
|
+
version: 0.19.1
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: net-ssh
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - "~>"
|
36
32
|
- !ruby/object:Gem::Version
|
37
|
-
version: '
|
33
|
+
version: '2.6'
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- -
|
38
|
+
- - "~>"
|
44
39
|
- !ruby/object:Gem::Version
|
45
|
-
version: '
|
40
|
+
version: '2.6'
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
|
-
name: net-
|
42
|
+
name: net-ssh-session
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
|
-
- -
|
45
|
+
- - "~>"
|
52
46
|
- !ruby/object:Gem::Version
|
53
|
-
version:
|
47
|
+
version: 0.1.6
|
54
48
|
type: :runtime
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
|
-
- -
|
52
|
+
- - "~>"
|
60
53
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
62
|
-
- !ruby/object:Gem::Dependency
|
63
|
-
name: rake
|
64
|
-
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
|
-
requirements:
|
67
|
-
- - ! '>='
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version: '0'
|
70
|
-
type: :development
|
71
|
-
prerelease: false
|
72
|
-
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
|
-
requirements:
|
75
|
-
- - ! '>='
|
76
|
-
- !ruby/object:Gem::Version
|
77
|
-
version: '0'
|
78
|
-
- !ruby/object:Gem::Dependency
|
79
|
-
name: rails
|
80
|
-
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
|
-
requirements:
|
83
|
-
- - ! '>='
|
84
|
-
- !ruby/object:Gem::Version
|
85
|
-
version: '0'
|
86
|
-
type: :development
|
87
|
-
prerelease: false
|
88
|
-
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
|
-
requirements:
|
91
|
-
- - ! '>='
|
92
|
-
- !ruby/object:Gem::Version
|
93
|
-
version: '0'
|
94
|
-
- !ruby/object:Gem::Dependency
|
95
|
-
name: rspec
|
96
|
-
requirement: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
|
-
requirements:
|
99
|
-
- - ! '>='
|
100
|
-
- !ruby/object:Gem::Version
|
101
|
-
version: '0'
|
102
|
-
type: :development
|
103
|
-
prerelease: false
|
104
|
-
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
|
-
requirements:
|
107
|
-
- - ! '>='
|
108
|
-
- !ruby/object:Gem::Version
|
109
|
-
version: '0'
|
110
|
-
- !ruby/object:Gem::Dependency
|
111
|
-
name: rspec-core
|
112
|
-
requirement: !ruby/object:Gem::Requirement
|
113
|
-
none: false
|
114
|
-
requirements:
|
115
|
-
- - ! '>='
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: '0'
|
118
|
-
type: :development
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
none: false
|
122
|
-
requirements:
|
123
|
-
- - ! '>='
|
124
|
-
- !ruby/object:Gem::Version
|
125
|
-
version: '0'
|
126
|
-
- !ruby/object:Gem::Dependency
|
127
|
-
name: rspec-mocks
|
128
|
-
requirement: !ruby/object:Gem::Requirement
|
129
|
-
none: false
|
130
|
-
requirements:
|
131
|
-
- - ! '>='
|
132
|
-
- !ruby/object:Gem::Version
|
133
|
-
version: '0'
|
134
|
-
type: :development
|
135
|
-
prerelease: false
|
136
|
-
version_requirements: !ruby/object:Gem::Requirement
|
137
|
-
none: false
|
138
|
-
requirements:
|
139
|
-
- - ! '>='
|
140
|
-
- !ruby/object:Gem::Version
|
141
|
-
version: '0'
|
142
|
-
- !ruby/object:Gem::Dependency
|
143
|
-
name: rspec-rails
|
144
|
-
requirement: !ruby/object:Gem::Requirement
|
145
|
-
none: false
|
146
|
-
requirements:
|
147
|
-
- - ! '>='
|
148
|
-
- !ruby/object:Gem::Version
|
149
|
-
version: '0'
|
150
|
-
type: :development
|
151
|
-
prerelease: false
|
152
|
-
version_requirements: !ruby/object:Gem::Requirement
|
153
|
-
none: false
|
154
|
-
requirements:
|
155
|
-
- - ! '>='
|
156
|
-
- !ruby/object:Gem::Version
|
157
|
-
version: '0'
|
158
|
-
- !ruby/object:Gem::Dependency
|
159
|
-
name: rspec-expectations
|
160
|
-
requirement: !ruby/object:Gem::Requirement
|
161
|
-
none: false
|
162
|
-
requirements:
|
163
|
-
- - ! '>='
|
164
|
-
- !ruby/object:Gem::Version
|
165
|
-
version: '0'
|
166
|
-
type: :development
|
167
|
-
prerelease: false
|
168
|
-
version_requirements: !ruby/object:Gem::Requirement
|
169
|
-
none: false
|
170
|
-
requirements:
|
171
|
-
- - ! '>='
|
172
|
-
- !ruby/object:Gem::Version
|
173
|
-
version: '0'
|
174
|
-
- !ruby/object:Gem::Dependency
|
175
|
-
name: shoulda-matchers
|
176
|
-
requirement: !ruby/object:Gem::Requirement
|
177
|
-
none: false
|
178
|
-
requirements:
|
179
|
-
- - ! '>='
|
180
|
-
- !ruby/object:Gem::Version
|
181
|
-
version: '0'
|
182
|
-
type: :development
|
183
|
-
prerelease: false
|
184
|
-
version_requirements: !ruby/object:Gem::Requirement
|
185
|
-
none: false
|
186
|
-
requirements:
|
187
|
-
- - ! '>='
|
188
|
-
- !ruby/object:Gem::Version
|
189
|
-
version: '0'
|
190
|
-
- !ruby/object:Gem::Dependency
|
191
|
-
name: simplecov
|
192
|
-
requirement: !ruby/object:Gem::Requirement
|
193
|
-
none: false
|
194
|
-
requirements:
|
195
|
-
- - ! '>='
|
196
|
-
- !ruby/object:Gem::Version
|
197
|
-
version: '0'
|
198
|
-
type: :development
|
199
|
-
prerelease: false
|
200
|
-
version_requirements: !ruby/object:Gem::Requirement
|
201
|
-
none: false
|
202
|
-
requirements:
|
203
|
-
- - ! '>='
|
204
|
-
- !ruby/object:Gem::Version
|
205
|
-
version: '0'
|
206
|
-
- !ruby/object:Gem::Dependency
|
207
|
-
name: capybara
|
208
|
-
requirement: !ruby/object:Gem::Requirement
|
209
|
-
none: false
|
210
|
-
requirements:
|
211
|
-
- - ! '>='
|
212
|
-
- !ruby/object:Gem::Version
|
213
|
-
version: '0'
|
214
|
-
type: :development
|
215
|
-
prerelease: false
|
216
|
-
version_requirements: !ruby/object:Gem::Requirement
|
217
|
-
none: false
|
218
|
-
requirements:
|
219
|
-
- - ! '>='
|
220
|
-
- !ruby/object:Gem::Version
|
221
|
-
version: '0'
|
222
|
-
- !ruby/object:Gem::Dependency
|
223
|
-
name: faker
|
224
|
-
requirement: !ruby/object:Gem::Requirement
|
225
|
-
none: false
|
226
|
-
requirements:
|
227
|
-
- - ! '>='
|
228
|
-
- !ruby/object:Gem::Version
|
229
|
-
version: '0'
|
230
|
-
type: :development
|
231
|
-
prerelease: false
|
232
|
-
version_requirements: !ruby/object:Gem::Requirement
|
233
|
-
none: false
|
234
|
-
requirements:
|
235
|
-
- - ! '>='
|
236
|
-
- !ruby/object:Gem::Version
|
237
|
-
version: '0'
|
54
|
+
version: 0.1.6
|
238
55
|
description: A lite deployment package for rails applications.
|
239
56
|
email:
|
240
57
|
- amanelis@gmail.com
|
@@ -243,57 +60,56 @@ executables:
|
|
243
60
|
extensions: []
|
244
61
|
extra_rdoc_files: []
|
245
62
|
files:
|
63
|
+
- ".coveralls.yml"
|
64
|
+
- ".gitignore"
|
65
|
+
- ".rspec"
|
66
|
+
- ".ruby-gemset"
|
67
|
+
- ".ruby-version"
|
68
|
+
- ".travis.yml"
|
69
|
+
- Gemfile
|
70
|
+
- LICENSE
|
71
|
+
- README.md
|
246
72
|
- Rakefile
|
73
|
+
- baboon.gemspec
|
247
74
|
- bin/baboon
|
248
|
-
- lib/baboon
|
75
|
+
- lib/baboon.rb
|
249
76
|
- lib/baboon/cli.rb
|
250
|
-
- lib/baboon/configuration.rb
|
251
77
|
- lib/baboon/exception.rb
|
252
78
|
- lib/baboon/instructions/rails.rb
|
253
|
-
- lib/baboon/logger.rb
|
254
79
|
- lib/baboon/util.rb
|
255
80
|
- lib/baboon/version.rb
|
256
|
-
- lib/baboon.rb
|
257
81
|
- lib/core_ext/string.rb
|
258
|
-
- lib/generators/baboon/config/config_generator.rb
|
259
|
-
- lib/generators/baboon/config/templates/baboon.yml
|
260
82
|
- lib/generators/baboon/install/install_generator.rb
|
261
83
|
- lib/generators/baboon/install/templates/baboon.yml
|
84
|
+
- media/baboon.psd
|
85
|
+
- spec/baboon.yml
|
262
86
|
- spec/lib/baboon/cli_spec.rb
|
263
|
-
- spec/lib/baboon/
|
87
|
+
- spec/lib/baboon/util_spec.rb
|
264
88
|
- spec/lib/baboon_spec.rb
|
265
89
|
- spec/lib/generators/baboon/install/install_generator_spec.rb
|
266
90
|
- spec/spec_helper.rb
|
267
|
-
- README.md
|
268
91
|
homepage: https://github.com/amanelis/baboon
|
269
92
|
licenses:
|
270
93
|
- MIT
|
94
|
+
metadata: {}
|
271
95
|
post_install_message:
|
272
96
|
rdoc_options: []
|
273
97
|
require_paths:
|
274
98
|
- lib
|
275
99
|
required_ruby_version: !ruby/object:Gem::Requirement
|
276
|
-
none: false
|
277
100
|
requirements:
|
278
|
-
- -
|
101
|
+
- - ">="
|
279
102
|
- !ruby/object:Gem::Version
|
280
|
-
version:
|
281
|
-
segments:
|
282
|
-
- 0
|
283
|
-
hash: 1179810549053676199
|
103
|
+
version: 2.1.0
|
284
104
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
285
|
-
none: false
|
286
105
|
requirements:
|
287
|
-
- -
|
106
|
+
- - ">="
|
288
107
|
- !ruby/object:Gem::Version
|
289
108
|
version: '0'
|
290
|
-
segments:
|
291
|
-
- 0
|
292
|
-
hash: 1179810549053676199
|
293
109
|
requirements: []
|
294
|
-
rubyforge_project:
|
295
|
-
rubygems_version:
|
110
|
+
rubyforge_project:
|
111
|
+
rubygems_version: 2.2.2
|
296
112
|
signing_key:
|
297
|
-
specification_version:
|
113
|
+
specification_version: 4
|
298
114
|
summary: Add a configuration file, setup and deploy.
|
299
115
|
test_files: []
|