rubyfox-client 0.4.0-java → 0.5.0-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/rubyfox/client/config.rb +6 -5
- data/lib/rubyfox/client/java.rb +1 -0
- data/lib/rubyfox/client/transport.rb +13 -1
- data/lib/rubyfox/client/vendor/SFS2X_API_Java.jar +0 -0
- data/lib/rubyfox/client/vendor/sfs2x-client-core.jar +0 -0
- data/lib/rubyfox/client/version.rb +1 -1
- data/rubyfox-client.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: bf3dce0260d267805db79f778bb21c81d14d4b36c5ca96abfb38c6d524a60ea7
|
4
|
+
data.tar.gz: c149047bb713e1d914931bc239f22569c91494aa2623ec6738a53ecae0709b20
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b5423b09fb14f2e72cc7a79b23cc398ae004a3fb09daa5d50ac215e6be5998f8d43cdca365330f0528235f9801831cabf8f2088117785a29bf1b46a408ea6d0c
|
7
|
+
data.tar.gz: 0714e9401478c16653111b0bbd0fb4515ca958f8943fcc955fbcb2ba810f72817cd26c2be84a90fdac92a699e23d2ccfdbe3702e1f8871423358aa121382cab0
|
@@ -17,15 +17,16 @@ module Rubyfox
|
|
17
17
|
@options[:debug] || false
|
18
18
|
end
|
19
19
|
|
20
|
-
def
|
21
|
-
|
20
|
+
def http_port
|
21
|
+
@options[:http_port] || 8080
|
22
22
|
end
|
23
23
|
|
24
|
-
def
|
25
|
-
|
24
|
+
def https_port
|
25
|
+
@options[:https_port] || 8443
|
26
26
|
end
|
27
27
|
|
28
|
-
def
|
28
|
+
def zone
|
29
|
+
@options[:zone] || ""
|
29
30
|
end
|
30
31
|
end
|
31
32
|
end
|
data/lib/rubyfox/client/java.rb
CHANGED
@@ -21,7 +21,15 @@ module Rubyfox
|
|
21
21
|
def connect
|
22
22
|
@event_handler.register
|
23
23
|
@extension_handler.register
|
24
|
-
|
24
|
+
|
25
|
+
config_data = Java::ConfigData.new
|
26
|
+
config_data.host = @config.host
|
27
|
+
config_data.port = @config.port
|
28
|
+
config_data.http_port = @config.http_port
|
29
|
+
config_data.https_port = @config.https_port
|
30
|
+
config_data.zone = @config.zone
|
31
|
+
|
32
|
+
@smartfox.connect(config_data)
|
25
33
|
sleep 0.1
|
26
34
|
end
|
27
35
|
|
@@ -64,6 +72,10 @@ module Rubyfox
|
|
64
72
|
def remove_event(*names)
|
65
73
|
@event_handler.remove(*names)
|
66
74
|
end
|
75
|
+
|
76
|
+
def init_crypto
|
77
|
+
@smartfox.init_crypto
|
78
|
+
end
|
67
79
|
end
|
68
80
|
end
|
69
81
|
end
|
Binary file
|
Binary file
|
data/rubyfox-client.gemspec
CHANGED
@@ -6,7 +6,7 @@ require 'rubyfox/client/version'
|
|
6
6
|
Gem::Specification.new do |gem|
|
7
7
|
gem.name = "rubyfox-client"
|
8
8
|
gem.version = Rubyfox::Client::VERSION
|
9
|
-
gem.platform =
|
9
|
+
gem.platform = "java"
|
10
10
|
gem.authors = ["Peter Leitzen", "Jakob Holderbaum"]
|
11
11
|
gem.email = ["pl@neopoly.de", "jh@neopoly.de"]
|
12
12
|
gem.description = %q{Ruby bindings for SmartFox's client.}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubyfox-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Peter Leitzen
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-
|
12
|
+
date: 2018-08-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
@@ -119,7 +119,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
119
119
|
version: '0'
|
120
120
|
requirements: []
|
121
121
|
rubyforge_project:
|
122
|
-
rubygems_version: 2.
|
122
|
+
rubygems_version: 2.7.7
|
123
123
|
signing_key:
|
124
124
|
specification_version: 4
|
125
125
|
summary: ''
|