svgle 0.4.2 → 0.4.3

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: 0035b7a329d0266d7835eb7abb684e63f4059388
4
- data.tar.gz: c118282a95b4e8be45cedb0b911ebfc29e75eba9
3
+ metadata.gz: d325cd53492cbc7bbe954ab92c38c8e993cfe2e4
4
+ data.tar.gz: 18e6e849a0de573e5f283995d26e25271fb7ec12
5
5
  SHA512:
6
- metadata.gz: 9740c63b294f97e323630499930c2cfb49ae506b8da931d14d50ebb0aec34805d010b2ad0d18b142014381f2ce43813f783ee6478b27e41f5c60d0f4e79babfc
7
- data.tar.gz: 47a2a349c85171a7b24e20236351931082e231452d8bee3c02dc76e93d768b50d4ff6d19f625a02f9c42bf64d971055114def226d08f00736ee92760556560a1
6
+ metadata.gz: 89578da4e3289dd27ed47c21e487a11d1a456e77ad037d865f572637909a631f321d5feefcd0a1790677efb62ebc21a439178cad6309e700d37e1392034b4943
7
+ data.tar.gz: ddd11a9e33cf86bea3a2e26d51c93eaea8815ad05115d854756ab71177cd4e84e4f83f19c045328da98eada2777848a80115b30b37dd37552d5c111e383d78fe
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -145,35 +145,13 @@ class Svgle < Domle
145
145
  end
146
146
 
147
147
 
148
- private
149
-
150
- def find_add_css()
151
-
152
- # add the default CSS
153
-
148
+ protected
149
+
150
+ def add_default_css()
154
151
  add_css DEFAULT_CSS
152
+ end
155
153
 
156
-
157
- @doc.root.xpath('//style').each {|e| add_css e.text }
158
-
159
- # check for an external CSS file
160
- if @instructions and @instructions.any? then
161
-
162
- hrefs = @instructions.inject([]) do |r,x|
163
-
164
- if x[0] =~ /xml-stylesheet/i and x[1] =~ /text\/css/i then
165
-
166
- r << x[1][/href\s*=\s*["']([^'"]+)/,1]
167
- else
168
- r
169
- end
170
- end
171
-
172
- add_css hrefs.map{|x| RXFHelper.read(x).first}.join
173
-
174
- end
175
-
176
- end
154
+ private
177
155
 
178
156
  def defined_elements()
179
157
  {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: svgle
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -31,7 +31,7 @@ cert_chain:
31
31
  /cwDMD511+2hNiVHI6IKth0oybwGyVAFGdWyfxRsL6PXC31eaVImP0O4Y1JCB4+Q
32
32
  g7yNFaM/yTP4DQ==
33
33
  -----END CERTIFICATE-----
34
- date: 2017-01-26 00:00:00.000000000 Z
34
+ date: 2017-05-21 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: domle
metadata.gz.sig CHANGED
@@ -1,2 +1 @@
1
- ��n��N�>o ��M}o��fJZ����N;Q�|[hc��Z���j��M��;��
2
- �e�e�(š���,?od�k�YTW��@��b}�w�lf�����~�Xd� ��U��,����b�I6�3!*/������������F�IK
1
+ w~Z�Rf|a��Q�����\}�I�����єo�m/;�p�S6�3�����{c!0���$ʙ�65B����T�G( �����Z����я�~X��z��l�t�uV|!�p]k