restartable 1.0.0 → 1.0.1

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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- OTU0NzIyODRhMDJlMDgzYmViODZmYTA3OGJkMDY4Y2I3YTA4YTgwZQ==
4
+ YzVlYTM0OTk0MDIzZjFmODU5NjVmOWNkOTk2ZjBhNzA3ZDMzZjY0Zg==
5
5
  data.tar.gz: !binary |-
6
- MWQyMDc2MTM2NWE1OTIwNDE4YjJmZTU3ZGNkYTljOGNmMjYwNWY2NQ==
6
+ NzcxMzhiM2E5YzY3ZWE0ZDMzOGRlZTVhMmI0MzIzODIwOTUzOGQxMw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- OGM0NTE3NWRkY2ViNWNmMzU1MjJmNTg2ZGFlOWE0YTBmMzQ1MDAwZTVkYjlj
10
- ZDFjMjQxMDdjNTk4ZDllMDM5N2M2MGY1MDkyMGFjNTEyZTdjMzMzMDIyMDQ1
11
- NGE5NDlkZDg2ZDFkZTdlNzgzNmZhYWVhZmUwYTg5OGNlZTIxZjI=
9
+ N2UwMTYxOGE1OTQ2Nzk5ZTMyMjRjNjAxOThiOWYxM2U5OTlkNGMzMzUzMDIw
10
+ ZGI3OTRlMzNhZjBmNmQzN2VjZDgzMmYxMTA2NDlmNzZlNjBmNDMxY2Q0MzM1
11
+ MzkzMzM1MDAwNTE3NTE1YWY3ZjdlZDc3ZmI1MmNlOGVmY2ZiMjE=
12
12
  data.tar.gz: !binary |-
13
- NjhjNGM3MjlhNDk0ZWJkMDBiZjJiMWNjNWYyY2I5N2NjYjY4YmZlOTBmNDdm
14
- NjdhZTEwY2U1YWVjNTk2ZWQyMjg0ZGRjZDY1YzQzMWQyNGRlY2Q0YTc5ZjI2
15
- ZWQyNjMyYTk0MTVhZmJjNDQ0YWJmN2Y4MDdhMmQ3M2Y5YzI1MDM=
13
+ MzZiZDZkNDVhYjgyMTdkZDg2Mjg4MzY0Yjg1ODVkMjEyYzUxMTU5YmE5MjU0
14
+ MjFmN2FmNGM0Mzk3MzdiOTg2ZWIyNjEyMjA3OTI4NjJmNjFkYWE2ZDA3YjU3
15
+ OTk3MzI5M2Y1OWZhOGI5ZTAyYzk4N2Q0OWUwMDFkOTY5MGVjMDM=
data/lib/restartable.rb CHANGED
@@ -3,6 +3,7 @@
3
3
  require 'sys/proctable'
4
4
  require 'colored'
5
5
  require 'thread'
6
+ require 'timeout'
6
7
  require 'English'
7
8
 
8
9
  # Main interface
data/restartable.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'restartable'
5
- s.version = '1.0.0'
5
+ s.version = '1.0.1'
6
6
  s.summary = %q{Run code, Ctrl-C to restart, once more Ctrl-C to stop}
7
7
  s.homepage = "http://github.com/toy/#{s.name}"
8
8
  s.authors = ['Ivan Kuchin']
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: restartable
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ivan Kuchin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-12 00:00:00.000000000 Z
11
+ date: 2014-12-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colored