recordx 0.1.7 → 0.1.8

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: 2295d9c87c302ed83c0b485683197ba1abfd9148
4
- data.tar.gz: d86277faf6fcdbed469a06bb3413835f6284da5f
3
+ metadata.gz: fb3b0900e3fa3f373c8a065d5ca379b2635f32d6
4
+ data.tar.gz: f0b354ac45337630f889b9104be3ff2b7133639f
5
5
  SHA512:
6
- metadata.gz: ab28e591ba283e05d308201df25953d7144b76c75e2e1b40cbe6cd6748b37f3505b6dabf6b7bcca280a08866a79adc54eba180b5fc189cfa70adb288902b83de
7
- data.tar.gz: 1d70019f0255b35f0ad60f30a3a7e562854327bc59a52e8f3da2229bef38a74a4b4fd1b075f6bc61ded57cdb023399178173c2b069bfad9c72610492105cad50
6
+ metadata.gz: fde906e621b2da1b4c82d1abd2ba44cacdd03e86af509162eeb15f23327261b13889111737995a0fa5c481e582ce719b11e0d26676ad8401f9bcd32a012b2367
7
+ data.tar.gz: dd9eb164deb30e8491e9e0438b2c5f235c738b6638f8c7670be66d89455c0cc17072d04b5d0cbd98346b7523a04bbb06fbfdbdac151a62cd380035fdb2e7baa7
checksums.yaml.gz.sig CHANGED
Binary file
data/lib/recordx.rb CHANGED
@@ -41,7 +41,9 @@ class RecordX
41
41
  public_methods + [:method_missing]
42
42
  )
43
43
 
44
- name.prepend '_' if reserved_keywords.include? name.to_sym
44
+ if reserved_keywords.include? name.to_sym then
45
+ raise "recordx: reserved keyword *#{name}* can't be used as a field name"
46
+ end
45
47
 
46
48
  self.instance_eval %Q{
47
49
  def #{name}=(s)
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.7
4
+ version: 0.1.8
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-10-06 00:00:00.000000000 Z
32
+ date: 2013-12-25 00:00:00.000000000 Z
33
33
  dependencies: []
34
34
  description:
35
35
  email: james@r0bertson.co.uk
@@ -48,17 +48,17 @@ 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: []
60
60
  rubyforge_project:
61
- rubygems_version: 2.0.0.rc.2
61
+ rubygems_version: 2.1.11
62
62
  signing_key:
63
63
  specification_version: 4
64
64
  summary: recordx
metadata.gz.sig CHANGED
Binary file