domle 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: bfac702b0d6ea21c27356c4aca7764d3fd144f61
4
- data.tar.gz: a6a9d21974a588786f62d184b0d875fb2a9272af
3
+ metadata.gz: 3a02d4a5f8fcf8d565ab585b3ae5d51a04def2d4
4
+ data.tar.gz: '0954a550753e52d4038bad35486f4ede8dad2814'
5
5
  SHA512:
6
- metadata.gz: 2660f67b2995bed4530dcef75840441560a7348571e62d41b95eeba193f8d9c00030c7ed3aa882ec70ab1aa9247b02e48381318b63e33ca6823fbf98feef6752
7
- data.tar.gz: 510959b5f5b0df1cb945cb1935135ed576299321c3a7b0e1c34540c5a378cce94cdc047ba9d535a87e1fe0aca8afef090166c88a1ebb93f75f735b2994eb9499
6
+ metadata.gz: 53a4c54ece26a8fda0c3f60b2f2dbd94e1ab509f236f8b45fe61c915629e016a0ce372ed6e4eed0ee1bfb143a7813e25cf4c2817abd9ade2703da47d358384cf
7
+ data.tar.gz: bad9851b4253dc9ab743e322ae5f93ab14f78ec1a2798ffccf016cdb4d5546aa82e3e43fb7517460400d8468b03f9ce7caf613d7c51cbf3d62366803081996df
checksums.yaml.gz.sig CHANGED
@@ -1,2 +1 @@
1
- ��ވ�:�ozG5���q1ԬZ���x�÷����;�^�dbh6(�� N6--zq~O\�XW��֔�0K 8P�|�8\��Б����¦h&��mQ��%��Pf�Um߶}�!X5�/�o��d`��\6���R�#/���R�k�����G�|��z�������|��e!PDV�2��0F�·�uR��x�рj
2
- Ĝ6�KL�b��^=W����J
1
+ n��?�v%n���#��0f��{��`�˂.��lX�~ѱ 7��xD ���%��c�i~Pm^0G��o��&�g�D������ɥ�֓_⚜&Ĵ�LDQ8��=�k����yc����Ao $1�@ɂR.ˀ�.�ba�i4-��Q��Ȃk��m
data.tar.gz.sig CHANGED
Binary file
data/lib/domle.rb CHANGED
@@ -55,7 +55,7 @@ class Domle < Rexle
55
55
 
56
56
  class Element < Rexle::Element
57
57
 
58
- def initialize(name=nil, value: nil, \
58
+ def initialize(name=self.class.to_s.downcase[/\w+$/], value: nil, \
59
59
  attributes: Attributes.new(parent: self), rexle: nil)
60
60
 
61
61
  attributes.merge!(style: '') unless attributes.has_key? :style
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.7
4
+ version: 0.1.8
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-05-21 00:00:00.000000000 Z
34
+ date: 2017-08-09 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rexle
metadata.gz.sig CHANGED
Binary file