capistrano-templates 0.2.0 → 1.0.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.
- data/Gemfile.lock +2 -2
- data/README.rdoc +1 -27
- data/VERSION +1 -1
- data/capistrano-templates.gemspec +6 -6
- data/lib/template_bundle.rb +1 -0
- data/templates/{rails-basic → rails-base}/config/deploy.rb +0 -0
- data/templates/{rails-basic → rails-base}/config/deploy/production.rb +0 -0
- data/templates/{rails-basic → rails-base}/config/deploy/staging.rb +0 -0
- metadata +7 -7
- data/lib/captify_template.rb +0 -5
data/Gemfile.lock
CHANGED
|
@@ -19,7 +19,7 @@ GEM
|
|
|
19
19
|
capistrano-ssh-helpers (1.0.0)
|
|
20
20
|
capistrano
|
|
21
21
|
capistrano_colors (0.5.5)
|
|
22
|
-
captify (0.
|
|
22
|
+
captify (1.0.0)
|
|
23
23
|
capistrano
|
|
24
24
|
eventmachine (0.12.10)
|
|
25
25
|
faraday (0.7.6)
|
|
@@ -30,7 +30,7 @@ GEM
|
|
|
30
30
|
faraday (~> 0.7.3)
|
|
31
31
|
git (1.2.5)
|
|
32
32
|
hashie (1.2.0)
|
|
33
|
-
highline (1.6.
|
|
33
|
+
highline (1.6.13)
|
|
34
34
|
http_parser.rb (0.5.3)
|
|
35
35
|
i18n (0.6.0)
|
|
36
36
|
jeweler (1.8.3)
|
data/README.rdoc
CHANGED
|
@@ -1,32 +1,6 @@
|
|
|
1
1
|
= capistrano-templates
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
gem install capistrano-templates # default template is stored in this gem
|
|
5
|
-
|
|
6
|
-
For bundler, add this to your Gemfile:
|
|
7
|
-
|
|
8
|
-
gem 'capistrano-templates'
|
|
9
|
-
|
|
10
|
-
== Usage
|
|
11
|
-
cd my_project
|
|
12
|
-
bundle exec captify . # use default template: rails-basic
|
|
13
|
-
|
|
14
|
-
It will:
|
|
15
|
-
|
|
16
|
-
1. Run capify.
|
|
17
|
-
2. Overwrite Capistrano files with default template: rails-basic
|
|
18
|
-
|
|
19
|
-
To use a different template:
|
|
20
|
-
|
|
21
|
-
cd my_project
|
|
22
|
-
bundle exec captify -t sinatra-basic .
|
|
23
|
-
|
|
24
|
-
=== How to load a template gem without bundler?
|
|
25
|
-
cd my_project
|
|
26
|
-
captify -g capistrano-templates -t rails-basic .
|
|
27
|
-
|
|
28
|
-
=== See also
|
|
29
|
-
captify -h
|
|
3
|
+
See captify[https://github.com/teohm/captify]
|
|
30
4
|
|
|
31
5
|
== Contributing to capistrano-templates
|
|
32
6
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.
|
|
1
|
+
1.0.0
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = "capistrano-templates"
|
|
8
|
-
s.version = "0.
|
|
8
|
+
s.version = "1.0.0"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Huiming Teo"]
|
|
12
|
-
s.date = "2012-
|
|
12
|
+
s.date = "2012-07-16"
|
|
13
13
|
s.description = "A collection of commonly used Capistrano templates."
|
|
14
14
|
s.email = "teohuiming@gmail.com"
|
|
15
15
|
s.extra_rdoc_files = [
|
|
@@ -25,10 +25,10 @@ Gem::Specification.new do |s|
|
|
|
25
25
|
"Rakefile",
|
|
26
26
|
"VERSION",
|
|
27
27
|
"capistrano-templates.gemspec",
|
|
28
|
-
"lib/
|
|
29
|
-
"templates/rails-
|
|
30
|
-
"templates/rails-
|
|
31
|
-
"templates/rails-
|
|
28
|
+
"lib/template_bundle.rb",
|
|
29
|
+
"templates/rails-base/config/deploy.rb",
|
|
30
|
+
"templates/rails-base/config/deploy/production.rb",
|
|
31
|
+
"templates/rails-base/config/deploy/staging.rb"
|
|
32
32
|
]
|
|
33
33
|
s.homepage = "http://github.com/teohm/capistrano-templates"
|
|
34
34
|
s.licenses = ["MIT"]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Captify::TemplateBundle.register
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: capistrano-templates
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 1.0.0
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-
|
|
12
|
+
date: 2012-07-16 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: capistrano
|
|
@@ -187,10 +187,10 @@ files:
|
|
|
187
187
|
- Rakefile
|
|
188
188
|
- VERSION
|
|
189
189
|
- capistrano-templates.gemspec
|
|
190
|
-
- lib/
|
|
191
|
-
- templates/rails-
|
|
192
|
-
- templates/rails-
|
|
193
|
-
- templates/rails-
|
|
190
|
+
- lib/template_bundle.rb
|
|
191
|
+
- templates/rails-base/config/deploy.rb
|
|
192
|
+
- templates/rails-base/config/deploy/production.rb
|
|
193
|
+
- templates/rails-base/config/deploy/staging.rb
|
|
194
194
|
homepage: http://github.com/teohm/capistrano-templates
|
|
195
195
|
licenses:
|
|
196
196
|
- MIT
|
|
@@ -206,7 +206,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
206
206
|
version: '0'
|
|
207
207
|
segments:
|
|
208
208
|
- 0
|
|
209
|
-
hash:
|
|
209
|
+
hash: -638599235507756872
|
|
210
210
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
211
211
|
none: false
|
|
212
212
|
requirements:
|