AmazonEchoJS 0.0.06 → 0.0.07

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: f793f294705917da2976099f032d22d987213ba1
4
- data.tar.gz: c00db2d003b91d9a1da3f7bcfe8ca23010212cb3
3
+ metadata.gz: 5ccf06a6fae9d6117fd27fe8279089ee2d62c189
4
+ data.tar.gz: 02143f13c121c493d05ca6e48c8b7c97ae8c70e2
5
5
  SHA512:
6
- metadata.gz: 7c7a53507ff8140461db8ca10851752cc87db555cd0e0f43c41d6abdc476709ed83b2c49a1454236fabfbace99b25c7290100e5ef7784b0a0ad088498fb62847
7
- data.tar.gz: 2d488d13d57ef42e9f7061a5be7083cc596a5c10dbe9ea144ab1a3116e488f2bc354384d556c6d008de2377e3a6b8b000b72f1ec5fdc3b004f5c6e748c1451a9
6
+ metadata.gz: 3ce9b0d4ccd8dded728e36639de6dc292548dd52fa93fb572ddc9f5cd8532c8df6353102636d6e20e0607c49c3df2bf83c4a5a71b7284f06eb0a46c4e7185687
7
+ data.tar.gz: c75c0e7e39c29e7dde361b2f4a2f8beb6cb74c6545a3bec98437f6469c0144a9b311bbd9bd60c1c0425dd482ac794e525bbf1ff40264ba7a61b0a03dc6b28821
@@ -95,9 +95,10 @@ module AmazonEchoJS
95
95
  @browser.execute_script("
96
96
  var lastCommand = '"+@last_command+"';
97
97
  $(document).ajaxComplete(function(){
98
- command = $('.dd-title.d-dialog-title').first().text()
98
+ command = $('.dd-title.d-dialog-title').first().text();
99
+ time = $('.d-dialog-item .sub-text').first().text();
99
100
  if(lastCommand != command){
100
- $.get('#{@callback_url}?q='+command)
101
+ $.get('#{@callback_url}?q='+command+'&time='+time);
101
102
  lastCommand = command;
102
103
  console.log(command);
103
104
  }
@@ -1,3 +1,3 @@
1
1
  module AmazonEchoJS
2
- VERSION = "0.0.06"
2
+ VERSION = "0.0.07"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: AmazonEchoJS
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.06
4
+ version: 0.0.07
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kelly Mahan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-10 00:00:00.000000000 Z
11
+ date: 2015-06-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler