recordx 0.1.6 → 0.1.7
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/lib/recordx.rb +4 -4
- data.tar.gz.sig +0 -0
- metadata +4 -4
- 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: 2295d9c87c302ed83c0b485683197ba1abfd9148
|
4
|
+
data.tar.gz: d86277faf6fcdbed469a06bb3413835f6284da5f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab28e591ba283e05d308201df25953d7144b76c75e2e1b40cbe6cd6748b37f3505b6dabf6b7bcca280a08866a79adc54eba180b5fc189cfa70adb288902b83de
|
7
|
+
data.tar.gz: 1d70019f0255b35f0ad60f30a3a7e562854327bc59a52e8f3da2229bef38a74a4b4fd1b075f6bc61ded57cdb023399178173c2b069bfad9c72610492105cad50
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/recordx.rb
CHANGED
@@ -21,8 +21,9 @@ class RecordX
|
|
21
21
|
end
|
22
22
|
|
23
23
|
def initialize(h={}, callerx=nil, id=nil )
|
24
|
+
|
24
25
|
@callerx, @id = callerx, id
|
25
|
-
@h = RXHash.new(self)
|
26
|
+
@h = RXHash.new(self).merge h
|
26
27
|
h.each {|name,val| attr_accessor2(name.to_s, val) }
|
27
28
|
end
|
28
29
|
|
@@ -39,9 +40,8 @@ class RecordX
|
|
39
40
|
Kernel.public_methods | \
|
40
41
|
public_methods + [:method_missing]
|
41
42
|
)
|
42
|
-
|
43
|
-
name.prepend '_' if reserved_keywords.include? name.to_sym
|
44
43
|
|
44
|
+
name.prepend '_' if reserved_keywords.include? name.to_sym
|
45
45
|
|
46
46
|
self.instance_eval %Q{
|
47
47
|
def #{name}=(s)
|
@@ -64,4 +64,4 @@ class RecordX
|
|
64
64
|
end
|
65
65
|
|
66
66
|
alias to_h h
|
67
|
-
end
|
67
|
+
end
|
data.tar.gz.sig
CHANGED
Binary file
|
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.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -29,7 +29,7 @@ cert_chain:
|
|
29
29
|
uNxvl1B82eYx+VR0L/kiGuohqeZuXb/tvgDLu0NzNe8BQrCZK+jVAkjgsOtvIMCt
|
30
30
|
VbzsHhml4bZbjcB6ESZKgxsn3gNqG7KS
|
31
31
|
-----END CERTIFICATE-----
|
32
|
-
date: 2013-
|
32
|
+
date: 2013-10-06 00:00:00.000000000 Z
|
33
33
|
dependencies: []
|
34
34
|
description:
|
35
35
|
email: james@r0bertson.co.uk
|
@@ -48,12 +48,12 @@ require_paths:
|
|
48
48
|
- lib
|
49
49
|
required_ruby_version: !ruby/object:Gem::Requirement
|
50
50
|
requirements:
|
51
|
-
- -
|
51
|
+
- - ">="
|
52
52
|
- !ruby/object:Gem::Version
|
53
53
|
version: '0'
|
54
54
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
55
55
|
requirements:
|
56
|
-
- -
|
56
|
+
- - ">="
|
57
57
|
- !ruby/object:Gem::Version
|
58
58
|
version: '0'
|
59
59
|
requirements: []
|
metadata.gz.sig
CHANGED
Binary file
|