roo_on_rails 1.13.0 → 1.13.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5dcc5b196608b3a05692de3dbd1933cd5941fea2
4
- data.tar.gz: c6464bba5c6cc5acefc6cc95efeb027b309ebebb
3
+ metadata.gz: e5075b97f48faa66fe3ec3caf3d051e08be4ca33
4
+ data.tar.gz: 3b566e379092902915901a3a5fd61e4efa36dff6
5
5
  SHA512:
6
- metadata.gz: 2bcb66d9da64e40f1cc1862602b1bbed89c052c3e5d6f1a303e4cb1b61aae635f572c0e83d9a72c8d5d9e8683afff17c031ca6439f821e3223706cf8bf590c3b
7
- data.tar.gz: 8b497f06d565b9148d3ed0798b5d87a66a14f764b62fc9d2ae383516ffdfea6398df5b1d9455d7b56769a3b2ec7f0419bffd2962b26253ff50a2dd6e50cb843c
6
+ metadata.gz: 4b2b193d90ea71f3b1775099be4c74f1290bd70ec693b61188e28ba210db32b3be8d5d7220e4a6c8a183299276af6a50c421e1ebaf276530c1bbb1d73e9a4ee8
7
+ data.tar.gz: e40b44388e2ebade6a342a4a43018bd0b87cb28c90620d6afab99aa1ddbd2542c4f4e35d0999e56f917f460af91fd879fab208bfbc13cb1209b3333a237a6d95
data/CHANGELOG.md CHANGED
@@ -1,4 +1,14 @@
1
- # v1.12.0 (2017-10-12)
1
+ # HEAD
2
+
3
+ _A description of the awesome feature or bug fix you just wrote!_
4
+
5
+ # v1.13.1 (2017-10-18)
6
+
7
+ Bug fix:
8
+
9
+ - Fixes issue when `service_name` is null in `require_api_key` (#74)
10
+
11
+ # v1.13.0 (2017-10-12)
2
12
 
3
13
  Features:
4
14
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  [`routemaster-client`](https://github.com/deliveroo/routemaster-client) comes as a dependency of `roo_on_rails` with a basic implementation of lifecycle event publishers.
4
4
 
5
- This code example assumes that you are using the latest version of the [`roo_on_rails`](roo_on_rails) gem and that you have set the correct environment variables for Routemaster Client to work on your app, as explained in the main [`README.md`](roo_on_rails#routemaster-client) file.
5
+ This code example assumes that you are using the latest version of the [`roo_on_rails`](https://github.com/deliveroo/roo_on_rails) gem and that you have set the correct environment variables for Routemaster Client to work on your app, as explained in the main [`README.md`](https://github.com/deliveroo/roo_on_rails#routemaster-client) file.
6
6
 
7
7
  It also assumes that your app has an API for the resources you want to publish lifecycle events for, with matching routes and an `API_HOST` environment variable set.
8
8
 
@@ -78,7 +78,7 @@ class RiderPublisher < ApplicationPublisher
78
78
  end
79
79
  ```
80
80
 
81
- `#publish?`, `#topics`, `#async?`, `#data` and `#timestamp` can be overriden; see [the `Publisher` class](lib/roo_on_rails_routemaster/publisher.rb) for the default implementations.
81
+ `#publish?`, `#topics`, `#async?`, `#data` and `#timestamp` can be overriden; see [the `Publisher` class](lib/roo_on_rails/routemaster/publisher.rb) for the default implementations.
82
82
 
83
83
  ### Register the publishers with Routemaster
84
84
 
@@ -83,7 +83,7 @@ module RooOnRails
83
83
  end
84
84
 
85
85
  def valid?(service_name, client_key)
86
- return false if service_name == '' || client_key == ''
86
+ return false if service_name.to_s.empty? || client_key.to_s.empty?
87
87
 
88
88
  client_keys = @cache[normalize(service_name)]
89
89
  return false unless client_keys
@@ -1,3 +1,3 @@
1
1
  module RooOnRails
2
- VERSION = '1.13.0'.freeze
2
+ VERSION = '1.13.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: roo_on_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.13.0
4
+ version: 1.13.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julien Letessier
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-10-12 00:00:00.000000000 Z
11
+ date: 2017-10-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dotenv-rails