panter-rails-deploy 1.3.2 → 1.3.3
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 +4 -4
- data/.gitignore +1 -2
- data/.travis.yml +26 -0
- data/Capfile +1 -0
- data/Gemfile +4 -0
- data/README.md +4 -1
- data/Rakefile +10 -0
- data/bin/console +9 -0
- data/bin/setup +8 -0
- data/config/deploy.rb +0 -0
- data/config/deploy/test.rb +0 -0
- data/lib/panter-rails-deploy.rb +8 -0
- data/panter-rails-deploy.gemspec +14 -11
- metadata +22 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 07f2278bedf522d42c074ecd937a7ef5365348b6
|
4
|
+
data.tar.gz: 71433ba36dbf51d16ad0648591c7b55442a3d7d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 87929692046c132e91c636ddc352d8ed1466d5792ba15596997a9d8019717ee77e3f5b6dbede35014291c2a44cd9e3d8691d03cc2aa486384654d6e7231fb720
|
7
|
+
data.tar.gz: 44c008c261b1d283df1e6c8e74dc73f0e7b7bffc3aa413fa14cab2a0cf3bcf2e7d49334cbacbabf79149f986e3822f39a8b1af1670ccf9790909147d4dee9fd8
|
data/.gitignore
CHANGED
data/.travis.yml
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
sudo: false
|
2
|
+
language: ruby
|
3
|
+
cache: bundler
|
4
|
+
|
5
|
+
before_install:
|
6
|
+
- gem update bundler
|
7
|
+
|
8
|
+
before_script:
|
9
|
+
- bundle update
|
10
|
+
|
11
|
+
script:
|
12
|
+
- bundle exec rake test
|
13
|
+
|
14
|
+
env:
|
15
|
+
- rails=4.2.0
|
16
|
+
- rails=5.0.0
|
17
|
+
|
18
|
+
rvm:
|
19
|
+
- 2.1
|
20
|
+
- 2.2.6
|
21
|
+
- 2.3.3
|
22
|
+
|
23
|
+
matrix:
|
24
|
+
exclude:
|
25
|
+
- env: rails=5.0.0
|
26
|
+
rvm: 2.1
|
data/Capfile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require 'panter-rails-deploy'
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
# Panter Rails Deploy
|
2
2
|
|
3
|
+
[](https://travis-ci.org/panter/panter-rails-deploy)
|
4
|
+
[](https://rubygems.org/gems/panter-rails-deploy)
|
5
|
+
|
3
6
|
This gem sets up everything you need to deploy your application on the Panter Rails hosting:
|
4
7
|
|
5
8
|
- [Capistrano 3](https://github.com/capistrano/capistrano) setup for:
|
@@ -29,7 +32,7 @@ This gem sets up everything you need to deploy your application on the Panter Ra
|
|
29
32
|
bundle exec cap install
|
30
33
|
```
|
31
34
|
|
32
|
-
-
|
35
|
+
- You can replace the contents of `Capfile` with one of these lines:
|
33
36
|
|
34
37
|
For a standard Rails project with asset compilation:
|
35
38
|
|
data/Rakefile
CHANGED
data/bin/console
ADDED
data/bin/setup
ADDED
data/config/deploy.rb
ADDED
File without changes
|
File without changes
|
data/lib/panter-rails-deploy.rb
CHANGED
@@ -1,5 +1,10 @@
|
|
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
|
+
|
3
8
|
require 'capistrano/rbenv'
|
4
9
|
require 'capistrano/rbenv_install'
|
5
10
|
require 'capistrano/bundler'
|
@@ -7,6 +12,9 @@ if defined? Capistrano
|
|
7
12
|
require 'capistrano/rails/migrations'
|
8
13
|
|
9
14
|
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 }
|
10
18
|
else
|
11
19
|
# We're running in the application, load supporting gems
|
12
20
|
require 'unicorn-rails'
|
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 = '
|
3
|
+
gem.version = '1.3.3'
|
4
|
+
gem.date = '2017-01-05'
|
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'
|
@@ -13,15 +13,18 @@ Gem::Specification.new do |gem|
|
|
13
13
|
gem.require_paths = [ 'lib' ]
|
14
14
|
|
15
15
|
# Deployment dependencies
|
16
|
-
gem.
|
17
|
-
gem.
|
18
|
-
gem.
|
19
|
-
gem.
|
20
|
-
gem.
|
21
|
-
gem.
|
22
|
-
gem.
|
23
|
-
gem.
|
16
|
+
gem.add_runtime_dependency 'capistrano', '~> 3.5'
|
17
|
+
gem.add_runtime_dependency 'capistrano-rails'
|
18
|
+
gem.add_runtime_dependency 'capistrano-bundler'
|
19
|
+
gem.add_runtime_dependency 'capistrano-rbenv'
|
20
|
+
gem.add_runtime_dependency 'capistrano-rbenv-install'
|
21
|
+
gem.add_runtime_dependency 'unicorn-rails'
|
22
|
+
gem.add_runtime_dependency 'dotenv-rails'
|
23
|
+
gem.add_runtime_dependency 'highline'
|
24
24
|
|
25
25
|
# Asset pipeline dependencies
|
26
|
-
gem.
|
26
|
+
gem.add_runtime_dependency 'therubyracer'
|
27
|
+
|
28
|
+
# Development dependencies
|
29
|
+
gem.add_development_dependency 'pry-byebug'
|
27
30
|
end
|
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.3
|
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:
|
12
|
+
date: 2017-01-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: capistrano
|
@@ -137,6 +137,20 @@ dependencies:
|
|
137
137
|
- - ">="
|
138
138
|
- !ruby/object:Gem::Version
|
139
139
|
version: '0'
|
140
|
+
- !ruby/object:Gem::Dependency
|
141
|
+
name: pry-byebug
|
142
|
+
requirement: !ruby/object:Gem::Requirement
|
143
|
+
requirements:
|
144
|
+
- - ">="
|
145
|
+
- !ruby/object:Gem::Version
|
146
|
+
version: '0'
|
147
|
+
type: :development
|
148
|
+
prerelease: false
|
149
|
+
version_requirements: !ruby/object:Gem::Requirement
|
150
|
+
requirements:
|
151
|
+
- - ">="
|
152
|
+
- !ruby/object:Gem::Version
|
153
|
+
version: '0'
|
140
154
|
description:
|
141
155
|
email: mak@panter.ch
|
142
156
|
executables: []
|
@@ -145,11 +159,17 @@ extra_rdoc_files: []
|
|
145
159
|
files:
|
146
160
|
- ".gitignore"
|
147
161
|
- ".ruby-version"
|
162
|
+
- ".travis.yml"
|
148
163
|
- CHANGELOG.md
|
164
|
+
- Capfile
|
149
165
|
- Gemfile
|
150
166
|
- LICENSE
|
151
167
|
- README.md
|
152
168
|
- Rakefile
|
169
|
+
- bin/console
|
170
|
+
- bin/setup
|
171
|
+
- config/deploy.rb
|
172
|
+
- config/deploy/test.rb
|
153
173
|
- lib/capistrano/tasks/panter-rails-deploy.rake
|
154
174
|
- lib/panter-rails-deploy.rb
|
155
175
|
- lib/panter-rails-deploy/without-assets.rb
|