panter-rails-deploy 1.3.3 → 1.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +4 -0
- data/CHANGELOG.md +13 -0
- data/CONTRIBUTING.md +8 -0
- data/lib/capistrano/tasks/panter-rails-deploy.rake +3 -0
- data/lib/panter-rails-deploy.rb +2 -13
- data/lib/panter-rails-deploy/capistrano.rb +8 -0
- data/lib/panter-rails-deploy/rack.rb +2 -0
- data/lib/panter-rails-deploy/rails.rb +2 -0
- data/lib/panter-rails-deploy/without-assets.rb +2 -5
- data/lib/panter-rails-deploy/without-rails.rb +2 -5
- data/panter-rails-deploy.gemspec +2 -2
- metadata +6 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e45722b1315ff166f44ceb499313f258f3797031
|
4
|
+
data.tar.gz: ea5c10c7325768e8db1b0bf1b4aff928b7446655
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 11ee40c0c60d5918de2b2934218bc940d548364e7bf8aaff4076cd0f274fd0bb1ced72b70535d7b2689836b5837d68b05b1538383935ae05d7516362bfa218f7
|
7
|
+
data.tar.gz: cf05fcc0abdc942bfc8535a1075a2712d49b4ae77b22ca663ac5d9d7d46c5679e82334c712584c129250985ba824513f84c73f3fb64f0ad5aec2b13055dae516
|
data/.travis.yml
CHANGED
@@ -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
|
data/CHANGELOG.md
CHANGED
@@ -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)
|
data/CONTRIBUTING.md
ADDED
data/lib/panter-rails-deploy.rb
CHANGED
@@ -1,22 +1,11 @@
|
|
1
1
|
if defined? Capistrano
|
2
2
|
# We're running in Capistrano, only load tasks
|
3
|
-
require 'capistrano
|
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 '
|
21
|
-
require 'dotenv-rails'
|
10
|
+
require 'panter-rails-deploy/rails'
|
22
11
|
end
|
@@ -1,13 +1,10 @@
|
|
1
1
|
if defined? Capistrano
|
2
2
|
# We're running in Capistrano, only load tasks
|
3
|
-
require 'capistrano
|
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 '
|
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
|
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 '
|
11
|
-
require 'dotenv'
|
8
|
+
require 'panter-rails-deploy/rack'
|
12
9
|
end
|
data/panter-rails-deploy.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |gem|
|
2
2
|
gem.name = 'panter-rails-deploy'
|
3
|
-
gem.version = '1.3.
|
4
|
-
gem.date = '2017-01-
|
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.
|
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-
|
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
|