cztop-reactor 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/History.md +7 -0
- data/README.md +9 -2
- data/Rakefile +0 -107
- data/lib/cztop/reactor/socket_monitoring.rb +0 -1
- data/lib/cztop/reactor.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +34 -47
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c603151be8d558f401d8c6984d49999340abe466df2bdb8a3864b6117e1d546b
|
4
|
+
data.tar.gz: 5aee01e239fc5b6977eb5d27707c710bd35f090aa47d27e642ae13d2dae8f268
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5cae140b44032d0e4c2c877f71abb08480e828f2bbe9272f445c4aa8e720590ac8f4f36095f95d5ee4fddc3a0fa76f0f6efc7cb8b2c04facf98fafb8073927be
|
7
|
+
data.tar.gz: a14cb311a5aed8bc74c38743f7ce84b34192f5bbcb9a265015447e208916eecabf726ea86cfafbd9910a889806bed1f35b46485404004607c7841625700672e2
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/History.md
CHANGED
data/README.md
CHANGED
@@ -74,12 +74,19 @@ via {its Github mirror}[https://github.com/ged/cztop-reactor].
|
|
74
74
|
|
75
75
|
After checking out the source, run:
|
76
76
|
|
77
|
-
$ rake
|
77
|
+
$ gem install rake-deveiate
|
78
|
+
$ rake setup
|
78
79
|
|
79
80
|
This task will install any missing dependencies, run the tests/specs,
|
80
81
|
and generate the API documentation.
|
81
82
|
|
82
83
|
|
84
|
+
## Authors
|
85
|
+
|
86
|
+
- Michael Granger <ged@faeriemud.org>
|
87
|
+
- Mahlon E. Smith <mahlon@martini.nu>
|
88
|
+
|
89
|
+
|
83
90
|
## License
|
84
91
|
|
85
92
|
This library includes source from the CZTop gem by Patrik Wenger, which is
|
@@ -104,7 +111,7 @@ License](http://opensource.org/licenses/ISC):
|
|
104
111
|
|
105
112
|
Everything else is distributed under the same license but is:
|
106
113
|
|
107
|
-
Copyright (c) 2017-
|
114
|
+
Copyright (c) 2017-2023, Michael Granger
|
108
115
|
|
109
116
|
|
110
117
|
[POSA2]: http://www.cs.wustl.edu/~schmidt/POSA/POSA2/
|
data/Rakefile
CHANGED
@@ -1,113 +1,6 @@
|
|
1
1
|
# -*- ruby -*-
|
2
|
-
# frozen_string_literal: true
|
3
2
|
|
4
3
|
require 'rake/deveiate'
|
5
4
|
|
6
|
-
|
7
5
|
Rake::DevEiate.setup( 'cztop-reactor' )
|
8
6
|
|
9
|
-
|
10
|
-
__END__
|
11
|
-
|
12
|
-
#!/usr/bin/env rake
|
13
|
-
|
14
|
-
begin
|
15
|
-
require 'hoe'
|
16
|
-
rescue LoadError
|
17
|
-
abort "This Rakefile requires hoe (gem install hoe)"
|
18
|
-
end
|
19
|
-
|
20
|
-
GEMSPEC = 'cztop-reactor.gemspec'
|
21
|
-
|
22
|
-
|
23
|
-
Hoe.plugin :mercurial
|
24
|
-
Hoe.plugin :signing
|
25
|
-
Hoe.plugin :deveiate
|
26
|
-
|
27
|
-
Hoe.plugins.delete :rubyforge
|
28
|
-
|
29
|
-
hoespec = Hoe.spec 'cztop-reactor' do |spec|
|
30
|
-
self.readme_file = 'README.md'
|
31
|
-
self.history_file = 'History.md'
|
32
|
-
self.extra_rdoc_files = FileList[ '*.rdoc', '*.md' ]
|
33
|
-
self.urls = {
|
34
|
-
home: 'https://hg.sr.ht/~ged/CZTop-Reactor',
|
35
|
-
code: 'https://hg.sr.ht/~ged/CZTop-Reactor/browse',
|
36
|
-
docs: 'http://deveiate.org/code/cztop-reactor',
|
37
|
-
github: 'http://github.com/ged/cztop-reactor',
|
38
|
-
}
|
39
|
-
|
40
|
-
spec.license 'ISC'
|
41
|
-
|
42
|
-
spec.developer 'Michael Granger', 'ged@FaerieMUD.org'
|
43
|
-
|
44
|
-
spec.dependency 'loggability', '~> 0.14'
|
45
|
-
spec.dependency 'cztop', '~> 0.13'
|
46
|
-
spec.dependency 'timers', '~> 4.1'
|
47
|
-
|
48
|
-
spec.dependency 'hoe-deveiate', '~> 0.9', :developer
|
49
|
-
spec.dependency 'simplecov', '~> 0.13', :developer
|
50
|
-
spec.dependency 'rdoc-generator-fivefish', '~> 0.3', :developer
|
51
|
-
|
52
|
-
spec.require_ruby_version( '>=2.4.0' )
|
53
|
-
spec.hg_sign_tags = true if spec.respond_to?( :hg_sign_tags= )
|
54
|
-
spec.check_history_on_release = true if spec.respond_to?( :check_history_on_release= )
|
55
|
-
|
56
|
-
self.rdoc_locations << "deveiate:/usr/local/www/public/code/#{remote_rdoc_dir}"
|
57
|
-
end
|
58
|
-
|
59
|
-
|
60
|
-
ENV['VERSION'] ||= hoespec.spec.version.to_s
|
61
|
-
|
62
|
-
# Run the tests before checking in
|
63
|
-
task 'hg:precheckin' => [ :check_history, :check_manifest, :gemspec, :spec ]
|
64
|
-
|
65
|
-
task :test => :spec
|
66
|
-
|
67
|
-
# Rebuild the ChangeLog immediately before release
|
68
|
-
file 'ChangeLog'
|
69
|
-
task :prerelease => 'ChangeLog'
|
70
|
-
CLOBBER.include( 'ChangeLog' )
|
71
|
-
|
72
|
-
desc "Build a coverage report"
|
73
|
-
task :coverage do
|
74
|
-
ENV["COVERAGE"] = 'yes'
|
75
|
-
Rake::Task[:spec].invoke
|
76
|
-
end
|
77
|
-
CLOBBER.include( 'coverage' )
|
78
|
-
|
79
|
-
|
80
|
-
# Use the fivefish formatter for docs generated from development checkout
|
81
|
-
if File.directory?( '.hg' )
|
82
|
-
require 'rdoc/task'
|
83
|
-
|
84
|
-
Rake::Task[ 'docs' ].clear
|
85
|
-
RDoc::Task.new( 'docs' ) do |rdoc|
|
86
|
-
rdoc.markup = 'markdown'
|
87
|
-
rdoc.main = "README.md"
|
88
|
-
rdoc.rdoc_files.include( "*.md", "ChangeLog", "lib/**/*.rb" )
|
89
|
-
|
90
|
-
rdoc.generator = :fivefish
|
91
|
-
rdoc.title = 'CZTop-Reactor'
|
92
|
-
rdoc.rdoc_dir = 'doc'
|
93
|
-
end
|
94
|
-
end
|
95
|
-
|
96
|
-
file 'Manifest.txt'
|
97
|
-
|
98
|
-
task :gemspec => GEMSPEC
|
99
|
-
file GEMSPEC => [ 'Manifest.txt', 'ChangeLog', __FILE__ ]
|
100
|
-
task GEMSPEC do |task|
|
101
|
-
spec = $hoespec.spec
|
102
|
-
spec.files.delete( '.gemtest' )
|
103
|
-
spec.signing_key = nil
|
104
|
-
spec.cert_chain = ['certs/ged.pem']
|
105
|
-
spec.version = "#{spec.version.bump}.0.pre#{Time.now.strftime("%Y%m%d%H%M%S")}"
|
106
|
-
File.open( task.name, 'w' ) do |fh|
|
107
|
-
fh.write( spec.to_ruby )
|
108
|
-
end
|
109
|
-
end
|
110
|
-
CLOBBER.include( GEMSPEC.to_s )
|
111
|
-
|
112
|
-
task :default => :gemspec
|
113
|
-
|
data/lib/cztop/reactor.rb
CHANGED
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,40 +1,41 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cztop-reactor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Granger
|
8
8
|
- Mahlon E. Smith
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain:
|
12
12
|
- |
|
13
13
|
-----BEGIN CERTIFICATE-----
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31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hkiG9w0BAQsFAAOCAYEAHbiAZTe46/kp1Tkm4s6D30VBaYaAdaYG
|
29
|
+
bZIaAaHtJO9MbUNS0FA01fxQpptjpOQT3cNNf8CX8UHPTaSuPFMfgVWj1xiX7Byb
|
30
|
+
hqhUcUTENOuUxxWGDCa4orCFctc3yihojTKGtbhODHVSHf9DRDyalRcvmyWzxMFT
|
31
|
+
XtBS05OUXc9O1bKqzNaRc9nMGw6Y+V79hIex4mZlMBkhTeVKxeeweCXfELXOQRmB
|
32
|
+
FgPgUyQn0AaSpplx0YoWdy/99fEkXSMvgeEoiR1ApR6aUuTlvIr1yUgzVBpWU4mE
|
33
|
+
XC+Ig+3jhqufGyE/Do+1M7n5QLpgGfpy3QmoOiKeYt3XzR5Z7XoxCAaKHNRxVEga
|
34
|
+
ojmVnDNlLQkkZZkbFNGPHjCIBs7h+6eoIYvy/eQ82c4vd6w9rR4v9bKUL8NNkcSz
|
35
|
+
49pOzX5KHZLTS9DKeaP/xcGPz6C8MiwQdYrZarr2SHRASX1zFa79rkItO8kE6RDr
|
36
|
+
b6WDF79UvZ55ajtE00TiwqjQL/ZPEtbd
|
36
37
|
-----END CERTIFICATE-----
|
37
|
-
date:
|
38
|
+
date: 2023-03-13 00:00:00.000000000 Z
|
38
39
|
dependencies:
|
39
40
|
- !ruby/object:Gem::Dependency
|
40
41
|
name: cztop
|
@@ -64,20 +65,6 @@ dependencies:
|
|
64
65
|
- - "~>"
|
65
66
|
- !ruby/object:Gem::Version
|
66
67
|
version: '0.18'
|
67
|
-
- !ruby/object:Gem::Dependency
|
68
|
-
name: rdoc-generator-fivefish
|
69
|
-
requirement: !ruby/object:Gem::Requirement
|
70
|
-
requirements:
|
71
|
-
- - "~>"
|
72
|
-
- !ruby/object:Gem::Version
|
73
|
-
version: '0.4'
|
74
|
-
type: :runtime
|
75
|
-
prerelease: false
|
76
|
-
version_requirements: !ruby/object:Gem::Requirement
|
77
|
-
requirements:
|
78
|
-
- - "~>"
|
79
|
-
- !ruby/object:Gem::Version
|
80
|
-
version: '0.4'
|
81
68
|
- !ruby/object:Gem::Dependency
|
82
69
|
name: timers
|
83
70
|
requirement: !ruby/object:Gem::Requirement
|
@@ -98,28 +85,28 @@ dependencies:
|
|
98
85
|
requirements:
|
99
86
|
- - "~>"
|
100
87
|
- !ruby/object:Gem::Version
|
101
|
-
version: '0.
|
88
|
+
version: '0.22'
|
102
89
|
type: :development
|
103
90
|
prerelease: false
|
104
91
|
version_requirements: !ruby/object:Gem::Requirement
|
105
92
|
requirements:
|
106
93
|
- - "~>"
|
107
94
|
- !ruby/object:Gem::Version
|
108
|
-
version: '0.
|
95
|
+
version: '0.22'
|
109
96
|
- !ruby/object:Gem::Dependency
|
110
|
-
name: rdoc-generator-
|
97
|
+
name: rdoc-generator-sixfish
|
111
98
|
requirement: !ruby/object:Gem::Requirement
|
112
99
|
requirements:
|
113
100
|
- - "~>"
|
114
101
|
- !ruby/object:Gem::Version
|
115
|
-
version: '0.
|
102
|
+
version: '0.3'
|
116
103
|
type: :development
|
117
104
|
prerelease: false
|
118
105
|
version_requirements: !ruby/object:Gem::Requirement
|
119
106
|
requirements:
|
120
107
|
- - "~>"
|
121
108
|
- !ruby/object:Gem::Version
|
122
|
-
version: '0.
|
109
|
+
version: '0.3'
|
123
110
|
description: This is an implementation of the Reactor pattern described in Pattern-Oriented
|
124
111
|
Software Architecture (Volume 2). It allows an asynchronous application to be described
|
125
112
|
as one or more “reactions” to events, in this case either I/O conditions on a ZMQ
|
@@ -157,7 +144,7 @@ metadata:
|
|
157
144
|
changelog_uri: http://deveiate.org/code/cztop-reactor/History_md.html
|
158
145
|
source_uri: https://hg.sr.ht/~ged/CZTop-Reactor/browse
|
159
146
|
bug_tracker_uri: https://todo.sr.ht/~ged/CZTop-Reactor/browse
|
160
|
-
post_install_message:
|
147
|
+
post_install_message:
|
161
148
|
rdoc_options: []
|
162
149
|
require_paths:
|
163
150
|
- lib
|
@@ -172,8 +159,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
172
159
|
- !ruby/object:Gem::Version
|
173
160
|
version: '0'
|
174
161
|
requirements: []
|
175
|
-
rubygems_version: 3.
|
176
|
-
signing_key:
|
162
|
+
rubygems_version: 3.3.26
|
163
|
+
signing_key:
|
177
164
|
specification_version: 4
|
178
165
|
summary: This is an implementation of the Reactor pattern described in Pattern-Oriented
|
179
166
|
Software Architecture (Volume 2).
|
metadata.gz.sig
CHANGED
Binary file
|