capistrano 3.3.3 → 3.3.4
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 +4 -4
- data/CHANGELOG.md +12 -3
- data/README.md +23 -3
- data/capistrano.gemspec +1 -1
- data/features/configuration.feature +7 -9
- data/features/step_definitions/assertions.rb +4 -0
- data/lib/capistrano/git.rb +1 -1
- data/lib/capistrano/version.rb +1 -1
- data/spec/lib/capistrano/git_spec.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6f29153f55673d7e5e6d7941c8ff781bd98e7c75
|
4
|
+
data.tar.gz: 6685c780f1e49372c56de8af1665736c4e8c7c5d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 78b8c50f1ca69b7a705c64114b3a7488a8a8ed22418a7ecb1f13faf3ebe9b7322694c5ea9bc84b32f80499419b1aa8e2a886a2c9ee6c04970a52075677d3c7c1
|
7
|
+
data.tar.gz: e4717b8b7a5bbf1515474f40c949f7060640286c1223394e1c34466a7df69218e6d1dfae063595ec637f983602786689a5bf00146b8fdf7425f80d52f58d52aa
|
data/CHANGELOG.md
CHANGED
@@ -4,11 +4,20 @@ Reverse Chronological Order:
|
|
4
4
|
|
5
5
|
## master
|
6
6
|
|
7
|
-
https://github.com/capistrano/capistrano/compare/v3.
|
7
|
+
https://github.com/capistrano/capistrano/compare/v3.3.4...HEAD
|
8
|
+
|
9
|
+
## `3.3.4`
|
10
|
+
|
11
|
+
* Minor changes:
|
12
|
+
* Rely on a newer version of capistrano-stats with better privacy (@leehambley)
|
13
|
+
* Fix cucumber spec for loading tasks from stage configs (@sponomarev)
|
14
|
+
* Minor documentation fixes (@deeeki, @seuros, @andresilveira)
|
15
|
+
* Spec improvements (@dimitrid, @sponomarev)
|
16
|
+
* Fix to CLI flags for git-ls-remote (@dimitrid)
|
8
17
|
|
9
18
|
## `3.3.3`
|
10
19
|
|
11
|
-
https://github.com/capistrano/capistrano/compare/v3.2.1...v3.3.
|
20
|
+
https://github.com/capistrano/capistrano/compare/v3.2.1...v3.3.3
|
12
21
|
|
13
22
|
* Enhancement (@townsen)
|
14
23
|
* Added the variable `:repo_tree` which allows the specification of a sub-tree that
|
@@ -33,7 +42,7 @@ https://github.com/capistrano/capistrano/compare/v3.2.1...v3.3.0
|
|
33
42
|
If the full unexpurgated backtrace is required then the --backtrace
|
34
43
|
and --trace options supply it as before.
|
35
44
|
|
36
|
-
* Disable loading stages configs on `cap -T`
|
45
|
+
* Disable loading stages configs on `cap -T` (@sponomarev)
|
37
46
|
* Track (anonymous) statistics, see https://github.com/capistrano/stats
|
38
47
|
|
39
48
|
* Enhancements (@townsen)
|
data/README.md
CHANGED
@@ -17,7 +17,7 @@ Get <a href="http://codersclan.net/?repo_id=325&source=link">Capistrano support
|
|
17
17
|
Add this line to your application's Gemfile:
|
18
18
|
|
19
19
|
``` ruby
|
20
|
-
gem 'capistrano', '~> 3.
|
20
|
+
gem 'capistrano', '~> 3.3.0'
|
21
21
|
```
|
22
22
|
|
23
23
|
And then execute:
|
@@ -232,7 +232,7 @@ DEBUG [9ce34809] leehambley pts/0 2013-06-13 17:11 (port-11262.pppoe.wtn
|
|
232
232
|
## VCS Requirements
|
233
233
|
|
234
234
|
Capistano requires modern versions of Git, Mercurial and Subversion
|
235
|
-
respectively (if you are using that particular VCS). Git
|
235
|
+
respectively (if you are using that particular VCS). Git requirement is at
|
236
236
|
least version 1.8.x. Mercurial and Subversion, any modern version should
|
237
237
|
suffice.
|
238
238
|
|
@@ -350,11 +350,31 @@ $ rake features
|
|
350
350
|
$ rake features KEEP_RUNNING=1
|
351
351
|
```
|
352
352
|
|
353
|
+
## Metrics
|
354
|
+
|
355
|
+
Since version 3.3.3 Capistrano includes anonymous metrics. The metric server,
|
356
|
+
gem collection, and when it exists, the HTML/d3 page to view the metrics are
|
357
|
+
all open-source and available for inspection and audit at
|
358
|
+
https://github.com/capistrano/stats
|
359
|
+
|
360
|
+
**Notes for CI**: If you commit the file `.capistrano/metrics` to your source
|
361
|
+
control, you will not be prompted again, this is what we expect you to do, and
|
362
|
+
it should also avoid breaking your CI server by blocking waiting for an answer
|
363
|
+
on standard in. The metric prompt is also [disabled when standard in is not a
|
364
|
+
tty](https://github.com/capistrano/stats/blob/77c9993d3ee604520712261aa2a70c90f3b96a6f/gem/lib/capistrano-stats/metric-collector.rb#L53)
|
365
|
+
(when using Capistrano from scripts, or from come well behaved CI services)
|
366
|
+
|
367
|
+
* The gem invites users to opt-into metrics collection when the task
|
368
|
+
`load:defaults` is called. A project-specific hash derived from the output of
|
369
|
+
`git config remote.origin.url` is written to a file `.capistrano/metrics` to
|
370
|
+
allow us to differentiate between many members of the same team deploying the
|
371
|
+
same project vs. many people on many projects.
|
372
|
+
|
353
373
|
## License
|
354
374
|
|
355
375
|
MIT License (MIT)
|
356
376
|
|
357
|
-
Copyright (c) 2012-
|
377
|
+
Copyright (c) 2012-2015 Tom Clements, Lee Hambley
|
358
378
|
|
359
379
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
360
380
|
of this software and associated documentation files (the "Software"), to deal
|
data/capistrano.gemspec
CHANGED
@@ -29,7 +29,7 @@ eos
|
|
29
29
|
|
30
30
|
gem.required_ruby_version = '>= 1.9.3'
|
31
31
|
gem.add_dependency 'sshkit', '~> 1.3'
|
32
|
-
gem.add_dependency 'capistrano-stats', '~> 1.0
|
32
|
+
gem.add_dependency 'capistrano-stats', '~> 1.1.0'
|
33
33
|
gem.add_dependency 'rake', '>= 10.0.0'
|
34
34
|
gem.add_dependency 'i18n'
|
35
35
|
|
@@ -19,12 +19,10 @@ Feature: The path to the configuration can be changed, removing the need to
|
|
19
19
|
Then the task is successful
|
20
20
|
And contains "install" in the output
|
21
21
|
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
# Then the task is successful
|
30
|
-
# And contains "special_stage_task" in the output
|
22
|
+
Scenario: Hide install task with configuration in a custom location
|
23
|
+
And config stage file has line "desc 'Special Task'"
|
24
|
+
And config stage file has line "task :special_stage_task"
|
25
|
+
But the configuration is in a custom location
|
26
|
+
When I run "cap -T"
|
27
|
+
Then the task is successful
|
28
|
+
And doesn't contain "special_stage_task" in the output
|
data/lib/capistrano/git.rb
CHANGED
data/lib/capistrano/version.rb
CHANGED
@@ -31,7 +31,7 @@ module Capistrano
|
|
31
31
|
describe "#check" do
|
32
32
|
it "should test the repo url" do
|
33
33
|
context.expects(:repo_url).returns(:url)
|
34
|
-
context.expects(:execute).with(:git, :'ls-remote
|
34
|
+
context.expects(:execute).with(:git, :'ls-remote --heads', :url).returns(true)
|
35
35
|
|
36
36
|
subject.check
|
37
37
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.3.
|
4
|
+
version: 3.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom Clements
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-12-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: sshkit
|
@@ -31,14 +31,14 @@ dependencies:
|
|
31
31
|
requirements:
|
32
32
|
- - "~>"
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: 1.0
|
34
|
+
version: 1.1.0
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
39
|
- - "~>"
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: 1.0
|
41
|
+
version: 1.1.0
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: rake
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|