socky-client 0.5.0.beta1 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -22,6 +22,8 @@ Then createn new Client instance. Parameters required are full address of Socky
22
22
  $socky_client = Socky::Client.new('http://ws.socky.org:3000/http/test_app', 'my_secret')
23
23
  ```
24
24
 
25
+ Please note that Ruby Client is HTTP client(not WebSocket) so you need to user http protocol(instead of 'ws') and 'http' namespace(instead of 'websocket'). If you receive EOFError then you probably should double-check address ;)
26
+
25
27
  This instance of Socky Client can trigger events for all users of server. To do so you can use one of methods:
26
28
 
27
29
  ``` ruby
@@ -1,5 +1,5 @@
1
1
  module Socky
2
2
  class Client
3
- VERSION = '0.5.0.beta1'
3
+ VERSION = '0.5.0'
4
4
  end
5
5
  end
@@ -11,10 +11,10 @@ Gem::Specification.new do |s|
11
11
  s.homepage = "http://socky.org"
12
12
  s.summary = %q{Socky is a WebSocket server and client for Ruby}
13
13
  s.description = %q{Socky is a WebSocket server and client for Ruby}
14
-
14
+
15
15
  s.add_dependency 'crack', "~> 0.1.0"
16
16
  s.add_dependency 'multi_json', '~> 1.0'
17
- s.add_dependency 'socky-authenticator', '~> 0.5.0.beta5'
17
+ s.add_dependency 'socky-authenticator', '~> 0.5.0'
18
18
  s.add_development_dependency 'rspec', '~> 2.0'
19
19
 
20
20
  s.files = `git ls-files`.split("\n")
metadata CHANGED
@@ -1,20 +1,19 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: socky-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0.beta1
5
- prerelease: 6
4
+ version: 0.5.0
5
+ prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - Bernard Potocki
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-08-01 00:00:00.000000000 +02:00
13
- default_executable:
12
+ date: 2012-02-16 00:00:00.000000000Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: crack
17
- requirement: &70226763937280 !ruby/object:Gem::Requirement
16
+ requirement: &70119935453760 !ruby/object:Gem::Requirement
18
17
  none: false
19
18
  requirements:
20
19
  - - ~>
@@ -22,10 +21,10 @@ dependencies:
22
21
  version: 0.1.0
23
22
  type: :runtime
24
23
  prerelease: false
25
- version_requirements: *70226763937280
24
+ version_requirements: *70119935453760
26
25
  - !ruby/object:Gem::Dependency
27
26
  name: multi_json
28
- requirement: &70226763936780 !ruby/object:Gem::Requirement
27
+ requirement: &70119935448080 !ruby/object:Gem::Requirement
29
28
  none: false
30
29
  requirements:
31
30
  - - ~>
@@ -33,21 +32,21 @@ dependencies:
33
32
  version: '1.0'
34
33
  type: :runtime
35
34
  prerelease: false
36
- version_requirements: *70226763936780
35
+ version_requirements: *70119935448080
37
36
  - !ruby/object:Gem::Dependency
38
37
  name: socky-authenticator
39
- requirement: &70226763936320 !ruby/object:Gem::Requirement
38
+ requirement: &70119935447240 !ruby/object:Gem::Requirement
40
39
  none: false
41
40
  requirements:
42
41
  - - ~>
43
42
  - !ruby/object:Gem::Version
44
- version: 0.5.0.beta5
43
+ version: 0.5.0
45
44
  type: :runtime
46
45
  prerelease: false
47
- version_requirements: *70226763936320
46
+ version_requirements: *70119935447240
48
47
  - !ruby/object:Gem::Dependency
49
48
  name: rspec
50
- requirement: &70226763935760 !ruby/object:Gem::Requirement
49
+ requirement: &70119935445800 !ruby/object:Gem::Requirement
51
50
  none: false
52
51
  requirements:
53
52
  - - ~>
@@ -55,7 +54,7 @@ dependencies:
55
54
  version: '2.0'
56
55
  type: :development
57
56
  prerelease: false
58
- version_requirements: *70226763935760
57
+ version_requirements: *70119935445800
59
58
  description: Socky is a WebSocket server and client for Ruby
60
59
  email:
61
60
  - bernard.potocki@imanel.org
@@ -75,7 +74,6 @@ files:
75
74
  - socky-client.gemspec
76
75
  - spec/spec_helper.rb
77
76
  - spec/unit/socky/client_spec.rb
78
- has_rdoc: true
79
77
  homepage: http://socky.org
80
78
  licenses: []
81
79
  post_install_message:
@@ -91,12 +89,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
91
89
  required_rubygems_version: !ruby/object:Gem::Requirement
92
90
  none: false
93
91
  requirements:
94
- - - ! '>'
92
+ - - ! '>='
95
93
  - !ruby/object:Gem::Version
96
- version: 1.3.1
94
+ version: '0'
97
95
  requirements: []
98
96
  rubyforge_project:
99
- rubygems_version: 1.6.2
97
+ rubygems_version: 1.8.11
100
98
  signing_key:
101
99
  specification_version: 3
102
100
  summary: Socky is a WebSocket server and client for Ruby