capistrano3-drupal 0.0.1

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 ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ ZTRjOTc2NzRhM2VmYWEwOGQ3NDJjOGViOGIyNWFkNzQxYTEwZTg2Mg==
5
+ data.tar.gz: !binary |-
6
+ NWM0NjUwYzllNDEwODM3Yzg4NjE1MDgxNDNkMzRlZTJjMTgzMzI0NA==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ ZGY3NmIyMjNmNTBiMjM3Y2VjYjJhMzhhYjBjOTM1YWE1ZmY0ODA4YmEzYjJk
10
+ NTQ0MzQ2M2YxYWU4YTdhNGIxODljYjRhNzQ1ZGFlYWIyZjE0YmRlMjk2OWQx
11
+ Yzg0ZmExZGFiNzJiNWQyMTIyZDJjMjNhMGJhZDNkOTk2NGNiY2M=
12
+ data.tar.gz: !binary |-
13
+ ZmM1ZWZiMjI1ZmFhMWMwM2ExNDExNTdmMzFkMWE2Yzk2NDI4NTgzYzc0YjE2
14
+ ZTY0MDAwZjQzMzAzMTQ0YmQ5ODE1OTE2NWJkNzBkODBjZTAzY2MwNmE0NDM3
15
+ NjQ5ZjMxYTJlNDdkNThlM2E5YjFiODdiOGFmY2Y3NWFkNTdiMTA=
data/.gitignore ADDED
@@ -0,0 +1,4 @@
1
+ *.gem
2
+ .bundle
3
+ Gemfile.lock
4
+ pkg/*
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in capistrano-bundler.gemspec
4
+ gemspec
data/LICENCE ADDED
@@ -0,0 +1,20 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2014 Grégoire David (gregoiredavid.pro@gmail.com)
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
6
+ this software and associated documentation files (the "Software"), to deal in
7
+ the Software without restriction, including without limitation the rights to
8
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9
+ the Software, and to permit persons to whom the Software is furnished to do so,
10
+ subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17
+ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18
+ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/LICENCE.txt ADDED
@@ -0,0 +1,20 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2014 Grégoire David (gregoiredavid.pro@gmail.com)
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
6
+ this software and associated documentation files (the "Software"), to deal in
7
+ the Software without restriction, including without limitation the rights to
8
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9
+ the Software, and to permit persons to whom the Software is furnished to do so,
10
+ subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17
+ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18
+ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,28 @@
1
+ # Capistrano::Drupal
2
+
3
+ Drupal specific tasks for Capistrano v3
4
+
5
+ ## Installation
6
+
7
+ ```
8
+ # Gemfile
9
+ gem 'capistrano', '~> 3.1'
10
+ gem 'capistrano3-drupal', '~> 0.1', :github => 'gregoiredavid/capistrano-drupal'
11
+ ```
12
+
13
+ ## Usage
14
+
15
+ Require capistrano3-drupal in your cap file
16
+
17
+ ```
18
+ # Capfile
19
+ require 'capistrano/drupal'
20
+ ```
21
+
22
+ ## Contributing
23
+
24
+ 1. Fork it
25
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
26
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
27
+ 4. Push to the branch (`git push origin my-new-feature`)
28
+ 5. Create new Pull Request
@@ -0,0 +1,22 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = 'capistrano3-drupal'
7
+ spec.version = '0.0.1'
8
+ spec.authors = ['Grégoire David']
9
+ spec.email = ['gregoiredavid.pro@gmail.com']
10
+ spec.description = %q{Drupal deployment for Capistrano 3.x}
11
+ spec.summary = %q{Drupal deployment for Capistrano 3.x}
12
+ spec.homepage = 'https://github.com/gregoiredavid/capistrano3-drupal'
13
+ spec.license = 'MIT'
14
+
15
+ spec.files = `git ls-files`.split($/)
16
+ spec.require_paths = ['lib']
17
+
18
+ spec.add_dependency 'capistrano', '>= 3.0.0'
19
+
20
+ spec.add_development_dependency 'bundler', '~> 1.3'
21
+ spec.add_development_dependency 'rake'
22
+ end
@@ -0,0 +1,7 @@
1
+ require "capistrano/drupal/drupal"
2
+
3
+ namespace :load do
4
+ task :defaults do
5
+ load 'capistrano/drupal/defaults.rb'
6
+ end
7
+ end
@@ -0,0 +1,2 @@
1
+ set :linked_dirs, %w{sites/default/files sites/default/private}
2
+ set :linked_files, %w{sites/default/settings.php}
@@ -0,0 +1 @@
1
+ load File.expand_path("../../tasks/drupal.rake", __FILE__)
@@ -0,0 +1,14 @@
1
+ namespace :deploy do
2
+
3
+ desc 'Clear all Drupal caches'
4
+ task :clear_cache do
5
+ on roles :app do
6
+ within release_path do
7
+ execute :drush, 'cc all'
8
+ end
9
+ end
10
+ end
11
+
12
+ after :publishing, :clear_cache
13
+
14
+ end
File without changes
metadata ADDED
@@ -0,0 +1,97 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: capistrano3-drupal
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Grégoire David
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-03-20 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: capistrano
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ! '>='
18
+ - !ruby/object:Gem::Version
19
+ version: 3.0.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ! '>='
25
+ - !ruby/object:Gem::Version
26
+ version: 3.0.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: '1.3'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ~>
39
+ - !ruby/object:Gem::Version
40
+ version: '1.3'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ! '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ description: Drupal deployment for Capistrano 3.x
56
+ email:
57
+ - gregoiredavid.pro@gmail.com
58
+ executables: []
59
+ extensions: []
60
+ extra_rdoc_files: []
61
+ files:
62
+ - .gitignore
63
+ - Gemfile
64
+ - LICENCE
65
+ - LICENCE.txt
66
+ - README.md
67
+ - capistrano3-drupal.gemspec
68
+ - lib/capistrano/drupal.rb
69
+ - lib/capistrano/drupal/defaults.rb
70
+ - lib/capistrano/drupal/drupal.rb
71
+ - lib/capistrano/tasks/drupal.rake
72
+ - lib/capistrano3-drupal.rb
73
+ homepage: https://github.com/gregoiredavid/capistrano3-drupal
74
+ licenses:
75
+ - MIT
76
+ metadata: {}
77
+ post_install_message:
78
+ rdoc_options: []
79
+ require_paths:
80
+ - lib
81
+ required_ruby_version: !ruby/object:Gem::Requirement
82
+ requirements:
83
+ - - ! '>='
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
86
+ required_rubygems_version: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - ! '>='
89
+ - !ruby/object:Gem::Version
90
+ version: '0'
91
+ requirements: []
92
+ rubyforge_project:
93
+ rubygems_version: 2.2.2
94
+ signing_key:
95
+ specification_version: 4
96
+ summary: Drupal deployment for Capistrano 3.x
97
+ test_files: []