poise-application-ruby 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +11 -0
- data/.kitchen.travis.yml +9 -0
- data/.kitchen.yml +10 -0
- data/.travis.yml +21 -0
- data/.yardopts +3 -0
- data/Berksfile +35 -0
- data/CHANGELOG.md +82 -0
- data/Gemfile +37 -0
- data/LICENSE +201 -0
- data/README.md +271 -0
- data/Rakefile +17 -0
- data/SUPPORTERS.md +81 -0
- data/chef/templates/database.yml.erb +3 -0
- data/chef/templates/secrets.yml.erb +3 -0
- data/lib/poise_application_ruby.rb +24 -0
- data/lib/poise_application_ruby/app_mixin.rb +92 -0
- data/lib/poise_application_ruby/cheftie.rb +17 -0
- data/lib/poise_application_ruby/error.rb +25 -0
- data/lib/poise_application_ruby/resources.rb +24 -0
- data/lib/poise_application_ruby/resources/bundle_install.rb +54 -0
- data/lib/poise_application_ruby/resources/rackup.rb +70 -0
- data/lib/poise_application_ruby/resources/rails.rb +260 -0
- data/lib/poise_application_ruby/resources/ruby.rb +57 -0
- data/lib/poise_application_ruby/resources/ruby_execute.rb +89 -0
- data/lib/poise_application_ruby/resources/ruby_gem.rb +46 -0
- data/lib/poise_application_ruby/resources/thin.rb +64 -0
- data/lib/poise_application_ruby/resources/unicorn.rb +87 -0
- data/lib/poise_application_ruby/service_mixin.rb +66 -0
- data/lib/poise_application_ruby/version.rb +19 -0
- data/poise-application-ruby.gemspec +45 -0
- data/test/cookbooks/application_ruby_test/attributes/default.rb +17 -0
- data/test/cookbooks/application_ruby_test/metadata.rb +20 -0
- data/test/cookbooks/application_ruby_test/recipes/default.rb +66 -0
- data/test/cookbooks/application_ruby_test/recipes/rails.rb +41 -0
- data/test/cookbooks/application_ruby_test/recipes/sinatra.rb +29 -0
- data/test/gemfiles/chef-12.gemfile +19 -0
- data/test/gemfiles/master.gemfile +27 -0
- data/test/integration/default/serverspec/default_spec.rb +44 -0
- data/test/integration/default/serverspec/rails_spec.rb +41 -0
- data/test/integration/default/serverspec/sinatra_spec.rb +40 -0
- data/test/spec/resources/ruby_execute_spec.rb +46 -0
- data/test/spec/spec_helper.rb +20 -0
- metadata +202 -0
@@ -0,0 +1,17 @@
|
|
1
|
+
#
|
2
|
+
# Copyright 2015, Noah Kantrowitz
|
3
|
+
#
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
# you may not use this file except in compliance with the License.
|
6
|
+
# You may obtain a copy of the License at
|
7
|
+
#
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
#
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
# See the License for the specific language governing permissions and
|
14
|
+
# limitations under the License.
|
15
|
+
#
|
16
|
+
|
17
|
+
override['poise-service']['provider'] = 'dummy'
|
@@ -0,0 +1,20 @@
|
|
1
|
+
#
|
2
|
+
# Copyright 2015, Noah Kantrowitz
|
3
|
+
#
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
# you may not use this file except in compliance with the License.
|
6
|
+
# You may obtain a copy of the License at
|
7
|
+
#
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
#
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
# See the License for the specific language governing permissions and
|
14
|
+
# limitations under the License.
|
15
|
+
#
|
16
|
+
|
17
|
+
name 'application_ruby_test'
|
18
|
+
depends 'application_git'
|
19
|
+
depends 'application_ruby'
|
20
|
+
depends 'build-essential'
|
@@ -0,0 +1,66 @@
|
|
1
|
+
#
|
2
|
+
# Copyright 2015, Noah Kantrowitz
|
3
|
+
#
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
# you may not use this file except in compliance with the License.
|
6
|
+
# You may obtain a copy of the License at
|
7
|
+
#
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
#
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
# See the License for the specific language governing permissions and
|
14
|
+
# limitations under the License.
|
15
|
+
#
|
16
|
+
|
17
|
+
# For netstat in serverspec.
|
18
|
+
package 'net-tools'
|
19
|
+
|
20
|
+
ruby_runtime 'any' do
|
21
|
+
provider :system
|
22
|
+
version ''
|
23
|
+
end
|
24
|
+
|
25
|
+
ruby_gem 'rack' do
|
26
|
+
# Rack 1.6.2-1.6.4 broke 1.8 compat.
|
27
|
+
version '1.6.1'
|
28
|
+
end
|
29
|
+
|
30
|
+
application '/opt/rack1' do
|
31
|
+
file '/opt/rack1/config.ru' do
|
32
|
+
content <<-EOH
|
33
|
+
use Rack::ContentLength
|
34
|
+
run proc {|env| [200, {'Content-Type' => 'text/plain'}, ['Hello world']] }
|
35
|
+
EOH
|
36
|
+
end
|
37
|
+
|
38
|
+
rackup do
|
39
|
+
port 8000
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
43
|
+
application '/opt/rack2' do
|
44
|
+
file '/opt/rack2/Gemfile' do
|
45
|
+
content <<-EOH
|
46
|
+
source 'https://rubygems.org/'
|
47
|
+
# See above ruby_gem[rack] for matching version.
|
48
|
+
gem 'rack', '1.6.1'
|
49
|
+
EOH
|
50
|
+
end
|
51
|
+
|
52
|
+
file '/opt/rack2/config.ru' do
|
53
|
+
content <<-EOH
|
54
|
+
use Rack::ContentLength
|
55
|
+
run proc {|env| [200, {'Content-Type' => 'text/plain'}, [caller.first]] }
|
56
|
+
EOH
|
57
|
+
end
|
58
|
+
|
59
|
+
bundle_install do
|
60
|
+
vendor true
|
61
|
+
end
|
62
|
+
|
63
|
+
rackup do
|
64
|
+
port 8001
|
65
|
+
end
|
66
|
+
end
|
@@ -0,0 +1,41 @@
|
|
1
|
+
#
|
2
|
+
# Copyright 2015, Noah Kantrowitz
|
3
|
+
#
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
# you may not use this file except in compliance with the License.
|
6
|
+
# You may obtain a copy of the License at
|
7
|
+
#
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
#
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
# See the License for the specific language governing permissions and
|
14
|
+
# limitations under the License.
|
15
|
+
#
|
16
|
+
|
17
|
+
# RHEL 6 is too old to run Rails 4.2 on the system Ruby.
|
18
|
+
return if platform_family?('rhel') && node['platform_version'].start_with?('6')
|
19
|
+
|
20
|
+
include_recipe 'build-essential'
|
21
|
+
|
22
|
+
package value_for_platform_family(debian: 'ruby-dev', rhel: 'ruby-devel')
|
23
|
+
package value_for_platform_family(debian: 'zlib1g-dev', rhel: 'zlib-devel')
|
24
|
+
package value_for_platform_family(debian: 'libsqlite3-dev', rhel: 'sqlite-devel')
|
25
|
+
package 'tar' if platform_family?('rhel')
|
26
|
+
|
27
|
+
application '/opt/test_rails' do
|
28
|
+
git 'https://github.com/poise/test_rails.git'
|
29
|
+
bundle_install do
|
30
|
+
deployment true
|
31
|
+
without %w{development test}
|
32
|
+
end
|
33
|
+
rails do
|
34
|
+
database 'sqlite3:///db.sqlite3'
|
35
|
+
migrate true
|
36
|
+
secret_token 'd78fe08df56c9'
|
37
|
+
end
|
38
|
+
unicorn do
|
39
|
+
port 9001
|
40
|
+
end
|
41
|
+
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
#
|
2
|
+
# Copyright 2015, Noah Kantrowitz
|
3
|
+
#
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
# you may not use this file except in compliance with the License.
|
6
|
+
# You may obtain a copy of the License at
|
7
|
+
#
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
#
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
# See the License for the specific language governing permissions and
|
14
|
+
# limitations under the License.
|
15
|
+
#
|
16
|
+
|
17
|
+
include_recipe 'build-essential'
|
18
|
+
|
19
|
+
package value_for_platform_family(debian: 'ruby-dev', rhel: 'ruby-devel')
|
20
|
+
|
21
|
+
application '/opt/test_sinatra' do
|
22
|
+
git 'https://github.com/poise/test_sinatra.git'
|
23
|
+
bundle_install do
|
24
|
+
deployment true
|
25
|
+
end
|
26
|
+
unicorn do
|
27
|
+
port 9000
|
28
|
+
end
|
29
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
#
|
2
|
+
# Copyright 2015, Noah Kantrowitz
|
3
|
+
#
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
# you may not use this file except in compliance with the License.
|
6
|
+
# You may obtain a copy of the License at
|
7
|
+
#
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
#
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
# See the License for the specific language governing permissions and
|
14
|
+
# limitations under the License.
|
15
|
+
#
|
16
|
+
|
17
|
+
eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
|
18
|
+
|
19
|
+
gem 'chef', '~> 12.0'
|
@@ -0,0 +1,27 @@
|
|
1
|
+
#
|
2
|
+
# Copyright 2015, Noah Kantrowitz
|
3
|
+
#
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
# you may not use this file except in compliance with the License.
|
6
|
+
# You may obtain a copy of the License at
|
7
|
+
#
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
#
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
# See the License for the specific language governing permissions and
|
14
|
+
# limitations under the License.
|
15
|
+
#
|
16
|
+
|
17
|
+
eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
|
18
|
+
|
19
|
+
gem 'chef', github: 'chef/chef'
|
20
|
+
gem 'halite', github: 'poise/halite'
|
21
|
+
gem 'poise', github: 'poise/poise'
|
22
|
+
gem 'poise-application', github: 'poise/application'
|
23
|
+
gem 'poise-application-git', github: 'poise/application_git'
|
24
|
+
gem 'poise-boiler', github: 'poise/poise-boiler'
|
25
|
+
gem 'poise-languages', github: 'poise/poise-languages'
|
26
|
+
gem 'poise-ruby', github: 'poise/poise-ruby'
|
27
|
+
gem 'poise-service', github: 'poise/poise-service'
|
@@ -0,0 +1,44 @@
|
|
1
|
+
#
|
2
|
+
# Copyright 2015, Noah Kantrowitz
|
3
|
+
#
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
# you may not use this file except in compliance with the License.
|
6
|
+
# You may obtain a copy of the License at
|
7
|
+
#
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
#
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
# See the License for the specific language governing permissions and
|
14
|
+
# limitations under the License.
|
15
|
+
#
|
16
|
+
|
17
|
+
require 'net/http'
|
18
|
+
|
19
|
+
require 'serverspec'
|
20
|
+
set :backend, :exec
|
21
|
+
|
22
|
+
describe 'rackup' do
|
23
|
+
context '/opt/rack1' do
|
24
|
+
describe port(8000) do
|
25
|
+
it { is_expected.to be_listening }
|
26
|
+
end
|
27
|
+
|
28
|
+
describe 'HTTP response' do
|
29
|
+
subject { Net::HTTP.new('localhost', 8000).get('/').body }
|
30
|
+
it { is_expected.to eq 'Hello world' }
|
31
|
+
end
|
32
|
+
end # /context /opt/rack1
|
33
|
+
|
34
|
+
context '/opt/rack2' do
|
35
|
+
describe port(8001) do
|
36
|
+
it { is_expected.to be_listening }
|
37
|
+
end
|
38
|
+
|
39
|
+
describe 'HTTP response' do
|
40
|
+
subject { Net::HTTP.new('localhost', 8001).get('/').body }
|
41
|
+
it { is_expected.to start_with '/opt/rack2' }
|
42
|
+
end
|
43
|
+
end # /context /opt/rack2
|
44
|
+
end
|
@@ -0,0 +1,41 @@
|
|
1
|
+
#
|
2
|
+
# Copyright 2015, Noah Kantrowitz
|
3
|
+
#
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
# you may not use this file except in compliance with the License.
|
6
|
+
# You may obtain a copy of the License at
|
7
|
+
#
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
#
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
# See the License for the specific language governing permissions and
|
14
|
+
# limitations under the License.
|
15
|
+
#
|
16
|
+
|
17
|
+
require 'net/http'
|
18
|
+
|
19
|
+
require 'serverspec'
|
20
|
+
set :backend, :exec
|
21
|
+
|
22
|
+
|
23
|
+
describe 'rails', if: File.exists?('/opt/test_rails') do
|
24
|
+
describe port(9001) do
|
25
|
+
it { is_expected.to be_listening }
|
26
|
+
end
|
27
|
+
|
28
|
+
let(:http) { Net::HTTP.new('localhost', 9001) }
|
29
|
+
|
30
|
+
describe '/' do
|
31
|
+
subject { http.get('/') }
|
32
|
+
its(:code) { is_expected.to eq '200' }
|
33
|
+
its(:body) { is_expected.to include '<h1>Hello, Rails!</h1>' }
|
34
|
+
end
|
35
|
+
|
36
|
+
describe '/articles' do
|
37
|
+
subject { http.get('/articles') }
|
38
|
+
its(:code) { is_expected.to eq '200' }
|
39
|
+
its(:body) { is_expected.to include '<h1>Listing articles</h1>' }
|
40
|
+
end
|
41
|
+
end
|
@@ -0,0 +1,40 @@
|
|
1
|
+
#
|
2
|
+
# Copyright 2015, Noah Kantrowitz
|
3
|
+
#
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
# you may not use this file except in compliance with the License.
|
6
|
+
# You may obtain a copy of the License at
|
7
|
+
#
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
#
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
# See the License for the specific language governing permissions and
|
14
|
+
# limitations under the License.
|
15
|
+
#
|
16
|
+
|
17
|
+
require 'net/http'
|
18
|
+
|
19
|
+
require 'serverspec'
|
20
|
+
set :backend, :exec
|
21
|
+
|
22
|
+
|
23
|
+
describe 'sinatra' do
|
24
|
+
describe port(9000) do
|
25
|
+
it { is_expected.to be_listening }
|
26
|
+
end
|
27
|
+
|
28
|
+
let(:http) { Net::HTTP.new('localhost', 9000) }
|
29
|
+
|
30
|
+
describe '/' do
|
31
|
+
subject { http.get('/') }
|
32
|
+
its(:code) { is_expected.to eq '404' }
|
33
|
+
end
|
34
|
+
|
35
|
+
describe '/hi' do
|
36
|
+
subject { http.get('/hi') }
|
37
|
+
its(:code) { is_expected.to eq '200' }
|
38
|
+
its(:body) { is_expected.to eq 'Hello World!' }
|
39
|
+
end
|
40
|
+
end
|
@@ -0,0 +1,46 @@
|
|
1
|
+
#
|
2
|
+
# Copyright 2015, Noah Kantrowitz
|
3
|
+
#
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
# you may not use this file except in compliance with the License.
|
6
|
+
# You may obtain a copy of the License at
|
7
|
+
#
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
#
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
# See the License for the specific language governing permissions and
|
14
|
+
# limitations under the License.
|
15
|
+
#
|
16
|
+
|
17
|
+
require 'spec_helper'
|
18
|
+
|
19
|
+
describe PoiseApplicationRuby::Resources::RubyExecute do
|
20
|
+
step_into(:application_ruby_execute)
|
21
|
+
recipe do
|
22
|
+
application '/srv/myapp' do
|
23
|
+
owner 'myuser'
|
24
|
+
group 'mygroup'
|
25
|
+
environment ENVKEY: 'ENVVALUE'
|
26
|
+
|
27
|
+
ruby('') { provider :dummy }
|
28
|
+
ruby_execute 'myapp.rb'
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
it do
|
33
|
+
expect_any_instance_of(described_class::Provider).to receive(:shell_out!).with(
|
34
|
+
'/ruby myapp.rb',
|
35
|
+
user: 'myuser',
|
36
|
+
group: 'mygroup',
|
37
|
+
cwd: '/srv/myapp',
|
38
|
+
timeout: 3600,
|
39
|
+
returns: 0,
|
40
|
+
environment: {'ENVKEY' => 'ENVVALUE'},
|
41
|
+
log_level: :info,
|
42
|
+
log_tag: 'application_ruby_execute[myapp.rb]',
|
43
|
+
)
|
44
|
+
is_expected.to run_application_ruby_execute('myapp.rb').with(user: 'myuser', group: 'mygroup', cwd: '/srv/myapp')
|
45
|
+
end
|
46
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
#
|
2
|
+
# Copyright 2015, Noah Kantrowitz
|
3
|
+
#
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
# you may not use this file except in compliance with the License.
|
6
|
+
# You may obtain a copy of the License at
|
7
|
+
#
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
#
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
# See the License for the specific language governing permissions and
|
14
|
+
# limitations under the License.
|
15
|
+
#
|
16
|
+
|
17
|
+
require 'poise_boiler/spec_helper'
|
18
|
+
require 'poise_application_ruby'
|
19
|
+
require 'poise_application/cheftie'
|
20
|
+
require 'poise_ruby/cheftie'
|
metadata
ADDED
@@ -0,0 +1,202 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: poise-application-ruby
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 4.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Noah Kantrowitz
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-10-05 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: halite
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: poise
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '2.0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '2.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: poise-application
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '5.0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '5.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: poise-ruby
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '2.1'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '2.1'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: poise-service
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '1.0'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '1.0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: poise-boiler
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '1.0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '1.0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: poise-application-git
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '1.0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '1.0'
|
111
|
+
description: A Chef cookbook for deploying application code.
|
112
|
+
email:
|
113
|
+
- noah@coderanger.net
|
114
|
+
executables: []
|
115
|
+
extensions: []
|
116
|
+
extra_rdoc_files: []
|
117
|
+
files:
|
118
|
+
- ".gitignore"
|
119
|
+
- ".kitchen.travis.yml"
|
120
|
+
- ".kitchen.yml"
|
121
|
+
- ".travis.yml"
|
122
|
+
- ".yardopts"
|
123
|
+
- Berksfile
|
124
|
+
- CHANGELOG.md
|
125
|
+
- Gemfile
|
126
|
+
- LICENSE
|
127
|
+
- README.md
|
128
|
+
- Rakefile
|
129
|
+
- SUPPORTERS.md
|
130
|
+
- chef/templates/database.yml.erb
|
131
|
+
- chef/templates/secrets.yml.erb
|
132
|
+
- lib/poise_application_ruby.rb
|
133
|
+
- lib/poise_application_ruby/app_mixin.rb
|
134
|
+
- lib/poise_application_ruby/cheftie.rb
|
135
|
+
- lib/poise_application_ruby/error.rb
|
136
|
+
- lib/poise_application_ruby/resources.rb
|
137
|
+
- lib/poise_application_ruby/resources/bundle_install.rb
|
138
|
+
- lib/poise_application_ruby/resources/rackup.rb
|
139
|
+
- lib/poise_application_ruby/resources/rails.rb
|
140
|
+
- lib/poise_application_ruby/resources/ruby.rb
|
141
|
+
- lib/poise_application_ruby/resources/ruby_execute.rb
|
142
|
+
- lib/poise_application_ruby/resources/ruby_gem.rb
|
143
|
+
- lib/poise_application_ruby/resources/thin.rb
|
144
|
+
- lib/poise_application_ruby/resources/unicorn.rb
|
145
|
+
- lib/poise_application_ruby/service_mixin.rb
|
146
|
+
- lib/poise_application_ruby/version.rb
|
147
|
+
- poise-application-ruby.gemspec
|
148
|
+
- test/cookbooks/application_ruby_test/attributes/default.rb
|
149
|
+
- test/cookbooks/application_ruby_test/metadata.rb
|
150
|
+
- test/cookbooks/application_ruby_test/recipes/default.rb
|
151
|
+
- test/cookbooks/application_ruby_test/recipes/rails.rb
|
152
|
+
- test/cookbooks/application_ruby_test/recipes/sinatra.rb
|
153
|
+
- test/docker/docker.ca
|
154
|
+
- test/docker/docker.pem
|
155
|
+
- test/gemfiles/chef-12.gemfile
|
156
|
+
- test/gemfiles/master.gemfile
|
157
|
+
- test/integration/default/serverspec/default_spec.rb
|
158
|
+
- test/integration/default/serverspec/rails_spec.rb
|
159
|
+
- test/integration/default/serverspec/sinatra_spec.rb
|
160
|
+
- test/spec/resources/ruby_execute_spec.rb
|
161
|
+
- test/spec/spec_helper.rb
|
162
|
+
homepage: https://github.com/poise/application_ruby
|
163
|
+
licenses:
|
164
|
+
- Apache 2.0
|
165
|
+
metadata:
|
166
|
+
halite_name: application_ruby
|
167
|
+
post_install_message:
|
168
|
+
rdoc_options: []
|
169
|
+
require_paths:
|
170
|
+
- lib
|
171
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
172
|
+
requirements:
|
173
|
+
- - ">="
|
174
|
+
- !ruby/object:Gem::Version
|
175
|
+
version: '0'
|
176
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - ">="
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '0'
|
181
|
+
requirements: []
|
182
|
+
rubyforge_project:
|
183
|
+
rubygems_version: 2.4.8
|
184
|
+
signing_key:
|
185
|
+
specification_version: 4
|
186
|
+
summary: A Chef cookbook for deploying application code.
|
187
|
+
test_files:
|
188
|
+
- test/cookbooks/application_ruby_test/attributes/default.rb
|
189
|
+
- test/cookbooks/application_ruby_test/metadata.rb
|
190
|
+
- test/cookbooks/application_ruby_test/recipes/default.rb
|
191
|
+
- test/cookbooks/application_ruby_test/recipes/rails.rb
|
192
|
+
- test/cookbooks/application_ruby_test/recipes/sinatra.rb
|
193
|
+
- test/docker/docker.ca
|
194
|
+
- test/docker/docker.pem
|
195
|
+
- test/gemfiles/chef-12.gemfile
|
196
|
+
- test/gemfiles/master.gemfile
|
197
|
+
- test/integration/default/serverspec/default_spec.rb
|
198
|
+
- test/integration/default/serverspec/rails_spec.rb
|
199
|
+
- test/integration/default/serverspec/sinatra_spec.rb
|
200
|
+
- test/spec/resources/ruby_execute_spec.rb
|
201
|
+
- test/spec/spec_helper.rb
|
202
|
+
has_rdoc:
|