socky-client-rails 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +17 -0
- data/README.md +25 -0
- data/Rakefile +27 -0
- data/VERSION +1 -0
- data/assets/socky/WebSocketMain.swf +0 -0
- data/assets/socky.js +1122 -0
- data/assets/socky_hosts.yml +5 -0
- data/init.rb +1 -0
- data/lib/socky-client-rails/helper.rb +19 -0
- data/lib/socky-client-rails/java_script_generator.rb +30 -0
- data/lib/socky-client-rails/railtie.rb +9 -0
- data/lib/socky-client-rails.rb +27 -0
- data/lib/tasks/socky-client-rails.rake +70 -0
- data/spec/socky-client-rails_spec.rb +37 -0
- data/spec/spec_helper.rb +5 -0
- data/spec/support/config/socky_hosts.yml +5 -0
- data/spec/support/config.rb +9 -0
- metadata +115 -0
data/CHANGELOG.md
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
Changelog
|
2
|
+
=========
|
3
|
+
|
4
|
+
## 0.4.1 / 2010-10-29
|
5
|
+
|
6
|
+
- new features:
|
7
|
+
- none
|
8
|
+
- bugfixes:
|
9
|
+
- add missing socky.js and flash file
|
10
|
+
|
11
|
+
## 0.4.0 / 2010-10-28
|
12
|
+
|
13
|
+
- new features:
|
14
|
+
- split project to 3 parts - socky-client-ruby, socky-client-rails and socky-js
|
15
|
+
- release as gem
|
16
|
+
- bugfixes:
|
17
|
+
- none
|
data/README.md
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
Socky - client bindings for Ruby on Rails
|
2
|
+
===========
|
3
|
+
|
4
|
+
Socky is push server for Ruby based on WebSockets. It allows you to break border between your application and client browser by letting the server initialize a connection and push data to the client.
|
5
|
+
|
6
|
+
## Getting Started
|
7
|
+
|
8
|
+
- [Install](http://github.com/socky/socky-client-rails/wiki/install) the gem
|
9
|
+
- Read up about its [Usage](http://github.com/socky/socky-client-rails/wiki/usage) and [Configuration](http://github.com/socky/socky-client-rails/wiki/configuration)
|
10
|
+
- Try [Example Application](http://github.com/socky/socky-example) or [demo page](http://sockydemo.imanel.org)
|
11
|
+
- Fork and Contribute your own modifications
|
12
|
+
- See [sites using socky](http://github.com/socky/socky-server-ruby/wiki/sites)
|
13
|
+
- Discuss on [google group](http://groups.google.com/group/socky-framework)
|
14
|
+
|
15
|
+
## License
|
16
|
+
|
17
|
+
(The MIT License)
|
18
|
+
|
19
|
+
Copyright (c) 2010 Bernard Potocki
|
20
|
+
|
21
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
22
|
+
|
23
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
24
|
+
|
25
|
+
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/Rakefile
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
require 'rake'
|
2
|
+
require 'rake/clean'
|
3
|
+
CLEAN.include %w(**/*.{log,rbc})
|
4
|
+
|
5
|
+
require 'rspec/core/rake_task'
|
6
|
+
|
7
|
+
task :default => :spec
|
8
|
+
|
9
|
+
RSpec::Core::RakeTask.new(:spec) do |t|
|
10
|
+
end
|
11
|
+
|
12
|
+
begin
|
13
|
+
require 'jeweler'
|
14
|
+
Jeweler::Tasks.new do |gemspec|
|
15
|
+
gemspec.name = "socky-client-rails"
|
16
|
+
gemspec.summary = "Socky is a WebSocket server and client for Ruby"
|
17
|
+
gemspec.description = "Socky is a WebSocket server and client for Ruby"
|
18
|
+
gemspec.email = "bernard.potocki@imanel.org"
|
19
|
+
gemspec.homepage = "http://imanel.org/projects/socky"
|
20
|
+
gemspec.authors = ["Bernard Potocki"]
|
21
|
+
gemspec.add_dependency 'socky-client', '~> 0.4.2'
|
22
|
+
gemspec.add_development_dependency 'rspec', '~> 2.0'
|
23
|
+
gemspec.files.exclude ".gitignore"
|
24
|
+
end
|
25
|
+
rescue LoadError
|
26
|
+
puts "Jeweler not available. Install it with: gem install jeweler"
|
27
|
+
end
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
0.4.1
|
Binary file
|