Skip to content

Commit

Permalink
prep for 1.3.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
majormoses committed Sep 9, 2017
1 parent 183e343 commit e73a9a2
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 8 deletions.
5 changes: 2 additions & 3 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#### General

- [ ] Update Changelog following the conventions laid out on [Keep A Changelog](http://keepachangelog.com/)
- [ ] Update Changelog following the conventions laid out on [Our CHANGELOG Guidelines ](https://github.com/sensu-plugins/community/blob/master/HOW_WE_CHANGELOG.md)

- [ ] Update README with any necessary configuration snippets

Expand All @@ -24,5 +24,4 @@

#### Purpose

#### Known Compatability Issues

#### Known Compatibility Issues
18 changes: 15 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,26 @@
# Change Log
This project adheres to [Semantic Versioning](http://semver.org/).

This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachangelog.com/)
This CHANGELOG follows the format listed at [Our CHANGELOG Guidelines ](https://github.com/sensu-plugins/community/blob/master/HOW_WE_CHANGELOG.md).
Which is based on [Keep A Changelog](http://keepachangelog.com/)

## [Unreleased]

## [1.3.0] - 2017-09-09
### Added
- metrics-zookeeper-cluster.rb: new script to gather metrics from a zookeeper cluster (@fsniper)

### Changed
- metrics-zookeeper-cluster.rb: use the plugin name + version as the default user agent over some arbitrary version of curl (@majormoses)
- updated PR template and CHANGELOG with new CHANGELOG guideline location (@majormoses)

### Fixed
- spelling in PR template (@majormoses)

## [1.2.0] - 2017-08-28
### Added
- check-zookeper-cluster
- Ruby 2.4.1 testing
- metrics-zookeeper-cluster.rb

## [1.1.0] - 2017-03-23
- add `check-zookeeper-mode` to check if zookeeper is in the expected mode (@karthik-altiscale)
Expand Down Expand Up @@ -49,7 +60,8 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
### Added
- initial release

[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-zookeeper/compare/1.1.0...HEAD
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-zookeeper/compare/1.3.0...HEAD
[1.3.0]: https://github.com/sensu-plugins/sensu-plugins-zookeeper/compare/1.2.0...1.3.0
[1.2.0]: https://github.com/sensu-plugins/sensu-plugins-zookeeper/compare/1.1.0...1.2.0
[1.1.0]: https://github.com/sensu-plugins/sensu-plugins-zookeeper/compare/1.0.0...1.1.0
[1.0.0]: https://github.com/sensu-plugins/sensu-plugins-zookeeper/compare/0.1.0...1.0.0
Expand Down
2 changes: 1 addition & 1 deletion bin/metrics-zookeeper-cluster.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class ZookeeperMetrics < Sensu::Plugin::Metric::CLI::Graphite
long: '--scheme SCHEME',
default: 'zookeeper'

def follow_url(uri_str, agent = 'curl/7.43.0', max_attempts = 10, timeout = 10)
def follow_url(uri_str, agent = "sensu-plugins-zookeeper/#{SensuPluginsZookeeper::Version::VER_STRING}", max_attempts = 10, timeout = 10)
attempts = 0
cookie = nil

Expand Down
2 changes: 1 addition & 1 deletion lib/sensu-plugins-zookeeper/version.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module SensuPluginsZookeeper
module Version
MAJOR = 1
MINOR = 2
MINOR = 3
PATCH = 0

VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
Expand Down

0 comments on commit e73a9a2

Please sign in to comment.