nypl_ruby_util 0.0.4 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/kinesis_client.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bd76f2db6e4d52927503aec7dbe8a5e50c5e0fea01bafe5b7caf184e814e3ca4
|
|
4
|
+
data.tar.gz: 2c59a7d630e18ee839780b450eab83370b32d9231e5c23c244ffe795a0323c3f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 79f01aa5a487725cc37793f1b5b4656bf9e969a8e0e234bf2c6d9927c008107c71f161630e1539037a1974663c4df95d5f415d80089aaaaa19512257b771a3dd
|
|
7
|
+
data.tar.gz: 3d3d398b64516e59736d254ff2c709aec0980b2682401216e945f78be77bd6f2f1b8f3162025bf177fc85c6d631caf08da5ff42560861caa00d1d08a9c37c0a4
|
data/lib/kinesis_client.rb
CHANGED
|
@@ -38,7 +38,7 @@ class KinesisClient
|
|
|
38
38
|
if resp.successful?
|
|
39
39
|
return_hash["code"] = "200"
|
|
40
40
|
return_hash["message"] = json_message, resp
|
|
41
|
-
$logger.info("Message sent to
|
|
41
|
+
$logger.info("Message sent to #{config[:stream_name]} #{json_message}, #{resp}") if $logger
|
|
42
42
|
else
|
|
43
43
|
$logger.error("message" => "FAILED to send message to HoldRequestResult #{json_message}, #{resp}.") if $logger
|
|
44
44
|
raise NYPLError.new json_message, resp
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: nypl_ruby_util
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Daniel Appel
|
|
@@ -122,7 +122,7 @@ files:
|
|
|
122
122
|
- lib/nypl_avro.rb
|
|
123
123
|
- lib/nypl_ruby_util.rb
|
|
124
124
|
- lib/platform_api_client.rb
|
|
125
|
-
homepage:
|
|
125
|
+
homepage: https://github.com/NYPL/NYPLRubyUtil
|
|
126
126
|
licenses:
|
|
127
127
|
- MIT
|
|
128
128
|
metadata: {}
|
|
@@ -141,7 +141,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
141
141
|
- !ruby/object:Gem::Version
|
|
142
142
|
version: '0'
|
|
143
143
|
requirements: []
|
|
144
|
-
rubygems_version: 3.
|
|
144
|
+
rubygems_version: 3.2.3
|
|
145
145
|
signing_key:
|
|
146
146
|
specification_version: 4
|
|
147
147
|
summary: A repository of common utilities for NYPL Ruby application
|