dynarex 1.7.26 → 1.7.27

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: 80bed6575184dc3ab3e79d5aab87c2f8c20ab8ce
4
- data.tar.gz: 1f4792c4b0e0be696f6d10e957c62ea1b24540aa
3
+ metadata.gz: 9b70101593257a35564a9bd6d6c46f7d6cb2ca49
4
+ data.tar.gz: f73c69af907b23fcd18e2eab0c2665e77af52457
5
5
  SHA512:
6
- metadata.gz: c9244b2628d0f5a108c8467c0b85e3a101d8228ac48581d3dbc2c9f874d7d5902b379b4bc8ccc9e4975fecd7e8114acdc0ad35bcfc136fb0fa2a4c178e0cf549
7
- data.tar.gz: 15a3825c14858308dcd6466236d6aff401ad6675f079d34bd49c6a2024f79ec2d58d4504bd6797abf1142c582079918ed8545152014f70d826f38a156e812806
6
+ metadata.gz: 20140cd68148d7e2c2471fa41d5138f8fa93233460c94fce2794b64d855fab4ce0c9f114dc557ba305937f2d92ac5d9ad57af7eb4e19070f04b49f0d485f254a
7
+ data.tar.gz: ea2fc97ff9a89e51fa787908618acfb1b8fa023f3c0287daff1604eba1b7d7a4b834e0a1e3bf8eb7f455d844565c2700d2c5483fa1a1572d3ed68b29a0fd065b
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -41,6 +41,14 @@ class DynarexRecordset < Array
41
41
  self
42
42
  end
43
43
 
44
+ def index(val)
45
+ self.map(&:to_h).index val.to_h
46
+ end
47
+
48
+ def index_by_id(id)
49
+ self.map(&:id).index id
50
+ end
51
+
44
52
  end
45
53
 
46
54
 
@@ -1345,4 +1353,4 @@ XSL
1345
1353
  end
1346
1354
  end
1347
1355
 
1348
- end
1356
+ 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.26
4
+ version: 1.7.27
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -31,7 +31,7 @@ cert_chain:
31
31
  7ELNqcn7p7un/tZgEIU+gYBxvhUWftO9MF8fbJsCaMyfSZjXxXM+6+3Q0lBpYCSS
32
32
  nuO5b3MqW2dcBw==
33
33
  -----END CERTIFICATE-----
34
- date: 2017-09-11 00:00:00.000000000 Z
34
+ date: 2017-11-28 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: dynarex-import
@@ -82,7 +82,7 @@ dependencies:
82
82
  version: '0.6'
83
83
  - - ">="
84
84
  - !ruby/object:Gem::Version
85
- version: 0.6.7
85
+ version: 0.6.9
86
86
  type: :runtime
87
87
  prerelease: false
88
88
  version_requirements: !ruby/object:Gem::Requirement
@@ -92,7 +92,7 @@ dependencies:
92
92
  version: '0.6'
93
93
  - - ">="
94
94
  - !ruby/object:Gem::Version
95
- version: 0.6.7
95
+ version: 0.6.9
96
96
  - !ruby/object:Gem::Dependency
97
97
  name: dynarex-xslt
98
98
  requirement: !ruby/object:Gem::Requirement
@@ -159,20 +159,20 @@ dependencies:
159
159
  requirements:
160
160
  - - "~>"
161
161
  - !ruby/object:Gem::Version
162
- version: '0.5'
162
+ version: '0.6'
163
163
  - - ">="
164
164
  - !ruby/object:Gem::Version
165
- version: 0.5.4
165
+ version: 0.6.0
166
166
  type: :runtime
167
167
  prerelease: false
168
168
  version_requirements: !ruby/object:Gem::Requirement
169
169
  requirements:
170
170
  - - "~>"
171
171
  - !ruby/object:Gem::Version
172
- version: '0.5'
172
+ version: '0.6'
173
173
  - - ">="
174
174
  - !ruby/object:Gem::Version
175
- version: 0.5.4
175
+ version: 0.6.0
176
176
  - !ruby/object:Gem::Dependency
177
177
  name: table-formatter
178
178
  requirement: !ruby/object:Gem::Requirement
@@ -240,7 +240,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
240
240
  version: '0'
241
241
  requirements: []
242
242
  rubyforge_project:
243
- rubygems_version: 2.6.8
243
+ rubygems_version: 2.6.13
244
244
  signing_key:
245
245
  specification_version: 4
246
246
  summary: The Dynarex gem creates, reads, updates or delete rows of Dynarex flavoured
metadata.gz.sig CHANGED
Binary file