airship-ruby 1.1.10 → 1.1.11

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: 3d59b238a7a3c148f227bf5cee84afdea2b05d503cc4c09cb32099cedb2f124a
4
- data.tar.gz: 8995be1f77fa3c2b4bb28ab3e0b59c398e4b93aa42c2e06105c5c6e5c49b40ad
3
+ metadata.gz: 48f4329d334f39223f77cab5d3710d5e15690a2899c52c20c5da877553368ef5
4
+ data.tar.gz: 23fe8837de5cb26d22096593faeea9886baf99fd709179eb1e31195c7eb0dd0a
5
5
  SHA512:
6
- metadata.gz: 1aa178627ab85311d5526a4fe04c73af313f12fb3c77792caa20d7b59d76898bf846426e2ac125e7abf132c2c879a2d1eba3ff6c9fd7cb60ff6bf4de7df9aace
7
- data.tar.gz: 1c6f2fa64fb2833b3a6cea08ece255cc02bbe5e88c66fb62a6a07298c18c8074a32a3513e4436350481f3f10570f3e9e11827af736a48185a7c14a49bb20559e
6
+ metadata.gz: bd5034c7ca04a6437aa77df3edfb504672ded5714344ed9b72e54de0fd1364cf6d58bffd66e4477175db0bf8e49f715a3f5a8a86ca3f336d0febaa696840de56
7
+ data.tar.gz: 3d05951549cd3edd666c81248d301337c0b24a1ec6b6494f93dac610722379f648d2db6ff092544dca04ee3fcf312ac4d701ae5ec74991f9fde49223ffa1e4d0
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "airship-ruby"
3
- s.version = "1.1.10"
3
+ s.version = "1.1.11"
4
4
  s.licenses = ["MIT"]
5
5
  s.summary = "Airship Ruby SDK"
6
6
  s.description = "Ruby SDK"
@@ -225,7 +225,7 @@ class Airship
225
225
  return default_value
226
226
  end
227
227
 
228
- gate_timestamp = Time.now.iso8601
228
+ gate_timestamp = Time.now.utc.iso8601
229
229
 
230
230
  start = Time.now
231
231
 
@@ -289,7 +289,7 @@ class Airship
289
289
  return default_value
290
290
  end
291
291
 
292
- gate_timestamp = Time.now.iso8601
292
+ gate_timestamp = Time.now.utc.iso8601
293
293
 
294
294
  start = Time.now
295
295
 
@@ -353,7 +353,7 @@ class Airship
353
353
  return default_value
354
354
  end
355
355
 
356
- gate_timestamp = Time.now.iso8601
356
+ gate_timestamp = Time.now.utc.iso8601
357
357
 
358
358
  start = Time.now
359
359
 
@@ -464,11 +464,11 @@ class Airship
464
464
  @gating_info_map = gating_info_map
465
465
 
466
466
  if !gating_info['polling_interval'].nil?
467
- self.polling_interval = gating_info['polling_interval']
467
+ @polling_interval = gating_info['polling_interval']
468
468
  end
469
469
 
470
470
  if !gating_info['ingestion_interval'].nil?
471
- self.ingestion_interval = gating_info['ingestion_interval']
471
+ @ingestion_interval = gating_info['ingestion_interval']
472
472
  end
473
473
  else
474
474
  puts 'Failed to connect to Airship server'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: airship-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.10
4
+ version: 1.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Airship Dev Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-18 00:00:00.000000000 Z
11
+ date: 2018-05-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday