aw 0.1.9 → 0.1.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9f2a0204ca8020f5fcfeaf9ad55c8b1c2807fbbfc803c753ad9e61267ace9e98
4
- data.tar.gz: 14447f9ac2d4b9199beabcec87d35991bd20a56c9891f02021cefb987cd90372
3
+ metadata.gz: d28a102cc87edf2a8c7e2d754bac243806ff4009835cb307eeefc79a25ef985f
4
+ data.tar.gz: af9e83447b82f15fdc02758b5e1456f86849753a22cda32d45ac821c067eb474
5
5
  SHA512:
6
- metadata.gz: 4745a72d21acb80ef8116c17e4e83f1efd0069866c6455bf7f733fdcf8e1789f3415503f0fc31f12da02c6bd89bc4fdd8c14edeaf1a8d87f630fc71c7f4a39f0
7
- data.tar.gz: abf35d0d0d4ff92fc67a0e82233e6f4c335764008cf5151700dbf37f36f691adef6b7a3cbb7788e5dc6db3dfb3c3aed1e1966c7a9578ca4f2a3e3a5c85729107
6
+ metadata.gz: 371194f281ed1b336ee03a472b83399f05aa72fb4976290dbbb418af2f8c004ad320bacd072f7e063ceb614feda3c274508c6e0e6f85a6dfbd3804a9f52b3164
7
+ data.tar.gz: cf14d9ac8548b9bb2844688243a0bc42dfaf98b3cf259bde77aa2f0501d634361194b5aae849a83b2c3832fc0ee7a0c2e270e7d024d8f27237f5e90c895fc327
@@ -11,7 +11,7 @@ module Aw
11
11
  # @param write [IO] The write endpoint.
12
12
  def initialize(read, write)
13
13
  # Currently, not available on all platforms.
14
- raise 'fork() unimplemented' unless ::Process.respond_to?(:fork)
14
+ raise NotImplementedError, 'fork()' unless ::Process.respond_to?(:fork)
15
15
 
16
16
  @read = read
17
17
  @write = write
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aw
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cyril Kato
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-03 00:00:00.000000000 Z
11
+ date: 2019-11-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -81,35 +81,15 @@ dependencies:
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0.9'
83
83
  description: Creates a subprocess to execute a block inside.
84
- email:
85
- - contact@cyril.email
84
+ email: contact@cyril.email
86
85
  executables: []
87
86
  extensions: []
88
87
  extra_rdoc_files: []
89
88
  files:
90
- - ".gitignore"
91
- - ".travis.yml"
92
- - ".yardopts"
93
- - CODE_OF_CONDUCT.md
94
- - Gemfile
95
89
  - LICENSE.md
96
90
  - README.md
97
- - Rakefile
98
- - VERSION.semver
99
- - aw.gemspec
100
- - bin/console
101
- - bin/setup
102
- - checksum/aw-0.1.0.gem.sha512
103
- - checksum/aw-0.1.1.gem.sha512
104
- - checksum/aw-0.1.2.gem.sha512
105
- - checksum/aw-0.1.3.gem.sha512
106
- - checksum/aw-0.1.4.gem.sha512
107
- - checksum/aw-0.1.5.gem.sha512
108
- - checksum/aw-0.1.6.gem.sha512
109
- - checksum/aw-0.1.8.gem.sha512
110
91
  - lib/aw.rb
111
92
  - lib/aw/fork.rb
112
- - pkg_checksum
113
93
  homepage: https://github.com/fixrb/aw
114
94
  licenses:
115
95
  - MIT
