nio4r 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,3 @@
1
+ require 'rubygems'
2
+ require 'bundler/setup'
3
+ require 'nio'
@@ -0,0 +1,10 @@
1
+ require 'rake/extensiontask'
2
+
3
+ if defined?(JRUBY_VERSION)
4
+ # Don't build the native extension on JRuby since it uses native Java NIO
5
+ task :compile
6
+ else
7
+ Rake::ExtensionTask.new('nio4r_ext') do |ext|
8
+ ext.ext_dir = 'ext/nio4r'
9
+ end
10
+ end
data/tasks/rspec.rake ADDED
@@ -0,0 +1,7 @@
1
+ require 'rspec/core/rake_task'
2
+
3
+ RSpec::Core::RakeTask.new
4
+
5
+ RSpec::Core::RakeTask.new(:rcov) do |task|
6
+ task.rcov = true
7
+ end
metadata ADDED
@@ -0,0 +1,122 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: nio4r
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Tony Arcieri
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2011-12-26 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rake-compiler
16
+ requirement: &70286443867000 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: 0.7.9
22
+ type: :development
23
+ prerelease: false
24
+ version_requirements: *70286443867000
25
+ - !ruby/object:Gem::Dependency
26
+ name: rake
27
+ requirement: &70286443866560 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
33
+ type: :development
34
+ prerelease: false
35
+ version_requirements: *70286443866560
36
+ - !ruby/object:Gem::Dependency
37
+ name: rspec
38
+ requirement: &70286443865660 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
43
+ version: 2.7.0
44
+ type: :development
45
+ prerelease: false
46
+ version_requirements: *70286443865660
47
+ description: New IO for Ruby
48
+ email:
49
+ - tony.arcieri@gmail.com
50
+ executables: []
51
+ extensions: []
52
+ extra_rdoc_files: []
53
+ files:
54
+ - .gitignore
55
+ - .rspec
56
+ - .travis.yml
57
+ - Gemfile
58
+ - LICENSE.txt
59
+ - README.md
60
+ - Rakefile
61
+ - ext/libev/Changes
62
+ - ext/libev/LICENSE
63
+ - ext/libev/README
64
+ - ext/libev/README.embed
65
+ - ext/libev/ev.c
66
+ - ext/libev/ev.h
67
+ - ext/libev/ev_epoll.c
68
+ - ext/libev/ev_kqueue.c
69
+ - ext/libev/ev_poll.c
70
+ - ext/libev/ev_port.c
71
+ - ext/libev/ev_select.c
72
+ - ext/libev/ev_vars.h
73
+ - ext/libev/ev_win32.c
74
+ - ext/libev/ev_wrap.h
75
+ - ext/libev/test_libev_win32.c
76
+ - ext/nio4r/extconf.rb
77
+ - ext/nio4r/libev.h
78
+ - ext/nio4r/monitor.c
79
+ - ext/nio4r/nio4r.h
80
+ - ext/nio4r/nio4r_ext.c
81
+ - ext/nio4r/selector.c
82
+ - lib/nio.rb
83
+ - lib/nio/jruby/monitor.rb
84
+ - lib/nio/jruby/selector.rb
85
+ - lib/nio/monitor.rb
86
+ - lib/nio/selector.rb
87
+ - lib/nio/version.rb
88
+ - nio4r.gemspec
89
+ - spec/nio/monitor_spec.rb
90
+ - spec/nio/selector_spec.rb
91
+ - spec/spec_helper.rb
92
+ - tasks/extension.rake
93
+ - tasks/rspec.rake
94
+ homepage: https://github.com/tarcieri/nio4r
95
+ licenses: []
96
+ post_install_message:
97
+ rdoc_options: []
98
+ require_paths:
99
+ - lib
100
+ required_ruby_version: !ruby/object:Gem::Requirement
101
+ none: false
102
+ requirements:
103
+ - - ! '>='
104
+ - !ruby/object:Gem::Version
105
+ version: '0'
106
+ required_rubygems_version: !ruby/object:Gem::Requirement
107
+ none: false
108
+ requirements:
109
+ - - ! '>='
110
+ - !ruby/object:Gem::Version
111
+ version: '0'
112
+ requirements: []
113
+ rubyforge_project:
114
+ rubygems_version: 1.8.10
115
+ signing_key:
116
+ specification_version: 3
117
+ summary: NIO exposes a set of high performance IO operations on sockets, files, and
118
+ other Ruby IO objects
119
+ test_files:
120
+ - spec/nio/monitor_spec.rb
121
+ - spec/nio/selector_spec.rb
122
+ - spec/spec_helper.rb