dynarex 1.7.3 → 1.7.4

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: 4df04d217ba37aaec81bd1956077d25d25b1b0bb
4
- data.tar.gz: 0763d0b88a44e339644c14d6e496f8edd66ae50b
3
+ metadata.gz: 2ccfa730f7450b259d2ff54d172224c66bae3d7a
4
+ data.tar.gz: 415c1e27f51a7dc68d620a63699830dda782eca1
5
5
  SHA512:
6
- metadata.gz: 098f64a26a6bdf9079248ba00e4c9c343ddbdce246b09f805082dc3bb0dbcd07b35839ac7c868b213ee9c1786830ef0fd29412d748a87f4f661968095c231f87
7
- data.tar.gz: 92fb1437b4c934ad89a807504a9994b6a92fcf11c3838caa95133a3360cb260964c23ada90b95f792d1a5337875ad6588f618cf82a1f3623cc46c8b7a310dc25
6
+ metadata.gz: 0697e6f46ee1a651688d6691e912c0b0e92ffafde958979207bea107ab68f1a9a21b2d96e844ed36aa723d197fcec276df0ad2ba07bf4ae67251557f1c9bdab1
7
+ data.tar.gz: df952e43dcd3d2bc7fffbf16b7fd3c5cf5ccac3a7b4e9030e30910dd405df41d30ef6222d089fc4ed0742205dcf728f7a45e14aeac495e669b3e3dc5b7caf490
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -806,7 +806,13 @@ EOF
806
806
  r.each do |x|
807
807
 
808
808
  attr, val = x.split(/\s*=\s*["']/,2)
809
- self.method((attr + '=').to_sym).call(unescape val)
809
+ name = (attr + '=').to_sym
810
+
811
+ if self.public_methods.include? name then
812
+ self.method(name).call(unescape val)
813
+ else
814
+ puts "Dynarex: warning: method %s doesn't exist." % [name.inspect]
815
+ end
810
816
  end
811
817
 
812
818
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dynarex
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.3
4
+ version: 1.7.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -31,7 +31,7 @@ cert_chain:
31
31
  nP4bxzo6o8Qw40KPcv/n3Vcx8tV8hUOOe4XkImYbeWst9hbbHfbg8daipgkn9NEu
32
32
  YXuVi+EfN14P6g==
33
33
  -----END CERTIFICATE-----
34
- date: 2016-04-27 00:00:00.000000000 Z
34
+ date: 2016-05-22 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: dynarex-import
@@ -240,7 +240,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
240
240
  version: '0'
241
241
  requirements: []
242
242
  rubyforge_project:
243
- rubygems_version: 2.4.8
243
+ rubygems_version: 2.5.1
244
244
  signing_key:
245
245
  specification_version: 4
246
246
  summary: The Dynarex gem can create, read, update or delete rows of Dynarex flavoured
metadata.gz.sig CHANGED
Binary file