apptrail-application-events-sdk 0.0.2 → 0.0.3

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: 69363a69d481f39af9b1a6e6be6559e29e5e3468cb866c452bc05d8b3665e783
4
- data.tar.gz: 7bb490fac18cc57737981319c378bfcbf1520ed3f0867a37991d66fdaf74fbed
3
+ metadata.gz: f02d9d9657be1193d625d086952ad017c8dd8cadbb3cdbd0fd6c35698281fd74
4
+ data.tar.gz: d402a87cb948693ff716511fcfa4d9d457c252e67d3484ee2be771bed5c2dfac
5
5
  SHA512:
6
- metadata.gz: 149fbe6a85a1070cd6e546953241b4871eb8bc76ab41e82c734ad031db291ac273140ec0a2a1a9caed6e4864df787530dbaddbdc74669640f73c1eb6ea8f0b10
7
- data.tar.gz: 3245bf906b316403f4bc635059c1a4950cf6448e25be554226ea5e8bcb0efc17e34eac2cda2a0d623e61ab379377930b7ff271a15e484b2aaf4473b628eb0069
6
+ metadata.gz: ee6fa14d58ac0dc9416e3742bb94edc1aba9fdb0618f744b971214f66e321c543061ddbd0db7a774ecc59b3c097696677e661e11cfa64efcf265de5e8f816c07
7
+ data.tar.gz: fad8b9314749fd711662ec74a95b23978bccd99b98086fa6a6dc8b0e74afe08507a209e26464e4d3844e8fcd241f8eb114d7f2bf9a41aec9ed8f6fe0d1a7f0e9
@@ -94,7 +94,7 @@ module Apptrail
94
94
  raise Apptrail::ApptrailError, e.message
95
95
  end
96
96
 
97
- _refresh_post_policy if @_upload_url.nil? || @_form_data.nil?
97
+ _refresh_post_policy() if @_upload_url.nil? || @_form_data.nil?
98
98
 
99
99
  content = ''
100
100
  events.each do |evt|
@@ -53,21 +53,26 @@
53
53
  }
54
54
  }
55
55
  },
56
- "sourceIpAddress": {
57
- "type": "string",
58
- "description": "The IP address the activity/request being recorded was made from.",
59
- "oneOf": [
60
- {
61
- "format": "ipv4"
56
+ "context": {
57
+ "type": "object",
58
+ "properties": {
59
+ "sourceIpAddress": {
60
+ "type": "string",
61
+ "description": "The IP address the activity/request being recorded was made from.",
62
+ "anyOf": [
63
+ {
64
+ "format": "ipv4"
65
+ },
66
+ {
67
+ "format": "ipv6"
68
+ }
69
+ ]
62
70
  },
63
- {
64
- "format": "ipv6"
71
+ "userAgent": {
72
+ "type": "string",
73
+ "description": "The agent through which the request was made, e.g. `Mozilla/5.0` or `python-requests/2.20.1`."
65
74
  }
66
- ]
67
- },
68
- "userAgent": {
69
- "type": "string",
70
- "description": "The agent through which the request was made, e.g. `Mozilla/5.0` or `python-requests/2.20.1`."
75
+ }
71
76
  },
72
77
  "eventDetails": {
73
78
  "type": "object",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apptrail-application-events-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Apptrail Team