domle 0.1.11 → 0.1.12

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: d574931630dadcbf946322bb4e25eb7a7c5fc232
4
- data.tar.gz: 813a6d3022c98278c11971c3437382ae4693034b
3
+ metadata.gz: 480b3d1e557994971ceb2d5d7f5770b0566879d4
4
+ data.tar.gz: 580264d320d643bd8c9ebc5948fbd970234c0621
5
5
  SHA512:
6
- metadata.gz: 7862fbebe9301133fb093215c0c078eae5e46ab6f712b811cf6f5a2f34cfa9de856ef1ac6109b4ed4c975a9b75560ca522cac7b0e1d0645b1b19243da68b0a12
7
- data.tar.gz: 713076e205bf123e32a1d3dbcebb39f364974e1eb66c59a9af204f9704ccd1c192f71f45e8d2df6c6d208770e9d47cadaf901ec52d2c61ca5d6e571c8ea22faf
6
+ metadata.gz: 275e085cf239e843ab6c14a5811362f8c1a5d04d7344ff9111e30ead00e9b65b38e9fdca056fdc31cc2d324b1119acb657bb1444659dad6c0dda4092d85b8a4a
7
+ data.tar.gz: 6b34e5ad2d58e006f0b029f4fd79bb684bd4f85e96ac628cb47856d78aa893f2f13ffd94eaa64c020dc4ef21517f2e809396b0be489ed46c0476643a60bcd577
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -214,7 +214,8 @@ class Domle < Rexle
214
214
 
215
215
  type = defined_elements()
216
216
 
217
- element = type[name.to_sym].new(name, attributes: attributes, rexle: @rexle)
217
+ klass_element = type[name.to_sym] || Element
218
+ element = klass_element.new(name, attributes: attributes, rexle: @rexle)
218
219
 
219
220
  if children then
220
221
 
@@ -250,4 +251,4 @@ class Domle < Rexle
250
251
  end
251
252
 
252
253
 
253
- end
254
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: domle
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.11
4
+ version: 0.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -31,7 +31,7 @@ cert_chain:
31
31
  +DzRmU3W/HlxCxS+NNxtsXgbF7OVnKffoGck1XJLZRXir0GNIDPNB8lscxnltAgL
32
32
  VUONgYmKlCGQ2w==
33
33
  -----END CERTIFICATE-----
34
- date: 2017-08-11 00:00:00.000000000 Z
34
+ date: 2017-09-05 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rexle
@@ -39,40 +39,40 @@ dependencies:
39
39
  requirements:
40
40
  - - "~>"
41
41
  - !ruby/object:Gem::Version
42
- version: '1.3'
42
+ version: '1.4'
43
43
  - - ">="
44
44
  - !ruby/object:Gem::Version
45
- version: 1.3.9
45
+ version: 1.4.7
46
46
  type: :runtime
47
47
  prerelease: false
48
48
  version_requirements: !ruby/object:Gem::Requirement
49
49
  requirements:
50
50
  - - "~>"
51
51
  - !ruby/object:Gem::Version
52
- version: '1.3'
52
+ version: '1.4'
53
53
  - - ">="
54
54
  - !ruby/object:Gem::Version
55
- version: 1.3.9
55
+ version: 1.4.7
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: rxfhelper
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
60
  - - "~>"
61
61
  - !ruby/object:Gem::Version
62
- version: '0.2'
62
+ version: '0.4'
63
63
  - - ">="
64
64
  - !ruby/object:Gem::Version
65
- version: 0.2.3
65
+ version: 0.4.2
66
66
  type: :runtime
67
67
  prerelease: false
68
68
  version_requirements: !ruby/object:Gem::Requirement
69
69
  requirements:
70
70
  - - "~>"
71
71
  - !ruby/object:Gem::Version
72
- version: '0.2'
72
+ version: '0.4'
73
73
  - - ">="
74
74
  - !ruby/object:Gem::Version
75
- version: 0.2.3
75
+ version: 0.4.2
76
76
  description:
77
77
  email: james@jamesrobertson.eu
78
78
  executables: []
metadata.gz.sig CHANGED
Binary file