tilia-xml 1.3.0 → 1.3.0.1

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: cc343c81cf2926d463564160710e7170958bd9b6
4
- data.tar.gz: 038f07bad13be27bb76899e61999a6a4abb00a62
3
+ metadata.gz: 2f1597fb2b6e1660909f774762602b9fd62c4557
4
+ data.tar.gz: 63b1be7c18d9617d7698fb58e7c363bd6263c497
5
5
  SHA512:
6
- metadata.gz: be1fb4bb139f40a59b54fbc2206bb02154b880206be9ab48a0ccf70523782872a56d6eaac128897fec723aee2b0a80a11b933747ebb553d2ec6c582f666c0d36
7
- data.tar.gz: c487226c4d30694e94e2a8335b5172c9433ef64dbb18fe688851a07385ae515d04db5ef5ff6ad388a73f8f6a94c1351f70d188b77db5e9d28a50673a883a33e4
6
+ metadata.gz: 0858522cd205a0f2d2af55e534ed7e0a7b3f1ec87b64ff22f7dfb8961fc1097ffaf38144740c5846b5b2e182929024aeae98a18921516d74e27340e62f88e949
7
+ data.tar.gz: 9c18ada9f33cb483b63e6beb6ad775acfe7097d474203c5944a72593c1256595decf549791dc32a60da5c371e856a7849413019272d2a6d4651555b508917d7b
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- tilia-xml (1.3.0)
4
+ tilia-xml (1.3.0.1)
5
5
  activesupport (>= 4.0)
6
6
  libxml-ruby (>= 2.8)
7
7
  tilia-uri (~> 1.0, >= 1.0.1.1)
@@ -211,10 +211,8 @@ module Tilia
211
211
  @reader = ::LibXML::XML::Reader.string(input)
212
212
  elsif input.is_a?(File)
213
213
  @reader = ::LibXML::XML::Reader.file(input)
214
- elsif input.is_a?(StringIO)
215
- @reader = ::LibXML::XML::Reader.io(input)
216
214
  else
217
- raise 'Unable to load XML document'
215
+ @reader = ::LibXML::XML::Reader.io(input)
218
216
  end
219
217
  end
220
218
 
@@ -3,7 +3,7 @@ module Tilia
3
3
  # This class contains the version number for this package.
4
4
  class Version
5
5
  # Full version number
6
- VERSION = '1.3.0'.freeze
6
+ VERSION = '1.3.0.1'.freeze
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tilia-xml
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jakob Sack
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-04 00:00:00.000000000 Z
11
+ date: 2016-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport