recordx 0.5.1 → 0.5.2

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
- SHA1:
3
- metadata.gz: 63140ab9298fbd8abf1900cd489c24a01f1f5d88
4
- data.tar.gz: 0c4cc250b86ff33de7ab54d3711b33e08824aaee
2
+ SHA256:
3
+ metadata.gz: 0a177d9c1773ca855efa18b826eb6c1fbab6617722910439248b6442e6e0e3d4
4
+ data.tar.gz: 4c3fa69b72105c9f882049374c9b46b2cec2465bd7a1a35c1fd7b1755ee725ad
5
5
  SHA512:
6
- metadata.gz: f5156005f6c7d57e2accede33b5e56e0065eb11ba3ad051abae5cd622e5288998f4d4b01e18a42ace7149c6e082314d4081e05f4ecf9e915812ffa187e631ffa
7
- data.tar.gz: 495b1a94efd27e7ab2facb81603699c884d3d4cd46f0cf8cad0ebbda71574aacd62409c979a166f719b38f83195cabd245d5bb913f529f0a9b7a01f660d62321
6
+ metadata.gz: 59c87abbf6810d2d543a43c75644a1d6d2750f755687fe63597aaffc73011c8cfd23ddae73d74c60ee98eaab3e21953a8d4ab832144982802fc40897767d5c5d
7
+ data.tar.gz: 76b24b5989300e6d1cefed8448cc158a1e55b0b027a0235d74c7bb747a3e9c80422eae808bdd54f7564b86724879233064ef5f7fcca4512dbbb520d5ec9f6a5c
checksums.yaml.gz.sig CHANGED
Binary file
data/lib/recordx.rb CHANGED
@@ -30,7 +30,11 @@ class RecordX
30
30
  end
31
31
  end
32
32
 
33
- def initialize(x=nil, callerx=nil, id=nil, created=nil, last_modified=nil)
33
+ def initialize(x=nil, callerx=nil, id=nil, created=nil, last_modified=nil,
34
+ debug: false)
35
+
36
+ @debug = debug
37
+ puts 'x: ' + x.inspect if @debug
34
38
 
35
39
  h = if x.is_a? Hash then x
36
40
 
@@ -94,10 +98,15 @@ class RecordX
94
98
 
95
99
  def to_kvx()
96
100
 
101
+ puts 'inside to_kvx' if @debug
97
102
  kvx = Kvx.new(@h.to_h)
98
- summary_fields = @callerx.summary.keys - [:recordx_type, \
99
- :format_mask, :schema, :default_key]
100
- summary_fields.each {|field| kvx.summary[field] = @callerx.summary[field] }
103
+
104
+ if @callerx then
105
+ summary_fields = @callerx.summary.keys - [:recordx_type, \
106
+ :format_mask, :schema, :default_key]
107
+ summary_fields.each {|field| kvx.summary[field] = @callerx.summary[field] }
108
+ end
109
+
101
110
  kvx
102
111
 
103
112
  end
data.tar.gz.sig CHANGED
@@ -1 +1 @@
1
- wm��L)b_������� >��
1
+ 0���pe+i��Y���B�:�2g����rP��!kq�h�
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: recordx
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -10,28 +10,32 @@ bindir: bin
10
10
  cert_chain:
11
11
  - |
12
12
  -----BEGIN CERTIFICATE-----
13
- MIIDljCCAn6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBIMRIwEAYDVQQDDAlnZW1t
14
- YXN0ZXIxHjAcBgoJkiaJk/IsZAEZFg5qYW1lc3JvYmVydHNvbjESMBAGCgmSJomT
15
- 8ixkARkWAmV1MB4XDTE2MDMxMDE1MTUyMloXDTE3MDMxMDE1MTUyMlowSDESMBAG
16
- A1UEAwwJZ2VtbWFzdGVyMR4wHAYKCZImiZPyLGQBGRYOamFtZXNyb2JlcnRzb24x
17
- EjAQBgoJkiaJk/IsZAEZFgJldTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
18
- ggEBAJu+JTj++M6K00KeDJQUqSt/Gno07gl/ArvddUUqKUBBMhIGwqQiOXk+gMwi
19
- FStdb+fHRoyn5Aj2rYHOXBNvorwYm7Sx9+sNPwt3ZmLosiTsCnO9DO3RB/RRzhUc
20
- iPDi7f7PQLbX/dP2vYZk2GRBGXWLbt4kQmPn/LCK/0uUjOZdDcmizxNGr6+mkARN
21
- d5osWFQLXtV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
33
+ 91fMfFMxm2GzbEVVWpjPz8RIUr0MMWfDrbhE0Or2uL9GcjSIvGd53T0+qcHEHCts
34
+ h5B/cRoarAMuZO2iXYS/cqU7kreNfh/4MrKSBTDNEMNssLvDm7T01T3k2HWC2CH5
35
+ EIi/XV4rQZuQex22BSKqX+7yWSGbOtHhEDLjsIiI0ekaUbHr3diiVoyvqoVRuBIF
36
+ p3MTPyzuloAgdm0fePPKwi7V
33
37
  -----END CERTIFICATE-----
34
- date: 2016-12-05 00:00:00.000000000 Z
38
+ date: 2018-09-26 00:00:00.000000000 Z
35
39
  dependencies:
36
40
  - !ruby/object:Gem::Dependency
37
41
  name: rexle
@@ -54,7 +58,7 @@ dependencies:
54
58
  - !ruby/object:Gem::Version
55
59
  version: 1.3.36
56
60
  description:
57
- email: james@r0bertson.co.uk
61
+ email: james@jamesrobertson.eu
58
62
  executables: []
59
63
  extensions: []
60
64
  extra_rdoc_files: []
@@ -80,7 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
80
84
  version: '0'
81
85
  requirements: []
82
86
  rubyforge_project:
83
- rubygems_version: 2.5.1
87
+ rubygems_version: 2.7.6
84
88
  signing_key:
85
89
  specification_version: 4
86
90
  summary: A kind of Hash which can also use accessor methods to store or retrieve values.
metadata.gz.sig CHANGED
Binary file