wms-widget-timespentlocation 0.0.2 → 0.0.3
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,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
OGM5NGZlMDc4MDQxN2I0MWU0MDQ5Y2E1MTE2ZWZlNjQ3MTdiYjY3ZQ==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
MmI4MjFhMDg1NjUwZjFmNzUwM2ExOGFjMzU2OTU1NTc5ODU2MmU4MQ==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
YzQ1ZmUyYjA0MGY5NDRlYjFiMTJjZmZhNmU3NDVmMDQxNWY4OTFmODI5MDc5
|
|
10
|
+
YzI0MWY3NmNiZWI4ZWNiOGYyNWQzN2NkZTQyYWVlMGNlMzVkZmNiZTNlZjFk
|
|
11
|
+
MDAyNzRkN2NlMmIzOWI4NDNkY2JiNGJjMjRmZTc4OThjMWQ0OTE=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
ZjNlMzA0MDNkN2UyZjhjMjIxMjg0YTc3YjFlMWQyNWEyMGY1ZDI5NzY3MGE5
|
|
14
|
+
YmI5MzU1MGU0MTNhZDZhY2ZlN2IxMWIzYzNlNzRjZmQ4MTE4MmZjODI2OTQy
|
|
15
|
+
MTA1MmY1ZTc3MzEwZGM4YTcxNmU5MzNiODk1YmJlNGMxYzJmMjA=
|
|
@@ -56,8 +56,8 @@ class Wms::Widget::Timespentlocation::Main < Wms::Widget::Base
|
|
|
56
56
|
options = {
|
|
57
57
|
#:device_id => "12345678",
|
|
58
58
|
:type => "location",
|
|
59
|
-
:begin => @begin,
|
|
60
|
-
:end => @end
|
|
59
|
+
# :begin => @begin,
|
|
60
|
+
# :end => @end
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
@events = get_events(options)
|
|
@@ -67,7 +67,7 @@ class Wms::Widget::Timespentlocation::Main < Wms::Widget::Base
|
|
|
67
67
|
nxt = @events[i + 1]
|
|
68
68
|
|
|
69
69
|
analytic = {
|
|
70
|
-
:device_id => "
|
|
70
|
+
:device_id => cur["device_id"],
|
|
71
71
|
:widget_id => @widget.id,
|
|
72
72
|
:user_id => @widget.user.id,
|
|
73
73
|
:timestamp => Time.now,
|
|
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
|
10
10
|
spec.email = ["phoorichet.t@gmail.com"]
|
|
11
11
|
spec.description = %q{A WMS widget that calculates time spent in locations}
|
|
12
12
|
spec.summary = %q{Experiment WMS widget}
|
|
13
|
-
spec.homepage = ""
|
|
13
|
+
spec.homepage = "https://github.com/phoorichet/wms-widget-timespentlocation"
|
|
14
14
|
spec.license = "MIT"
|
|
15
15
|
|
|
16
16
|
spec.files = `git ls-files`.split($/)
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: wms-widget-timespentlocation
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Phoorichet Thepdusith
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-11-
|
|
11
|
+
date: 2013-11-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -54,7 +54,7 @@ files:
|
|
|
54
54
|
- lib/wms/widget/timespentlocation/main.rb
|
|
55
55
|
- lib/wms/widget/timespentlocation/version.rb
|
|
56
56
|
- wms-widget-timespentlocation.gemspec
|
|
57
|
-
homepage:
|
|
57
|
+
homepage: https://github.com/phoorichet/wms-widget-timespentlocation
|
|
58
58
|
licenses:
|
|
59
59
|
- MIT
|
|
60
60
|
metadata: {}
|