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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 2400c845c0ef400184346e499a0e86538c9535cd
4
- data.tar.gz: 2d193851e559e88f04b88c0c700362272107cd40
2
+ SHA256:
3
+ metadata.gz: 6a5da242c77b5cb6b0bbdc47f38a0429f3ad2c02f4f4761fc3badad0c009873a
4
+ data.tar.gz: 5c9d69b97769d728f278d1d0777b466939dfab6b4b0478c3ccd99b3c5a2eac9a
5
5
  SHA512:
6
- metadata.gz: 66acc1e423db9973849e7265b737afbf096f5e5edaf69acf768df75e2fbd714c3464bf00893e27bdb5707d004146e8bcdaf8a7fb710e3c4750325163764c6310
7
- data.tar.gz: 3c76579640852fd15ab9eb67fa84db887b6a5779b4787b74add3342ea7ac7a56d85044503b52559d2f009eaeb41a2fb54731911b58617581d6b16f0699e1c189
6
+ metadata.gz: 0fc9176167d33d3b812f9deb2f2390f8de442e085c0e62aeb6054c0ca84c1672c8f02e6276fcf71fdc60deb780bbe615d30bebbd9d00acabe70e36fedff212a5
7
+ data.tar.gz: 81732ef5134f9112e8a26e51de82885c838d9cc66c160c8b7578fe024873c998e62e9992840c94908198ffb96c4d269d8b69d52eb8f3736e76501bdcd34d51ae
data/.travis.yml CHANGED
@@ -12,6 +12,7 @@ rvm:
12
12
  - 2.2
13
13
  - 2.3.3
14
14
  - 2.4.0
15
+ - 2.5.0
15
16
  - ruby-head
16
17
  - jruby-head
17
18
  - rbx-3
data/Gemfile CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  source 'https://rubygems.org'
2
4
 
3
5
  gemspec
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
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.14'
18
- spec.add_development_dependency 'rake', '~> 12.0'
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
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
2
3
 
3
4
  require 'bundler/setup'
4
5
  require 'aw'
data/bin/setup CHANGED
@@ -1,4 +1,5 @@
1
1
  #!/bin/bash
2
+
2
3
  set -euo pipefail
3
4
  IFS=$'\n\t'
4
5
 
@@ -0,0 +1 @@
1
+ 8e091e9aa3602e755d40656672571a61607e02a5fa8cdf97b10495539b6fbef17f855e515d1bfa21a9713a6e80eec9b1d05f2808ba11273bc49914ebab03fd0e
data/lib/aw.rb CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # Namespace for the Aw library.
2
4
  #
3
5
  # @api public
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
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
2
3
 
3
4
  require 'digest/sha2'
4
5
 
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.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: 2017-04-21 00:00:00.000000000 Z
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.14'
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.14'
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.0'
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.0'
41
+ version: '12.3'
42
42
  - !ruby/object:Gem::Dependency
43
- name: yard
43
+ name: rubocop
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
46
  - - "~>"
47
47
  - !ruby/object:Gem::Version
48
- version: '0.9'
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.9'
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.14'
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.14'
69
+ version: '0.16'
70
70
  - !ruby/object:Gem::Dependency
71
- name: rubocop
71
+ name: yard
72
72
  requirement: !ruby/object:Gem::Requirement
73
73
  requirements:
74
74
  - - "~>"
75
75
  - !ruby/object:Gem::Version
76
- version: '0.48'
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.48'
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.11
129
+ rubygems_version: 2.7.6
129
130
  signing_key:
130
131
  specification_version: 4
131
132
  summary: Aw, fork!