socky 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.textile CHANGED
@@ -1,5 +1,12 @@
1
1
  h1. Changelog
2
2
 
3
+ h2. 0.1.1 / 2010-08-25
4
+
5
+ * new features:
6
+ ** socky has now support for signed certificates by :tls_options config option
7
+ * bugfixes:
8
+ ** none
9
+
3
10
  h2. 0.1.0 / 2010-08-03
4
11
 
5
12
  *IMPORTANT! This version will not work with plugin version lower than 0.1.0*
data/README.textile CHANGED
@@ -6,7 +6,7 @@ h2. Getting Started
6
6
 
7
7
  * "Install":http://wiki.github.com/imanel/socky_gem/install the gem
8
8
  * Read up about its "Usage":http://wiki.github.com/imanel/socky_gem/usage and "Configuration":http://wiki.github.com/imanel/socky_gem/configuration
9
- * Try "Example Application":http://github.com/imanel/socky_example
9
+ * Try "Example Application":http://github.com/imanel/socky_example or "demo page":http://sockydemo.imanel.org
10
10
  * Fork and Contribute your own modifications
11
11
 
12
12
  h2. Runtime Dependencies
data/Rakefile CHANGED
@@ -17,7 +17,7 @@ begin
17
17
  gemspec.email = "b.potocki@imanel.org"
18
18
  gemspec.homepage = "http://github.com/imanel/socky_gem"
19
19
  gemspec.authors = ["Bernard Potocki"]
20
- gemspec.add_dependency('em-websocket', '>= 0.1.2')
20
+ gemspec.add_dependency('em-websocket', '>= 0.1.4')
21
21
  gemspec.add_dependency('em-http-request')
22
22
  gemspec.files.exclude ".gitignore"
23
23
  end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -61,6 +61,10 @@ module Socky
61
61
 
62
62
  # :log_path: /var/log/socky.log
63
63
  # :pid_path: /var/run/socky.pid
64
+
65
+ # :tls_options:
66
+ # :private_key_file: /private/key
67
+ # :cert_chain_file: /ssl/certificate
64
68
  EOF
65
69
  end
66
70
 
data/lib/socky/runner.rb CHANGED
@@ -29,7 +29,7 @@ module Socky
29
29
  trap("INT") { stop }
30
30
 
31
31
  EventMachine::start_server("0.0.0.0", options[:port], EventMachine::WebSocket::Connection,
32
- :debug => options[:deep_debug], :secure => options[:secure]) do |ws|
32
+ :debug => options[:deep_debug], :secure => options[:secure], :tls_options => options[:tls_options]) do |ws|
33
33
 
34
34
  connection = Socky::Connection.new(ws)
35
35
  ws.onopen { connection.subscribe }
@@ -6,4 +6,13 @@
6
6
 
7
7
  :secret: my_secret_key
8
8
 
9
- :secure: false
9
+ :secure: false
10
+
11
+ # :timeout: 3
12
+
13
+ # :log_path: /var/log/socky.log
14
+ # :pid_path: /var/run/socky.pid
15
+
16
+ # :tls_options:
17
+ # :private_key_file: /private/key
18
+ # :cert_chain_file: /ssl/certificate
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: socky
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 0
10
- version: 0.1.0
9
+ - 1
10
+ version: 0.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Bernard Potocki
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-08-03 00:00:00 +02:00
18
+ date: 2010-08-25 00:00:00 +02:00
19
19
  default_executable: socky
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -26,12 +26,12 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- hash: 31
29
+ hash: 19
30
30
  segments:
31
31
  - 0
32
32
  - 1
33
- - 2
34
- version: 0.1.2
33
+ - 4
34
+ version: 0.1.4
35
35
  type: :runtime
36
36
  version_requirements: *id001
37
37
  - !ruby/object:Gem::Dependency