ocean-rails 5.5.0 → 5.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ocean-rails.rb +1 -2
- data/lib/ocean/version.rb +1 -1
- data/lib/ocean/zeromq_logger.rb +3 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 67f196bf92985d7f97e880ff6e38769fe82a8fcf
|
4
|
+
data.tar.gz: 3798b08fba0bcee5daf1cb803e3434300faf475a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b880e33965523f7f8e458ff6005a0b131633b1a1c8ce3c85b93ff221d44535694bc0e5d6b96176fad63fdbef13a109781200c8cfa5b4bf7bccae92898cf09f27
|
7
|
+
data.tar.gz: 28399ed97465a3c7fe1793c3e1e3d37c44592102555a7f222fa101fa784a45f57cd73c089cb033ecc0c43c953384527715aedd40e13c98f3574daedeac98b45c
|
data/lib/ocean-rails.rb
CHANGED
@@ -48,8 +48,7 @@ def permit_with(status, user_id: "1-2-3-4-5", creator_uri: "https://api.example.
|
|
48
48
|
allow(Api).to receive(:permitted?).
|
49
49
|
and_return(double(:status => status,
|
50
50
|
:body => {'authentication' =>
|
51
|
-
{
|
52
|
-
'right' => right,
|
51
|
+
{'right' => right,
|
53
52
|
'group_names' => group_names,
|
54
53
|
'_links' => { 'creator' => {'href' => creator_uri,
|
55
54
|
'type' => 'application/json'}}}}))
|
data/lib/ocean/version.rb
CHANGED
data/lib/ocean/zeromq_logger.rb
CHANGED
@@ -74,7 +74,9 @@ class ZeromqLogger
|
|
74
74
|
#
|
75
75
|
def add(level, msg)
|
76
76
|
return true if level < @level
|
77
|
-
return true if msg.blank?
|
77
|
+
return true if msg.blank?
|
78
|
+
# Compensate for bug in Rails 4.2.x
|
79
|
+
return true if msg =~ /^Couldn't find template for digesting: /
|
78
80
|
data = { ip: @ip,
|
79
81
|
pid: Process.pid,
|
80
82
|
service: APP_NAME,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ocean-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.5.
|
4
|
+
version: 5.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Bengtson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-11-
|
11
|
+
date: 2015-11-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|