socketry-async 0.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +9 -0
- data/.rspec +4 -0
- data/.rubocop.yml +59 -0
- data/.ruby-version +1 -0
- data/.travis.yml +17 -0
- data/Gemfile +20 -0
- data/README.md +3 -0
- data/Rakefile +11 -0
- data/bin/console +15 -0
- data/bin/setup +8 -0
- data/lib/socketry/async.rb +9 -0
- data/lib/socketry/async/version.rb +7 -0
- data/socketry-async.gemspec +32 -0
- metadata +114 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: ed077d960c8bcd2d92c435b3340f4d7c3f0157a0
|
4
|
+
data.tar.gz: b4da17e8294da62b67d450019071c4baca8f2ca3
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 9d2463ca38d14a18f62ad33ac5770d5b65234d13780feb673963cf0883eb120b023d82865682c555e4dcdc755ebd393dd369b87dd2035537418dfc03f0a512aa
|
7
|
+
data.tar.gz: 72c03dabd8d2e160350eb904e8e121380df4481d15469de45e10d33518bc11977041b000a000a4d9e08dc74e99e7561e6900e0b7392f7e0012ac9389b2413a62
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.rubocop.yml
ADDED
@@ -0,0 +1,59 @@
|
|
1
|
+
AllCops:
|
2
|
+
DisplayCopNames: true
|
3
|
+
|
4
|
+
#
|
5
|
+
# Lint
|
6
|
+
#
|
7
|
+
|
8
|
+
Lint/HandleExceptions:
|
9
|
+
Enabled: false
|
10
|
+
|
11
|
+
Lint/ShadowedException:
|
12
|
+
Enabled: false
|
13
|
+
|
14
|
+
#
|
15
|
+
# Metrics
|
16
|
+
#
|
17
|
+
|
18
|
+
Metrics/AbcSize:
|
19
|
+
Max: 50
|
20
|
+
|
21
|
+
Metrics/ClassLength:
|
22
|
+
Max: 200
|
23
|
+
|
24
|
+
Metrics/CyclomaticComplexity:
|
25
|
+
Max: 15
|
26
|
+
|
27
|
+
Metrics/LineLength:
|
28
|
+
Max: 128
|
29
|
+
|
30
|
+
Metrics/MethodLength:
|
31
|
+
Max: 50
|
32
|
+
|
33
|
+
Metrics/ParameterLists:
|
34
|
+
Enabled: false
|
35
|
+
|
36
|
+
Metrics/PerceivedComplexity:
|
37
|
+
Max: 15
|
38
|
+
|
39
|
+
#
|
40
|
+
# Style
|
41
|
+
#
|
42
|
+
|
43
|
+
Style/AccessorMethodName:
|
44
|
+
Enabled: false
|
45
|
+
|
46
|
+
Style/ConditionalAssignment:
|
47
|
+
Enabled: false
|
48
|
+
|
49
|
+
Style/NumericPredicate:
|
50
|
+
Enabled: false
|
51
|
+
|
52
|
+
Style/RescueModifier:
|
53
|
+
Enabled: false
|
54
|
+
|
55
|
+
Style/SpaceBeforeFirstArg:
|
56
|
+
Enabled: false
|
57
|
+
|
58
|
+
Style/StringLiterals:
|
59
|
+
EnforcedStyle: double_quotes
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
2.4.0
|
data/.travis.yml
ADDED
data/Gemfile
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
source "https://rubygems.org"
|
4
|
+
|
5
|
+
gemspec
|
6
|
+
|
7
|
+
group :development do
|
8
|
+
gem "guard-rspec", require: false
|
9
|
+
gem "pry", require: false
|
10
|
+
end
|
11
|
+
|
12
|
+
group :test do
|
13
|
+
gem "coveralls", require: false
|
14
|
+
gem "rspec", "~> 3", require: false
|
15
|
+
gem "rubocop", "0.46.0", require: false
|
16
|
+
end
|
17
|
+
|
18
|
+
group :development, :test do
|
19
|
+
gem "rake"
|
20
|
+
end
|
data/README.md
ADDED
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
require "bundler/setup"
|
5
|
+
require "socketry/async"
|
6
|
+
|
7
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
8
|
+
# with your gem easier. You can also use a different console, if you like.
|
9
|
+
|
10
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
11
|
+
# require "pry"
|
12
|
+
# Pry.start
|
13
|
+
|
14
|
+
require "irb"
|
15
|
+
IRB.start
|
data/bin/setup
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
lib = File.expand_path("../lib", __FILE__)
|
4
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
|
+
require "socketry/async/version"
|
6
|
+
|
7
|
+
Gem::Specification.new do |spec|
|
8
|
+
spec.name = "socketry-async"
|
9
|
+
spec.version = Socketry::Async::VERSION
|
10
|
+
spec.authors = ["Tony Arcieri"]
|
11
|
+
spec.email = ["bascule@gmail.com"]
|
12
|
+
spec.licenses = ["MIT"]
|
13
|
+
spec.homepage = "https://github.com/socketry/socketry-async/"
|
14
|
+
spec.summary = "Asynchronous I/O framework based on socketry, promise.rb, and nio4r"
|
15
|
+
spec.description = <<-DESCRIPTION.strip.gsub(/\s+/, " ")
|
16
|
+
Socketry::Async provides a modern asynchronous I/O framework for Ruby based
|
17
|
+
on the Socketry, promise.rb, nio4r gems
|
18
|
+
DESCRIPTION
|
19
|
+
|
20
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
21
|
+
spec.bindir = "exe"
|
22
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
23
|
+
spec.require_paths = ["lib"]
|
24
|
+
|
25
|
+
spec.required_ruby_version = ">= 2.2.6"
|
26
|
+
|
27
|
+
spec.add_runtime_dependency "socketry", "~> 0.5"
|
28
|
+
spec.add_runtime_dependency "promise", "~> 0.3"
|
29
|
+
spec.add_runtime_dependency "nio4r", "~> 2"
|
30
|
+
|
31
|
+
spec.add_development_dependency "bundler", "~> 1.0"
|
32
|
+
end
|
metadata
ADDED
@@ -0,0 +1,114 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: socketry-async
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Tony Arcieri
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-12-29 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: socketry
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0.5'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0.5'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: promise
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0.3'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0.3'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: nio4r
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '2'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '2'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: bundler
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '1.0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '1.0'
|
69
|
+
description: Socketry::Async provides a modern asynchronous I/O framework for Ruby
|
70
|
+
based on the Socketry, promise.rb, nio4r gems
|
71
|
+
email:
|
72
|
+
- bascule@gmail.com
|
73
|
+
executables: []
|
74
|
+
extensions: []
|
75
|
+
extra_rdoc_files: []
|
76
|
+
files:
|
77
|
+
- ".gitignore"
|
78
|
+
- ".rspec"
|
79
|
+
- ".rubocop.yml"
|
80
|
+
- ".ruby-version"
|
81
|
+
- ".travis.yml"
|
82
|
+
- Gemfile
|
83
|
+
- README.md
|
84
|
+
- Rakefile
|
85
|
+
- bin/console
|
86
|
+
- bin/setup
|
87
|
+
- lib/socketry/async.rb
|
88
|
+
- lib/socketry/async/version.rb
|
89
|
+
- socketry-async.gemspec
|
90
|
+
homepage: https://github.com/socketry/socketry-async/
|
91
|
+
licenses:
|
92
|
+
- MIT
|
93
|
+
metadata: {}
|
94
|
+
post_install_message:
|
95
|
+
rdoc_options: []
|
96
|
+
require_paths:
|
97
|
+
- lib
|
98
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - ">="
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: 2.2.6
|
103
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
104
|
+
requirements:
|
105
|
+
- - ">="
|
106
|
+
- !ruby/object:Gem::Version
|
107
|
+
version: '0'
|
108
|
+
requirements: []
|
109
|
+
rubyforge_project:
|
110
|
+
rubygems_version: 2.6.8
|
111
|
+
signing_key:
|
112
|
+
specification_version: 4
|
113
|
+
summary: Asynchronous I/O framework based on socketry, promise.rb, and nio4r
|
114
|
+
test_files: []
|