This repository has been archived by the owner on Dec 7, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/celluloid/celluloid-io in…
…to nonblock_without_exception Conflicts: lib/celluloid/io/stream.rb spec/celluloid/io/actor_spec.rb spec/celluloid/io/dns_resolver_spec.rb spec/celluloid/io/mailbox_spec.rb spec/celluloid/io/ssl_server_spec.rb spec/celluloid/io/ssl_socket_spec.rb spec/celluloid/io/tcp_server_spec.rb spec/celluloid/io/tcp_socket_spec.rb spec/celluloid/io/udp_socket_spec.rb spec/celluloid/io/unix_server_spec.rb spec/celluloid/io/unix_socket_spec.rb spec/celluloid/io_spec.rb
- Loading branch information
Showing
47 changed files
with
1,184 additions
and
535 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
CELLULOID_SPECS_LOG_STRATEGY=stderr | ||
CELLULOID_SPECS_LOG_LEVEL=3 | ||
CELLULOID_SPECS_LOG_FILE=log/ci.log | ||
CELLULOID_SPECS_LOG_SYNC=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
CELLULOID_SPECS_LOG_STRATEGY=single | ||
CELLULOID_SPECS_LOG_FILE=log/test.log | ||
CELLULOID_SPECS_LOG_LEVEL=0 | ||
CELLULOID_SPECS_LOG_SYNC=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "culture"] | ||
path = culture | ||
url = http://github.com/celluloid/culture.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
--color | ||
--format documentation | ||
--color | ||
--format documentation | ||
--backtrace | ||
--default_path spec | ||
--order random | ||
--warnings |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
inherit_from: | ||
- culture/rubocop/rubocop.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,42 @@ | ||
script: rake ci | ||
language: ruby | ||
rvm: | ||
- 1.9.3 | ||
- rbx-2 | ||
- jruby | ||
- 2.3.0 | ||
- 2.2.2 | ||
- 2.2.0 | ||
- 2.1.4 | ||
- 2.0.0 | ||
- 2.1.0 | ||
- 1.9.3 | ||
- ruby-head | ||
- jruby | ||
- jruby-head | ||
- rbx | ||
|
||
matrix: | ||
fast_finish: true | ||
allow_failures: | ||
- rvm: 1.9.3 | ||
- rvm: ruby-head | ||
- rvm: jruby | ||
- rvm: jruby-head | ||
- rvm: rbx | ||
- env: CELLULOID_BACKPORTED=true | ||
- env: CELLULOID_BACKPORTED=false CELLULOID_TASK_CLASS=Threaded | ||
- env: CELLULOID_BACKPORTED=true CELLULOID_TASK_CLASS=Threaded | ||
|
||
env: | ||
global: | ||
- NUMBER_OF_PROCESSORS=4 CELLULOID_CONFIG_FILE=.env-ci | ||
matrix: | ||
- CELLULOID_BACKPORTED=true | ||
- CELLULOID_BACKPORTED=false | ||
- CELLULOID_BACKPORTED=false CELLULOID_TASK_CLASS=Threaded | ||
- CELLULOID_BACKPORTED=true CELLULOID_TASK_CLASS=Threaded | ||
|
||
notifications: | ||
irc: "irc.freenode.org#celluloid" | ||
|
||
before_install: | ||
# Only use 1 job until Travis fixes the rbx --jobs issue. | ||
- if [ "$TRAVIS_RUBY_VERSION" == "rbx-2" ] ; then export BUNDLE_JOBS=1 ; else export BUNDLE_JOBS=4; fi | ||
|
||
sudo: false | ||
install: bundle install --without=development |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
source 'https://rubygems.org' | ||
gemspec | ||
require File.expand_path("../culture/sync", __FILE__) | ||
|
||
gem 'coveralls', require: false | ||
gem 'celluloid', github: 'celluloid/celluloid', branch: 'master' | ||
Celluloid::Sync::Gemfile[self] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
guard 'rspec', :cli => '--format documentation' do | ||
guard "rspec", cli: "--format documentation" do | ||
watch(%r{^spec/.+_spec\.rb$}) | ||
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" } | ||
watch('spec/spec_helper.rb') { "spec/" } | ||
watch("spec/spec_helper.rb") { "spec/" } | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#!/usr/bin/env rake | ||
require 'bundler/gem_tasks' | ||
require "bundler/gem_tasks" | ||
Dir["tasks/**/*.task"].each { |task| load task } | ||
|
||
task :default => :spec | ||
task :ci => %w(spec benchmark) | ||
task default: :spec | ||
task ci: %w(spec benchmark) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,24 @@ | ||
# -*- encoding: utf-8 -*- | ||
require File.expand_path('../lib/celluloid/io/version', __FILE__) | ||
require File.expand_path("../culture/sync", __FILE__) | ||
|
||
Gem::Specification.new do |gem| | ||
gem.name = "celluloid-io" | ||
gem.version = Celluloid::IO::VERSION | ||
gem.license = 'MIT' | ||
gem.authors = ["Tony Arcieri"] | ||
gem.email = ["[email protected]"] | ||
gem.license = "MIT" | ||
gem.authors = ["Tony Arcieri", "Donovan Keme"] | ||
gem.email = ["[email protected]", "[email protected]"] | ||
gem.description = "Evented IO for Celluloid actors" | ||
gem.summary = "Celluloid::IO allows you to monitor multiple IO objects within a Celluloid actor" | ||
gem.homepage = "http://github.com/celluloid/celluloid-io" | ||
|
||
gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } | ||
gem.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) } | ||
gem.files = `git ls-files`.split("\n") | ||
gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") | ||
gem.require_paths = ["lib"] | ||
|
||
gem.add_dependency 'celluloid', '>= 0.16.0.pre' | ||
gem.add_dependency 'nio4r', '>= 1.0.0' | ||
Celluloid::Sync::Gemspec[gem] | ||
|
||
gem.add_development_dependency 'rake' | ||
gem.add_development_dependency 'rspec' | ||
gem.add_development_dependency 'benchmark_suite' | ||
gem.add_development_dependency 'guard-rspec' | ||
gem.add_development_dependency 'rb-fsevent', '~> 0.9.1' if RUBY_PLATFORM =~ /darwin/ | ||
gem.add_dependency "nio4r", ">= 1.1" | ||
|
||
gem.add_development_dependency "rb-fsevent", "~> 0.9.1" if RUBY_PLATFORM =~ /darwin/ | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.