web-repl 0.8 → 0.9
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 +4 -4
- data/lib/web-repl.rb +1 -1
- data/test/{messager_test.rb → messenger_test.rb} +4 -4
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f8c3919a04f29a4a9db4c11fe64eb5d0046600bc
|
4
|
+
data.tar.gz: 6314aeb1faa747caffd8520b0a9d452f1632a43c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4fdbd4706c3a6c65d253f890166d2050428eece64d981c45c70f99313db71e85f22ba7c4c275d5b961a9ff06de5fffa2e35febbee4d02043d3f94f4aa785e455
|
7
|
+
data.tar.gz: 8c22fe879002d5ab099bceea2fbb2a961629e17314f5d18b41f7703153207e0da97c5afba3504f24f18c5dc500fc5c01f936b6bc49ad3c9cba7637d2d41932fe
|
data/lib/web-repl.rb
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
require "helper"
|
2
2
|
|
3
|
-
class WebRepl::
|
3
|
+
class WebRepl::MessengerTest < Test::Unit::TestCase
|
4
4
|
|
5
5
|
include WebRepl
|
6
6
|
|
7
|
-
context "
|
7
|
+
context "Messenger" do
|
8
8
|
|
9
9
|
setup do
|
10
10
|
@socket = Object.new
|
11
|
-
@messager =
|
11
|
+
@messager = Messenger.new(@socket)
|
12
12
|
end
|
13
13
|
|
14
14
|
context "#in" do
|
@@ -69,7 +69,7 @@ class WebRepl::MessagerTest < Test::Unit::TestCase
|
|
69
69
|
end
|
70
70
|
|
71
71
|
should "return nil if fails" do
|
72
|
-
messager =
|
72
|
+
messager = Messenger.new(nil)
|
73
73
|
result = messager.out(@message)
|
74
74
|
assert_nil result
|
75
75
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: web-repl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.9'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ari Russo
|
@@ -117,7 +117,7 @@ files:
|
|
117
117
|
- lib/web-repl/patch.rb
|
118
118
|
- lib/web-repl/repl.rb
|
119
119
|
- test/helper.rb
|
120
|
-
- test/
|
120
|
+
- test/messenger_test.rb
|
121
121
|
- test/repl_test.rb
|
122
122
|
homepage: http://github.com/arirusso/web-repl
|
123
123
|
licenses:
|
@@ -144,5 +144,5 @@ signing_key:
|
|
144
144
|
specification_version: 4
|
145
145
|
summary: Javascript/Web REPL in Ruby
|
146
146
|
test_files:
|
147
|
-
- test/
|
147
|
+
- test/messenger_test.rb
|
148
148
|
- test/repl_test.rb
|