panter-rails-deploy 1.0.4 → 1.0.5

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: c99b078708d79900f47b1475294f60ac11a9fbeb
4
- data.tar.gz: a53ffdccd2a504a0a96a4fb7c65ea5a352cca524
3
+ metadata.gz: 35e28569d20f75061ef0280b2117ce0d04c68e57
4
+ data.tar.gz: 4a3161e560655eb4d73d97c3bab3f4b548a95bc5
5
5
  SHA512:
6
- metadata.gz: 341c650de389958f69f2583ef09f6aff0f535f551d3effc82e28383c6787a216b6d1d07ea8e7382074d9174fa123c3989f72d92cc77e617719c6b5bc807d39de
7
- data.tar.gz: 4679fcf12245652f328aadb7f1c4fec6e44a6f32c8a759abce5e237427e0762fe121824214b6cfb626c4d4c17fe4a29fe1c7c1c0999d89a27ac697f646814465
6
+ metadata.gz: 8aa398f9cc1d2ff60e1f22fe7600afb9e6256990098d981745c06aa1c7ccb8edac7ec321814cb179673a7d60cfc0c122240b008e438d85c81b8f80a3b1d2f83f
7
+ data.tar.gz: 2d8617b46ebb69b90ad33184fd0fcedab6659cf9fc35a4d39f6ab2c48dab6118005a2855c9e04a99045dc4be4b9cbac9f0e29636546f84f5fa207e3ddcc40ddb
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- panter-rails-deploy (1.0.4)
4
+ panter-rails-deploy (1.0.5)
5
5
  capistrano
6
6
  capistrano-bundler
7
7
  capistrano-rails
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):
@@ -1,9 +1,3 @@
1
- require 'capistrano/rbenv'
2
- require 'capistrano/rbenv_install'
3
- require 'capistrano/bundler'
4
- require 'capistrano/rails/assets'
5
- require 'capistrano/rails/migrations'
6
-
7
1
  namespace :load do
8
2
  task :defaults do
9
3
  # Setup capistrano
@@ -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
@@ -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 Rails, load supporting gems
11
+ # We're running in the application, load supporting gems
6
12
  require 'unicorn-rails'
7
13
  require 'dotenv-rails'
8
14
  end
@@ -1,13 +1,13 @@
1
1
  Gem::Specification.new do |gem|
2
2
  gem.name = 'panter-rails-deploy'
3
- gem.version = '1.0.4'
4
- gem.date = '2015-07-24'
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.0'
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
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-24 00:00:00.000000000 Z
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.0
156
+ version: 1.9.3
155
157
  required_rubygems_version: !ruby/object:Gem::Requirement
156
158
  requirements:
157
159
  - - ">="