rimless 0.1.1 → 0.1.2

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
  SHA256:
3
- metadata.gz: 1274ea6ccaacdb8ca6fd2d1c0e76ee416206b26d7d001a15d67fc74794034a3f
4
- data.tar.gz: b2de6731d0dbf9b82a61f208dc93f40799d6c85a912f567e9ecc306c1449cd85
3
+ metadata.gz: 01ec097f4d8aa1a0eae5c185084007172e85390f851d133661a54be8dc69db62
4
+ data.tar.gz: 1f1342d8b12f755a3946134c5c40c68b947d0859bb42357a6613ada3af267fbd
5
5
  SHA512:
6
- metadata.gz: 9242dd35fd21acdcca165dabcf5a8e85671378f69e3a4fd2538c2f1ac2d288fa062766b750528e2ddd342347d8fb5b4b4ad1f68e16f2cb52d489a5b4c1dc3401
7
- data.tar.gz: 59cb7a892d1bb43e3d5585230a0090547a9e2506be23347573a6f6fc0b5fe3906c6a569f7dcf590b6081b1e34f128cbbf5b05b80b9de99c5a2ee4dbe39efe74f
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
@@ -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
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Rimless
4
4
  # The version of the +rimless+ gem
5
- VERSION = '0.1.1'
5
+ VERSION = '0.1.2'
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rimless
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hermann Mayer