trecs 0.1.5 → 0.1.6
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 809876261c49aa7e3438e2aa09c14b3050fa366b
|
4
|
+
data.tar.gz: a78011eebe829a75057a1c51e25c1a4a5793662e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8cfdc387dd0f709649d26d4090a65d4524337a7a3819bd2132afdd67101c7f922313952b5bcc328bcb9607b540a6ec45fb40b3a7b35947bc88ac71cdf45f892e
|
7
|
+
data.tar.gz: 36394bfa8603542a1551bc18f5ec948aa4249eb27c144050741e2bae50a1ca11baab208a573342ebf17e9cbcbcc33cd58095ffd9ed8e697a427e527ac751c824
|
data/Gemfile.lock
CHANGED
@@ -7,14 +7,12 @@ module TRecs
|
|
7
7
|
include ShellCommandStrategy
|
8
8
|
attr_reader :message
|
9
9
|
attr_reader :width
|
10
|
-
attr_reader :command
|
11
10
|
|
12
11
|
def initialize(options={})
|
13
12
|
@message = options.fetch(:message)
|
14
13
|
@width = options.fetch(:width) { 10 }
|
15
14
|
|
16
15
|
@width = @message.size if @width < @message.size
|
17
|
-
|
18
16
|
@command = options.fetch(:command) { nil }
|
19
17
|
end
|
20
18
|
|
@@ -1,13 +1,16 @@
|
|
1
1
|
require "recording_strategies/strategy"
|
2
|
+
require "recording_strategies/shell_command_strategy"
|
2
3
|
|
3
4
|
module TRecs
|
4
5
|
class IncrementalStrategy
|
5
6
|
include Strategy
|
7
|
+
include ShellCommandStrategy
|
6
8
|
|
7
9
|
attr_reader :message
|
8
10
|
|
9
11
|
def initialize(options={})
|
10
12
|
@message = options.fetch(:message)
|
13
|
+
@command = options.fetch(:command) { nil }
|
11
14
|
end
|
12
15
|
|
13
16
|
def perform
|
data/lib/trecs/version.rb
CHANGED