panter-rails-deploy 1.3.3 → 1.3.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 07f2278bedf522d42c074ecd937a7ef5365348b6
4
- data.tar.gz: 71433ba36dbf51d16ad0648591c7b55442a3d7d1
3
+ metadata.gz: e45722b1315ff166f44ceb499313f258f3797031
4
+ data.tar.gz: ea5c10c7325768e8db1b0bf1b4aff928b7446655
5
5
  SHA512:
6
- metadata.gz: 87929692046c132e91c636ddc352d8ed1466d5792ba15596997a9d8019717ee77e3f5b6dbede35014291c2a44cd9e3d8691d03cc2aa486384654d6e7231fb720
7
- data.tar.gz: 44c008c261b1d283df1e6c8e74dc73f0e7b7bffc3aa413fa14cab2a0cf3bcf2e7d49334cbacbabf79149f986e3822f39a8b1af1670ccf9790909147d4dee9fd8
6
+ metadata.gz: 11ee40c0c60d5918de2b2934218bc940d548364e7bf8aaff4076cd0f274fd0bb1ced72b70535d7b2689836b5837d68b05b1538383935ae05d7516362bfa218f7
7
+ data.tar.gz: cf05fcc0abdc942bfc8535a1075a2712d49b4ae77b22ca663ac5d9d7d46c5679e82334c712584c129250985ba824513f84c73f3fb64f0ad5aec2b13055dae516
@@ -10,6 +10,10 @@ before_script:
10
10
 
11
11
  script:
12
12
  - bundle exec rake test
13
+ - echo "require 'panter-rails-deploy/without-assets'" > Capfile
14
+ - bundle exec rake test
15
+ - echo "require 'panter-rails-deploy/without-rails'" > Capfile
16
+ - bundle exec rake test
13
17
 
14
18
  env:
15
19
  - rails=4.2.0
@@ -1,3 +1,16 @@
1
+ ### v1.3.4
2
+
3
+ - Also fix the deprecation warning for without-assets/without-rails
4
+
5
+ ### v1.3.3
6
+
7
+ - Fix deprecation warning about Git SCM plugin
8
+ - All default requires from the Capfile are added in the Gem and can be removed
9
+
10
+ ### v1.3.2
11
+
12
+ - Don't force downgrades to Capistrano 3.5
13
+
1
14
  ### v1.3.1
2
15
 
3
16
  - Our Unicorn setup in cdist now supports zero-downtime Ruby/Unicorn upgrades, so this gem now uses `graceful-restart` on deploys (no changes required in the application)
@@ -0,0 +1,8 @@
1
+ # Contributing
2
+
3
+ ## Release process
4
+
5
+ - Bump version in `panter-rails-deploy.gemspec`
6
+ - Update `CHANGELOG.md`
7
+ - Commit all changes
8
+ - Tag release and publish gem with `rake release`
@@ -30,3 +30,6 @@ namespace :deploy do
30
30
  end
31
31
  after :publishing, :restart
32
32
  end
33
+
34
+ # Load custom application tasks from `lib/capistrano/tasks`
35
+ Dir.glob('lib/capistrano/tasks/*.rake').each { |r| import r }
@@ -1,22 +1,11 @@
1
1
  if defined? Capistrano
2
2
  # We're running in Capistrano, only load tasks
3
- require 'capistrano/setup'
4
- require 'capistrano/deploy'
5
- require 'capistrano/scm/git'
6
- install_plugin Capistrano::SCM::Git
7
-
8
- require 'capistrano/rbenv'
9
- require 'capistrano/rbenv_install'
10
- require 'capistrano/bundler'
3
+ require 'panter-rails-deploy/capistrano'
11
4
  require 'capistrano/rails/assets'
12
5
  require 'capistrano/rails/migrations'
13
6
 
14
7
  load File.expand_path('../capistrano/tasks/panter-rails-deploy.rake', __FILE__)
