capistrano-jetty 1.2.0 → 1.2.1

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: 596c19c36bf825e67148b4c38f2068e70c4b16d1
4
- data.tar.gz: af4440784fa0b86026eea228974e1130e9dd5c60
3
+ metadata.gz: 5cfcdf724cf1f519da7dc52c654e588d4c11cb77
4
+ data.tar.gz: 911459c65597b1da6b96f7935a1626282ed5cca6
5
5
  SHA512:
6
- metadata.gz: d9650c3e06c0aeac2e00c59b23e54a7e3b8100dac5fb03289e63d85751d9b8ca69b4b89bace4d9fe2f70fb48ffe742c11961e4d937070e46dcdf37196a24f3a0
7
- data.tar.gz: 0b7c447b8a1c3679be6736627b69e5e504b4ef43b9348c7717ec056ed962dc25c218c065d8781e4875e418a5d981ad887872895eb4b4c4c0b7a1182feeaad184
6
+ metadata.gz: dbd91cf421c5e9e454485095c3d7f136c5c00aec808f6d08eea161146e711e84979969968ac123d8c991afa13e35076512c38f419b94a429618d82a381e3e0be
7
+ data.tar.gz: 683387ce2291033ebcb4e3cea09550c5b83a573069c0339964acf32f3f27121de091300ec8ca92f17a599dcf7e9722debaf51a17a21fe05b335e6af128f3635b
data/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  This is the Changelog for Capistrano::Jetty.
4
4
 
5
+ ## v1.2.1 (2016-02-09)
6
+
7
+ * Fix error message for missing variable during validation
8
+
5
9
  ## v1.2.0 (2014-06-09)
6
10
 
7
11
  * Refactor deployment to be zero-downtime courtesy of evertrue/et_haproxy-cookbook@v3.1.0
data/README.md CHANGED
@@ -1,8 +1,10 @@
1
1
  # Capistrano::Jetty
2
2
 
3
+ [![Gem Version](http://img.shields.io/gem/v/capistrano-jetty.svg?style=flat)](https://rubygems.org/gems/capistrano-jetty)
4
+
3
5
  This gem provides support in Capistrano 3.x for copying a deployed artifact into Jetty’s webapps directory, then restarting Jetty.
4
6
 
5
- Plays nicely with [evertrue/capistrano-scm-jenkins](https://github.com/evertrue/capistrano-scm-jenkins).
7
+ Plays nicely with [capistrano-scm-jenkins](https://github.com/lidaobing/capistrano-scm-jenkins).
6
8
 
7
9
  ## Installation
8
10
 
@@ -39,6 +41,16 @@ set :deployed_artifact_filename, "#{fetch(:application)}.war"
39
41
  set :jetty_webapps_path, '/usr/share/jetty/webapps'
40
42
  ```
41
43
 
44
+ In your `config/deploy/(staging|production).rb`, specify the hostname of the HAProxy server(s) and the name of the HAProxy backend for your servers:
45
+
46
+ ```ruby
47
+ server 'prod-api-haproxy-1d', user: fetch(:user), roles: %w{load_balancer}, no_release: true
48
+
49
+ set :load_balancer_backend, 'contactsapi-prod'
50
+ ```
51
+
52
+ See the [Chef stage environment](https://github.com/evertrue/server-chef/blob/master/environments/stage.json#L141) and [Chef prod environment](https://github.com/evertrue/server-chef/blob/master/environments/prod.json#L232) to find your app’s HAProxy backend. Line numbers may change; search for `backends` in case these links out-of-date.
53
+
42
54
  ## Contributing
43
55
 
44
56
  1. Fork it ( http://github.com/evertrue/capistrano-jetty/fork )
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = 'capistrano-jetty'
7
- spec.version = '1.2.0'
7
+ spec.version = '1.2.1'
8
8
  spec.authors = ['Jeff Byrnes']
9
9
  spec.email = ['jeff@evertrue.com']
10
10
  spec.summary = %q{Capistrano 3 plugin for handling Jetty.}
@@ -13,7 +13,7 @@ namespace :deploy do
13
13
  var = eval(var_name)
14
14
 
15
15
  if var.nil?
16
- error "capistrano-scm-jenkins: #{var_name} is not set"
16
+ error "capistrano-jetty: #{var_name} is not set"
17
17
 
18
18
  exit 1
19
19
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-jetty
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
  - Jeff Byrnes
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-11 00:00:00.000000000 Z
11
+ date: 2016-02-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano
@@ -91,7 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
91
91
  version: '0'
92
92
  requirements: []
93
93
  rubyforge_project:
94
- rubygems_version: 2.4.5
94
+ rubygems_version: 2.4.6
95
95
  signing_key:
96
96
  specification_version: 4
97
97
  summary: Capistrano 3 plugin for handling Jetty.