viaduct-archfile 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/viaduct/archfile.rb +2 -2
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d17b454ac6a627689305e8d342e17386eb329669
|
4
|
+
data.tar.gz: 5122ab3c059cc27540e450a6624dfe89c7d66d2c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b377d903e849995cecc5eab83a92f069778e7361a1507651732f905b8a41604faae6656eda53af5ed54200d73497f4a1633bf0aa8c3b086834b7e11fabaeaa7
|
7
|
+
data.tar.gz: 1e20b690758fb2e32d04fc0f73a8fc5ee3a113bdfc198d8a698739c87a1e07602f885ccd5cc147c39d9fbc79f69b4c09ba6044c0cfbb8526043a6129500ee8d4
|
data/README.md
CHANGED
data/lib/viaduct/archfile.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
require '
|
1
|
+
require 'safe_yaml/load'
|
2
2
|
|
3
3
|
module Viaduct
|
4
4
|
class Archfile
|
@@ -51,7 +51,7 @@ module Viaduct
|
|
51
51
|
# Load the YAML
|
52
52
|
#
|
53
53
|
begin
|
54
|
-
spec =
|
54
|
+
spec = SafeYAML.load(@yaml)
|
55
55
|
rescue Psych::SyntaxError => e
|
56
56
|
errors << [nil, "YAML document could not be read (#{e.message})"]
|
57
57
|
return @errors
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: viaduct-archfile
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Cooke
|
@@ -9,7 +9,21 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
date: 2014-01-28 00:00:00.000000000 Z
|
12
|
-
dependencies:
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: safe_yaml
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 1.0.1
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 1.0.1
|
13
27
|
description: A validation tool for checking the validity of a Viaduct Archfile
|
14
28
|
email:
|
15
29
|
- adam@viaduct.io
|