aw 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.travis.yml +1 -0
- data/Gemfile +2 -0
- data/Rakefile +3 -1
- data/VERSION.semver +1 -1
- data/aw.gemspec +6 -4
- data/bin/console +1 -0
- data/bin/setup +1 -0
- data/checksum/aw-0.1.1.gem.sha512 +1 -0
- data/lib/aw.rb +2 -0
- data/lib/aw/fork.rb +5 -0
- data/pkg_checksum +1 -0
- metadata +16 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 6a5da242c77b5cb6b0bbdc47f38a0429f3ad2c02f4f4761fc3badad0c009873a
|
4
|
+
data.tar.gz: 5c9d69b97769d728f278d1d0777b466939dfab6b4b0478c3ccd99b3c5a2eac9a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0fc9176167d33d3b812f9deb2f2390f8de442e085c0e62aeb6054c0ca84c1672c8f02e6276fcf71fdc60deb780bbe615d30bebbd9d00acabe70e36fedff212a5
|
7
|
+
data.tar.gz: 81732ef5134f9112e8a26e51de82885c838d9cc66c160c8b7578fe024873c998e62e9992840c94908198ffb96c4d269d8b69d52eb8f3736e76501bdcd34d51ae
|
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
data/Rakefile
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
require 'bundler/gem_tasks'
|
2
4
|
require 'rake/testtask'
|
3
5
|
require 'rubocop/rake_task'
|
@@ -17,4 +19,4 @@ namespace :test do
|
|
17
19
|
end
|
18
20
|
|
19
21
|
task(:doc_stats) { ruby '-S yard stats' }
|
20
|
-
task default: %i[test doc_stats]
|
22
|
+
task default: %i[test doc_stats rubocop]
|
data/VERSION.semver
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.2
|
data/aw.gemspec
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
Gem::Specification.new do |spec|
|
2
4
|
spec.name = 'aw'
|
3
5
|
spec.version = File.read('VERSION.semver').chomp
|
@@ -14,11 +16,11 @@ Gem::Specification.new do |spec|
|
|
14
16
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
15
17
|
spec.require_paths = ['lib']
|
16
18
|
|
17
|
-
spec.add_development_dependency 'bundler', '~> 1.
|
18
|
-
spec.add_development_dependency 'rake', '~> 12.
|
19
|
+
spec.add_development_dependency 'bundler', '~> 1.16'
|
20
|
+
spec.add_development_dependency 'rake', '~> 12.3'
|
21
|
+
spec.add_development_dependency 'rubocop', '~> 0.58'
|
22
|
+
spec.add_development_dependency 'simplecov', '~> 0.16'
|
19
23
|
spec.add_development_dependency 'yard', '~> 0.9'
|
20
|
-
spec.add_development_dependency 'simplecov', '~> 0.14'
|
21
|
-
spec.add_development_dependency 'rubocop', '~> 0.48'
|
22
24
|
|
23
25
|
spec.cert_chain = ['certs/gem-fixrb-public_cert.pem']
|
24
26
|
private_key = File.expand_path('~/.ssh/gem-fixrb-private_key.pem')
|
data/bin/console
CHANGED
data/bin/setup
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
8e091e9aa3602e755d40656672571a61607e02a5fa8cdf97b10495539b6fbef17f855e515d1bfa21a9713a6e80eec9b1d05f2808ba11273bc49914ebab03fd0e
|
data/lib/aw.rb
CHANGED
data/lib/aw/fork.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
module Aw
|
2
4
|
# The Fork class.
|
3
5
|
class Fork
|
@@ -34,7 +36,10 @@ module Aw
|
|
34
36
|
write.close
|
35
37
|
result = read.read
|
36
38
|
Process.wait(pid)
|
39
|
+
|
40
|
+
# rubocop:disable MarshalLoad
|
37
41
|
Marshal.load(result)
|
42
|
+
# rubocop:enable MarshalLoad
|
38
43
|
end
|
39
44
|
end
|
40
45
|
end
|
data/pkg_checksum
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aw
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cyril Kato
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain:
|
11
11
|
- certs/gem-fixrb-public_cert.pem
|
12
|
-
date:
|
12
|
+
date: 2018-08-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -17,70 +17,70 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: '1.
|
20
|
+
version: '1.16'
|
21
21
|
type: :development
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - "~>"
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: '1.
|
27
|
+
version: '1.16'
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: rake
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
32
|
- - "~>"
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: '12.
|
34
|
+
version: '12.3'
|
35
35
|
type: :development
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
39
|
- - "~>"
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: '12.
|
41
|
+
version: '12.3'
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
|
-
name:
|
43
|
+
name: rubocop
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
46
|
- - "~>"
|
47
47
|
- !ruby/object:Gem::Version
|
48
|
-
version: '0.
|
48
|
+
version: '0.58'
|
49
49
|
type: :development
|
50
50
|
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
53
|
- - "~>"
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version: '0.
|
55
|
+
version: '0.58'
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
57
|
name: simplecov
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
59
59
|
requirements:
|
60
60
|
- - "~>"
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version: '0.
|
62
|
+
version: '0.16'
|
63
63
|
type: :development
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
67
|
- - "~>"
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: '0.
|
69
|
+
version: '0.16'
|
70
70
|
- !ruby/object:Gem::Dependency
|
71
|
-
name:
|
71
|
+
name: yard
|
72
72
|
requirement: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
74
|
- - "~>"
|
75
75
|
- !ruby/object:Gem::Version
|
76
|
-
version: '0.
|
76
|
+
version: '0.9'
|
77
77
|
type: :development
|
78
78
|
prerelease: false
|
79
79
|
version_requirements: !ruby/object:Gem::Requirement
|
80
80
|
requirements:
|
81
81
|
- - "~>"
|
82
82
|
- !ruby/object:Gem::Version
|
83
|
-
version: '0.
|
83
|
+
version: '0.9'
|
84
84
|
description: Creates a subprocess to execute a block inside.
|
85
85
|
email:
|
86
86
|
- contact@cyril.email
|
@@ -102,6 +102,7 @@ files:
|
|
102
102
|
- bin/setup
|
103
103
|
- certs/gem-fixrb-public_cert.pem
|
104
104
|
- checksum/aw-0.1.0.gem.sha512
|
105
|
+
- checksum/aw-0.1.1.gem.sha512
|
105
106
|
- lib/aw.rb
|
106
107
|
- lib/aw/fork.rb
|
107
108
|
- pkg_checksum
|
@@ -125,7 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
125
126
|
version: '0'
|
126
127
|
requirements: []
|
127
128
|
rubyforge_project:
|
128
|
-
rubygems_version: 2.6
|
129
|
+
rubygems_version: 2.7.6
|
129
130
|
signing_key:
|
130
131
|
specification_version: 4
|
131
132
|
summary: Aw, fork!
|