ws-io 1.1.4 → 1.1.5
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.
- data/README.rdoc +0 -4
- data/VERSION +1 -1
- data/bin/ws-irb +1 -9
- data/lib/ws-io.rb +6 -4
- data/ws-io.gemspec +3 -3
- metadata +4 -4
data/README.rdoc
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.5
|
data/bin/ws-irb
CHANGED
@@ -12,13 +12,5 @@ opt.parse!(ARGV)
|
|
12
12
|
WsIo.start(port) {
|
13
13
|
IRB.start
|
14
14
|
}.after {
|
15
|
-
WsIo.ws.send
|
16
|
-
%q[ _ _
|
17
|
-
(_) | |
|
18
|
-
__ _____ ______ _ _ __| |__
|
19
|
-
\ \ /\ / / __|______| | '__| '_ \
|
20
|
-
\ V V /\__ \ | | | | |_) |
|
21
|
-
\_/\_/ |___/ |_|_| |_.__/
|
22
|
-
]
|
23
|
-
)
|
15
|
+
WsIo.ws.send '#### ws-irb ####'
|
24
16
|
}.open.join
|
data/lib/ws-io.rb
CHANGED
@@ -89,11 +89,13 @@ class WsIo
|
|
89
89
|
js_paths = %w(jquery.min.js autoresize.jquery.js).map do |js|
|
90
90
|
'file://localhost' + File.expand_path("../public/#{js}", __FILE__)
|
91
91
|
end
|
92
|
-
tempfile = Tempfile.open('ws-io')
|
93
92
|
template = File.read(File.expand_path('../public/index.html.erb', __FILE__))
|
94
|
-
|
95
|
-
|
96
|
-
|
93
|
+
path = Tempfile.open('ws-io') do |tempfile|
|
94
|
+
tempfile << ERB.new(template, nil, '-').result(binding)
|
95
|
+
tempfile.path
|
96
|
+
end
|
97
|
+
sleep 0.1
|
98
|
+
Launchy::Browser.run(path)
|
97
99
|
self
|
98
100
|
end
|
99
101
|
|
data/ws-io.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{ws-io}
|
8
|
-
s.version = "1.1.
|
8
|
+
s.version = "1.1.5"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["jugyo"]
|
12
|
-
s.date = %q{2011-
|
12
|
+
s.date = %q{2011-03-04}
|
13
13
|
s.default_executable = %q{ws-irb}
|
14
14
|
s.description = %q{It provides a bridge between WebSocket and IO}
|
15
15
|
s.email = %q{jugyo.org@gmail.com}
|
@@ -40,7 +40,7 @@ Gem::Specification.new do |s|
|
|
40
40
|
s.homepage = %q{http://github.com/jugyo/ws-io}
|
41
41
|
s.licenses = ["MIT"]
|
42
42
|
s.require_paths = ["lib"]
|
43
|
-
s.rubygems_version = %q{1.
|
43
|
+
s.rubygems_version = %q{1.6.0}
|
44
44
|
s.summary = %q{The bridge between WebSocket and IO}
|
45
45
|
s.test_files = [
|
46
46
|
"examples/sh.rb",
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: ws-io
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 1.1.
|
5
|
+
version: 1.1.5
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- jugyo
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-
|
13
|
+
date: 2011-03-04 00:00:00 +09:00
|
14
14
|
default_executable: ws-irb
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
@@ -120,7 +120,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
120
120
|
requirements:
|
121
121
|
- - ">="
|
122
122
|
- !ruby/object:Gem::Version
|
123
|
-
hash:
|
123
|
+
hash: 3565036722655032370
|
124
124
|
segments:
|
125
125
|
- 0
|
126
126
|
version: "0"
|
@@ -133,7 +133,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
133
133
|
requirements: []
|
134
134
|
|
135
135
|
rubyforge_project:
|
136
|
-
rubygems_version: 1.
|
136
|
+
rubygems_version: 1.6.0
|
137
137
|
signing_key:
|
138
138
|
specification_version: 3
|
139
139
|
summary: The bridge between WebSocket and IO
|