15
-
16
- # Load custom application tasks from `lib/capistrano/tasks`
17
- Dir.glob('lib/capistrano/tasks/*.rake').each { |r| import r }
18
8
  else
19
9
  # We're running in the application, load supporting gems
20
- require 'unicorn-rails'
21
- require 'dotenv-rails'
10
+ require 'panter-rails-deploy/rails'
22
11
  end
@@ -0,0 +1,8 @@
1
+ require 'capistrano/setup'
2
+ require 'capistrano/deploy'
3
+ require 'capistrano/scm/git'
4
+ install_plugin Capistrano::SCM::Git
5
+
6
+ require 'capistrano/rbenv'
7
+ require 'capistrano/rbenv_install'
8
+ require 'capistrano/bundler'
@@ -0,0 +1,2 @@
1
+ require 'unicorn'
2
+ require 'dotenv'
@@ -0,0 +1,2 @@
1
+ require 'unicorn-rails'
2
+ require 'dotenv-rails'
@@ -1,13 +1,10 @@
1
1
  if defined? Capistrano
2
2
  # We're running in Capistrano, only load tasks
3
- require 'capistrano/rbenv'
4
- require 'capistrano/rbenv_install'
5
- require 'capistrano/bundler'
3
+ require 'panter-rails-deploy/capistrano'
6
4
  require 'capistrano/rails/migrations'
7
5
 
8
6
  load File.expand_path('../../capistrano/tasks/panter-rails-deploy.rake', __FILE__)
9
7
  else
10
8
  # We're running in the application, load supporting gems
11
- require 'unicorn-rails'
12
- require 'dotenv-rails'
9
+ require 'panter-rails-deploy/rails'
13
10
  end
@@ -1,12 +1,9 @@
1
1
  if defined? Capistrano
2
2
  # We're running in Capistrano, only load tasks
3
- require 'capistrano/rbenv'
4
- require 'capistrano/rbenv_install'
5
- require 'capistrano/bundler'
3
+ require 'panter-rails-deploy/capistrano'
6
4
 
7
5
  load File.expand_path('../../capistrano/tasks/panter-rails-deploy.rake', __FILE__)
8
6
  else
9
7
  # We're running the application, load supporting gems
10
- require 'unicorn'
11
- require 'dotenv'
8
+ require 'panter-rails-deploy/rack'
12
9
  end
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |gem|
2
2
  gem.name = 'panter-rails-deploy'
3
- gem.version = '1.3.3'
4
- gem.date = '2017-01-05'
3
+ gem.version = '1.3.4'
4
+ gem.date = '2017-01-06'
5
5
  gem.summary = 'Capistrano setup for Panter Rails Hosting'
6
6
  gem.authors = [ 'Markus Koller', 'Beat Seeliger' ]
7
7
  gem.email = 'mak@panter.ch'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: panter-rails-deploy
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.3
4
+ version: 1.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Markus Koller
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-01-05 00:00:00.000000000 Z
12
+ date: 2017-01-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capistrano
@@ -161,6 +161,7 @@ files:
161
161
  - ".ruby-version"
162
162
  - ".travis.yml"
163
163
  - CHANGELOG.md
164
+ - CONTRIBUTING.md
164
165
  - Capfile
165
166
  - Gemfile
166
167
  - LICENSE
@@ -172,6 +173,9 @@ files:
172
173
  - config/deploy/test.rb
173
174
  - lib/capistrano/tasks/panter-rails-deploy.rake
174
175
  - lib/panter-rails-deploy.rb
176
+ - lib/panter-rails-deploy/capistrano.rb
177
+ - lib/panter-rails-deploy/rack.rb
178
+ - lib/panter-rails-deploy/rails.rb
175
179
  - lib/panter-rails-deploy/without-assets.rb
176
180
  - lib/panter-rails-deploy/without-rails.rb
177
181
  - panter-rails-deploy.gemspec