data/.gitignore DELETED
@@ -1,12 +0,0 @@
1
- /.bundle/
2
- /.irb_history
3
- /.ruby-version
4
- /.yardoc
5
- /Gemfile.lock
6
- /_yardoc/
7
- /coverage/
8
- /doc/
9
- /pkg/
10
- /spec/reports/
11
- /tmp/
12
- .DS_Store
@@ -1,27 +0,0 @@
1
- language: ruby
2
- sudo: false
3
- cache: bundler
4
- before_install:
5
- - gem install bundler
6
- script:
7
- - bundle exec rake test
8
- rvm:
9
- - 2.3.8
10
- - 2.4.5
11
- - 2.5.3
12
- - 2.6.3
13
- - ruby-head
14
- - jruby-head
15
- - rbx-3
16
- matrix:
17
- allow_failures:
18
- - rvm: ruby-head
19
- - rvm: jruby-head
20
- - rvm: rbx-3
21
- notifications:
22
- webhooks:
23
- urls:
24
- - https://webhooks.gitter.im/e/a44b19cc5cf6db25fa87
25
- on_success: change
26
- on_failure: always
27
- on_start: never
data/.yardopts DELETED
@@ -1 +0,0 @@
1
- - README.md
@@ -1,13 +0,0 @@
1
- # Contributor Code of Conduct
2
-
3
- As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
4
-
5
- We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, age, or religion.
6
-
7
- Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
8
-
9
- Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
10
-
11
- Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
12
-
13
- This Code of Conduct is adapted from the [Contributor Covenant](http:contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
data/Gemfile DELETED
@@ -1,5 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- source 'https://rubygems.org'
4
-
5
- gemspec
data/Rakefile DELETED
@@ -1,22 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'bundler/gem_tasks'
4
- require 'rake/testtask'
5
- require 'rubocop/rake_task'
6
-
7
- RuboCop::RakeTask.new
8
-
9
- Rake::TestTask.new do |t|
10
- t.verbose = true
11
- t.warning = true
12
- end
13
-
14
- namespace :test do
15
- task :coverage do
16
- ENV['COVERAGE'] = 'true'
17
- Rake::Task['test'].invoke
18
- end
19
- end
20
-
21
- task(:doc_stats) { ruby '-S yard stats' }
22
- task default: %i[test doc_stats rubocop]
@@ -1 +0,0 @@
1
- 0.1.9
data/aw.gemspec DELETED
@@ -1,24 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- Gem::Specification.new do |spec|
4
- spec.name = 'aw'
5
- spec.version = File.read('VERSION.semver').chomp
6
- spec.authors = ['Cyril Kato']
7
- spec.email = ['contact@cyril.email']
8
-
9
- spec.summary = 'Aw, fork!'
10
- spec.description = 'Creates a subprocess to execute a block inside.'
11
- spec.homepage = 'https://github.com/fixrb/aw'
12
- spec.license = 'MIT'
13
-
14
- spec.files =
15
- `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^test/}) }
16
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
17
- spec.require_paths = ['lib']
18
-
19
- spec.add_development_dependency 'bundler', '~> 2.0'
20
- spec.add_development_dependency 'rake', '~> 13.0'
21
- spec.add_development_dependency 'rubocop', '~> 0.76'
22
- spec.add_development_dependency 'simplecov', '~> 0.17'
23
- spec.add_development_dependency 'yard', '~> 0.9'
24
- end
@@ -1,8 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
-
4
- require 'bundler/setup'
5
- require 'aw'
6
- require 'irb'
7
-
8
- IRB.start
data/bin/setup DELETED
@@ -1,6 +0,0 @@
1
- #!/bin/bash
2
-
3
- set -euo pipefail
4
- IFS=$'\n\t'
5
-
6
- bundle install
@@ -1 +0,0 @@
1
- d346779ca7a2cba2429db9e6342f8caebd12ccc3a647d75ad6eac28836bb683330ecdc0b74b81d95d55f8d2954ad5d5bd5f933b022c89b0b7e0f92cf2565d525
@@ -1 +0,0 @@
1
- 8e091e9aa3602e755d40656672571a61607e02a5fa8cdf97b10495539b6fbef17f855e515d1bfa21a9713a6e80eec9b1d05f2808ba11273bc49914ebab03fd0e
@@ -1 +0,0 @@
1
- 7a43c3de3e6980c036ff0079ea9337e7d8f90776a25449b8d316f6ee197deca53197068cf84e5d0acad3b06e338e46c11708616fb8d1cd1bea8dba06dbfb006e
@@ -1 +0,0 @@
1
- 294ce3632dde78870391b104bfbf52e60c95f95d897bb35a1085aa0d6ca5d335db360fdb231c7901a5f3a4e552888929a7f4b8472cf5f0d9c2f0e86f0a50389c
@@ -1 +0,0 @@
1
- 45e77c7139991cb235955cd2815afbab237a73208cf066446e09f182af401d6b9c3770034c05bdf9caded95351c0508f869b0ff2496681c914f9f80d167d838f
@@ -1 +0,0 @@
1
- ab4cd0b855ea49e690d67b742793dee8d31682cd0aa570bc0a15651217d87b32e7dc5a41cab7dddf56d492afe5f7ea85e5cd1982361b77686ece29abdd770df0
@@ -1 +0,0 @@
1
- e419a0c5012219dc85b0b7c88ae7ac2c23a3b4b5fe25ca69b14299942a75cb0e3f593c4acb68ba3634c79f2ad7fc88bd6d151874ffcc8dad01c24c5d5bf5f12d
@@ -1 +0,0 @@
1
- 90f7d2deceebc7a0f82156bc733b6997ba3714bba3fca2cb9a10935bf7937b5747b63b2f044a6cef3de5f7bb47250918cab0e294d2eea3073248cf76dd01aec7
@@ -1,12 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
-
4
- require 'digest/sha2'
5
-
6
- gemname = :aw
7
- ARGV[0] = File.read('VERSION.semver').chomp if ARGV[0].nil?
8
- built_gem_path = "pkg/#{gemname}-#{ARGV[0]}.gem"
9
- checksum = Digest::SHA512.new.hexdigest(File.read(built_gem_path))
10
- checksum_path = "checksum/#{gemname}-#{ARGV[0]}.gem.sha512"
11
-
12
- File.open(checksum_path, 'w') { |f| f.write("#{checksum}\n") }