recordx 0.1.8 → 0.1.10
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/recordx.rb +12 -5
- metadata +22 -20
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d695d23b02a04c9a56529c7d8f4a23f4aca1d40b
|
4
|
+
data.tar.gz: 354431dceb122d001cc9d04db93bc0eacb179a40
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3afc0069b0b3a215c043af84782c85138d2d560522b0865c457de77d79f8c530eb5a0d3dceeec6a0ffad5ce9b38e67b6ab1ee64b9283042c4f6811669f8869b2
|
7
|
+
data.tar.gz: 035588ac62919fdaf937a9c34c15611bcf97c269b852c1e13a6e12b080993a0b9913f6a572ed83aa1325d6d23fc29773acaba4d3f9366f1ab17e459209f0132b
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/recordx.rb
CHANGED
@@ -27,6 +27,18 @@ class RecordX
|
|
27
27
|
h.each {|name,val| attr_accessor2(name.to_s, val) }
|
28
28
|
end
|
29
29
|
|
30
|
+
def h()
|
31
|
+
@h
|
32
|
+
end
|
33
|
+
|
34
|
+
alias to_h h
|
35
|
+
|
36
|
+
def update(h)
|
37
|
+
h.each {|name,value| self.method((name.to_s + '=').to_sym).call(value) }
|
38
|
+
end
|
39
|
+
|
40
|
+
private
|
41
|
+
|
30
42
|
def method_missing(method_name, *raw_args)
|
31
43
|
arg = raw_args.length > 0 ? raw_args.first : nil
|
32
44
|
attr_accessor2(method_name[/\w+/], arg)
|
@@ -61,9 +73,4 @@ class RecordX
|
|
61
73
|
@#{name} = '#{val}'}
|
62
74
|
end
|
63
75
|
|
64
|
-
def h()
|
65
|
-
@h
|
66
|
-
end
|
67
|
-
|
68
|
-
alias to_h h
|
69
76
|
end
|
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.1.
|
4
|
+
version: 0.1.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -10,26 +10,28 @@ bindir: bin
|
|
10
10
|
cert_chain:
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
|
-
|
13
|
+
MIIDljCCAn6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBIMRIwEAYDVQQDDAlnZW1t
|
14
14
|
YXN0ZXIxHjAcBgoJkiaJk/IsZAEZFg5qYW1lc3JvYmVydHNvbjESMBAGCgmSJomT
|
15
|
-
|
15
|
+
8ixkARkWAmV1MB4XDTE0MDMwNTIwMDYyNloXDTE1MDMwNTIwMDYyNlowSDESMBAG
|
16
16
|
A1UEAwwJZ2VtbWFzdGVyMR4wHAYKCZImiZPyLGQBGRYOamFtZXNyb2JlcnRzb24x
|
17
17
|
EjAQBgoJkiaJk/IsZAEZFgJldTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
18
|
+
ggEBANs7KJTlyLmFO25VvAlNH46rSfUKahZ8zkxIAIunxgYkGwJgVtaeflZkafVm
|
19
|
+
JyZ8lSqYGSQhcShlXv9vMV3UA+iNlpUx9wb5Iop3Pl3f3NA8kMNLyk9tred1U3zd
|
20
|
+
+4xVXmpuJ9YjazknKgiYNowuygRcgTvHOFTu2pq9mmhShjBvbQ37G91S8tlaGaQ4
|
21
|
+
FozNOtxhfzbejN4rL86Ch9rElGzNFS0QGXkwmH1t6ovfR0bvHzMRIs7UyLK1/a4z
|
22
|
+
Zcg9zlvdv/R9PMP0OtlmmMd0YOhzOX8BmxAmFwsbrQ2bpPUXoUm8ydBy0SFjcmIb
|
23
|
+
CRIe95pQ2wF6pCwmdEIZnI00NYMCAwEAAaOBijCBhzAJBgNVHRMEAjAAMAsGA1Ud
|
24
|
+
DwQEAwIEsDAdBgNVHQ4EFgQUjccGKD3yjQPkCFM5rK55StR9nFIwJgYDVR0RBB8w
|
25
|
+
HYEbZ2VtbWFzdGVyQGphbWVzcm9iZXJ0c29uLmV1MCYGA1UdEgQfMB2BG2dlbW1h
|
26
|
+
c3RlckBqYW1lc3JvYmVydHNvbi5ldTANBgkqhkiG9w0BAQUFAAOCAQEAz45p+r0T
|
27
|
+
fsEmiVFcMdzAsblPIypV5EJl2fBQoPeRIT8FSR2Iud2R1wMH5o+QFBu20xsAXMs0
|
28
|
+
v7qyAvu2D1/IK131HdQjMEwBgDcTUsTir/uy1TcYvkgCWRds3eFZWjtGCdzEmET6
|
29
|
+
OcxSCgJiT8j4ECLZ/K27Cl31nQLNzjeQbWWVTJrEczXQyMXdIyWxlW8eFMxCS39N
|
30
|
+
ZNiB/eJyBSnrFeDKZWR/ciJAkPJ4HH84AFlJdjOmHmn5a0nbSagjTPx9Na9dYtC4
|
31
|
+
g/vV/A8D1m4ZGF1z7lQzfOsK5R3XRIJ6zJRYEtb1xhRDDpaYlAPTZloddBDAGxec
|
32
|
+
p6U4INBFsda75Q==
|
31
33
|
-----END CERTIFICATE-----
|
32
|
-
date:
|
34
|
+
date: 2014-03-05 00:00:00.000000000 Z
|
33
35
|
dependencies: []
|
34
36
|
description:
|
35
37
|
email: james@r0bertson.co.uk
|
@@ -48,17 +50,17 @@ require_paths:
|
|
48
50
|
- lib
|
49
51
|
required_ruby_version: !ruby/object:Gem::Requirement
|
50
52
|
requirements:
|
51
|
-
- -
|
53
|
+
- - ">="
|
52
54
|
- !ruby/object:Gem::Version
|
53
55
|
version: '0'
|
54
56
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
55
57
|
requirements:
|
56
|
-
- -
|
58
|
+
- - ">="
|
57
59
|
- !ruby/object:Gem::Version
|
58
60
|
version: '0'
|
59
61
|
requirements: []
|
60
62
|
rubyforge_project:
|
61
|
-
rubygems_version: 2.
|
63
|
+
rubygems_version: 2.0.14
|
62
64
|
signing_key:
|
63
65
|
specification_version: 4
|
64
66
|
summary: recordx
|
metadata.gz.sig
CHANGED
Binary file
|