turbot-runner-morph 0.0.9 → 0.0.10

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: 51a41036eca213be6a0b77965d38dde48ee8264c
4
- data.tar.gz: a7ad957971d8e5672bc48cbe65b650a371edacd1
3
+ metadata.gz: 0f092456567330b470ba13e20c0da6ef11924f9f
4
+ data.tar.gz: fa5886399a0434fe120a06cbd760b4ebb2c505cb
5
5
  SHA512:
6
- metadata.gz: 385440835f14a1a19fb682a64b7b2a8ff10ca906a87c7caf765fc505913e5711c8dead1d33172e3ef9bb7e009afde604cb716121197463f649d91db148e50639
7
- data.tar.gz: 28a79530e866194a7264b01647600cab4efd27d6d7015a2783edb54b45aaada3d4f9f851d9b39a99f25cb90c61bae1e52949e619e24ad2dbfe0ea9ed5df6b3df
6
+ metadata.gz: f75edc5405a5923c6efd5e6d6729f12d84265f973789686987eda11d2935ac27363a892c91b5a55931170cee79c8fe7ed140e30ed32f896f4e8f6cce4028cfce
7
+ data.tar.gz: 29a187a2b8f7704e7cd0f093bc6906569e18b4805343dc969ec999d4af3339f8b89bb5f9b36dad367d876b123bb922d5e82c5f9cd45a1bed0504dd27f8bd0830
data/lib/turbot_runner.rb CHANGED
@@ -22,7 +22,7 @@ module TurbotRunner
22
22
  def self.get_and_validate_schema_path(data_type)
23
23
  hyphenated_name = data_type.to_s.gsub("_", "-").gsub(" ", "-")
24
24
  path = File.join(SCHEMAS_PATH, "#{hyphenated_name}-schema.json")
25
- raise TurbotRunner::InvalidDataType unless File.exists?(path)
25
+ raise TurbotRunner::InvalidDataType.new("Could not find #{path}") unless File.exists?(path)
26
26
  path
27
27
  end
28
28
  end
@@ -1,3 +1,3 @@
1
1
  module TurbotRunner
2
- VERSION = '0.0.9'
2
+ VERSION = '0.0.10'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: turbot-runner-morph
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenCorporates
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-25 00:00:00.000000000 Z
11
+ date: 2016-01-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: openc-json_schema
@@ -154,4 +154,3 @@ signing_key:
154
154
  specification_version: 4
155
155
  summary: Utilities for running bots with Turbot
156
156
  test_files: []
157
- has_rdoc: