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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 78ae47c0170a2f9622e14342db1f0c8b403659f8
4
- data.tar.gz: a9677ec199b4482014c496b263ef7e4306ae2fd6
3
+ metadata.gz: 2295d9c87c302ed83c0b485683197ba1abfd9148
4
+ data.tar.gz: d86277faf6fcdbed469a06bb3413835f6284da5f
5
5
  SHA512:
6
- metadata.gz: 42e9c3d1932e7b293c8afd87addd968701c2eec8b1c445e094584210c1ef416b0ed2a0c7d1bc2943a7c3517e8f2184f6e03bb54ef2d02f2bb133486a9686715f
7
- data.tar.gz: 925686c3b0094ec43fa640406cb293ae6898220098c5bdbe16a1e75d0719b8bfdf9d93ee923def5254cbf08bb8bcb85de69e10392b3859b0d9e0ccbcf65866a7
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.6
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-07-27 00:00:00.000000000 Z
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