oeh-client 0.1.1 → 0.1.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
  SHA1:
3
- metadata.gz: d9f5960ced53f58584b1935cfe270272eb42316a
4
- data.tar.gz: c387e88e484567f322b38f0000e4a2b3771af84f
3
+ metadata.gz: 517267cc89054910a425ef6c14b44b559e3a8dd9
4
+ data.tar.gz: b0e58925610bb6eebdd1c43f999e7da818d08189
5
5
  SHA512:
6
- metadata.gz: f3a11dd8fbdaa7e532b982b846f59733d781a77fcb575ee0e964eda2c48035c98222c60b6e071d768e50ce9de34ae387327dbb54ea2218286644fdecf0641392
7
- data.tar.gz: e811cc449587f719b12c374f42b79e8b055b5394b1c535a1f289805dae9226e25005e9c19c48e5eba78e8b358740ef309f10cc66951b202a8ab88ca46b096514
6
+ metadata.gz: 258591ab4e2eb1d88ec019b37992aaf51577f7fd5e9ea7f5fe57e15fa1dac13650ee7e653fb1818447e539354b2f981ec2d99bbe427ac9942590c329320e5491
7
+ data.tar.gz: 64d14f657b6828c56680dc456948f5a9d6576b840ffe9d2972849b4cb3d53465a2af2753860507b87bf71386cd4540ec81926c4957c7d121a0bd45be6e8fc7c1
@@ -115,7 +115,7 @@ class OEHClient::Interaction::Interaction
115
115
  raise OEHClient::Exception::MissingParameterException.new(missing_minimal_parameters) unless (minimal_parameters?)
116
116
 
117
117
  # call the appropriate method based on the existance of the timestamp value
118
- ((!@timestamp.nil? && @timestamp > 0) ? send_offline(@space.token) : send_realtime(@space.token, parameters))
118
+ ((!@timestamp.nil?) ? send_offline(@space.token) : send_realtime(@space.token, parameters))
119
119
 
120
120
  # return the current instance interacton
121
121
  self
@@ -187,7 +187,7 @@ class OEHClient::Interaction::Interaction
187
187
  # send_offline posts a historic interaction, using a specified timestamp
188
188
  def send_offline(token)
189
189
 
190
- response = OHEClient::Helper::Response.handle(OEHClient.put(token,
190
+ response = OEHClient::Helper::Response.handle(OEHClient.put(token,
191
191
  OEHClient::Helper::Request.format_url(offline_url, {:sk => @space.site_key}),
192
192
  nil,
193
193
  request_data))
@@ -1,3 +1,3 @@
1
1
  module OEHClient
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oeh-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Balliet