watchdocs-rails 0.4.4 → 0.4.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/watchdocs/rails/recordings/recorder.rb +5 -1
- data/lib/watchdocs/rails/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aea1771d37233523fe93ded7c3fa5f4023e3675f
|
4
|
+
data.tar.gz: 0b166d282b28d1432533fd34096db14c9a572860
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 76eb49a676d7e16ea8134cc87fbbbc01dadabe03683241832758366911b4aec97f12bf180be862e08176dc23cd7ffc25ab3df4a7465201db6783a91909da3b2e
|
7
|
+
data.tar.gz: 86757c8aa5da5ca577836cf99a9dbb9615362967ee4bc2f56bad49be0770a3d699bdc3e744f404d938a44f1021b6da229c529f4c92da428455d62476072c18a3
|
@@ -18,7 +18,7 @@ module Watchdocs
|
|
18
18
|
private
|
19
19
|
|
20
20
|
def record_new(new_call)
|
21
|
-
@output = if
|
21
|
+
@output = if recordings_any?
|
22
22
|
current_recordings << new_call
|
23
23
|
else
|
24
24
|
[new_call]
|
@@ -33,6 +33,10 @@ module Watchdocs
|
|
33
33
|
store.write(output)
|
34
34
|
end
|
35
35
|
|
36
|
+
def recordings_any?
|
37
|
+
store.exists?
|
38
|
+
end
|
39
|
+
|
36
40
|
def send_recordings
|
37
41
|
Recordings.export(output, from_specs: from_specs)
|
38
42
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: watchdocs-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- mazikwyry
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-03-
|
11
|
+
date: 2017-03-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|