dynarex 1.8.8 → 1.8.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/dynarex.rb +11 -0
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 551f8e56727c38666a6d476d6903ac100be9c447f22813e502eb2e614aa3a178
|
4
|
+
data.tar.gz: fadb3a1d5018df9400945b3ae3eb0e6dc127e0334e787b37c908eb0382842dd3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a5d173b13418d5e7b41d97975eb30393c008759b0c05dd62993a692d1f0b74acc6b638ea4f56bea307481e9f7d1c233fb4c3f9c06987e58a70675b8d738ad822
|
7
|
+
data.tar.gz: 8b36e301c26179ebc8383de316870359fc33febe736bd0de30601f67d794f95634ce3dfcd7b0905e3208a6cda75a57b735a07fbc13f140f7cfe5e39df33b1ad5
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/dynarex.rb
CHANGED
@@ -268,6 +268,17 @@ class Dynarex
|
|
268
268
|
flat_records.map {|record| OpenStruct.new record }
|
269
269
|
end
|
270
270
|
|
271
|
+
def rm(force: false)
|
272
|
+
|
273
|
+
if force or all.empty? then
|
274
|
+
FileX.rm @local_filepath if @local_filepath
|
275
|
+
'file ' + @local_filepath + ' deleted'
|
276
|
+
else
|
277
|
+
'unable to rm file: document not empty'
|
278
|
+
end
|
279
|
+
|
280
|
+
end
|
281
|
+
|
271
282
|
|
272
283
|
def to_doc
|
273
284
|
self.doc().clone
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|