capistrano-scm-strategy 0.1.0 → 0.2.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fc5a4c3aadd91b61e9a0ee25130fdef284f56630
4
- data.tar.gz: 1ea0e2f277e6e767182c6fa054861e2a3c9cc171
3
+ metadata.gz: 51bb48eadcff57ef3f2522dcd96e96addacaa6f5
4
+ data.tar.gz: 8027a259887a9d391d398211244f32d7936c1073
5
5
  SHA512:
6
- metadata.gz: a3222964f49a38fbef9eb36dd000611106b578d08eadd8e285206f12cf20badc262157ac585c8316e398f8cb51fe7bb7d1b91d5039ce7f30cdaeadea15d8d4d2
7
- data.tar.gz: d59f9cd8c285d7618d8727f6c316eee39320c62cfee1393e81df450651a05ad44b8a1000b9c0fed6262d9948df5068bb833145d0d225534c1daefc7f1b015659
6
+ metadata.gz: b950d895beff1caaff8cc2ed30c5d1e2e0aa265663c0c26623e29a4d0aad876c687366adec8fbefa195efd6faa0829f2898d81eb519fa199e270572123d22e04
7
+ data.tar.gz: 9fd41ff1bd8897ffafca029ec55c83ba94536520ddbefbf36143921c19d40af330d84eece333b260d7816c08948a7e14c4aa3c7031fb4481a83ccb827563ccfc
@@ -8,3 +8,8 @@ For a full list of changes, consult the commit history.
8
8
 
9
9
  - first release!
10
10
  - new sparse Git strategy (`Git::Sparse`)
11
+
12
+
13
+ ## 0.2.0
14
+
15
+ - [#1] fix 'sparse' to 'shallow' throughout; there is no sparse strategy (oop!)
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 (sparse).
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::Sparse`. But why not blend your magic? :)
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::Sparse
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::Sparse` :
47
- A sparse Git strategy.
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::Sparse` :
67
- A sparse Mercurial strategy.
66
+ - `Capistrano::Scm::Strategy::Hg::Shallow` :
67
+ A shallow Mercurial strategy.
68
68
 
69
- - `Capistrano::Scm::Strategy::Svn::Sparse` :
70
- A sparse Subversion strategy.
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 (sparse).}
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,3 +1,3 @@
1
1
  require 'capistrano/scm/strategy/version'
2
2
 
3
- require 'capistrano/scm/strategy/git/sparse'
3
+ require 'capistrano/scm/strategy/git/shallow'
@@ -1,13 +1,13 @@
1
1
  require 'capistrano/git'
2
2
 
3
3
 
4
- # A sparse Git strategy for Capistrano.
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 Sparse
10
+ module Shallow
11
11
 
12
12
  def test
13
13
  test! " [ -f #{repo_path}/HEAD ] "
@@ -2,7 +2,7 @@ module Capistrano
2
2
  module Scm
3
3
  module Strategy
4
4
 
5
- VERSION = '0.1.0'.freeze
5
+ VERSION = '0.2.0'.freeze
6
6
 
7
7
  end
8
8
  end
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.1.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/sparse.rb
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 (sparse).
97
+ summary: Capistrano SCM strategies (shallow).
98
98
  test_files: []