poise-application-ruby 4.0.1 → 4.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. checksums.yaml +4 -4
  2. data/.kitchen.yml +1 -8
  3. data/.travis.yml +59 -15
  4. data/CHANGELOG.md +6 -0
  5. data/Gemfile +5 -1
  6. data/README.md +34 -4
  7. data/Rakefile +1 -1
  8. data/chef/templates/secret_token.rb.erb +3 -0
  9. data/chef/templates/secrets.yml.erb +1 -1
  10. data/lib/poise_application_ruby.rb +1 -1
  11. data/lib/poise_application_ruby/app_mixin.rb +1 -1
  12. data/lib/poise_application_ruby/cheftie.rb +1 -1
  13. data/lib/poise_application_ruby/error.rb +1 -1
  14. data/lib/poise_application_ruby/resources.rb +2 -1
  15. data/lib/poise_application_ruby/resources/bundle_install.rb +1 -1
  16. data/lib/poise_application_ruby/resources/puma.rb +86 -0
  17. data/lib/poise_application_ruby/resources/rackup.rb +1 -1
  18. data/lib/poise_application_ruby/resources/rails.rb +40 -8
  19. data/lib/poise_application_ruby/resources/ruby.rb +1 -1
  20. data/lib/poise_application_ruby/resources/ruby_execute.rb +1 -1
  21. data/lib/poise_application_ruby/resources/ruby_gem.rb +1 -1
  22. data/lib/poise_application_ruby/resources/thin.rb +1 -1
  23. data/lib/poise_application_ruby/resources/unicorn.rb +1 -1
  24. data/lib/poise_application_ruby/service_mixin.rb +10 -2
  25. data/lib/poise_application_ruby/version.rb +2 -2
  26. data/poise-application-ruby.gemspec +5 -3
  27. data/test/{cookbooks/application_ruby_test → cookbook}/attributes/default.rb +1 -1
  28. data/test/{cookbooks/application_ruby_test → cookbook}/metadata.rb +2 -2
  29. data/test/{cookbooks/application_ruby_test → cookbook}/recipes/default.rb +4 -1
  30. data/test/{cookbooks/application_ruby_test → cookbook}/recipes/rails.rb +2 -2
  31. data/test/{cookbooks/application_ruby_test → cookbook}/recipes/sinatra.rb +2 -2
  32. data/test/gemfiles/chef-12.1.gemfile +23 -0
  33. data/test/gemfiles/chef-12.10.gemfile +23 -0
  34. data/test/gemfiles/chef-12.11.gemfile +23 -0
  35. data/test/gemfiles/chef-12.12.gemfile +22 -0
  36. data/test/gemfiles/chef-12.13.gemfile +22 -0
  37. data/test/gemfiles/chef-12.14.gemfile +19 -0
  38. data/test/gemfiles/chef-12.15.gemfile +19 -0
  39. data/test/gemfiles/chef-12.16.gemfile +19 -0
  40. data/test/gemfiles/chef-12.17.gemfile +19 -0
  41. data/test/gemfiles/chef-12.18.gemfile +19 -0
  42. data/test/gemfiles/chef-12.19.gemfile +19 -0
  43. data/test/gemfiles/chef-12.2.gemfile +23 -0
  44. data/test/gemfiles/chef-12.3.gemfile +23 -0
  45. data/test/gemfiles/chef-12.4.gemfile +24 -0
  46. data/test/gemfiles/chef-12.5.gemfile +23 -0
  47. data/test/gemfiles/chef-12.6.gemfile +23 -0
  48. data/test/gemfiles/chef-12.7.gemfile +23 -0
  49. data/test/gemfiles/chef-12.8.gemfile +23 -0
  50. data/test/gemfiles/chef-12.9.gemfile +23 -0
  51. data/test/gemfiles/chef-12.gemfile +2 -2
  52. data/test/gemfiles/chef-13.0.gemfile +19 -0
  53. data/test/gemfiles/chef-13.gemfile +19 -0
  54. data/test/gemfiles/master.gemfile +6 -1
  55. data/test/integration/default/serverspec/default_spec.rb +1 -1
  56. data/test/integration/default/serverspec/rails_spec.rb +1 -1
  57. data/test/integration/default/serverspec/sinatra_spec.rb +1 -1
  58. data/test/spec/resources/ruby_execute_spec.rb +1 -1
  59. data/test/spec/resources/ruby_spec.rb +1 -1
  60. data/test/spec/spec_helper.rb +1 -1
  61. metadata +94 -19
  62. data/.kitchen.travis.yml +0 -9
  63. data/Berksfile +0 -35
@@ -1,9 +0,0 @@
1
- ---
2
- driver:
3
- name: docker
4
- binary: "./docker"
5
- socket: tcp://docker.poise.io:443
6
- tls_verify: true
7
- tls_cacert: test/docker/docker.ca
8
- tls_cert: test/docker/docker.pem
9
- tls_key: test/docker/docker.key
data/Berksfile DELETED
@@ -1,35 +0,0 @@
1
- #
2
- # Author:: Noah Kantrowitz <noah@coderanger.net>
3
- #
4
- # Copyright 2013, Balanced, Inc.
5
- #
6
- # Licensed under the Apache License, Version 2.0 (the "License");
7
- # you may not use this file except in compliance with the License.
8
- # You may obtain a copy of the License at
9
- #
10
- # http://www.apache.org/licenses/LICENSE-2.0
11
- #
12
- # Unless required by applicable law or agreed to in writing, software
13
- # distributed under the License is distributed on an "AS IS" BASIS,
14
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
- # See the License for the specific language governing permissions and
16
- # limitations under the License.
17
- #
18
-
19
- source 'https://supermarket.chef.io/'
20
- extension 'halite'
21
-
22
- # Force the rebuild every time for development.
23
- cookbook 'poise', gem: 'poise'
24
- cookbook 'application', gem: 'poise-application'
25
- cookbook 'application_ruby', gem: 'poise-application-ruby'
26
- cookbook 'poise-languages', gem: 'poise-languages'
27
- cookbook 'poise-service', gem: 'poise-service'
28
- cookbook 'poise-ruby', gem: 'poise-ruby'
29
-
30
- group :test do
31
- cookbook 'application_git', gem: 'poise-application-git'
32
- cookbook 'application_ruby_test', path: 'test/cookbooks/application_ruby_test'
33
- cookbook 'apt'
34
- cookbook 'git'
35
- end