socky 0.0.7 → 0.0.8
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/CHANGELOG.textile +25 -0
- data/README.textile +27 -0
- data/Rakefile +19 -0
- data/VERSION +1 -1
- data/lib/em-websocket_hacks.rb +1 -3
- data/lib/socky.rb +17 -15
- data/lib/socky/connection.rb +12 -6
- data/lib/socky/connection/authentication.rb +7 -6
- data/lib/socky/connection/finders.rb +3 -3
- data/lib/socky/message.rb +26 -20
- data/lib/socky/misc.rb +2 -2
- data/lib/socky/net_request.rb +2 -2
- data/lib/socky/options.rb +16 -18
- data/lib/socky/options/config.rb +37 -18
- data/lib/socky/options/parser.rb +50 -40
- data/lib/socky/runner.rb +3 -4
- data/lib/socky/server.rb +1 -1
- data/spec/em-websocket_spec.rb +37 -0
- data/spec/files/default.yml +7 -0
- data/spec/files/invalid.yml +1 -0
- data/spec/socky/connection/authentication_spec.rb +162 -0
- data/spec/socky/connection/finders_spec.rb +96 -0
- data/spec/socky/connection_spec.rb +143 -0
- data/spec/socky/message_spec.rb +260 -0
- data/spec/socky/misc_spec.rb +74 -0
- data/spec/socky/net_request_spec.rb +43 -0
- data/spec/socky/options/config_spec.rb +67 -0
- data/spec/socky/options/parser_spec.rb +59 -0
- data/spec/socky/options_spec.rb +65 -0
- data/spec/socky/runner_spec.rb +73 -0
- data/spec/socky/server_spec.rb +35 -0
- data/spec/socky_spec.rb +82 -0
- data/spec/spec_helper.rb +6 -0
- data/spec/stallion.rb +96 -0
- metadata +39 -7
- data/README +0 -10
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
8
|
+
- 8
|
9
|
+
version: 0.0.8
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Bernard Potocki
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-
|
17
|
+
date: 2010-06-06 00:00:00 +02:00
|
18
18
|
default_executable: socky
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
@@ -50,9 +50,10 @@ executables:
|
|
50
50
|
extensions: []
|
51
51
|
|
52
52
|
extra_rdoc_files:
|
53
|
-
- README
|
53
|
+
- README.textile
|
54
54
|
files:
|
55
|
-
-
|
55
|
+
- CHANGELOG.textile
|
56
|
+
- README.textile
|
56
57
|
- Rakefile
|
57
58
|
- VERSION
|
58
59
|
- bin/socky
|
@@ -69,6 +70,23 @@ files:
|
|
69
70
|
- lib/socky/options/parser.rb
|
70
71
|
- lib/socky/runner.rb
|
71
72
|
- lib/socky/server.rb
|
73
|
+
- spec/em-websocket_spec.rb
|
74
|
+
- spec/files/default.yml
|
75
|
+
- spec/files/invalid.yml
|
76
|
+
- spec/socky/connection/authentication_spec.rb
|
77
|
+
- spec/socky/connection/finders_spec.rb
|
78
|
+
- spec/socky/connection_spec.rb
|
79
|
+
- spec/socky/message_spec.rb
|
80
|
+
- spec/socky/misc_spec.rb
|
81
|
+
- spec/socky/net_request_spec.rb
|
82
|
+
- spec/socky/options/config_spec.rb
|
83
|
+
- spec/socky/options/parser_spec.rb
|
84
|
+
- spec/socky/options_spec.rb
|
85
|
+
- spec/socky/runner_spec.rb
|
86
|
+
- spec/socky/server_spec.rb
|
87
|
+
- spec/socky_spec.rb
|
88
|
+
- spec/spec_helper.rb
|
89
|
+
- spec/stallion.rb
|
72
90
|
has_rdoc: true
|
73
91
|
homepage: http://github.com/imanel/socky_gem
|
74
92
|
licenses: []
|
@@ -99,5 +117,19 @@ rubygems_version: 1.3.6
|
|
99
117
|
signing_key:
|
100
118
|
specification_version: 3
|
101
119
|
summary: Socky is a WebSocket server and client for Ruby on Rails
|
102
|
-
test_files:
|
103
|
-
|
120
|
+
test_files:
|
121
|
+
- spec/em-websocket_spec.rb
|
122
|
+
- spec/socky/connection/authentication_spec.rb
|
123
|
+
- spec/socky/connection/finders_spec.rb
|
124
|
+
- spec/socky/connection_spec.rb
|
125
|
+
- spec/socky/message_spec.rb
|
126
|
+
- spec/socky/misc_spec.rb
|
127
|
+
- spec/socky/net_request_spec.rb
|
128
|
+
- spec/socky/options/config_spec.rb
|
129
|
+
- spec/socky/options/parser_spec.rb
|
130
|
+
- spec/socky/options_spec.rb
|
131
|
+
- spec/socky/runner_spec.rb
|
132
|
+
- spec/socky/server_spec.rb
|
133
|
+
- spec/socky_spec.rb
|
134
|
+
- spec/spec_helper.rb
|
135
|
+
- spec/stallion.rb
|
data/README
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
socky_gem
|
2
|
-
===========
|
3
|
-
|
4
|
-
Socky is a WebSocket server and client for Ruby on Rails
|
5
|
-
|
6
|
-
Please do not use it right now - it's unstable version so please wait for more stable(at last 0.1)
|
7
|
-
|
8
|
-
=======
|
9
|
-
|
10
|
-
Copyright (c) 2010 Bernard Potocki, released under the MIT license
|