autoreporter 0.0.20160518 → 0.0.20181006

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: 207be316e530a707667874baa134245b7744d5b7
4
- data.tar.gz: d2f71fa803d8254203d3652027d134e498d7e04a
2
+ SHA256:
3
+ metadata.gz: 3fa7ba235319b1e90a154ac59570559be2ea26344561f4db2d9e4262522d41ac
4
+ data.tar.gz: d2e59e3b9701f1320998275f4cd9784127fe71f639379bca8798f4d92e7b198d
5
5
  SHA512:
6
- metadata.gz: f2dee96757c6671603b71710bcce5693fd7902987020df3d29bac8372b1c5422075883ebdfaa10f94afb5a8201f90c77736de3a2f81bc333a69abe57d10415dd
7
- data.tar.gz: 78df999bc85437d82ad91f6e9cd859c148d4cd608c234755444b6941c95c42adba9d9b4099ac39da0b037b91332885227104b65dbf27e75636b24d35474d74cc
6
+ metadata.gz: ce59addd8a7794056090112edb8d2856ab9c41e830ed88019478626000e30e72057c05a1763c0ec4590bcf6dfd9216c089b12360f12af82161612072ec8447cb
7
+ data.tar.gz: b942f21d341a02c74d2c47bcd2145dff1128d3b4f94bc2af3aec8a35c4f907a60e19d12e80b3e762733f58f24952287911d31a37a689f666a8e16b6b296014cb
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- require "trollop"
3
+ require "optimist"
4
4
  require_relative "../lib/autoreporter"
5
5
 
6
- opts = Trollop::options do
6
+ opts = Optimist::options do
7
7
  opt :delay, "delay between autorefleshes", type: :integer, default: 60
8
8
  opt :cmd, "Command to run", type: :string, multi: true
9
9
  opt :verbose, "verbose mode", default: false
@@ -20,4 +20,4 @@ ar = Autoreporter.new
20
20
  ar.commands = opts[:cmd]
21
21
  ar.delay = opts[:delay]
22
22
  ar.verbose = opts[:verbose]
23
- ar.run!
23
+ ar.call
@@ -36,7 +36,7 @@ class Autoreporter
36
36
  sleep @delay
37
37
  end
38
38
 
39
- def run!
39
+ def call
40
40
  while true
41
41
  run_commands!
42
42
  display_result!
metadata CHANGED
@@ -1,17 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autoreporter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.20160518
4
+ version: 0.0.20181006
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomasz Wegrzanowski
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-18 00:00:00.000000000 Z
11
+ date: 2018-10-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: trollop
14
+ name: optimist
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - ">="
@@ -81,9 +81,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  version: '0'
82
82
  requirements: []
83
83
  rubyforge_project:
84
- rubygems_version: 2.4.5
84
+ rubygems_version: 2.7.6
85
85
  signing_key:
86
86
  specification_version: 4
87
87
  summary: Command line report runner
88
88
  test_files: []
89
- has_rdoc: