sinatra-websocketio 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ === 0.1.2 2013-03-18
2
+
3
+ * fix gem dependencies
4
+
1
5
  === 0.1.1 2013-03-17
2
6
 
3
7
  * read javascript file - Sinatra::WebSocketIO.javascript
data/README.md CHANGED
@@ -15,7 +15,7 @@ Installation
15
15
 
16
16
  Requirements
17
17
  ------------
18
- * Ruby 1.8.7+ or 1.9.2+
18
+ * Ruby 1.8.7 or 1.9.2 or 1.9.3 or 2.0.0
19
19
  * Sinatra 1.3.0+
20
20
  * EventMachine
21
21
  * jQuery
@@ -1,5 +1,5 @@
1
1
  module Sinatra
2
2
  module WebSocketIO
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
data/sample/Gemfile CHANGED
@@ -1,9 +1,8 @@
1
- source :rubygems
1
+ source 'https://rubygems.org'
2
2
 
3
3
  gem 'foreman'
4
4
  gem 'rack'
5
5
  gem 'sinatra'
6
- gem 'backports', '< 3.1.0'
7
6
  gem 'thin'
8
7
  gem 'sinatra-contrib'
9
8
  gem 'event_emitter'
data/sample/Gemfile.lock CHANGED
@@ -1,8 +1,8 @@
1
1
  GEM
2
- remote: http://rubygems.org/
2
+ remote: https://rubygems.org/
3
3
  specs:
4
4
  addressable (2.3.3)
5
- backports (3.0.3)
5
+ backports (3.1.1)
6
6
  daemons (1.1.9)
7
7
  em-websocket (0.5.0)
8
8
  eventmachine (>= 0.12.9)
@@ -43,14 +43,13 @@ GEM
43
43
  eventmachine (>= 0.12.6)
44
44
  rack (>= 1.0.0)
45
45
  thor (0.17.0)
46
- tilt (1.3.5)
46
+ tilt (1.3.6)
47
47
  websocket (1.0.7)
48
48
 
49
49
  PLATFORMS
50
50
  ruby
51
51
 
52
52
  DEPENDENCIES
53
- backports (< 3.1.0)
54
53
  em-websocket
55
54
  em-websocket-client
56
55
  event_emitter
data/sample/README.md CHANGED
@@ -18,17 +18,3 @@ Run
18
18
  % foreman start
19
19
 
20
20
  => http://localhost:5000
21
-
22
-
23
- Deploy Heroku
24
- -------------
25
-
26
- % mkdir ~/websocketio-sample
27
- % cp -R ./ ~/websocketio-sample/
28
- % cd ~/websocketio-sample
29
- % git init
30
- % git add ./
31
- % git commit -m "first sample chat"
32
- % heroku create --stack cedar
33
- % git push heroku master
34
- % heroku open
@@ -21,6 +21,6 @@
21
21
 
22
22
  %hr
23
23
  %div#footer
24
- sinatra-cometio v#{Sinatra::WebSocketIO::VERSION} -
25
- - src_url = 'https://github.com/shokai/sinatra-cometio'
24
+ sinatra-websocketio v#{Sinatra::WebSocketIO::VERSION} -
25
+ - src_url = 'https://github.com/shokai/sinatra-websocketio'
26
26
  %a{:href => src_url} #{src_url}
@@ -15,12 +15,12 @@ Gem::Specification.new do |gem|
15
15
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
16
16
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
17
17
  gem.require_paths = ["lib"]
18
- gem.add_dependency 'rack'
19
- gem.add_dependency 'sinatra'
20
- gem.add_dependency 'eventmachine'
21
- gem.add_dependency 'sinatra-contrib'
22
- gem.add_dependency 'json'
23
- gem.add_dependency 'event_emitter', '>= 0.2.0'
24
- gem.add_dependency 'em-websocket'
25
- gem.add_dependency 'em-websocket-client'
18
+ gem.add_dependency 'rack', '>= 1.5.0'
19
+ gem.add_dependency 'sinatra', '>= 1.3.6'
20
+ gem.add_dependency 'eventmachine', '>= 1.0.0'
21
+ gem.add_dependency 'sinatra-contrib', '>= 1.3.2'
22
+ gem.add_dependency 'json', '>= 1.7.0'
23
+ gem.add_dependency 'event_emitter', '>= 0.2.3'
24
+ gem.add_dependency 'em-websocket', '>= 0.5.0'
25
+ gem.add_dependency 'em-websocket-client', '>= 0.1.1'
26
26
  end
data/test/app.rb CHANGED
@@ -17,7 +17,7 @@ class App
17
17
  end
18
18
 
19
19
  def self.pid_file
20
- ENV['PID_FILE'] || "/tmp/sinatra-cometio-testapp.pid"
20
+ ENV['PID_FILE'] || "/tmp/sinatra-websocketio-testapp.pid"
21
21
  end
22
22
 
23
23
  def self.app_dir
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sinatra-websocketio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-16 00:00:00.000000000 Z
12
+ date: 2013-03-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rack
@@ -18,7 +18,7 @@ dependencies:
18
18
  requirements:
19
19
  - - ! '>='
20
20
  - !ruby/object:Gem::Version
21
- version: '0'
21
+ version: 1.5.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ! '>='
28
28
  - !ruby/object:Gem::Version
29
- version: '0'
29
+ version: 1.5.0
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: sinatra
32
32
  requirement: !ruby/object:Gem::Requirement
@@ -34,7 +34,7 @@ dependencies:
34
34
  requirements:
35
35
  - - ! '>='
36
36
  - !ruby/object:Gem::Version
37
- version: '0'
37
+ version: 1.3.6
38
38
  type: :runtime
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
@@ -42,7 +42,7 @@ dependencies:
42
42
  requirements:
43
43
  - - ! '>='
44
44
  - !ruby/object:Gem::Version
45
- version: '0'
45
+ version: 1.3.6
46
46
  - !ruby/object:Gem::Dependency
47
47
  name: eventmachine
48
48
  requirement: !ruby/object:Gem::Requirement
@@ -50,7 +50,7 @@ dependencies:
50
50
  requirements:
51
51
  - - ! '>='
52
52
  - !ruby/object:Gem::Version
53
- version: '0'
53
+ version: 1.0.0
54
54
  type: :runtime
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
@@ -58,7 +58,7 @@ dependencies:
58
58
  requirements:
59
59
  - - ! '>='
60
60
  - !ruby/object:Gem::Version
61
- version: '0'
61
+ version: 1.0.0
62
62
  - !ruby/object:Gem::Dependency
63
63
  name: sinatra-contrib
64
64
  requirement: !ruby/object:Gem::Requirement
@@ -66,7 +66,7 @@ dependencies:
66
66
  requirements:
67
67
  - - ! '>='
68
68
  - !ruby/object:Gem::Version
69
- version: '0'
69
+ version: 1.3.2
70
70
  type: :runtime
71
71
  prerelease: false
72
72
  version_requirements: !ruby/object:Gem::Requirement
@@ -74,7 +74,7 @@ dependencies:
74
74
  requirements:
75
75
  - - ! '>='
76
76
  - !ruby/object:Gem::Version
77
- version: '0'
77
+ version: 1.3.2
78
78
  - !ruby/object:Gem::Dependency
79
79
  name: json
80
80
  requirement: !ruby/object:Gem::Requirement
@@ -82,7 +82,7 @@ dependencies:
82
82
  requirements:
83
83
  - - ! '>='
84
84
  - !ruby/object:Gem::Version
85
- version: '0'
85
+ version: 1.7.0
86
86
  type: :runtime
87
87
  prerelease: false
88
88
  version_requirements: !ruby/object:Gem::Requirement
@@ -90,7 +90,7 @@ dependencies:
90
90
  requirements:
91
91
  - - ! '>='
92
92
  - !ruby/object:Gem::Version
93
- version: '0'
93
+ version: 1.7.0
94
94
  - !ruby/object:Gem::Dependency
95
95
  name: event_emitter
96
96
  requirement: !ruby/object:Gem::Requirement
@@ -98,7 +98,7 @@ dependencies:
98
98
  requirements:
99
99
  - - ! '>='
100
100
  - !ruby/object:Gem::Version
101
- version: 0.2.0
101
+ version: 0.2.3
102
102
  type: :runtime
103
103
  prerelease: false
104
104
  version_requirements: !ruby/object:Gem::Requirement
@@ -106,7 +106,7 @@ dependencies:
106
106
  requirements:
107
107
  - - ! '>='
108
108
  - !ruby/object:Gem::Version
109
- version: 0.2.0
109
+ version: 0.2.3
110
110
  - !ruby/object:Gem::Dependency
111
111
  name: em-websocket
112
112
  requirement: !ruby/object:Gem::Requirement
@@ -114,7 +114,7 @@ dependencies:
114
114
  requirements:
115
115
  - - ! '>='
116
116
  - !ruby/object:Gem::Version
117
- version: '0'
117
+ version: 0.5.0
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
@@ -122,7 +122,7 @@ dependencies:
122
122
  requirements:
123
123
  - - ! '>='
124
124
  - !ruby/object:Gem::Version
125
- version: '0'
125
+ version: 0.5.0
126
126
  - !ruby/object:Gem::Dependency
127
127
  name: em-websocket-client
128
128
  requirement: !ruby/object:Gem::Requirement
@@ -130,7 +130,7 @@ dependencies:
130
130
  requirements:
131
131
  - - ! '>='
132
132
  - !ruby/object:Gem::Version
133
- version: '0'
133
+ version: 0.1.1
134
134
  type: :runtime
135
135
  prerelease: false
136
136
  version_requirements: !ruby/object:Gem::Requirement
@@ -138,7 +138,7 @@ dependencies:
138
138
  requirements:
139
139
  - - ! '>='
140
140
  - !ruby/object:Gem::Version
141
- version: '0'
141
+ version: 0.1.1
142
142
  description: Node.js like WebSocket I/O plugin for Sinatra.
143
143
  email:
144
144
  - hashimoto@shokai.org