Skip to content

Commit

Permalink
Bump the version number and update the README for new release
Browse files Browse the repository at this point in the history
  • Loading branch information
cyli committed Sep 8, 2015
1 parent 9c135ac commit f385151
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 8 deletions.
23 changes: 16 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,23 +32,32 @@ output {

Not supported yet: attachments

### Changelog:
- v 0.1.1:
- Added variable expansion to usernames and channel names ([#6](https://github.com/cyli/logstash-output-slack/pull/6))
- Fixed bug when reporting malformed requests ([#3](https://github.com/cyli/logstash-output-slack/pull/3))
- Test fixes since newer versions of logstash-core expects the values in
the `add_field` hash to not be integers.
- v 0.1.0:
- initial version containing basic slack functionality

### Installation on Logstash >= 1.5

In the logstash directory, run: `bin/plugin install logstash-output-slack`
In the logstash directory, run: `bin/plugin install logstash-output-slack`, which will download and install the public gem.

#### To build your own gem and install:

1. `git clone <thisrepo>`
1. `bundle install`
1. `gem build logstash-output-slack.gemspec`
1. `cd <path to logstash>`
1. `logstash>1.5.0`: `bin/plugin install <path-to-your-built-gem>`

You should just be able to do `bin/plugin install <path-to-your-built-gem>`, but due to [this bug](https://github.com/elastic/logstash/issues/2674) installing from a local gem doesn't work right now.

You need to:
On `logstash==1.5.0`, due to [this bug](https://github.com/elastic/logstash/issues/2674), installing from a local gem doesn't work right now. You will need to:

1. Make sure that the `logstash-core` gem you've installed matches the exact beta 1.5 logstash version you are running.
1. modify the logstash Gemfile to include the line `gem "logstash-output-slack", :path => <path_to_the_directory_your_gem_is_in>`
1. `bin/plugin install --no-verify`
1. Make sure that the `logstash-core` gem you've installed matches the exact beta 1.5 logstash version you are running.
1. modify the logstash Gemfile to include the line `gem "logstash-output-slack", :path => <path_to_the_directory_your_gem_is_in>`
1. `bin/plugin install --no-verify`

#### Verify that the plugin installed correctly
`bin/plugin list | grep logstash-output-slack`
Expand Down
2 changes: 1 addition & 1 deletion logstash-output-slack.gemspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Gem::Specification.new do |s|
s.name = 'logstash-output-slack'
s.version = '0.1.0'
s.version = '0.1.1'
s.licenses = ['MIT','Apache License (2.0)']
s.summary = "Write events to Slack"
s.description = "This gem is a logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/plugin install gemname. This gem is not a stand-alone program"
Expand Down

0 comments on commit f385151

Please sign in to comment.