renet 0.1.14 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,16 +1 @@
1
- if File.exists?("#{File.dirname(__FILE__)}/renet.bundle")
2
- require "#{File.dirname(__FILE__)}/renet.bundle"
3
- end
4
-
5
- if File.exists?("#{File.dirname(__FILE__)}/renet.so")
6
- require "#{File.dirname(__FILE__)}/renet.so"
7
- end
8
-
9
- if File.exists?("#{File.dirname(__FILE__)}/renet.1.8.so")
10
- if defined? RUBY_VERSION and RUBY_VERSION[0..2] == '1.9' then
11
- version = '1.9'
12
- else
13
- version = '1.8'
14
- end
15
- require "#{File.dirname(__FILE__)}/renet.#{version}.so"
16
- end
1
+ require 'renet/renet'
metadata CHANGED
@@ -1,15 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: renet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.14
5
- prerelease:
4
+ version: 0.2.0
6
5
  platform: ruby
7
6
  authors:
8
- - Dahrkael
7
+ - Dahrkael & Job Vranish
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2011-08-25 00:00:00.000000000Z
11
+ date: 2015-08-12 00:00:00.000000000 Z
13
12
  dependencies: []
14
13
  description: Ruby library for games networking. Uses ENet as backend
15
14
  email: dark.wolf.warrior@gmail.com
@@ -19,38 +18,56 @@ extensions:
19
18
  extra_rdoc_files: []
20
19
  files:
21
20
  - README
22
- - lib/renet.rb
23
21
  - examples/Console-Server.rb
24
22
  - examples/Gosu-Client.rb
25
- - ext/renet/renet.h
26
- - ext/renet/renet_connection.h
27
- - ext/renet/renet_server.h
23
+ - ext/renet/callbacks.c
24
+ - ext/renet/compress.c
25
+ - ext/renet/enet/callbacks.h
26
+ - ext/renet/enet/enet.h
27
+ - ext/renet/enet/list.h
28
+ - ext/renet/enet/protocol.h
29
+ - ext/renet/enet/time.h
30
+ - ext/renet/enet/types.h
31
+ - ext/renet/enet/unix.h
32
+ - ext/renet/enet/utility.h
33
+ - ext/renet/enet/win32.h
34
+ - ext/renet/extconf.rb
35
+ - ext/renet/host.c
36
+ - ext/renet/list.c
37
+ - ext/renet/packet.c
38
+ - ext/renet/peer.c
39
+ - ext/renet/protocol.c
28
40
  - ext/renet/renet.c
41
+ - ext/renet/renet.h
29
42
  - ext/renet/renet_connection.c
43
+ - ext/renet/renet_connection.h
30
44
  - ext/renet/renet_server.c
31
- - ext/renet/extconf.rb
45
+ - ext/renet/renet_server.h
46
+ - ext/renet/unix.c
47
+ - ext/renet/win32.c
48
+ - lib/renet.rb
32
49
  homepage: https://github.com/Dahrkael/rENet
33
- licenses: []
50
+ licenses:
51
+ - MIT
52
+ metadata: {}
34
53
  post_install_message:
35
54
  rdoc_options: []
36
55
  require_paths:
37
56
  - lib
38
57
  required_ruby_version: !ruby/object:Gem::Requirement
39
- none: false
40
58
  requirements:
41
- - - ! '>='
59
+ - - ">="
42
60
  - !ruby/object:Gem::Version
43
61
  version: '0'
44
62
  required_rubygems_version: !ruby/object:Gem::Requirement
45
- none: false
46
63
  requirements:
47
- - - ! '>='
64
+ - - ">="
48
65
  - !ruby/object:Gem::Version
49
66
  version: '0'
50
67
  requirements: []
51
68
  rubyforge_project:
52
- rubygems_version: 1.8.5
69
+ rubygems_version: 2.4.5
53
70
  signing_key:
54
- specification_version: 3
71
+ specification_version: 4
55
72
  summary: Ruby library for games networking. Uses ENet as backend
56
73
  test_files: []