dynarex 1.7.16 → 1.7.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c3772d0385176e7af86f8db956e50ecc782e600d
4
- data.tar.gz: a9b0e6965596b6c2714cb7880d6487c7e06c4a7b
3
+ metadata.gz: 482c5387c9c7d4a1709a562edd9f675c322d0e6c
4
+ data.tar.gz: a46c5ab2e37e9c310193ac3895eb817f3fd66ac0
5
5
  SHA512:
6
- metadata.gz: 6afd883148d3258b229c3f193f94ff5fc0607fa69102196e723c692f234d9ce59af7aa3502b64cbd4d460ad73c6e0232f29c974c978316959cef77c5b10f3fac
7
- data.tar.gz: 10c7b73beb4524c893ddeb83da85274a57967c69769bf5669b05eadca07921bcf7a353456ad4f9a0d65153b200792d81af3cc2e042360f602240c1d8a5a7dd1f
6
+ metadata.gz: d5c0c67eeef8f1804366c779c1ccda0de6ba8e4fc066a6e6f6a305493aad887c64aad65f0d47b0fc4515cca7ef42ea73a94059aefb994050c0a6a4d73da03035
7
+ data.tar.gz: 973e062e8da3048ebd62a13f4f2f2e42d323f95b2f5a842df65ed0310a3facc8884761b17bb85bc0651a01c044320b35670c728e3984656bfdefc2ca2cbfc6ea
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -558,6 +558,14 @@ EOF
558
558
  xslt
559
559
 
560
560
  end
561
+
562
+ def filter(&blk)
563
+
564
+ dx = Dynarex.new @schema
565
+ self.all.select(&blk).each {|x| dx.create x}
566
+ dx
567
+
568
+ end
561
569
 
562
570
  def to_xslt(opt={})
563
571
 
@@ -1330,4 +1338,4 @@ XSL
1330
1338
  end
1331
1339
  end
1332
1340
 
1333
- end
1341
+ end
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.7.16
4
+ version: 1.7.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -31,7 +31,7 @@ cert_chain:
31
31
  nP4bxzo6o8Qw40KPcv/n3Vcx8tV8hUOOe4XkImYbeWst9hbbHfbg8daipgkn9NEu
32
32
  YXuVi+EfN14P6g==
33
33
  -----END CERTIFICATE-----
34
- date: 2016-11-12 00:00:00.000000000 Z
34
+ date: 2016-12-23 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: dynarex-import
metadata.gz.sig CHANGED
Binary file