cap-git-deploy 0.1.0 → 0.1.1

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: d30de087816591ce6ef09421e13797133d6fd108
4
- data.tar.gz: c4aff5bd31e30be5e16d4e47306c06539e6cbf40
3
+ metadata.gz: 84f6cead345d88b05a62d142c6bb180693dce4c5
4
+ data.tar.gz: b51288a0154302ea5d8489ad595060fc213c3981
5
5
  SHA512:
6
- metadata.gz: 07c3e83ebbc8fe40d99d6e6e2fed72d81a5e0c04f4da7e0cbacf11e8ee4cf7aa24d11211a3008b6f2470cea2675e81b68d6adc396878d16a1efdfde57c453fe8
7
- data.tar.gz: 18daec933c128c77f6c69a94aa1d46b03163d12f00374d7bd5e2292206954e3a294b75f4e71c86db8f422080ba4b2b6ba4299c640df9376e6ad33c4787c5073a
6
+ metadata.gz: 9b51504b5043029382cd39932b50d1dd59c4c9e44f17dc7907f77942f65b30e125097e6a5b46662406218029723e9aa77d24ae414e0d0f3a31614c75b18c25c3
7
+ data.tar.gz: 739693a098332d92fffd7ebdc8ed431e06b781ac28c68a60c5d58ee6820ede4e9d1cc75941356c1b6825c1569890f7fbb7b7437e670fbe672d263ddfe7b8dbbe
data/CHANGELOG.md ADDED
@@ -0,0 +1,11 @@
1
+ # 0.1.1 2013-11-12
2
+
3
+ * add support for submodules
4
+ * prune stale branches during `git fetch`
5
+
6
+
7
+ # 0.1.0 2013-11-11
8
+
9
+ * depend on capistrano 2 (avoid unwanted updates to capistrano 3)
10
+ * play shifted semver using `~> 0.1.0` as gem requirement
11
+ * bugfixes for deploy:setup
@@ -1,7 +1,7 @@
1
1
  module Cap
2
2
  module Git
3
3
  module Deploy
4
- VERSION = '0.1.0'
4
+ VERSION = '0.1.1'
5
5
  end
6
6
  end
7
7
  end
@@ -59,8 +59,9 @@ namespace :deploy do
59
59
  branch_name = "origin/#{fetch :branch, 'master'}"
60
60
  end
61
61
 
62
- run "cd #{current_path} && git fetch" unless rolling_back
62
+ run "cd #{current_path} && git fetch --prune" unless rolling_back
63
63
  run "cd #{current_path} && git reset --hard #{branch_name}"
64
+ run "cd #{current_path} && git submodule update --init"
64
65
 
65
66
  finalize_update
66
67
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cap-git-deploy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicola Racco
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-11-11 00:00:00.000000000 Z
12
+ date: 2013-11-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capistrano
@@ -61,6 +61,7 @@ extensions: []
61
61
  extra_rdoc_files: []
62
62
  files:
63
63
  - .gitignore
64
+ - CHANGELOG.md
64
65
  - Gemfile
65
66
  - LICENSE.txt
66
67
  - README.md