mandy 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,8 +5,6 @@ require 'optparse'
5
5
  require 'ostruct'
6
6
  require 'cgi'
7
7
 
8
- exec('mandy-hadoop -h') unless ARGV.size >= 3
9
-
10
8
  options = OpenStruct.new
11
9
 
12
10
  OptionParser.new do |opts|
@@ -38,6 +36,8 @@ OptionParser.new do |opts|
38
36
  end
39
37
  end.parse!
40
38
 
39
+ exec('mandy-hadoop -h') unless ARGV.size >= 3
40
+
41
41
  def absolute_path(path)
42
42
  path =~ /^\// ? path : File.join(Dir.pwd, path)
43
43
  end
@@ -3,8 +3,6 @@ require 'optparse'
3
3
  require 'ostruct'
4
4
  require 'cgi'
5
5
 
6
- exec('mandy-local -h') unless ARGV.size >= 3
7
-
8
6
  options = OpenStruct.new
9
7
 
10
8
  OptionParser.new do |opts|
@@ -24,6 +22,8 @@ OptionParser.new do |opts|
24
22
  end
25
23
  end.parse!
26
24
 
25
+ exec('mandy-local -h') unless ARGV.size >= 3
26
+
27
27
  require "fileutils"
28
28
 
29
29
  def absolute_path(path)
@@ -5,9 +5,6 @@ require 'optparse'
5
5
  require 'ostruct'
6
6
  require 'json'
7
7
 
8
- exec('mandy-local -h') unless ARGV.size >= 2
9
-
10
-
11
8
  options = OpenStruct.new
12
9
 
13
10
  OptionParser.new do |opts|
@@ -39,6 +36,8 @@ OptionParser.new do |opts|
39
36
  end
40
37
  end.parse!
41
38
 
39
+ exec('mandy-local -h') unless ARGV.size >= 2
40
+
42
41
  file = ARGV[0]
43
42
  input = File.new(ARGV[1])
44
43
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mandy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Kent