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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 02711e7eef16d15ce0c8169ddc93008d92e33862
4
- data.tar.gz: 968ac8e6238f11902c4983bf56e367524970ed91
3
+ metadata.gz: 67f196bf92985d7f97e880ff6e38769fe82a8fcf
4
+ data.tar.gz: 3798b08fba0bcee5daf1cb803e3434300faf475a
5
5
  SHA512:
6
- metadata.gz: 956a2a6c04857508ef312f5c203933bb05c48efd4ab50659c972751108e171f28fc28a592686ffe4e733240d69184e8c9747556eafb3419678f7dd7e0f7981c2
7
- data.tar.gz: 36bc21a965fffc9e963a5e2ff8ae5f891592909ce8eea5b7b440fa267d184b7e103fd74f489bd352c8511017f931a5b44dd0464e348061d55d7418b585ed432a
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
- {#'user_id' => user_id,
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
@@ -1,3 +1,3 @@
1
1
  module Ocean
2
- VERSION = "5.5.0"
2
+ VERSION = "5.5.1"
3
3
  end
@@ -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? # Don't send
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.0
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-07 00:00:00.000000000 Z
11
+ date: 2015-11-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus