rexslt 0.5.15 → 0.5.16

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: 8d5d054b7c9afc95ea5a2923a2fd9d9629c72052
4
- data.tar.gz: c8dec6d7efee0004c0d7202cd8cd953a8c942191
3
+ metadata.gz: 84a7446cfebc47ee405c928426756dce96723a9d
4
+ data.tar.gz: a00367c34bc14a6bcbed0d4440b1ffd7610f45fe
5
5
  SHA512:
6
- metadata.gz: a552b4345c5464eeb10185b005a5324572a07196336ba4ebf31a46ef01bc34b39aaaac7438c2d4acf432638e95322b413b40309207a54b44e665165d84d5c3b4
7
- data.tar.gz: cd95db8717a01f278e8c187c7bdc2ef8f884d396493581e058aa3f34ca93aca36e8bbeeb6b49e371f362abb64267278fcef2333711d9f2f221383bb6c523cfb7
6
+ metadata.gz: 1477a29e0360912bf965003f67b63091dff88ab43fb8b0ad572749d177b4f4b72538c6ce20225282ddbe7e10702f55abfce6e9cfbd43d47150fc086f31170459
7
+ data.tar.gz: 13985de61ebeaa37bb706d6966e201ffbb3d2d37303800d15f25c66fb24ac1513b05c6edc9a8175d98366c46a230846836880f397bbc04039f7ccfdbebd84d6c
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
data/lib/rexslt.rb CHANGED
@@ -565,7 +565,13 @@ class Rexslt
565
565
  content: 'text/html; charset=utf-8'
566
566
  }
567
567
  meta_element = Rexle::Element.new('meta', attributes: h)
568
- head.add meta_element
568
+ child = head.element('*')
569
+
570
+ if child then
571
+ child.insert_before meta_element
572
+ else
573
+ head.add meta_element
574
+ end
569
575
 
570
576
  end
571
577
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rexslt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.15
4
+ version: 0.5.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -31,7 +31,7 @@ cert_chain:
31
31
  38j2+6ULVWalsVein3whb7qB6IOvxoSqjz6n7jAKFGHovoXPUqpv5y5Yor23rTrn
32
32
  0YwisIc3UkL30g==
33
33
  -----END CERTIFICATE-----
34
- date: 2016-04-07 00:00:00.000000000 Z
34
+ date: 2016-04-08 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rxfhelper
metadata.gz.sig CHANGED
Binary file