capistrano-scm-strategy 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 51bb48eadcff57ef3f2522dcd96e96addacaa6f5
|
4
|
+
data.tar.gz: 8027a259887a9d391d398211244f32d7936c1073
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b950d895beff1caaff8cc2ed30c5d1e2e0aa265663c0c26623e29a4d0aad876c687366adec8fbefa195efd6faa0829f2898d81eb519fa199e270572123d22e04
|
7
|
+
data.tar.gz: 9fd41ff1bd8897ffafca029ec55c83ba94536520ddbefbf36143921c19d40af330d84eece333b260d7816c08948a7e14c4aa3c7031fb4481a83ccb827563ccfc
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -3,11 +3,11 @@
|
|
3
3
|
[![Gem Version](https://badge.fury.io/rb/capistrano-scm-strategy.png)](http://badge.fury.io/rb/capistrano-scm-strategy)
|
4
4
|
[![Code Climate](https://codeclimate.com/github/tiredpixel/capistrano-scm-strategy.png)](https://codeclimate.com/github/tiredpixel/capistrano-scm-strategy)
|
5
5
|
|
6
|
-
[Capistrano](http://capistranorb.com/) SCM strategies (
|
6
|
+
[Capistrano](http://capistranorb.com/) SCM strategies (shallow).
|
7
7
|
|
8
8
|
Capistrano SCM Strategy is a home for additional strategies utilising
|
9
9
|
Capistrano's pluggable strategy approach. Only Capistrano 3 is supported.
|
10
|
-
Currently, the only strategy is `Git::
|
10
|
+
Currently, the only strategy is `Git::Shallow`. But why not blend your magic? :)
|
11
11
|
|
12
12
|
More sleep lost by [tiredpixel](http://www.tiredpixel.com).
|
13
13
|
|
@@ -31,7 +31,7 @@ Require all strategies (they are namespaced so don't fret :) ):
|
|
31
31
|
|
32
32
|
Choose a strategy using Capistrano's pluggable nature:
|
33
33
|
|
34
|
-
set :git_strategy, Capistrano::Scm::Strategy::Git::
|
34
|
+
set :git_strategy, Capistrano::Scm::Strategy::Git::Shallow
|
35
35
|
|
36
36
|
The strategy option is named `:SCM_strategy`, where `SCM` is the SCM set or
|
37
37
|
defaulted by `:scm`. So, for Subversion, use `:svn_strategy`.
|
@@ -43,8 +43,8 @@ That's it!
|
|
43
43
|
|
44
44
|
These strategies are available:
|
45
45
|
|
46
|
-
- `Capistrano::Scm::Strategy::Git::
|
47
|
-
A
|
46
|
+
- `Capistrano::Scm::Strategy::Git::Shallow` :
|
47
|
+
A shallow Git strategy.
|
48
48
|
|
49
49
|
|
50
50
|
## Stay Tuned
|
@@ -63,11 +63,11 @@ on GitHub. And don't forget you can become a [stargazer](https://github.com/tire
|
|
63
63
|
|
64
64
|
Dear Me, Here is a vague wishlist:
|
65
65
|
|
66
|
-
- `Capistrano::Scm::Strategy::Hg::
|
67
|
-
A
|
66
|
+
- `Capistrano::Scm::Strategy::Hg::Shallow` :
|
67
|
+
A shallow Mercurial strategy.
|
68
68
|
|
69
|
-
- `Capistrano::Scm::Strategy::Svn::
|
70
|
-
A
|
69
|
+
- `Capistrano::Scm::Strategy::Svn::Shallow` :
|
70
|
+
A shallow Subversion strategy.
|
71
71
|
|
72
72
|
Also take a look at the [issue tracker](https://github.com/tiredpixel/capistrano-scm-strategy/issues).
|
73
73
|
|
@@ -8,7 +8,7 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.version = Capistrano::Scm::Strategy::VERSION
|
9
9
|
spec.authors = ["tiredpixel"]
|
10
10
|
spec.email = ["tp@tiredpixel.com"]
|
11
|
-
spec.summary = %q{Capistrano SCM strategies (
|
11
|
+
spec.summary = %q{Capistrano SCM strategies (shallow).}
|
12
12
|
spec.description = %q{}
|
13
13
|
spec.homepage = "https://github.com/tiredpixel/capistrano-scm-strategy"
|
14
14
|
spec.license = "MIT"
|
@@ -1,13 +1,13 @@
|
|
1
1
|
require 'capistrano/git'
|
2
2
|
|
3
3
|
|
4
|
-
# A
|
4
|
+
# A shallow Git strategy for Capistrano.
|
5
5
|
# SEE: Capistrano::Git::DefaultStrategy
|
6
6
|
module Capistrano
|
7
7
|
module Scm
|
8
8
|
module Strategy
|
9
9
|
module Git
|
10
|
-
module
|
10
|
+
module Shallow
|
11
11
|
|
12
12
|
def test
|
13
13
|
test! " [ -f #{repo_path}/HEAD ] "
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-scm-strategy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- tiredpixel
|
@@ -69,7 +69,7 @@ files:
|
|
69
69
|
- Rakefile
|
70
70
|
- capistrano-scm-strategy.gemspec
|
71
71
|
- lib/capistrano/scm/strategy.rb
|
72
|
-
- lib/capistrano/scm/strategy/git/
|
72
|
+
- lib/capistrano/scm/strategy/git/shallow.rb
|
73
73
|
- lib/capistrano/scm/strategy/version.rb
|
74
74
|
homepage: https://github.com/tiredpixel/capistrano-scm-strategy
|
75
75
|
licenses:
|
@@ -94,5 +94,5 @@ rubyforge_project:
|
|
94
94
|
rubygems_version: 2.2.2
|
95
95
|
signing_key:
|
96
96
|
specification_version: 4
|
97
|
-
summary: Capistrano SCM strategies (
|
97
|
+
summary: Capistrano SCM strategies (shallow).
|
98
98
|
test_files: []
|