capistrano-git-submodules 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 82eb932b338d860701dca758f4216a5467b381b3
4
+ data.tar.gz: 2af8292194c4d909e5b7c0ed76f8ebaa69e4785a
5
+ SHA512:
6
+ metadata.gz: 999556c2cf6ac719e06eb43e707d267c5ec1c7aa204007e6fa4f596b45d85d0889e31edc40cb864093b6de10ed56fda9657b0e1f02c191bdf7210d0666d81ef6
7
+ data.tar.gz: 9f81c80fcdafc11403b5f01485f50854dd8e6caf9f258567c903c36ec87007fdd6c0eb77f2910c3aebd97ad96de11089628f25df79a41f6a3ee7dc3fff5bf7ec
data/MIT-LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright 2014 YOURNAME
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.rdoc ADDED
@@ -0,0 +1,3 @@
1
+ = CapistranoGitSubmodules
2
+
3
+ This project rocks and uses MIT-LICENSE.
data/Rakefile ADDED
@@ -0,0 +1,21 @@
1
+ begin
2
+ require 'bundler/setup'
3
+ rescue LoadError
4
+ puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
5
+ end
6
+
7
+ require 'rdoc/task'
8
+
9
+ RDoc::Task.new(:rdoc) do |rdoc|
10
+ rdoc.rdoc_dir = 'rdoc'
11
+ rdoc.title = 'CapistranoGitSubmodules'
12
+ rdoc.options << '--line-numbers'
13
+ rdoc.rdoc_files.include('README.rdoc')
14
+ rdoc.rdoc_files.include('lib/**/*.rb')
15
+ end
16
+
17
+
18
+
19
+
20
+ Bundler::GemHelper.install_tasks
21
+
File without changes
@@ -0,0 +1,3 @@
1
+ module CapistranoGitSubmodules
2
+ VERSION = "0.0.1"
3
+ end
@@ -0,0 +1 @@
1
+ load File.expand_path("../tasks/git.rake", __FILE__)
@@ -0,0 +1,16 @@
1
+ namespace :git do
2
+ desc 'Copy repo to releases'
3
+ task create_release: :'git:update' do
4
+ on roles(:all) do
5
+ with fetch(:git_environmental_variables) do
6
+ within repo_path do
7
+ execute :git, :clone, '-b', fetch(:branch), '--depth 1', '.', release_path
8
+ end
9
+ within release_path do
10
+ execute :git, :submodule, :update, '--init --depth 1'
11
+ execute :rm, '-rf .git*'
12
+ end
13
+ end
14
+ end
15
+ end
16
+ end
metadata ADDED
@@ -0,0 +1,65 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: capistrano-git-submodules
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Tiago Scolari
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-08-19 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'
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'
27
+ description: Simple override of the capistrano task, to include git-submodule.
28
+ email:
29
+ - tscolari@gmail.com
30
+ executables: []
31
+ extensions: []
32
+ extra_rdoc_files: []
33
+ files:
34
+ - MIT-LICENSE
35
+ - README.rdoc
36
+ - Rakefile
37
+ - lib/capistrano-git-submodules.rb
38
+ - lib/capistrano-git-submodules/version.rb
39
+ - lib/capistrano/git_submodules.rb
40
+ - lib/capistrano/tasks/git.rake
41
+ homepage: http://github.com/tscolari/capistrano-git-submodules
42
+ licenses:
43
+ - MIT
44
+ metadata: {}
45
+ post_install_message:
46
+ rdoc_options: []
47
+ require_paths:
48
+ - lib
49
+ required_ruby_version: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ required_rubygems_version: !ruby/object:Gem::Requirement
55
+ requirements:
56
+ - - ">="
57
+ - !ruby/object:Gem::Version
58
+ version: '0'
59
+ requirements: []
60
+ rubyforge_project:
61
+ rubygems_version: 2.2.2
62
+ signing_key:
63
+ specification_version: 4
64
+ summary: Replacement for capistrano git, to use submodule
65
+ test_files: []