protobuf-nats 0.10.3 → 0.10.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/protobuf/nats/config.rb +7 -2
- data/lib/protobuf/nats/version.rb +1 -1
- data/protobuf-nats.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c2187c7b268795df3d9cb72b75d4bf51456c055bd00253cdc2fc25385cdbb988
|
4
|
+
data.tar.gz: bd286511daf03a39bf93ad1aa74d8f044b7b1019cb9eb043c40c663e4950f3a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f36143434fadea654a256c365fde72df2932510c8c1430408095d14fd426b512404725c67e621d6b13df9a8aef266fef3a9f4a3945a2d3e6ccb329cc70aa641
|
7
|
+
data.tar.gz: a79b514f718ea525bde3095de4f5568849f8321c67c703096386bbef74cde0599b4f952ee70b12b6b22b338ea39666faef3d2c6af74585852f3972831adcb36b
|
data/README.md
CHANGED
@@ -158,7 +158,7 @@ The java-nats client is temporarily forked to support jruby > 9.2.10.0. The livi
|
|
158
158
|
|
159
159
|
## Contributing
|
160
160
|
|
161
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
161
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/mxenabled/protobuf-nats.
|
162
162
|
|
163
163
|
|
164
164
|
## License
|
data/lib/protobuf/nats/config.rb
CHANGED
@@ -39,8 +39,13 @@ module Protobuf
|
|
39
39
|
yaml_config = {}
|
40
40
|
config_path = ENV["PROTOBUF_NATS_CONFIG_PATH"] || ::File.join("config", "protobuf_nats.yml")
|
41
41
|
absolute_config_path = ::File.expand_path(config_path)
|
42
|
-
if ::File.
|
43
|
-
|
42
|
+
if ::File.exist?(absolute_config_path)
|
43
|
+
# Psych 4 and newer requires unsafe_load_file in order for aliases to be used
|
44
|
+
yaml_config = if ::YAML.respond_to?(:unsafe_load_file)
|
45
|
+
::YAML.unsafe_load_file(absolute_config_path)[env]
|
46
|
+
else
|
47
|
+
::YAML.load_file(absolute_config_path)[env]
|
48
|
+
end
|
44
49
|
end
|
45
50
|
|
46
51
|
DEFAULTS.each_pair do |key, value|
|
data/protobuf-nats.gemspec
CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
|
|
11
11
|
|
12
12
|
spec.summary = %q{ ruby-protobuf client/server for nats }
|
13
13
|
spec.description = %q{ ruby-protobuf client/server for nats }
|
14
|
-
|
14
|
+
spec.homepage = "https://github.com/mxenabled/protobuf-nats"
|
15
15
|
spec.license = "MIT"
|
16
16
|
|
17
17
|
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: protobuf-nats
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.10.
|
4
|
+
version: 0.10.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brandon Dewitt
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-11-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -185,7 +185,7 @@ files:
|
|
185
185
|
- lib/protobuf/nats/version.rb
|
186
186
|
- protobuf-nats.gemspec
|
187
187
|
- scripts/install_gnatsd.sh
|
188
|
-
homepage:
|
188
|
+
homepage: https://github.com/mxenabled/protobuf-nats
|
189
189
|
licenses:
|
190
190
|
- MIT
|
191
191
|
metadata:
|
@@ -205,7 +205,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
205
205
|
- !ruby/object:Gem::Version
|
206
206
|
version: '0'
|
207
207
|
requirements: []
|
208
|
-
rubygems_version: 3.
|
208
|
+
rubygems_version: 3.4.20
|
209
209
|
signing_key:
|
210
210
|
specification_version: 4
|
211
211
|
summary: ruby-protobuf client/server for nats
|