discourse_plugin_statistics 0.1.0.pre1 → 0.1.0.pre3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 05d98552f40ea8a819ae7c5aa721b9b253e4eb2eedd4a64c315386e614f643ff
4
- data.tar.gz: 5e397ff6053d794e4c2ee7edc204c2fd82724ef879dd39e53fa6d28541af0cfc
3
+ metadata.gz: e3a9895060005a6e8c1b96f19769ac296a044c8b2fee341a812f2ce8b7835c9f
4
+ data.tar.gz: eff6c181bb2a24f62602e3adddc24849121173a0020b8a59a305fa65beab8e73
5
5
  SHA512:
6
- metadata.gz: 38bb22863aad2d66ea4fa773f3011ac4f4f6e853f44cfa1d963ce4baa5c95db109c593a8d0e6d7ae4e67258a6630b6e02d2cd77eb3d5f5d3e8985d601f5e9152
7
- data.tar.gz: 83b13585662f9f32956d71eebb179ce975785e7f9b113a348d67dcde676b7c414f713db0e91205025de2607f6826eedc96c0d67e05ab713ee1f200ce40524eba
6
+ metadata.gz: 4bb597a6df5115c7c4da006bebb2df26df9ac26b2a9ddd35266c9862737672b474c9e21475f1fc54f75f58840a145fa2b161dc7a724524d8be095c6f8231780b
7
+ data.tar.gz: 547c05922a453ebaa6d5ced40ce8cabf256ca0210d1a71f84a44214de34ce9bcff1001000abcbe83904457ecbea7a4084db0750f45383bec5dc64d63f1a00759
@@ -23,7 +23,7 @@ module DiscoursePluginStatistics
23
23
  require_relative path
24
24
  end
25
25
 
26
- Statistics.update! if ::Discourse.running_in_rack?
26
+ Statistics.update! if ::Discourse.running_in_rack? && !ENV["GITHUB_ACTIONS"]
27
27
  end
28
28
  end
29
29
 
@@ -17,6 +17,7 @@ module DiscoursePluginStatistics
17
17
  plugins: plugins
18
18
  }.to_json
19
19
  )
20
+ rescue Excon::Error
20
21
  end
21
22
 
22
23
  protected
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DiscoursePluginStatistics
4
- VERSION = "0.1.0.pre1"
4
+ VERSION = "0.1.0.pre3"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: discourse_plugin_statistics
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre1
4
+ version: 0.1.0.pre3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Angus McLeod
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-22 00:00:00.000000000 Z
11
+ date: 2023-10-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: active_model_serializers