ztk 2.4.2 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/.travis.yml +2 -2
- data/README.md +2 -2
- data/lib/ztk/parallel.rb +4 -1
- data/lib/ztk/version.rb +1 -1
- data/spec/spec_helper.rb +7 -5
- data/ztk.gemspec +3 -3
- metadata +11 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d54b83ba2146dae232e1f84606e8fa8c336120fe
|
4
|
+
data.tar.gz: c6c6ea40338bd84dee50f857ae7e4b7db140ec01
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f40db0791e451aac717c8d78cd92984a5e9d2d5130de553ae36361620a1320142a8879dd555cdccaf877dd158f8cf2645496f9abf67398ead2e9174eb3064eba
|
7
|
+
data.tar.gz: 00124ac81235d29a84c26bb0c7c4c324e51da4d2a5bb5367601a69103a135a1e1b65f57d3a40811600107eaf643b585842a30b581723e0f1b2361ce3034b6c84
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
ruby-2.
|
1
|
+
ruby-2.3.0
|
data/.travis.yml
CHANGED
data/README.md
CHANGED
data/lib/ztk/parallel.rb
CHANGED
@@ -145,7 +145,10 @@ module ZTK
|
|
145
145
|
@results = Array.new
|
146
146
|
GC.respond_to?(:copy_on_write_friendly=) and GC.copy_on_write_friendly = true
|
147
147
|
|
148
|
-
%w(
|
148
|
+
trapped_signals = %w( term int hup )
|
149
|
+
trapped_signals << "kill" if RUBY_VERSION < "2.2.0"
|
150
|
+
|
151
|
+
trapped_signals.map(&:upcase).each do |signal|
|
149
152
|
Signal.trap(signal) do
|
150
153
|
$stderr.puts("SIG#{signal} received by PID##{Process.pid}; signaling child processes...")
|
151
154
|
|
data/lib/ztk/version.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
@@ -23,11 +23,13 @@ require 'simplecov-rcov'
|
|
23
23
|
require 'coveralls'
|
24
24
|
Coveralls.wear!
|
25
25
|
################################################################################
|
26
|
-
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
26
|
+
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new(
|
27
|
+
[
|
28
|
+
SimpleCov::Formatter::HTMLFormatter,
|
29
|
+
SimpleCov::Formatter::RcovFormatter,
|
30
|
+
Coveralls::SimpleCov::Formatter
|
31
|
+
]
|
32
|
+
)
|
31
33
|
SimpleCov.start
|
32
34
|
################################################################################
|
33
35
|
require 'yarjuf'
|
data/ztk.gemspec
CHANGED
@@ -26,8 +26,8 @@ Gem::Specification.new do |spec|
|
|
26
26
|
spec.version = ZTK::VERSION
|
27
27
|
spec.authors = %(Zachary Patten)
|
28
28
|
spec.email = [ %(zachary AT jovelabs DOT com) ]
|
29
|
-
spec.description = %(Zachary's Tool Kit contains a collection of reusable classes meant to simplify development of complex systems in Ruby
|
30
|
-
spec.summary = %(Zachary's Tool Kit contains a collection of reusable classes meant to simplify development of complex systems in Ruby
|
29
|
+
spec.description = %(Zachary's Tool Kit contains a collection of reusable classes meant to simplify development of complex systems in Ruby. These classes provide functionality I often find myself needing from project to project. Instead of reinventing the wheel each time, I've started building a collection of reusable classes. Easy-bake DSLs, parallel processing, complex logging, templating and many other useful design patterns, for example are all contained in simple, reusable classes with a common interface and configuration style.)
|
30
|
+
spec.summary = %(Zachary's Tool Kit contains a collection of reusable classes meant to simplify development of complex systems in Ruby.)
|
31
31
|
spec.homepage = "https://github.com/zpatten/ztk"
|
32
32
|
spec.license = "Apache 2.0"
|
33
33
|
|
@@ -36,7 +36,7 @@ Gem::Specification.new do |spec|
|
|
36
36
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
37
37
|
spec.require_paths = ["lib"]
|
38
38
|
|
39
|
-
spec.required_ruby_version = '>=
|
39
|
+
spec.required_ruby_version = '>= 2.0.0'
|
40
40
|
|
41
41
|
spec.add_dependency("activesupport")
|
42
42
|
spec.add_dependency("erubis")
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ztk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Zachary Patten
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-01-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -249,12 +249,12 @@ dependencies:
|
|
249
249
|
- !ruby/object:Gem::Version
|
250
250
|
version: '0'
|
251
251
|
description: Zachary's Tool Kit contains a collection of reusable classes meant to
|
252
|
-
simplify development of complex systems in Ruby
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
252
|
+
simplify development of complex systems in Ruby. These classes provide functionality
|
253
|
+
I often find myself needing from project to project. Instead of reinventing the
|
254
|
+
wheel each time, I've started building a collection of reusable classes. Easy-bake
|
255
|
+
DSLs, parallel processing, complex logging, templating and many other useful design
|
256
|
+
patterns, for example are all contained in simple, reusable classes with a common
|
257
|
+
interface and configuration style.
|
258
258
|
email:
|
259
259
|
- zachary AT jovelabs DOT com
|
260
260
|
executables:
|
@@ -376,7 +376,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
376
376
|
requirements:
|
377
377
|
- - ">="
|
378
378
|
- !ruby/object:Gem::Version
|
379
|
-
version:
|
379
|
+
version: 2.0.0
|
380
380
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
381
381
|
requirements:
|
382
382
|
- - ">="
|
@@ -384,11 +384,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
384
384
|
version: '0'
|
385
385
|
requirements: []
|
386
386
|
rubyforge_project:
|
387
|
-
rubygems_version: 2.
|
387
|
+
rubygems_version: 2.5.1
|
388
388
|
signing_key:
|
389
389
|
specification_version: 4
|
390
390
|
summary: Zachary's Tool Kit contains a collection of reusable classes meant to simplify
|
391
|
-
development of complex systems in Ruby
|
391
|
+
development of complex systems in Ruby.
|
392
392
|
test_files:
|
393
393
|
- spec/spec_helper.rb
|
394
394
|
- spec/support/before_install.sh
|