ztk 2.4.2 → 3.0.0

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
  SHA1:
3
- metadata.gz: 9d91a083153824cb3f9f5e34d22a3a4beb1d8b9f
4
- data.tar.gz: 66926ea0eeaae96e3466b06f5d61d29950ededff
3
+ metadata.gz: d54b83ba2146dae232e1f84606e8fa8c336120fe
4
+ data.tar.gz: c6c6ea40338bd84dee50f857ae7e4b7db140ec01
5
5
  SHA512:
6
- metadata.gz: fe07d141504c95b9c8395b6635099889f0324917251015726b2d414e4f4671c4b568a3771b2d6f8c2ea82436f73e575d37b05007d832ef4165b69e16b2cf5e56
7
- data.tar.gz: 45da89ced1947d4473cb79915f58e23693cb053916cd13272bbd30dc1dd90c5ae30b5d8838f5a4bfb10d5e9067710a6939eaabf86d06a870e8dd959116df6ddb
6
+ metadata.gz: f40db0791e451aac717c8d78cd92984a5e9d2d5130de553ae36361620a1320142a8879dd555cdccaf877dd158f8cf2645496f9abf67398ead2e9174eb3064eba
7
+ data.tar.gz: 00124ac81235d29a84c26bb0c7c4c324e51da4d2a5bb5367601a69103a135a1e1b65f57d3a40811600107eaf643b585842a30b581723e0f1b2361ce3034b6c84
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- ruby-2.1.0
1
+ ruby-2.3.0
data/.travis.yml CHANGED
@@ -1,8 +1,8 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 1.9.3
4
3
  - 2.0.0
5
- - 2.1.0
4
+ - 2.2.4
5
+ - 2.3.0
6
6
  branches:
7
7
  only:
8
8
  - master
data/README.md CHANGED
@@ -78,9 +78,9 @@ Zachary's Tool Kit contains a collection of reusable classes meant to simplify d
78
78
 
79
79
  # RUBIES TESTED AGAINST
80
80
 
81
- * Ruby 1.9.3
82
81
  * Ruby 2.0.0
83
- * Ruby 2.1.0
82
+ * Ruby 2.2.4
83
+ * Ruby 2.3.0
84
84
 
85
85
  # RESOURCES
86
86
 
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( kill term int hup ).map(&:upcase).each do |signal|
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
@@ -1,6 +1,6 @@
1
1
  module ZTK
2
2
 
3
3
  # ZTK Version String
4
- VERSION = "2.4.2"
4
+ VERSION = "3.0.0"
5
5
 
6
6
  end
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
- SimpleCov::Formatter::HTMLFormatter,
28
- SimpleCov::Formatter::RcovFormatter,
29
- Coveralls::SimpleCov::Formatter
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, especially devops tooling. 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, especially devops tooling.)
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 = '>= 1.9.3'
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: 2.4.2
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: 2014-10-21 00:00:00.000000000 Z
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, especially devops tooling. These
253
- classes provide functionality I often find myself needing from project to project. Instead
254
- of reinventing the wheel each time, I've started building a collection of reusable
255
- classes. Easy-bake DSLs, parallel processing, complex logging, templating and many
256
- other useful design patterns, for example are all contained in simple, reusable
257
- classes with a common interface and configuration style.
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: 1.9.3
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.2.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, especially devops tooling.
391
+ development of complex systems in Ruby.
392
392
  test_files:
393
393
  - spec/spec_helper.rb
394
394
  - spec/support/before_install.sh