govuk_app_config 9.0.1 → 9.0.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: fc7d94f65aa2c81b7df62708d405601aeef8ca8dfe8455d59da46843c75eaf1e
4
- data.tar.gz: 183aecdff3c9a1f8fd0f0ee3ad20bdece7a195d8005592d02b3eac1f4ae8770d
3
+ metadata.gz: 5eebd463208dee81ff14cc1a87f100aca70e681ac5981035e4023fb858e80a73
4
+ data.tar.gz: a0eb596c770aecad2de8d136615dd2b817d58c13d59b39aeb41cab6eb4647ab0
5
5
  SHA512:
6
- metadata.gz: 82c3121d70042f7333b8c81acae37a2466bb2e04a6142a75eeaecdc2ccc345dd35886350da7b6657e0bc9550eeaf0d09aa43326a3327c4ffdcac5d6536784c28
7
- data.tar.gz: 4dd45d0cebff36feda7e21a5032baa716d7147cb03b7388674e9bab8421a5f04af1089bb472f82b7267a60dc014a8085ea14bb3c7ef415ada8f674a8bbe1b3fb
6
+ metadata.gz: 90afd8244f3996cc39d6745d41eee8f7f722eac4933f9963593abdb1e9bbf7e5547badcdcace94271fa0d1e9c2a4dd0a30ea7b7d68e150f2f9ce42dea4f146df
7
+ data.tar.gz: 9589eb251474ac70f2df9f731fa849689ef16c66a65bc150171dee297c5934f94e99eddb5178bc761ae3dacf5ea5ea1091effb1526ecece9da71faf8b33ded64
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 9.0.2
2
+
3
+ * GovukAppConfig no longer automatically initialises OpenTelemetry when running in `rails console`.
4
+
1
5
  # 9.0.1
2
6
 
3
7
  * Rename the "error" field in Rails logs from logstasher to "message" as error is supposed to be an object.
@@ -12,11 +16,11 @@
12
16
 
13
17
  # 8.1.1
14
18
 
15
- * Fix prometheus_exporter to method patching compatible with open telemetry.
19
+ * Fix prometheus_exporter to method patching compatible with OpenTelemetry.
16
20
 
17
21
  # 8.1.0
18
22
 
19
- * Add ability to enable Open Telemetry instrumentation for Rails applications.
23
+ * Add ability to enable OpenTelemetry instrumentation for Rails applications.
20
24
 
21
25
  # 8.0.2
22
26
 
@@ -9,7 +9,9 @@ module GovukAppConfig
9
9
  end
10
10
 
11
11
  initializer "govuk_app_config.configure_open_telemetry" do |app|
12
- GovukOpenTelemetry.configure(app.class.module_parent_name.underscore)
12
+ unless Rails.const_defined?(:Console)
13
+ GovukOpenTelemetry.configure(app.class.module_parent_name.underscore)
14
+ end
13
15
  end
14
16
 
15
17
  config.before_initialize do
@@ -1,3 +1,3 @@
1
1
  module GovukAppConfig
2
- VERSION = "9.0.1".freeze
2
+ VERSION = "9.0.2".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: govuk_app_config
3
3
  version: !ruby/object:Gem::Version
4
- version: 9.0.1
4
+ version: 9.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - GOV.UK Dev
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-07-05 00:00:00.000000000 Z
11
+ date: 2023-07-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: logstasher
@@ -363,7 +363,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
363
363
  - !ruby/object:Gem::Version
364
364
  version: '0'
365
365
  requirements: []
366
- rubygems_version: 3.4.15
366
+ rubygems_version: 3.4.16
367
367
  signing_key:
368
368
  specification_version: 4
369
369
  summary: Base configuration for GOV.UK applications