viaduct-archfile 1.1.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/viaduct/archfile.rb +7 -0
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 502a658bf4d86831fc2ecc3ef374d49cb3cd9a95
4
- data.tar.gz: a79ee80a23d723efc98eb42cfce061b8ef2f2815
3
+ metadata.gz: 8d164f78021907716248fcc7aed40481d4fb0ab5
4
+ data.tar.gz: d6ba5c7379ad322451e900e2b74d171e503edee0
5
5
  SHA512:
6
- metadata.gz: 4f386fb0f5e89237322d10bc53b5ee5669d53b6caef840ff8dc7ef16d17d3c8d4ca6a4d8d075d10a6815d88e2ff42ccf7012e01820b5892ad00305d540da930a
7
- data.tar.gz: 8ba2c3c562eaa9b5f9a8c15a73c082f9c549a2fc34e0c66d4c11fb9c849916474f142ff6698004d02b295ffca2e156e30214e3f6c3ce37ff11217cf88040feb8
6
+ metadata.gz: c0436d77b895bdbc2f3c0199b2cd0b0414cc4f8079296d9091b06a0ac9a01451ca87355b7c64bd24083733532325921c50b38083119cb19270019d5904271270
7
+ data.tar.gz: 058fd4f9d5ac3db252a77e9e5cff26591a7139cb2a4096b3d5d0daabe63eebeab2a919e5105863a01da70d007b34191c1962ec7961f8afd9491ab12f842d7596
@@ -20,6 +20,13 @@ module Viaduct
20
20
  def spec
21
21
  @spec ||= SafeYAML.load(@yaml)
22
22
  end
23
+
24
+ #
25
+ # Is the archfile valid?
26
+ #
27
+ def valid?
28
+ validate && errors.empty?
29
+ end
23
30
 
24
31
  #
25
32
  # Store errors
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: viaduct-archfile
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Cooke
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-28 00:00:00.000000000 Z
11
+ date: 2014-01-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: safe_yaml