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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ce8ee3109861194f3ac48eb52542281edf162358b6b3fca743b07d031b59dd0e
4
- data.tar.gz: 144e4bb1c5bf9c5bb63516442b1dcad97e5350a85a195b88fe349e79d5e9a37b
3
+ metadata.gz: 551f8e56727c38666a6d476d6903ac100be9c447f22813e502eb2e614aa3a178
4
+ data.tar.gz: fadb3a1d5018df9400945b3ae3eb0e6dc127e0334e787b37c908eb0382842dd3
5
5
  SHA512:
6
- metadata.gz: f5b48d4b66ffc51fe444ca9007f7a5e7d948dc760905edcc60c9a7455337a5cce9b6389e61601eff300268b41aae242cf06b51769e955c5ec5ac579457516f87
7
- data.tar.gz: d76b24cf31a02e56da430534b984ceeb51109f58a954bf5004aed928c932259a72c3079fd92ea4531442d948e429ab0a019644810e71d05f1b5c34866b48c568
6
+ metadata.gz: a5d173b13418d5e7b41d97975eb30393c008759b0c05dd62993a692d1f0b74acc6b638ea4f56bea307481e9f7d1c233fb4c3f9c06987e58a70675b8d738ad822
7
+ data.tar.gz: 8b36e301c26179ebc8383de316870359fc33febe736bd0de30601f67d794f95634ce3dfcd7b0905e3208a6cda75a57b735a07fbc13f140f7cfe5e39df33b1ad5
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -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
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dynarex
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.8
4
+ version: 1.8.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
metadata.gz.sig CHANGED
Binary file