├── .github ├── dependabot.yml └── workflows │ └── test.yml ├── .gitignore ├── .gitmodules ├── CHANGELOG.md ├── Gemfile ├── LICENSE ├── README.md ├── Rakefile ├── TODO.md ├── examples ├── echo_server.rb ├── event_loop.rb ├── fibers.rb ├── http_server.rb ├── http_server_multishot.rb └── http_server_simpler.rb ├── ext └── iou │ ├── extconf.rb │ ├── iou.h │ ├── iou_ext.c │ ├── op_ctx.c │ └── ring.c ├── iou.gemspec ├── lib ├── iou.rb └── iou │ └── version.rb └── test ├── helper.rb └── test_iou.rb /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digital-fabric/iou/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digital-fabric/iou/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digital-fabric/iou/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digital-fabric/iou/HEAD/.gitmodules -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digital-fabric/iou/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digital-fabric/iou/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digital-fabric/iou/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digital-fabric/iou/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digital-fabric/iou/HEAD/Rakefile -------------------------------------------------------------------------------- /TODO.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digital-fabric/iou/HEAD/TODO.md -------------------------------------------------------------------------------- /examples/echo_server.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digital-fabric/iou/HEAD/examples/echo_server.rb -------------------------------------------------------------------------------- /examples/event_loop.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digital-fabric/iou/HEAD/examples/event_loop.rb -------------------------------------------------------------------------------- /examples/fibers.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digital-fabric/iou/HEAD/examples/fibers.rb -------------------------------------------------------------------------------- /examples/http_server.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digital-fabric/iou/HEAD/examples/http_server.rb -------------------------------------------------------------------------------- /examples/http_server_multishot.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digital-fabric/iou/HEAD/examples/http_server_multishot.rb -------------------------------------------------------------------------------- /examples/http_server_simpler.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digital-fabric/iou/HEAD/examples/http_server_simpler.rb -------------------------------------------------------------------------------- /ext/iou/extconf.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digital-fabric/iou/HEAD/ext/iou/extconf.rb -------------------------------------------------------------------------------- /ext/iou/iou.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digital-fabric/iou/HEAD/ext/iou/iou.h -------------------------------------------------------------------------------- /ext/iou/iou_ext.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digital-fabric/iou/HEAD/ext/iou/iou_ext.c -------------------------------------------------------------------------------- /ext/iou/op_ctx.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digital-fabric/iou/HEAD/ext/iou/op_ctx.c -------------------------------------------------------------------------------- /ext/iou/ring.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digital-fabric/iou/HEAD/ext/iou/ring.c -------------------------------------------------------------------------------- /iou.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digital-fabric/iou/HEAD/iou.gemspec -------------------------------------------------------------------------------- /lib/iou.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require_relative './iou_ext' 4 | -------------------------------------------------------------------------------- /lib/iou/version.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module IOU 4 | VERSION = '0.2' 5 | end 6 | -------------------------------------------------------------------------------- /test/helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digital-fabric/iou/HEAD/test/helper.rb -------------------------------------------------------------------------------- /test/test_iou.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digital-fabric/iou/HEAD/test/test_iou.rb --------------------------------------------------------------------------------