samovar 1.7.0 → 1.8.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: 6014f824c6dfa4a7d93f58d12a580eed8d47e6a9
4
- data.tar.gz: 292f00004c02a16ad603b7ccbabf69ea79fe26bf
3
+ metadata.gz: 3cafa27a96a1dafef5c1ff0cca78482762cb0b5d
4
+ data.tar.gz: 8c0542e476d2d1c084853b2cbba653e180f9af70
5
5
  SHA512:
6
- metadata.gz: 92b356e5330830a7b82e0cc85fb574688167d3748ae5ede4ccaab970110a690821f1da4d49bc913e79f493c83baa2d721599dc3b1bb3c9f1cfc29c0a9e79beb9
7
- data.tar.gz: 267c1a904ac4ec70ec74465a00443ef9be80bf9ac0321035388bcf74e33a5fdbef1c3b330208300bd440f259cd10da8f5d7ce7d7073faa2caec41b96e74f2b65
6
+ metadata.gz: 295be26bc9e45c82619dffb562100ec689f5c6ecbaaad0fd2ba0484749be1847962783ccb68a9b4a3466c03f905ca133a2199f255657d512e9e59c7fde74eba3
7
+ data.tar.gz: 1259e9a4fb09a873b43e79896627fd7d34b84e5ad3c83d20bc3e038bdcd5a5d93ca953ade5374a58f28f6c56725c491decf8ca3d224a0d14ea0eb843970c1150
@@ -18,11 +18,13 @@
18
18
  # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19
19
  # THE SOFTWARE.
20
20
 
21
+ require_relative '../failure'
22
+
21
23
  require 'time'
22
24
  require 'shellwords'
23
25
 
24
26
  module Samovar
25
- class SystemError < RuntimeError
27
+ class SystemError < Failure
26
28
  end
27
29
 
28
30
  class Command
@@ -0,0 +1,24 @@
1
+ # Copyright, 2016, by Samuel G. D. Williams. <http://www.codeotaku.com>
2
+ #
3
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
4
+ # of this software and associated documentation files (the "Software"), to deal
5
+ # in the Software without restriction, including without limitation the rights
6
+ # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
+ # copies of the Software, and to permit persons to whom the Software is
8
+ # furnished to do so, subject to the following conditions:
9
+ #
10
+ # The above copyright notice and this permission notice shall be included in
11
+ # all copies or substantial portions of the Software.
12
+ #
13
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19
+ # THE SOFTWARE.
20
+
21
+ module Samovar
22
+ class Failure < RuntimeError
23
+ end
24
+ end
@@ -19,5 +19,5 @@
19
19
  # THE SOFTWARE.
20
20
 
21
21
  module Samovar
22
- VERSION = "1.7.0"
22
+ VERSION = "1.8.0"
23
23
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: samovar
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0
4
+ version: 1.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-09 00:00:00.000000000 Z
11
+ date: 2017-11-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mapping
@@ -97,6 +97,7 @@ files:
97
97
  - lib/samovar/command.rb
98
98
  - lib/samovar/command/system.rb
99
99
  - lib/samovar/command/track_time.rb
100
+ - lib/samovar/failure.rb
100
101
  - lib/samovar/flags.rb
101
102
  - lib/samovar/many.rb
102
103
  - lib/samovar/nested.rb