logstash/logstash-core-plugin-api
Pier-Hugues Pellerin 48bfff31db Create a virtual gem to handler the plugin dependency on core
We have decided to create a gem that the plugins can depend on to make
sure they use the correct core, with that in mind this will reduce the
mass update required when releasing a major release of logstash if the
contract between logstash and the plugin didnt change. The first version
of this gem act as a virtual gem, future release will include the actual
plugins code of the contract.

This gem should follow the same convention as semver, a breaking change
in the api will mean a bump in the major version.  Plugins author are
encouraged to test their plugins with a specific version of the contract
and define their dependency as the following:

```
  s.add_runtime_dependency "logstash-core-plugin-api", "~> 2.0"
```

This PR also introduce rake task to help managing this gem, since every
release of logstash will produce a new version of this gem with the
minor version bump. A **logstash-core-plugin-api** will declare a strict
dependency on a specific **logstash-core** version, like this:

```
  s.add_runtime_dependency "logstash-core", "2.3.0"
```

On the other hand each release of logtash will also declare a strict
dependency on a specific version of the `logstash-core-plugin-api` gem.

ref #4829

Fixes #4866
2016-03-23 20:09:32 +00:00
..
lib/logstash-core-plugin-api Create a virtual gem to handler the plugin dependency on core 2016-03-23 20:09:32 +00:00
logstash-core-plugin-api.gemspec Create a virtual gem to handler the plugin dependency on core 2016-03-23 20:09:32 +00:00