panter-rails-deploy 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +7 -0
- data/lib/capistrano/tasks/panter-rails-deploy.rake +0 -6
- data/lib/panter-rails-deploy/without-assets.rb +13 -0
- data/lib/panter-rails-deploy/without-rails.rb +12 -0
- data/lib/panter-rails-deploy.rb +7 -1
- data/panter-rails-deploy.gemspec +3 -3
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 35e28569d20f75061ef0280b2117ce0d04c68e57
|
4
|
+
data.tar.gz: 4a3161e560655eb4d73d97c3bab3f4b548a95bc5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8aa398f9cc1d2ff60e1f22fe7600afb9e6256990098d981745c06aa1c7ccb8edac7ec321814cb179673a7d60cfc0c122240b008e438d85c81b8f80a3b1d2f83f
|
7
|
+
data.tar.gz: 2d8617b46ebb69b90ad33184fd0fcedab6659cf9fc35a4d39f6ab2c48dab6118005a2855c9e04a99045dc4be4b9cbac9f0e29636546f84f5fa207e3ddcc40ddb
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -12,7 +12,14 @@ This gem sets up everything you need to deploy your application on the Panter ra
|
|
12
12
|
|
13
13
|
- Add to your Gemfile (global, not in a group):
|
14
14
|
```ruby
|
15
|
+
# Rails with asset compilation
|
15
16
|
gem 'panter-rails-deploy'
|
17
|
+
|
18
|
+
# Rails without asset compilation
|
19
|
+
gem 'panter-rails-deploy', require: 'panter-rails-deploy/without-assets'
|
20
|
+
|
21
|
+
# Other Rack applications
|
22
|
+
gem 'panter-rails-deploy', require: 'panter-rails-deploy/without-rails'
|
16
23
|
```
|
17
24
|
|
18
25
|
- Capify your project (Bundler is required here, [rbenv-binstubs](https://github.com/ianheggie/rbenv-binstubs) is recommended):
|
@@ -0,0 +1,13 @@
|
|
1
|
+
if defined? Capistrano
|
2
|
+
# We're running in Capistrano, only load tasks
|
3
|
+
require 'capistrano/rbenv'
|
4
|
+
require 'capistrano/rbenv_install'
|
5
|
+
require 'capistrano/bundler'
|
6
|
+
require 'capistrano/rails/migrations'
|
7
|
+
|
8
|
+
load File.expand_path('../../capistrano/tasks/panter-rails-deploy.rake', __FILE__)
|
9
|
+
else
|
10
|
+
# We're running in the application, load supporting gems
|
11
|
+
require 'unicorn-rails'
|
12
|
+
require 'dotenv-rails'
|
13
|
+
end
|
@@ -0,0 +1,12 @@
|
|
1
|
+
if defined? Capistrano
|
2
|
+
# We're running in Capistrano, only load tasks
|
3
|
+
require 'capistrano/rbenv'
|
4
|
+
require 'capistrano/rbenv_install'
|
5
|
+
require 'capistrano/bundler'
|
6
|
+
|
7
|
+
load File.expand_path('../../capistrano/tasks/panter-rails-deploy.rake', __FILE__)
|
8
|
+
else
|
9
|
+
# We're running the application, load supporting gems
|
10
|
+
require 'unicorn'
|
11
|
+
require 'dotenv'
|
12
|
+
end
|
data/lib/panter-rails-deploy.rb
CHANGED
@@ -1,8 +1,14 @@
|
|
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'
|
6
|
+
require 'capistrano/rails/assets'
|
7
|
+
require 'capistrano/rails/migrations'
|
8
|
+
|
3
9
|
load File.expand_path('../capistrano/tasks/panter-rails-deploy.rake', __FILE__)
|
4
10
|
else
|
5
|
-
# We're running in
|
11
|
+
# We're running in the application, load supporting gems
|
6
12
|
require 'unicorn-rails'
|
7
13
|
require 'dotenv-rails'
|
8
14
|
end
|
data/panter-rails-deploy.gemspec
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
Gem::Specification.new do |gem|
|
2
2
|
gem.name = 'panter-rails-deploy'
|
3
|
-
gem.version = '1.0.
|
4
|
-
gem.date = '2015-07-
|
3
|
+
gem.version = '1.0.5'
|
4
|
+
gem.date = '2015-07-26'
|
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'
|
8
8
|
gem.homepage = 'https://github.com/panter/panter-rails-deploy'
|
9
9
|
gem.license = 'Beerware'
|
10
|
-
gem.required_ruby_version = '>= 1.9.
|
10
|
+
gem.required_ruby_version = '>= 1.9.3'
|
11
11
|
|
12
12
|
gem.files = `git ls-files`.split($/)
|
13
13
|
gem.require_paths = [ 'lib' ]
|
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.0.
|
4
|
+
version: 1.0.5
|
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: 2015-07-
|
12
|
+
date: 2015-07-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: capistrano
|
@@ -138,6 +138,8 @@ files:
|
|
138
138
|
- Rakefile
|
139
139
|
- lib/capistrano/tasks/panter-rails-deploy.rake
|
140
140
|
- lib/panter-rails-deploy.rb
|
141
|
+
- lib/panter-rails-deploy/without-assets.rb
|
142
|
+
- lib/panter-rails-deploy/without-rails.rb
|
141
143
|
- panter-rails-deploy.gemspec
|
142
144
|
homepage: https://github.com/panter/panter-rails-deploy
|
143
145
|
licenses:
|
@@ -151,7 +153,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
151
153
|
requirements:
|
152
154
|
- - ">="
|
153
155
|
- !ruby/object:Gem::Version
|
154
|
-
version: 1.9.
|
156
|
+
version: 1.9.3
|
155
157
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
156
158
|
requirements:
|
157
159
|
- - ">="
|