clearcap 1.1.0 → 1.2.0
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/README.md +1 -0
- data/lib/clearcap/deploy/hostgator.rb +24 -0
- data/lib/clearcap/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 71097561ea9c6cac9ab25bb30342d1ed8c8ab28e
|
4
|
+
data.tar.gz: b45d37e83975d145e4bdba856438fc4d1d9a8f59
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d579daecc78e18eac1158efbd81a4b5b5520d789c3fbcc95626d76d815bf01b7282bced9b5240f3487688d3232133dd9b88c40c995099b2bded90dbb2d0d707
|
7
|
+
data.tar.gz: 0a32426471b343eddfdd30a6875850d547c5835d9c11d92bafc7e24eddb0b19223026569ef456cf53f8352e80c0b544d1ec1e18a2785f44d4aa2a1a813dd8839
|
data/README.md
CHANGED
@@ -25,6 +25,7 @@ end
|
|
25
25
|
1. `capify .`
|
26
26
|
1. Gemfile should have the lines above (in Installation)
|
27
27
|
1. Edit `deploy.rb` to look like below in the deploy.rb section.
|
28
|
+
1. Edit `Capfile` to use the asset pipeline.
|
28
29
|
1. bundle up, then run `cap deploy` and enjoy your output.~
|
29
30
|
|
30
31
|
#### deploy.rb
|
@@ -0,0 +1,24 @@
|
|
1
|
+
require "clearcap/deploy/common"
|
2
|
+
|
3
|
+
configuration = Capistrano::Configuration.respond_to?(:instance) ? Capistrano::Configuration.instance(:must_exist) : Capistrano.configuration(:must_exist)
|
4
|
+
|
5
|
+
configuration.load do
|
6
|
+
|
7
|
+
set :deploy_to, "/home/#{user}/rails_apps/#{application}"
|
8
|
+
|
9
|
+
set :scm, :none
|
10
|
+
set :repository, "."
|
11
|
+
set :deploy_via, :copy
|
12
|
+
set :local_repository, "."
|
13
|
+
|
14
|
+
role :web, "#{web_ip}" # Your HTTP server, Apache/etc
|
15
|
+
role :app, "#{app_ip}" # This may be the same as your `Web` server
|
16
|
+
role :db, "#{db_ip}", :primary => true # This is where Rails migrations will run
|
17
|
+
|
18
|
+
|
19
|
+
set :default_environment, {
|
20
|
+
'PATH' => "/usr/local/bin:$PATH",
|
21
|
+
'GEM_HOME' => "/home/isaac/ruby/gems"
|
22
|
+
}
|
23
|
+
|
24
|
+
end
|
data/lib/clearcap/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: clearcap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jamon Holmgren
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-11-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: capistrano
|
@@ -98,6 +98,7 @@ files:
|
|
98
98
|
- lib/clearcap.rb
|
99
99
|
- lib/clearcap/deploy/avlux.rb
|
100
100
|
- lib/clearcap/deploy/common.rb
|
101
|
+
- lib/clearcap/deploy/hostgator.rb
|
101
102
|
- lib/clearcap/deploy/webfaction.rb
|
102
103
|
- lib/clearcap/version.rb
|
103
104
|
- lib/tasks/install.rake
|
@@ -122,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
122
123
|
version: '0'
|
123
124
|
requirements: []
|
124
125
|
rubyforge_project:
|
125
|
-
rubygems_version: 2.0.
|
126
|
+
rubygems_version: 2.0.3
|
126
127
|
signing_key:
|
127
128
|
specification_version: 4
|
128
129
|
summary: ClearSight Studio common Capistrano settings
|