douban_fm_hotkey 1.2.1 → 1.2.2

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: ffd7facedf59604a817a786db563dfa30b35a072
4
- data.tar.gz: 9de42f9a642b00777fe77034aae8f49f1edec2f0
3
+ metadata.gz: 69960d0d7904f30d9ea3f5f0b557ab3dcffb4f32
4
+ data.tar.gz: f73153f4724dd88e98f087dd58cac6446e6cb80c
5
5
  SHA512:
6
- metadata.gz: 043018cd6c2f3ae6648583040f620f07d78f9ae501d3cd1c0d5a0b6c68e1f95341f2ff597339b3e945dc3da7b3b95994ddfec08061d2f0eb6fe3c13ccd1443c4
7
- data.tar.gz: 4e2dc69425411dfd1e568b1efa1a091803badba0f18188e8fe0d34aaa2de806ebd6184abd2a1f8407b86e15a3bd3c545abd81209dedd8730086ea8f39a585dc9
6
+ metadata.gz: 1f37670e3b5c5ba2c9af6b1c0f146359f522831e57246a2ee034f2f3b7c35ce0734a994db4fea89e764414b79b48af23bed989760939f99dc7b9ca42c4022b98
7
+ data.tar.gz: 29436f96d0222e5773cec74eae1e59fbbd3060b0ca0a55d4b8fb1cadf12ce5f79d62797fdf1e85e13acac63140b7472d7ef5cce9b3fbef710523c15c4e9c1e22
data/bin/douban_fm_hotkey CHANGED
@@ -5,7 +5,5 @@ $:.unshift File.expand_path('../../lib', __FILE__)
5
5
  require 'douban_fm_hotkey/server'
6
6
  require 'vegas'
7
7
 
8
- environment = ENV['RACK_ENV'] || :production
9
-
10
- Vegas::Runner.new(DoubanFMHotkey::Server, 'douban_fm_hotkey', :bind => '0.0.0.0', :port => 1988, :environment => environment.to_sym)
8
+ Vegas::Runner.new(DoubanFMHotkey::Server, 'douban_fm_hotkey', :bind => '0.0.0.0', :port => 1988)
11
9
 
@@ -15,5 +15,5 @@ Gem::Specification.new do |s|
15
15
  s.add_dependency 'sinatra'
16
16
  s.add_dependency 'vegas'
17
17
  s.add_dependency 'thin'
18
- s.add_development_dependency 'sinatra-contrib'
18
+ s.add_dependency 'sinatra-contrib'
19
19
  end
@@ -8,9 +8,7 @@ Faye::WebSocket.load_adapter('thin')
8
8
  module DoubanFMHotkey
9
9
  class Server < Sinatra::Base
10
10
 
11
- configure :development do
12
- register Sinatra::Reloader
13
- end
11
+ register Sinatra::Reloader
14
12
 
15
13
  dir = File.dirname(File.expand_path(__FILE__))
16
14
 
@@ -1,3 +1,3 @@
1
1
  module DoubanFMHotkey
2
- VERSION = '1.2.1'
2
+ VERSION = '1.2.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: douban_fm_hotkey
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wei Zhu
@@ -73,7 +73,7 @@ dependencies:
73
73
  - - '>='
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
- type: :development
76
+ type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements: