batch_manager 0.3.7 → 0.3.8

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: e67b4e4db201655dcf84a7a00cfc181c51589e42
4
- data.tar.gz: f1c44ee3da2e4a79d4bfd1195653a8be21b3733e
3
+ metadata.gz: eaa0eb636c2efd29269478afe59182015eebb35f
4
+ data.tar.gz: 381f7f985c89c37bf5dab2dcf10ceca8ca644753
5
5
  SHA512:
6
- metadata.gz: be0295fd71662721114ef955b7b03a3372dceef388cc7b3e212ea2a85c6616892e3f9b91ac78813c479ae5c1d2ffa23fd0842dcecc420e87acbd308cb0cb1fa6
7
- data.tar.gz: 4483e371dc20d5561752d336166914eb641584cbaf14b6a071440eb40947f54754fe0c1cd076620ffb753fab910b7c679a6deadde39bf75466c4ecab6f2025d2
6
+ metadata.gz: 25a0bda7f4b85ab6e670b9439a11ed2f273502322c77746d1a4e5764e97807b31c09ec697b63fe73b634d3baf9e8f40f9be5245e27a9cabcb131a468a0219388
7
+ data.tar.gz: a0abd5c4a17c90283a582d4a927319e8ae307df3081a2b5928f50b862b24180fb710ab3ef2f06e51c0f0bfc67c2c6cc47f776d5a88537379b3c07a70066dd9a9
@@ -31,12 +31,9 @@ module BatchManager
31
31
 
32
32
  def exec_batch_script
33
33
  write_log_header
34
- eval(File.read(@batch_file_path))
34
+ eval(File.read(@batch_file_path), nil, @batch_file_path)
35
35
  @logger.info "Succeeded."
36
36
  @batch_status.update_schema if @wet
37
- rescue => e
38
- @logger.error e
39
- @logger.info "Failed."
40
37
  ensure
41
38
  puts "Log saved at: #{@logger.log_file}" if @logger.log_file
42
39
  end
@@ -1,3 +1,3 @@
1
1
  module BatchManager
2
- VERSION = "0.3.7"
2
+ VERSION = "0.3.8"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: batch_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.7
4
+ version: 0.3.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Weihu Chen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-25 00:00:00.000000000 Z
11
+ date: 2013-12-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails