polyrex 1.1.10 → 1.1.11

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: 6b6b89ddcbcf5e1395bced5a729df932907aa763
4
- data.tar.gz: 22bfc56f61c534fc033488f8cf7c4106c3954b24
3
+ metadata.gz: 89296ca89cc551407a17ea3f5a2621d63401074d
4
+ data.tar.gz: 5ee612d6fe57038cf8fef2b8cc350f0d95e2cf88
5
5
  SHA512:
6
- metadata.gz: d75fd80386ad2d85df55996758bd100e6dcba113587f5b1664173083be41b4d7d2fefdc144c41281d8dd097cd5ccbb980c50cded5608a715987bb5d1bb93caac
7
- data.tar.gz: e68f35c10d63a2f67d57032b8cc7f34f484b7a270e7e2ec9b556616057200f4ef863078769dcbaaab82237bd74e8f4a2c56622b396a1c97d4ddd8321425f08e9
6
+ metadata.gz: b547141f2f00396e1fcc323d156302f0b7aac12056403d2e1beba1772ba328dcdb40faa84bfebbeb715a1ce3f0b097d504ec50378d0ebe5096a17caf6a5e07d9
7
+ data.tar.gz: c0ee202560463e36bbc06450183ec039e64e120f4302cb10408d60d1ebdf47d27cdab2f9f471f20e2a8a9d3913c64120bdd0a97d95a0f725fd629d3f18b3d587
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
data/lib/polyrex.rb CHANGED
@@ -167,6 +167,10 @@ class Polyrex
167
167
 
168
168
  buffer, type = RXFHelper.read(x)
169
169
 
170
+ if type == :unknown and buffer.lines.length <= 1 then
171
+ raise PolyrexException, 'File not found'
172
+ end
173
+
170
174
  buffer = yield if block_given?
171
175
  string_parse buffer.clone, options
172
176
  self
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: polyrex
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.10
4
+ version: 1.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -31,7 +31,7 @@ cert_chain:
31
31
  EUI+ncIuEEQSxIVKGeaQ49Dk10P2t0cX3DGyMlv7sreJohHxJfNKsjG/SAk0cks0
32
32
  9+gffejS1ORTgQ==
33
33
  -----END CERTIFICATE-----
34
- date: 2017-01-10 00:00:00.000000000 Z
34
+ date: 2017-01-13 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: polyrex-schema
metadata.gz.sig CHANGED
Binary file