douban_fm_hotkey 1.2.0 → 1.2.1

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
  SHA1:
3
- metadata.gz: d948984d0443ce13dc2b7e3ab74dceaf2cdad183
4
- data.tar.gz: 5afbee5ee50c18eb1d04e2945b5d41b926c5e7c4
3
+ metadata.gz: ffd7facedf59604a817a786db563dfa30b35a072
4
+ data.tar.gz: 9de42f9a642b00777fe77034aae8f49f1edec2f0
5
5
  SHA512:
6
- metadata.gz: bd4003f2878db1f770bdecacfe12b0f3d0f3e2cffc1355ce2d118182b2d567a0a7be4c78be1045feae381366b87d8d6a01b6182b2dbea7664a44bf57b0df9e8e
7
- data.tar.gz: 59615351cea6d2281c98b68869d66f604f8fb660b239ff1e3a16f149691f1bb95803fae853c205c1d7915e38f6f5b1c5d75eaac429c33e209c5bfbcd71f1d866
6
+ metadata.gz: 043018cd6c2f3ae6648583040f620f07d78f9ae501d3cd1c0d5a0b6c68e1f95341f2ff597339b3e945dc3da7b3b95994ddfec08061d2f0eb6fe3c13ccd1443c4
7
+ data.tar.gz: 4e2dc69425411dfd1e568b1efa1a091803badba0f18188e8fe0d34aaa2de806ebd6184abd2a1f8407b86e15a3bd3c545abd81209dedd8730086ea8f39a585dc9
@@ -7,7 +7,8 @@ Gem::Specification.new do |s|
7
7
  s.description = 'Global hotkey for Douban FM web.'
8
8
  s.authors = ['Wei Zhu']
9
9
  s.email = 'yesmeck@gmail.com'
10
- s.files = `git ls-files | grep -v '^chrome-extension/'`.split("\n")
10
+ s.files = `git ls-files lib `.split("\n") +
11
+ %w{ bin/douban_fm_hotkey douban_fm_hotkey.gemspec README.md }
11
12
  s.executables << 'douban_fm_hotkey'
12
13
  s.homepage = 'http://www.douban.com/people/coolzi'
13
14
  s.add_dependency 'faye'
@@ -69,7 +69,7 @@
69
69
  var notification = window.webkitNotifications.createNotification(
70
70
  image, title, content
71
71
  );
72
- notification.onshow = function() {
72
+ notification.ondisplay = function() {
73
73
  setTimeout(function() {
74
74
  notification.close()
75
75
  }, 5000);
@@ -1,3 +1,3 @@
1
1
  module DoubanFMHotkey
2
- VERSION = '1.2.0'
2
+ VERSION = '1.2.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: douban_fm_hotkey
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wei Zhu
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-05-18 00:00:00.000000000 Z
11
+ date: 2013-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faye
@@ -87,13 +87,6 @@ executables:
87
87
  extensions: []
88
88
  extra_rdoc_files: []
89
89
  files:
90
- - .gitignore
91
- - Gemfile
92
- - Gemfile.lock
93
- - README.md
94
- - Rakefile
95
- - bin/douban_fm_hotkey
96
- - douban_fm_hotkey.gemspec
97
90
  - lib/douban_fm_hotkey/server.rb
98
91
  - lib/douban_fm_hotkey/server/public/client.js
99
92
  - lib/douban_fm_hotkey/server/public/jquery.js
@@ -104,6 +97,9 @@ files:
104
97
  - lib/douban_fm_hotkey/server/views/index.erb
105
98
  - lib/douban_fm_hotkey/server/views/layout.erb
106
99
  - lib/douban_fm_hotkey/version.rb
100
+ - bin/douban_fm_hotkey
101
+ - douban_fm_hotkey.gemspec
102
+ - README.md
107
103
  homepage: http://www.douban.com/people/coolzi
108
104
  licenses: []
109
105
  metadata: {}
data/.gitignore DELETED
@@ -1 +0,0 @@
1
- /pkg
data/Gemfile DELETED
@@ -1,3 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- gemspec
data/Gemfile.lock DELETED
@@ -1,68 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- douban_fm_hotkey (1.1.0)
5
- faye
6
- sinatra
7
- thin
8
- vegas
9
-
10
- GEM
11
- remote: https://rubygems.org/
12
- specs:
13
- addressable (2.3.4)
14
- backports (3.3.0)
15
- cookiejar (0.3.0)
16
- daemons (1.1.9)
17
- em-http-request (1.0.3)
18
- addressable (>= 2.2.3)
19
- cookiejar
20
- em-socksify
21
- eventmachine (>= 1.0.0.beta.4)
22
- http_parser.rb (>= 0.5.3)
23
- em-socksify (0.2.1)
24
- eventmachine (>= 1.0.0.beta.4)
25
- eventmachine (1.0.3)
26
- faye (0.8.9)
27
- cookiejar (>= 0.3.0)
28
- em-http-request (>= 0.3.0)
29
- eventmachine (>= 0.12.0)
30
- faye-websocket (>= 0.4.0)
31
- rack (>= 1.0.0)
32
- yajl-ruby (>= 1.0.0)
33
- faye-websocket (0.6.1)
34
- eventmachine (>= 0.12.0)
35
- websocket-driver (>= 0.2.0)
36
- http_parser.rb (0.5.3)
37
- rack (1.5.2)
38
- rack-protection (1.5.0)
39
- rack
40
- rack-test (0.6.2)
41
- rack (>= 1.0)
42
- sinatra (1.4.2)
43
- rack (~> 1.5, >= 1.5.2)
44
- rack-protection (~> 1.4)
45
- tilt (~> 1.3, >= 1.3.4)
46
- sinatra-contrib (1.4.0)
47
- backports (>= 2.0)
48
- eventmachine
49
- rack-protection
50
- rack-test
51
- sinatra (~> 1.4.2)
52
- tilt (~> 1.3)
53
- thin (1.5.1)
54
- daemons (>= 1.0.9)
55
- eventmachine (>= 0.12.6)
56
- rack (>= 1.0.0)
57
- tilt (1.4.1)
58
- vegas (0.1.11)
59
- rack (>= 1.0.0)
60
- websocket-driver (0.2.0)
61
- yajl-ruby (1.1.0)
62
-
63
- PLATFORMS
64
- ruby
65
-
66
- DEPENDENCIES
67
- douban_fm_hotkey!
68
- sinatra-contrib
data/Rakefile DELETED
@@ -1,6 +0,0 @@
1
- require "bundler"
2
- require "rspec/core/rake_task"
3
-
4
- Bundler::GemHelper.install_tasks
5
-
6
- RSpec::Core::RakeTask.new(:spec)