rimless 0.1.1 → 0.1.2
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/CHANGELOG.md +6 -0
- data/lib/rimless/dependencies.rb +6 -0
- data/lib/rimless/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 01ec097f4d8aa1a0eae5c185084007172e85390f851d133661a54be8dc69db62
|
|
4
|
+
data.tar.gz: 1f1342d8b12f755a3946134c5c40c68b947d0859bb42357a6613ada3af267fbd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7507e3e875b07f31738824477a920acebe363394da19d025cacacd55dd4adc04e393a334bd31afd43f448fb5edf5d2df3252b1f11fb8fdf01b45b9d579c79463
|
|
7
|
+
data.tar.gz: 3fabf04a4670849c9c56cfb9a8c7cbaaff06a0069d0b1b2c98d8d5f297dd8a30d9249853aba676459bf5ca15d41e36b0f6bc8e4a78a508b672c14e656b173dd9
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
### 0.1.2
|
|
2
|
+
|
|
3
|
+
* Skip the configuration of the AvroTurf gem in case no schema registry URL is
|
|
4
|
+
configured, this allows the smooth run of Rails asset precompilations without
|
|
5
|
+
full environment configurations (eg. on CI)
|
|
6
|
+
|
|
1
7
|
### 0.1.1
|
|
2
8
|
|
|
3
9
|
* Skip the configuration of the WaterDrop gem in case no brokers are
|
data/lib/rimless/dependencies.rb
CHANGED
|
@@ -45,6 +45,12 @@ module Rimless
|
|
|
45
45
|
# Set sensible defaults for the +AvroTurf+ gem and (re)compile the Apache
|
|
46
46
|
# Avro schema templates (ERB), so the gem can handle them properly.
|
|
47
47
|
def configure_avro_turf
|
|
48
|
+
# No need to configure AvroTurf when no schema registry URL is
|
|
49
|
+
# available. Its fine to skip this for scenarios where not the full
|
|
50
|
+
# application configuration is available (eg. on Rails asset
|
|
51
|
+
# precompilations, etc)
|
|
52
|
+
return unless Rimless.configuration.schema_registry_url
|
|
53
|
+
|
|
48
54
|
# Setup a global available Apache Avro decoder/encoder with support for
|
|
49
55
|
# the Confluent Schema Registry, but first create a helper instance
|
|
50
56
|
avro_utils = Rimless::AvroUtils.new
|
data/lib/rimless/version.rb
CHANGED