turbot-runner 0.2.30 → 0.2.31

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: bbb3526ea7ac8f3c271e856db5f43dc43fcb74b5
4
- data.tar.gz: f71bec0454597ed7623392d82221f7dae5540087
3
+ metadata.gz: 46d0832f2aa1a49fe3dd1bfa866acc052675d763
4
+ data.tar.gz: 4603ea580c1f2e8bf89bd814ee1898db62947a10
5
5
  SHA512:
6
- metadata.gz: 0fbac87bc3aa0b646d8044f329810a80cbda6e939823fc107d106fcb640310cc4006becf0f9cec5938878f6e56adbbdec3f8f9898a07baab8146ef309b20d270
7
- data.tar.gz: 1d1fa48240594c9c273ab3e83fc844b0953ac519d55a3251afe2573cf551548c4245144e844350d39d895e9f2a224227711ce6f8c3d67f664eaca3f3800dd810
6
+ metadata.gz: 5ead2003d9cf2a65cb20a02d081facde62a72d80696c915dbdf8e5a14092b06d305533c60eda271c403036610e6660f6ca967dd44064ce3bb12e425725aaed6e
7
+ data.tar.gz: 015a456f06cd43ea1e677a2daf3f7aff8bf016374b57944ce2410010c528f3169df5c894e4c4e82ee028985f2917d3d36e0e5d23ec178e404c56be6def960727
@@ -1,3 +1,3 @@
1
1
  module TurbotRunner
2
- VERSION = '0.2.30'
2
+ VERSION = '0.2.31'
3
3
  end
data/lib/turbot_runner.rb CHANGED
@@ -20,7 +20,7 @@ module TurbotRunner
20
20
  end
21
21
 
22
22
  def self.get_and_validate_schema_path(data_type)
23
- hyphenated_name = data_type.to_s.gsub("_", "-").gsub(" ", "-")
23
+ hyphenated_name = data_type.to_s.gsub(" ", "-")
24
24
  path = File.join(SCHEMAS_PATH, "#{hyphenated_name}-schema.json")
25
25
  raise TurbotRunner::InvalidDataType.new("Could not find #{path}") unless File.exists?(path)
26
26
  path
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: turbot-runner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.30
4
+ version: 0.2.31
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenCorporates
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-04 00:00:00.000000000 Z
11
+ date: 2017-12-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport