rubyfox-client 0.4.0-java → 0.6.0-java

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 3c30eed27445c08c9c37b18343e0ee2d13fd35f0
4
- data.tar.gz: f55a58f4fbc6b2a28db4b390be6a6c8aef58e1d9
2
+ SHA256:
3
+ metadata.gz: 934d462748798462745cb43e09e701a6ae197e8e91375a05edb34ae5665adade
4
+ data.tar.gz: 5d6168a896d2e7f8db79206c7410b965a615db70d56b8a26b4367c919aeb311a
5
5
  SHA512:
6
- metadata.gz: e932cf55dfccc12611adf9280136d48257d7fc678575590b6b76ca1b03114fb9fb1e76d6455c090a72c79621b40c84c56d6d0fe44cc79671871393ddf1ac9c28
7
- data.tar.gz: bbdbc792ca65afb3a99e3ac747a42402f6ef06578e7929db142556741206b740560fac2d576deb17e48bc098932f55409bdd8972c61b99725ccc184839b006e5
6
+ metadata.gz: aadfb362c431a35edc15d24003af65c0bc4c3e64199453d02088debed600b1c20ab5928c38b559c09f1e29ef81ae3b44100887278be211fa77842d5367464ffa
7
+ data.tar.gz: eb578430e6e1072f6826218a945e2e479c3ff038ebb41fe309cda1bf007499a306f60b8f98d542213ea34ec617fe45701878103ab58fd1d2fc3c3253550c53ef
@@ -17,15 +17,16 @@ module Rubyfox
17
17
  @options[:debug] || false
18
18
  end
19
19
 
20
- def udp?
21
- false
20
+ def http_port
21
+ @options[:http_port] || 8080
22
22
  end
23
23
 
24
- def bluebox?
25
- false
24
+ def https_port
25
+ @options[:https_port] || 8443
26
26
  end
27
27
 
28
- def bluebox_port
28
+ def zone
29
+ @options[:zone] || ""
29
30
  end
30
31
  end
31
32
  end
@@ -7,6 +7,7 @@ module Rubyfox
7
7
  Request = ::Java.sfs2x.client.requests
8
8
  SFSEvent = ::Java.sfs2x.client.core.SFSEvent
9
9
  System = ::Java.java.lang.System
10
+ ConfigData = ::Java::sfs2x.client.util.ConfigData
10
11
  end
11
12
  end
12
13
  end
@@ -21,7 +21,15 @@ module Rubyfox
21
21
  def connect
22
22
  @event_handler.register
23
23
  @extension_handler.register
24
- @smartfox.connect(@config.host, @config.port)
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
@@ -1,5 +1,5 @@
1
1
  module Rubyfox
2
2
  module Client
3
- VERSION = "0.4.0"
3
+ VERSION = "0.6.0"
4
4
  end
5
5
  end
@@ -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 = Gem::Platform::JAVA
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.}
@@ -18,7 +18,7 @@ Gem::Specification.new do |gem|
18
18
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
19
19
  gem.require_paths = ["lib"]
20
20
 
21
- gem.add_dependency 'dry-inflector', '~> 0.1'
21
+ gem.add_dependency 'dry-inflector', '~> 1.0'
22
22
  gem.add_dependency 'rubyfox-sfsobject', '>= 0.2.2'
23
23
 
24
24
  gem.add_development_dependency 'rake'
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.0
4
+ version: 0.6.0
5
5
  platform: java
6
6
  authors:
7
7
  - Peter Leitzen
@@ -9,59 +9,59 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-07-12 00:00:00.000000000 Z
12
+ date: 2024-06-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
+ name: dry-inflector
15
16
  requirement: !ruby/object:Gem::Requirement
16
17
  requirements:
17
18
  - - "~>"
18
19
  - !ruby/object:Gem::Version
19
- version: '0.1'
20
- name: dry-inflector
21
- prerelease: false
20
+ version: '1.0'
22
21
  type: :runtime
22
+ prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - "~>"
26
26
  - !ruby/object:Gem::Version
27
- version: '0.1'
27
+ version: '1.0'
28
28
  - !ruby/object:Gem::Dependency
29
+ name: rubyfox-sfsobject
29
30
  requirement: !ruby/object:Gem::Requirement
30
31
  requirements:
31
32
  - - ">="
32
33
  - !ruby/object:Gem::Version
33
34
  version: 0.2.2
34
- name: rubyfox-sfsobject
35
- prerelease: false
36
35
  type: :runtime
36
+ prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - ">="
40
40
  - !ruby/object:Gem::Version
41
41
  version: 0.2.2
42
42
  - !ruby/object:Gem::Dependency
43
+ name: rake
43
44
  requirement: !ruby/object:Gem::Requirement
44
45
  requirements:
45
46
  - - ">="
46
47
  - !ruby/object:Gem::Version
47
48
  version: '0'
48
- name: rake
49
- prerelease: false
50
49
  type: :development
50
+ prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
53
  - - ">="
54
54
  - !ruby/object:Gem::Version
55
55
  version: '0'
56
56
  - !ruby/object:Gem::Dependency
57
+ name: rdoc
57
58
  requirement: !ruby/object:Gem::Requirement
58
59
  requirements:
59
60
  - - ">="
60
61
  - !ruby/object:Gem::Version
61
62
  version: '0'
62
- name: rdoc
63
- prerelease: false
64
63
  type: :development
64
+ prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - ">="
@@ -118,8 +118,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
118
118
  - !ruby/object:Gem::Version
119
119
  version: '0'
120
120
  requirements: []
121
- rubyforge_project:
122
- rubygems_version: 2.6.14.1
121
+ rubygems_version: 3.5.11
123
122
  signing_key:
124
123
  specification_version: 4
125
124
  summary: ''