turbot-runner 0.1.44 → 0.1.45

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.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZjhmY2MyYTAzMTZiYmExNGY3NGVjZDJiMWU1OGYzZWM2ZjZlYmE4Ng==
4
+ ZWFhM2Y1MWE5Y2FjOWMzZjQ3YjNlNjIwYTgyMDg5ZmVmMjUzMmY2Mw==
5
5
  data.tar.gz: !binary |-
6
- YmEzZDBhOGY3NmM4MDQ3MWU4NWUyYWVkMzU2MTZjZjJjYzE5OGVkMQ==
6
+ NDExODU0YmJkMGUwNDZkNDhhYTc4MTcxYjc3MTE5OGNmMThiYmUwNQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YzFmNjc0NjViNzEwOTgyN2RjZTgxMTcxYjBkZjllY2UyN2RjYjhlNTUwYzZj
10
- MzcyZDA5YjkzMTY2NDlmM2ZlNDg2MDg0ZGFkMTc3MDlmNTVmZGVjMmE4Y2Iy
11
- NTBkZGNiYjg3OGRlMzliMzYxYWRmOWRlYjJiYjQwMmQ2ZjYwYjc=
9
+ ZTFiYTNmOWUwMjRjY2E2ZjgwZTBmNDU1NDJhMjRlYzA0NTkzNjIwZjMwMWRl
10
+ OWEwMDQxZjU2OWQwYWM3OWE3OGQxYWU5Y2M0ZmExYWFiYzU3YmNiNjNkZWE0
11
+ ZGZhOTZlYjc2NmY0ZTdmMzBiOGYyOTI3OGMyMzRlNzJlMzM5YTQ=
12
12
  data.tar.gz: !binary |-
13
- M2VhZjdmYTI2Y2U5YTVmZGFiMTdhZjExYWI4YjMxZmU4OTlkYzRlMGMxZjBh
14
- NTNmMjQwNjU2ZGNkZTI4ZWUyNmI4NzA5YWFjNjY2MWQ0ZWQzM2M3ZjcyM2Rl
15
- NmE1NDNmMDNjYzZlNGI2YjFlZTJjYjk3ZGE4YTk2OWZjZDNiOWM=
13
+ OWY0ZDE5ZTBhOGI2MGEzNDM2OWU1NTkxMmQ4NTIzMzliZDNiOTM1ZjlkOWYx
14
+ YWYxOWMyODNiOTYxZjhkNzAwNzRkYmIwZjY2MDllN2MyNjA3MzViNWI2NDRj
15
+ ZjVhYTY0ODM3NDBhZTk5ZmExMWIzYjQ0MzFmNDYzZDQ4NzZiMjM=
@@ -38,12 +38,12 @@ module TurbotRunner
38
38
 
39
39
  def set_up_output_directory
40
40
  FileUtils.mkdir_p(@output_directory)
41
- FileUtils.rm_f(File.join(@output_directory, 'scraper.out'))
42
- FileUtils.rm_f(File.join(@output_directory, 'scraper.err'))
41
+ FileUtils.rm_f(output_file('scraper', '.out'))
42
+ FileUtils.rm_f(output_file('scraper', '.err'))
43
43
 
44
44
  transformers.each do |transformer_config|
45
- FileUtils.rm_f(File.join(@output_directory, "#{transformer_config[:file]}.out"))
46
- FileUtils.rm_f(File.join(@output_directory, "#{transformer_config[:file]}.err"))
45
+ FileUtils.rm_f(output_file(transformer_config[:file], '.out'))
46
+ FileUtils.rm_f(output_file(transformer_config[:file], '.err'))
47
47
  end
48
48
  end
49
49
 
@@ -1,3 +1,3 @@
1
1
  module TurbotRunner
2
- VERSION = '0.1.44'
2
+ VERSION = '0.1.45'
3
3
  end
@@ -2,10 +2,6 @@ require 'json'
2
2
  require 'turbot_runner'
3
3
 
4
4
  describe TurbotRunner::Runner do
5
- before(:each) do
6
- Dir.glob('spec/bots/**/output/*').each {|f| File.delete(f)}
7
- end
8
-
9
5
  after(:all) do
10
6
  puts
11
7
  puts 'If all specs passed, you should now run `ruby spec/manual_spec.rb`'
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.1.44
4
+ version: 0.1.45
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenCorporates
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-10 00:00:00.000000000 Z
11
+ date: 2015-07-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport