drupal-cap 0.1.0 → 0.1.10
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +33 -0
- data/Rakefile +13 -0
- data/VERSION +1 -0
- data/drupal-cap.gemspec +19 -0
- metadata +8 -3
- /data/lib/{capistrano-drupal.rb → drupal-cap.rb} +0 -0
data/README.markdown
ADDED
@@ -0,0 +1,33 @@
|
|
1
|
+
# Capistrano Drupal
|
2
|
+
|
3
|
+
This gem provides a number of tasks which are useful for deploying Drupal projects.
|
4
|
+
|
5
|
+
Credit goes to railsless-deploy for many ideas here.
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
# gem install cap-drupal
|
10
|
+
|
11
|
+
## Usage
|
12
|
+
|
13
|
+
Open your application's `Capfile` and make it begin like this:
|
14
|
+
|
15
|
+
require 'rubygems'
|
16
|
+
require 'railsless-deploy'
|
17
|
+
require 'drupal-cap'
|
18
|
+
load 'config/deploy'
|
19
|
+
|
20
|
+
You should then be able to proceed as you would usually, you may want to familiarise yourself with the truncated list of tasks, you can get a full list with:
|
21
|
+
|
22
|
+
$ cap -T
|
23
|
+
|
24
|
+
## Git Ignore
|
25
|
+
|
26
|
+
The deployment script expects that sites/default/files and sites/default/settings.php will not be checked into git. Add them to .gitignore in your project.
|
27
|
+
|
28
|
+
## Roadmap
|
29
|
+
|
30
|
+
- Split out the tasks into indivual files/modules
|
31
|
+
- Use drush aliases
|
32
|
+
- Support install profiles
|
33
|
+
- Support composer
|
data/Rakefile
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
begin
|
2
|
+
require 'jeweler'
|
3
|
+
Jeweler::Tasks.new do |gemspec|
|
4
|
+
gemspec.name = "capistrano-drupal"
|
5
|
+
gemspec.summary = "A set of tasks for deploying Drupal projects with Capistrano"
|
6
|
+
gemspec.description = "A set of tasks for deploying Drupal projects with Capistrano. Includes tasks for configuring apache and mysql"
|
7
|
+
gemspec.email = "kim@previousnext.com.au"
|
8
|
+
gemspec.homepage = "http://github.com/previousnext/capistrano-drupal/"
|
9
|
+
gemspec.authors = ["Kim Pepper"]
|
10
|
+
end
|
11
|
+
rescue LoadError
|
12
|
+
puts "Jeweler not available. Install it with: sudo gem install jeweler"
|
13
|
+
end
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
0.1.10
|
data/drupal-cap.gemspec
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
Gem::Specification.new do |s|
|
2
|
+
s.name = 'drupal-cap'
|
3
|
+
s.version = '0.1.10'
|
4
|
+
s.summary = "Capistrano tasks for Drupal"
|
5
|
+
s.description = "Capistrano task collection for Drupal development"
|
6
|
+
s.authors = ["Sandor Czettner"]
|
7
|
+
s.email = 'sandor@czettner.hu'
|
8
|
+
s.extra_rdoc_files = [
|
9
|
+
"README.markdown"
|
10
|
+
]
|
11
|
+
s.files = [
|
12
|
+
"README.markdown",
|
13
|
+
"Rakefile",
|
14
|
+
"VERSION",
|
15
|
+
"drupal-cap.gemspec",
|
16
|
+
"lib/drupal-cap.rb"
|
17
|
+
]
|
18
|
+
s.homepage = 'https://github.com/czettnersandor/capistrano-drupal'
|
19
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: drupal-cap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.10
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -15,9 +15,14 @@ description: Capistrano task collection for Drupal development
|
|
15
15
|
email: sandor@czettner.hu
|
16
16
|
executables: []
|
17
17
|
extensions: []
|
18
|
-
extra_rdoc_files:
|
18
|
+
extra_rdoc_files:
|
19
|
+
- README.markdown
|
19
20
|
files:
|
20
|
-
-
|
21
|
+
- README.markdown
|
22
|
+
- Rakefile
|
23
|
+
- VERSION
|
24
|
+
- drupal-cap.gemspec
|
25
|
+
- lib/drupal-cap.rb
|
21
26
|
homepage: https://github.com/czettnersandor/capistrano-drupal
|
22
27
|
licenses: []
|
23
28
|
post_install_message:
|
File without changes
|