rudder_analytics_sync 2.0.0 → 2.0.1

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: fb211e617c13d145525cadb6d595b2685ac6cb6344cbb24f68770c3b0dc1ad9b
4
- data.tar.gz: 18f1e329449195fe5547fe385d7a9b029bd412f8c9c7c2eb7c21bd9a15f516ed
3
+ metadata.gz: 981d6ac024bd76221c88351c38efd68185f8b237150394356b61ac83aff30b92
4
+ data.tar.gz: fe80c13d8e4422e34e5a2e66254764df8819d5ba33a289a005ab1b41ec5d3702
5
5
  SHA512:
6
- metadata.gz: 9e4a3abb0d9b46a5808ac8e56ce3af55e275dea61bac56ef029e04fb26fcd0b1dbfd5a4ac1206829e31c724476ec89e277bf67bc179590dd7800dfc3bcc5953c
7
- data.tar.gz: dc207499b0f313f0ab6442766070875e7855500d03f662e199a25bf65464439021fcef32b8611309ca63a6f315048fb1e418372d3c74c1891e935869ecb37321
6
+ metadata.gz: 7bab5d567b4bbed93acdedeb446206726e705f1b43217961ec8da8ae30536b8fd178e62432edeef2f913509600521939fa5eda07c574d4ecae62779b7eaf8b8c
7
+ data.tar.gz: 4d8881107ec8393004f59883efc61f6541b669a9626c787e1ed6aa2594bfad5ca79e9e4913f8c1546f8cccaf8f8b99698fb615b96953b8f11ff8bb4020b1d4cf
data/.gitignore CHANGED
@@ -10,3 +10,5 @@ Gemfile.lock
10
10
  *.DS_Store
11
11
  local_config.yaml
12
12
  .vscode/
13
+ /.idea/
14
+ .ruby-version
data/example/example.rb CHANGED
@@ -53,7 +53,7 @@ context = {
53
53
  },
54
54
  os: {
55
55
  name: 'macOS',
56
- version: '2.0.0'
56
+ version: '2.0.1'
57
57
  },
58
58
  locale: 'en-US'
59
59
  }
@@ -66,7 +66,7 @@ context_with_library = {
66
66
  },
67
67
  os: {
68
68
  name: 'macOS',
69
- version: '2.0.0'
69
+ version: '2.0.1'
70
70
  },
71
71
  locale: 'en-US',
72
72
  library: {
@@ -11,7 +11,7 @@ module RudderAnalyticsSync
11
11
  raise ArgumentError, 'Max message size is 32 KB'
12
12
  end
13
13
 
14
- request.post('/v1/batch', batch: [batch])
14
+ request.post('/v1/batch', { 'batch' => [batch] })
15
15
  end
16
16
 
17
17
  def build_payload
@@ -11,7 +11,7 @@ module RudderAnalyticsSync
11
11
  raise ArgumentError, 'Max message size is 32 KB'
12
12
  end
13
13
 
14
- request.post('/v1/batch', batch: [batch])
14
+ request.post('/v1/batch', { 'batch' => [batch] })
15
15
  end
16
16
 
17
17
  def build_payload
@@ -11,7 +11,7 @@ module RudderAnalyticsSync
11
11
  raise ArgumentError, 'Max message size is 32 KB'
12
12
  end
13
13
 
14
- request.post('/v1/batch', batch: [batch])
14
+ request.post('/v1/batch', { 'batch' => [batch] })
15
15
  end
16
16
 
17
17
  def build_payload
@@ -11,7 +11,7 @@ module RudderAnalyticsSync
11
11
  raise ArgumentError, 'Max message size is 32 KB'
12
12
  end
13
13
 
14
- request.post('/v1/batch', batch: [batch])
14
+ request.post('/v1/batch', { 'batch' => [batch] })
15
15
  end
16
16
 
17
17
  def build_payload
@@ -11,7 +11,7 @@ module RudderAnalyticsSync
11
11
  raise ArgumentError, 'Max message size is 32 KB'
12
12
  end
13
13
 
14
- request.post('/v1/batch', batch: [batch])
14
+ request.post('/v1/batch', { 'batch' => [batch] })
15
15
  end
16
16
 
17
17
  def build_payload
@@ -11,7 +11,7 @@ module RudderAnalyticsSync
11
11
  raise ArgumentError, 'Max message size is 32 KB'
12
12
  end
13
13
 
14
- request.post('/v1/batch', batch: [batch])
14
+ request.post('/v1/batch', { 'batch' => [batch] })
15
15
  end
16
16
 
17
17
  def build_payload
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RudderAnalyticsSync
4
- VERSION = '2.0.0'
4
+ VERSION = '2.0.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rudder_analytics_sync
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - RudderStack
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-01-09 00:00:00.000000000 Z
11
+ date: 2023-01-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler