posthog-ruby 1.2.1 → 1.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b1c78909b0d23aea369a70193696c779c04de90bf5c7725c2d3402c982ba2568
4
- data.tar.gz: bf4c5400441cefdf1b9037b27e3b2bfd572317cd7309b30fc89ae56548a2c1c3
3
+ metadata.gz: be0160975e0d4abe505d4039ab4191fa4ccdffa99ceba59d739ad1304a5c7c6f
4
+ data.tar.gz: faa21af01aaaa6de4baa0e346b9565cd477d6163483bbaf27730b6bf4dd83bc5
5
5
  SHA512:
6
- metadata.gz: 3d4c65100cf0971d2382ec47c29346fd88e2d1ceab61a82694a96ad60d28607edcc08a3f4023d13235e87350f4ac3e9ccace34d7c2138b70a850895c6fa2482c
7
- data.tar.gz: 7054d04f4c9346e18c638370d39858b98dfd9653e5731bcd286556f686978d652ef414c37f040a11272030624d86858419eccab147a50c88c4ca0226916451e3
6
+ metadata.gz: e7596b4aed0d4b93a321a26aee5d3f74cf5b115ecf43b98387e1e3a48e52aa48199cfa8b3ca073080d6b1ba317e77ce6bf661b5b7e1e72aefd2f61820db1df17
7
+ data.tar.gz: 9e2a238eec77c66beb7c69d4bfc129aae81900f02bb73afeb602ba59f4763af817f9f971504d6ad3f6f6ea48c22403e821aa624d69fd079354b431b9af190b8b
@@ -32,6 +32,9 @@ class PostHog
32
32
  http.use_ssl = options[:ssl]
33
33
  http.read_timeout = 8
34
34
  http.open_timeout = 4
35
+ if options[:skip_ssl_verification]
36
+ http.verify_mode = OpenSSL::SSL::VERIFY_NONE
37
+ end
35
38
 
36
39
  @http = http
37
40
  end
@@ -1,3 +1,3 @@
1
1
  class PostHog
2
- VERSION = '1.2.1'
2
+ VERSION = '1.2.2'
3
3
  end
@@ -28,7 +28,7 @@ class PostHog
28
28
  batch_size = options[:batch_size] || Defaults::MessageBatch::MAX_SIZE
29
29
  @batch = MessageBatch.new(batch_size)
30
30
  @lock = Mutex.new
31
- @transport = Transport.new api_host: options[:api_host]
31
+ @transport = Transport.new api_host: options[:api_host], skip_ssl_verification: options[:skip_ssl_verification]
32
32
  end
33
33
 
34
34
  # public: Continuously runs the loop to check for new events
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: posthog-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - ''
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-19 00:00:00.000000000 Z
11
+ date: 2021-11-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby