silvermind_deployment 0.0.7 → 0.0.8
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e9091e3d61054260ff591a91a01c77e1465aff6d
|
|
4
|
+
data.tar.gz: a2048c95d15bd43758fed13f645b1cba3ec77528
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c3a2bf1c88dc438bae3ee07062648679cf68d400b0452a7799311634f2543686b7690bef65621968c6326d7ecfbfc1a9bf3b301a08744433d90e227273ae7d1c
|
|
7
|
+
data.tar.gz: 3725bbb0984a5f3a74c790a023ee1710aa8b0ee7583329d0bbd823f1a637c1effd178551934c1f784df806b5d0b27da1bfa26cae1e356e39fc50a5aa2ab6e999
|
data/Gemfile
CHANGED
|
@@ -2,17 +2,3 @@ source 'https://rubygems.org'
|
|
|
2
2
|
|
|
3
3
|
# Specify your gem's dependencies in silvermind_deployment.gemspec
|
|
4
4
|
gemspec
|
|
5
|
-
|
|
6
|
-
group :development do
|
|
7
|
-
|
|
8
|
-
#####################################################
|
|
9
|
-
# Capistrano Deployment
|
|
10
|
-
#####################################################
|
|
11
|
-
#
|
|
12
|
-
gem 'capistrano', '>= 3.4.0'
|
|
13
|
-
gem 'capistrano-rails' #, require: false # deployment rails hooks
|
|
14
|
-
gem 'capistrano-bundler' #, require: false # deployment bundler hooks
|
|
15
|
-
gem 'capistrano-rbenv'
|
|
16
|
-
gem 'capistrano-rbenv-install'
|
|
17
|
-
|
|
18
|
-
end
|
|
@@ -7,6 +7,7 @@ module SilvermindDeployment
|
|
|
7
7
|
source_root File.expand_path(File.join(File.dirname(__FILE__), 'templates'))
|
|
8
8
|
|
|
9
9
|
def copy_unicorn
|
|
10
|
+
template 'Capfile', 'Capfile'
|
|
10
11
|
template 'deploy.rb', 'config/deploy.rb'
|
|
11
12
|
template 'deploy/production.rb', 'config/deploy/production.rb'
|
|
12
13
|
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Load DSL and set up stages
|
|
2
|
+
require 'capistrano/setup'
|
|
3
|
+
|
|
4
|
+
require 'capistrano/rbenv'
|
|
5
|
+
require 'capistrano/rbenv_install'
|
|
6
|
+
|
|
7
|
+
# Include default deployment tasks
|
|
8
|
+
require 'capistrano/deploy'
|
|
9
|
+
require 'capistrano/bundler'
|
|
10
|
+
require 'capistrano/rails/assets'
|
|
11
|
+
require 'capistrano/rails/migrations'
|
|
12
|
+
|
|
13
|
+
# Deploy Pings
|
|
14
|
+
require 'rollbar/capistrano3'
|
|
15
|
+
|
|
16
|
+
# Load custom tasks from `lib/capistrano/tasks` if you have any defined
|
|
17
|
+
Dir.glob('lib/capistrano/tasks/*.rake').each { |r| import r }
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: silvermind_deployment
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Severin Ulrich
|
|
@@ -169,6 +169,7 @@ files:
|
|
|
169
169
|
- bin/setup
|
|
170
170
|
- lib/generators/silvermind_deployment/install/USAGE
|
|
171
171
|
- lib/generators/silvermind_deployment/install/install_generator.rb
|
|
172
|
+
- lib/generators/silvermind_deployment/install/templates/Capfile
|
|
172
173
|
- lib/generators/silvermind_deployment/install/templates/deploy.rb
|
|
173
174
|
- lib/generators/silvermind_deployment/install/templates/deploy/production.rb
|
|
174
175
|
- lib/generators/silvermind_deployment/install/templates/eye/production.rb
|