statistrano 1.2.0 → 1.2.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: 01c39986ca62a7822f5408c54b6a8f26895b12e4
4
- data.tar.gz: f936b3560996e755990ad64a302b5c4fb63f264a
3
+ metadata.gz: b3cf043a12c5f955673727a758f5f8ccfe65e7ed
4
+ data.tar.gz: e515d09d645bc9db4900446b4d59ec2fc7b86c67
5
5
  SHA512:
6
- metadata.gz: f4d57e9c63c268d9c328eb4b9d43a1d2deb9a2a7311649149d3faa3065ba438b78a5cf0eaeb9f6ee2a79cedae595658380d6c4bf13ed436febf7cd0a1a88a604
7
- data.tar.gz: 7428563bae6150a2d7de3afef2392bb8ca6725f3aa9fc62a6f188960288d500a2cc2c11fb7a4e92315cc3fea8f0eda430fbaf4763d0c88df55ccbe9965728270
6
+ metadata.gz: a25ad9f76ca4ccd3a859609d640aea135bfb126201d276da1af0ffdbaf258c024cadead3f724e6bc3d61589c2253cf87771ae222eff4fdcc973e52f4ccb0bb68
7
+ data.tar.gz: 3f0a1b2560058bec04c4952b92f99774eb65d0505eb039c0ed07bf638dc6e96720e4bbbfea1fd68da7f94e894c45d0d3978262b77b3f9a3f93e2e555775ada37
data/changelog.md CHANGED
@@ -1,3 +1,6 @@
1
+ # 1.2.1
2
+ - fix bug where `Strategy::Branches` wasn't caching manifests, causing the prune task to fail at removing releases from the manifest.
3
+
1
4
  # 1.2.0
2
5
  - remote specific config is now tied directly to the remote through it's own config object. Internally this cleans up many checks, but causes [BREAKING] changes if you depended on the API of any of the internal classes. If you use config data in any of your tasks, it's now suggested that you do so inside your `remotes` iterators.
3
6
  - get `Strategy::Branches` supporting multiple remotes. The stdout output of `list_releases` and `prune_releases` has changed, so if you depended on this it may be breaking.
@@ -85,4 +85,4 @@ module Statistrano
85
85
 
86
86
  end
87
87
  end
88
- end
88
+ end
@@ -78,7 +78,7 @@ module Statistrano
78
78
  @_manifests ||= {}
79
79
 
80
80
  @_manifests.fetch( remote ) do
81
- Deployment::Manifest.new remote.config.remote_dir, remote
81
+ @_manifests[remote] = Deployment::Manifest.new remote.config.remote_dir, remote
82
82
  end
83
83
  end
84
84
 
@@ -1,3 +1,3 @@
1
1
  module Statistrano
2
- VERSION = "1.2.0"
2
+ VERSION = "1.2.1"
3
3
  end
data/readme.md CHANGED
@@ -244,4 +244,4 @@ If there is any thing you'd like to contribute or fix, please:
244
244
 
245
245
  License
246
246
  =======
247
- The statistrano gem is distributed under the MIT License.
247
+ The statistrano gem is distributed under the [BSD 3.0 license](/LICENSE).
@@ -70,6 +70,9 @@ eof
70
70
  release_stdin 1 do
71
71
  @deployment.prune_releases
72
72
  expect( Dir[ "deployment/**" ] ).not_to include "deployment/first_branch"
73
+
74
+ manifest_json = JSON.parse(IO.read("deployment/manifest.json"))
75
+ expect( manifest_json.map { |d| d["name"] } ).not_to include "first_branch"
73
76
  end
74
77
  end
75
78
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: statistrano
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jordan Andree