mortar 0.11.1 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/mortar/command.rb +2 -0
- data/lib/mortar/command/base.rb +46 -1
- data/lib/mortar/command/describe.rb +8 -4
- data/lib/mortar/command/illustrate.rb +2 -1
- data/lib/mortar/command/jobs.rb +3 -0
- data/lib/mortar/command/local.rb +12 -6
- data/lib/mortar/command/validate.rb +2 -1
- data/lib/mortar/local/controller.rb +16 -11
- data/lib/mortar/local/pig.rb +44 -41
- data/lib/mortar/pigversion.rb +71 -0
- data/lib/mortar/templates/script/runpig.sh +1 -1
- data/lib/mortar/version.rb +1 -1
- data/spec/mortar/command/base_spec.rb +116 -0
- data/spec/mortar/command/describe_spec.rb +4 -4
- data/spec/mortar/command/illustrate_spec.rb +7 -7
- data/spec/mortar/command/jobs_spec.rb +14 -3
- data/spec/mortar/command/local_spec.rb +10 -10
- data/spec/mortar/command/validate_spec.rb +4 -4
- data/spec/mortar/local/controller_spec.rb +29 -6
- data/spec/mortar/local/pig_spec.rb +42 -18
- data/spec/spec_helper.rb +6 -1
- metadata +180 -132
- checksums.yaml +0 -7
@@ -71,7 +71,7 @@ STDERR
|
|
71
71
|
validate_id = "c571a8c7f76a4fd4a67c103d753e2dd5"
|
72
72
|
parameters = ["name"=>"key", "value"=>"value" ]
|
73
73
|
|
74
|
-
mock(Mortar::Auth.api).post_validate("myproject", "my_script", is_a(String), :parameters => parameters) {Excon::Response.new(:body => {"validate_id" => validate_id})}
|
74
|
+
mock(Mortar::Auth.api).post_validate("myproject", "my_script", is_a(String), :pig_version => "0.9", :parameters => parameters) {Excon::Response.new(:body => {"validate_id" => validate_id})}
|
75
75
|
mock(Mortar::Auth.api).get_validate(validate_id).returns(Excon::Response.new(:body => {"status_code" => Mortar::API::Validate::STATUS_QUEUED, "status_description" => "Pending"})).ordered
|
76
76
|
mock(Mortar::Auth.api).get_validate(validate_id).returns(Excon::Response.new(:body => {"status_code" => Mortar::API::Validate::STATUS_GATEWAY_STARTING, "status_description" => "GATEWAY_STARTING"})).ordered
|
77
77
|
mock(Mortar::Auth.api).get_validate(validate_id).returns(Excon::Response.new(:body => {"status_code" => Mortar::API::Validate::STATUS_PROGRESS, "status_description" => "Starting"})).ordered
|
@@ -101,7 +101,7 @@ STDOUT
|
|
101
101
|
column_number = 32
|
102
102
|
error_type = 'PigError'
|
103
103
|
|
104
|
-
mock(Mortar::Auth.api).post_validate("myproject", "my_script", is_a(String), :parameters => []) {Excon::Response.new(:body => {"validate_id" => validate_id})}
|
104
|
+
mock(Mortar::Auth.api).post_validate("myproject", "my_script", is_a(String), :pig_version => "0.9", :parameters => []) {Excon::Response.new(:body => {"validate_id" => validate_id})}
|
105
105
|
mock(Mortar::Auth.api).get_validate(validate_id).returns(Excon::Response.new(:body => {"status_code" => Mortar::API::Validate::STATUS_QUEUED, "status_description" => "Pending"})).ordered
|
106
106
|
mock(Mortar::Auth.api).get_validate(validate_id).returns(Excon::Response.new(:body => {"status_code" => Mortar::API::Validate::STATUS_FAILURE, "status_description" => "Failed",
|
107
107
|
"error_message" => error_message,
|
@@ -135,7 +135,7 @@ STDERR
|
|
135
135
|
validate_id = "c571a8c7f76a4fd4a67c103d753e2dd5"
|
136
136
|
parameters = ["name"=>"key", "value"=>"value" ]
|
137
137
|
|
138
|
-
mock(Mortar::Auth.api).post_validate("myproject", "my_script", is_a(String), :parameters => parameters) {Excon::Response.new(:body => {"validate_id" => validate_id})}
|
138
|
+
mock(Mortar::Auth.api).post_validate("myproject", "my_script", is_a(String), :pig_version => "0.12", :parameters => parameters) {Excon::Response.new(:body => {"validate_id" => validate_id})}
|
139
139
|
mock(Mortar::Auth.api).get_validate(validate_id).returns(Excon::Response.new(:body => {"status_code" => Mortar::API::Validate::STATUS_QUEUED, "status_description" => "Pending"})).ordered
|
140
140
|
mock(Mortar::Auth.api).get_validate(validate_id).returns(Excon::Response.new(:body => {"status_code" => Mortar::API::Validate::STATUS_GATEWAY_STARTING, "status_description" => "GATEWAY_STARTING"})).ordered
|
141
141
|
mock(Mortar::Auth.api).get_validate(validate_id).returns(Excon::Response.new(:body => {"status_code" => Mortar::API::Validate::STATUS_PROGRESS, "status_description" => "Starting"})).ordered
|
@@ -144,7 +144,7 @@ STDERR
|
|
144
144
|
mock(@git).sync_embedded_project.with_any_args.times(1) { "somewhere_over_the_rainbow" }
|
145
145
|
|
146
146
|
write_file(File.join(p.pigscripts_path, "my_script.pig"))
|
147
|
-
stderr, stdout = execute("validate my_script --polling_interval 0.05 -p key=value", p, @git)
|
147
|
+
stderr, stdout = execute("validate my_script --polling_interval 0.05 -p key=value -g 0.12", p, @git)
|
148
148
|
end
|
149
149
|
end
|
150
150
|
end
|
@@ -66,18 +66,41 @@ module Mortar::Local
|
|
66
66
|
|
67
67
|
end
|
68
68
|
|
69
|
+
context("install_and_configure") do
|
70
|
+
it "supplied default pig version" do
|
71
|
+
ctrl = Mortar::Local::Controller.new
|
72
|
+
|
73
|
+
any_instance_of(Mortar::Local::Java) do |j|
|
74
|
+
mock(j).check_install.returns(true)
|
75
|
+
end
|
76
|
+
any_instance_of(Mortar::Local::Pig) do |p|
|
77
|
+
mock(p).install_or_update(is_a(Mortar::PigVersion::Pig09))
|
78
|
+
end
|
79
|
+
any_instance_of(Mortar::Local::Python) do |p|
|
80
|
+
mock(p).check_or_install.returns(true)
|
81
|
+
mock(p).check_virtualenv.returns(true)
|
82
|
+
mock(p).setup_project_python_environment.returns(true)
|
83
|
+
end
|
84
|
+
any_instance_of(Mortar::Local::Jython) do |j|
|
85
|
+
mock(j).install_or_update
|
86
|
+
end
|
87
|
+
mock(ctrl).ensure_local_install_dirs_in_gitignore
|
88
|
+
ctrl.install_and_configure
|
89
|
+
end
|
90
|
+
end
|
91
|
+
|
69
92
|
context("run") do
|
70
93
|
|
71
94
|
it "checks for aws keys, checks depenendency installation, runs script" do
|
72
95
|
c = Mortar::Local::Controller.new
|
73
96
|
mock(c).require_aws_keys
|
74
|
-
mock(c).install_and_configure
|
97
|
+
mock(c).install_and_configure("0.9")
|
75
98
|
test_script = "foobar-script"
|
76
99
|
the_parameters = []
|
77
100
|
any_instance_of(Mortar::Local::Pig) do |p|
|
78
|
-
mock(p).run_script(test_script, the_parameters)
|
101
|
+
mock(p).run_script(test_script, "0.9", the_parameters)
|
79
102
|
end
|
80
|
-
c.run(test_script, the_parameters)
|
103
|
+
c.run(test_script, "0.9", the_parameters)
|
81
104
|
end
|
82
105
|
|
83
106
|
end
|
@@ -86,15 +109,15 @@ module Mortar::Local
|
|
86
109
|
it "checks for aws keys, checks depenendency installation, runs the illustrate process" do
|
87
110
|
c = Mortar::Local::Controller.new
|
88
111
|
mock(c).require_aws_keys
|
89
|
-
mock(c).install_and_configure
|
112
|
+
mock(c).install_and_configure("0.9")
|
90
113
|
test_script = "foobar-script"
|
91
114
|
script_alias = "some_alias"
|
92
115
|
prune = false
|
93
116
|
the_parameters = []
|
94
117
|
any_instance_of(Mortar::Local::Pig) do |p|
|
95
|
-
mock(p).illustrate_alias(test_script, script_alias, prune, the_parameters)
|
118
|
+
mock(p).illustrate_alias(test_script, script_alias, prune, "0.9", the_parameters)
|
96
119
|
end
|
97
|
-
c.illustrate(test_script, script_alias, the_parameters, prune)
|
120
|
+
c.illustrate(test_script, script_alias, "0.9", the_parameters, prune)
|
98
121
|
end
|
99
122
|
end
|
100
123
|
|
@@ -34,17 +34,19 @@ module Mortar::Local
|
|
34
34
|
# chmods bin/pig, removes tgz, and notes the installation
|
35
35
|
FakeFS do
|
36
36
|
pig = Mortar::Local::Pig.new
|
37
|
-
|
38
|
-
|
37
|
+
pig09 = Mortar::PigVersion::Pig09.new
|
38
|
+
local_pig_archive = File.join(pig.local_install_directory, pig09.tgz_name)
|
39
|
+
mock(pig).download_file(pig.pig_archive_url(pig09), local_pig_archive) do
|
39
40
|
# Simulate the tgz file being downloaded, this should be deleted
|
40
41
|
# before the method finishes executing
|
41
42
|
FileUtils.touch(local_pig_archive)
|
42
43
|
end
|
43
44
|
mock(pig).extract_tgz(local_pig_archive, pig.local_install_directory)
|
44
|
-
mock(pig).note_install(
|
45
|
+
mock(pig).note_install(pig09.name)
|
46
|
+
mock(pig).command(pig09)
|
45
47
|
begin
|
46
48
|
previous_stdout, $stdout = $stdout, StringIO.new
|
47
|
-
pig.install_pig
|
49
|
+
pig.install_pig(pig09)
|
48
50
|
ensure
|
49
51
|
$stdout = previous_stdout
|
50
52
|
end
|
@@ -58,15 +60,17 @@ module Mortar::Local
|
|
58
60
|
|
59
61
|
it "does nothing if existing install and no update available" do
|
60
62
|
pig = Mortar::Local::Pig.new
|
61
|
-
|
62
|
-
|
63
|
+
pig09 = Mortar::PigVersion::Pig09.new
|
64
|
+
|
65
|
+
mock(pig).should_do_pig_install?(pig09).returns(false)
|
66
|
+
mock(pig).should_do_pig_update?(pig09).returns(false)
|
63
67
|
mock(pig).should_do_lib_install?.returns(false)
|
64
68
|
mock(pig).should_do_lib_update?.returns(false)
|
65
69
|
FakeFS do
|
66
70
|
FileUtils.mkdir_p(File.dirname(pig.local_install_directory))
|
67
71
|
FileUtils.rm_rf(pig.local_install_directory, :force => true)
|
68
|
-
pig.install_or_update
|
69
|
-
expect(File.exists?(pig.pig_directory)).to be_false
|
72
|
+
pig.install_or_update(pig09)
|
73
|
+
expect(File.exists?(pig.pig_directory(pig09))).to be_false
|
70
74
|
expect(File.exists?(pig.lib_directory)).to be_false
|
71
75
|
|
72
76
|
end
|
@@ -74,26 +78,30 @@ module Mortar::Local
|
|
74
78
|
|
75
79
|
it "does install if none has been done before" do
|
76
80
|
pig = Mortar::Local::Pig.new
|
77
|
-
|
81
|
+
pig09 = Mortar::PigVersion::Pig09.new
|
82
|
+
|
83
|
+
mock(pig).should_do_pig_install?(pig09).returns(true)
|
78
84
|
mock(pig).should_do_lib_install?.returns(true)
|
79
85
|
|
80
|
-
mock(pig).install_pig
|
86
|
+
mock(pig).install_pig(pig09)
|
81
87
|
mock(pig).install_lib
|
82
88
|
capture_stdout do
|
83
|
-
pig.install_or_update
|
89
|
+
pig.install_or_update(pig09)
|
84
90
|
end
|
85
91
|
end
|
86
92
|
|
87
93
|
it "does install if one was done before but there is an update" do
|
88
94
|
pig = Mortar::Local::Pig.new
|
89
|
-
|
90
|
-
|
95
|
+
pig09 = Mortar::PigVersion::Pig09.new
|
96
|
+
|
97
|
+
mock(pig).should_do_pig_install?(pig09).returns(false)
|
98
|
+
mock(pig).should_do_pig_update?(pig09).returns(true)
|
91
99
|
mock(pig).should_do_lib_install?.returns(false)
|
92
100
|
mock(pig).should_do_lib_update?.returns(true)
|
93
|
-
mock(pig).install_pig
|
101
|
+
mock(pig).install_pig(pig09)
|
94
102
|
mock(pig).install_lib
|
95
103
|
capture_stdout do
|
96
|
-
pig.install_or_update
|
104
|
+
pig.install_or_update(pig09)
|
97
105
|
end
|
98
106
|
end
|
99
107
|
|
@@ -195,7 +203,7 @@ module Mortar::Local
|
|
195
203
|
mock(pig).run_pig_command.with_any_args.returns(true)
|
196
204
|
mock(pig).show_illustrate_output.with_any_args
|
197
205
|
stub(pig).make_pig_param_file.returns('param.file')
|
198
|
-
pig.illustrate_alias(script, 'my_alias', false, [])
|
206
|
+
pig.illustrate_alias(script, 'my_alias', false, "0.9", [])
|
199
207
|
end
|
200
208
|
|
201
209
|
it "skips results if illustrate was unsuccessful" do
|
@@ -205,7 +213,7 @@ module Mortar::Local
|
|
205
213
|
mock(pig).run_pig_command.with_any_args.returns(false)
|
206
214
|
mock(pig).show_illustrate_output.with_any_args.never
|
207
215
|
stub(pig).make_pig_param_file.returns('param.file')
|
208
|
-
pig.illustrate_alias(script, 'my_alias', false, [])
|
216
|
+
pig.illustrate_alias(script, 'my_alias', false, "0.9", [])
|
209
217
|
end
|
210
218
|
|
211
219
|
it "does not require login credentials for illustration" do
|
@@ -215,7 +223,7 @@ module Mortar::Local
|
|
215
223
|
mock(Mortar::Auth).user_s3_safe(true).returns('notloggedin-user-org')
|
216
224
|
mock(pig).run_pig_command.with_any_args.returns(true)
|
217
225
|
mock(pig).show_illustrate_output.with_any_args
|
218
|
-
pig.illustrate_alias(script, 'my_alias', false, [])
|
226
|
+
pig.illustrate_alias(script, 'my_alias', false, "0.9", [])
|
219
227
|
end
|
220
228
|
|
221
229
|
end
|
@@ -236,6 +244,22 @@ module Mortar::Local
|
|
236
244
|
end
|
237
245
|
end
|
238
246
|
|
247
|
+
context "template_params_classpath" do
|
248
|
+
it "Uses default pig" do
|
249
|
+
pig = Mortar::Local::Pig.new
|
250
|
+
tpc = pig.template_params_classpath
|
251
|
+
expect(tpc.include?("pig-0.9")).to be_true
|
252
|
+
expect(tpc.include?("pig-0.12")).to be_false
|
253
|
+
end
|
254
|
+
|
255
|
+
it "Works with 0.12 pig" do
|
256
|
+
pig = Mortar::Local::Pig.new
|
257
|
+
tpc = pig.template_params_classpath(Mortar::PigVersion::Pig012.new)
|
258
|
+
expect(tpc.include?("pig-0.12")).to be_true
|
259
|
+
expect(tpc.include?("pig-0.9")).to be_false
|
260
|
+
end
|
261
|
+
end
|
262
|
+
|
239
263
|
|
240
264
|
end
|
241
265
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -38,7 +38,11 @@ require "fakefs/safe"
|
|
38
38
|
require 'tmpdir'
|
39
39
|
|
40
40
|
def execute(command_line, project=nil, git=nil)
|
41
|
+
stderr, stdout, command = execute_and_return_command(command_line, project, git)
|
42
|
+
[stderr, stdout]
|
43
|
+
end
|
41
44
|
|
45
|
+
def execute_and_return_command(command_line, project=nil, git=nil)
|
42
46
|
args = command_line.split(" ")
|
43
47
|
command = args.shift
|
44
48
|
|
@@ -69,6 +73,7 @@ def execute(command_line, project=nil, git=nil)
|
|
69
73
|
$stderr = captured_stderr = StringIO.new
|
70
74
|
$stdout = captured_stdout = StringIO.new
|
71
75
|
|
76
|
+
|
72
77
|
begin
|
73
78
|
object.send(method)
|
74
79
|
rescue SystemExit
|
@@ -77,7 +82,7 @@ def execute(command_line, project=nil, git=nil)
|
|
77
82
|
Mortar::Command.current_command = nil
|
78
83
|
end
|
79
84
|
|
80
|
-
[captured_stderr.string, captured_stdout.string]
|
85
|
+
[captured_stderr.string, captured_stdout.string, object]
|
81
86
|
end
|
82
87
|
|
83
88
|
def any_instance_of(klass, &block)
|
metadata
CHANGED
@@ -1,162 +1,196 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: mortar
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 47
|
5
|
+
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 12
|
9
|
+
- 0
|
10
|
+
version: 0.12.0
|
5
11
|
platform: ruby
|
6
|
-
authors:
|
12
|
+
authors:
|
7
13
|
- Mortar Data
|
8
14
|
autorequire:
|
9
15
|
bindir: bin
|
10
16
|
cert_chain: []
|
11
|
-
|
12
|
-
|
13
|
-
|
17
|
+
|
18
|
+
date: 2013-10-22 00:00:00 Z
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
14
21
|
name: rdoc
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - '>='
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: 4.0.0
|
20
|
-
type: :runtime
|
21
22
|
prerelease: false
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
+
none: false
|
25
|
+
requirements:
|
26
|
+
- - ">="
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
hash: 63
|
29
|
+
segments:
|
30
|
+
- 4
|
31
|
+
- 0
|
32
|
+
- 0
|
26
33
|
version: 4.0.0
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: mortar-api-ruby
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ~>
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: 0.6.3
|
34
34
|
type: :runtime
|
35
|
+
version_requirements: *id001
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: mortar-api-ruby
|
35
38
|
prerelease: false
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: 0.6.3
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: netrc
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
39
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
40
|
+
none: false
|
41
|
+
requirements:
|
45
42
|
- - ~>
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
hash: 3
|
45
|
+
segments:
|
46
|
+
- 0
|
47
|
+
- 7
|
48
|
+
- 0
|
49
|
+
version: 0.7.0
|
48
50
|
type: :runtime
|
51
|
+
version_requirements: *id002
|
52
|
+
- !ruby/object:Gem::Dependency
|
53
|
+
name: netrc
|
49
54
|
prerelease: false
|
50
|
-
|
51
|
-
|
55
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
56
|
+
none: false
|
57
|
+
requirements:
|
52
58
|
- - ~>
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
|
55
|
-
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
hash: 5
|
61
|
+
segments:
|
62
|
+
- 0
|
63
|
+
- 7
|
64
|
+
version: "0.7"
|
65
|
+
type: :runtime
|
66
|
+
version_requirements: *id003
|
67
|
+
- !ruby/object:Gem::Dependency
|
56
68
|
name: launchy
|
57
|
-
|
58
|
-
|
69
|
+
prerelease: false
|
70
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
71
|
+
none: false
|
72
|
+
requirements:
|
59
73
|
- - ~>
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
hash: 1
|
76
|
+
segments:
|
77
|
+
- 2
|
78
|
+
- 1
|
79
|
+
version: "2.1"
|
62
80
|
type: :runtime
|
81
|
+
version_requirements: *id004
|
82
|
+
- !ruby/object:Gem::Dependency
|
83
|
+
name: parseconfig
|
63
84
|
prerelease: false
|
64
|
-
|
65
|
-
|
85
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
86
|
+
none: false
|
87
|
+
requirements:
|
66
88
|
- - ~>
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
|
69
|
-
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
hash: 19
|
91
|
+
segments:
|
92
|
+
- 1
|
93
|
+
- 0
|
94
|
+
- 2
|
95
|
+
version: 1.0.2
|
96
|
+
type: :runtime
|
97
|
+
version_requirements: *id005
|
98
|
+
- !ruby/object:Gem::Dependency
|
70
99
|
name: excon
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - ~>
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '0.15'
|
76
|
-
type: :development
|
77
100
|
prerelease: false
|
78
|
-
|
79
|
-
|
101
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
102
|
+
none: false
|
103
|
+
requirements:
|
80
104
|
- - ~>
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
- - ~>
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: 0.4.2
|
105
|
+
- !ruby/object:Gem::Version
|
106
|
+
hash: 21
|
107
|
+
segments:
|
108
|
+
- 0
|
109
|
+
- 15
|
110
|
+
version: "0.15"
|
90
111
|
type: :development
|
112
|
+
version_requirements: *id006
|
113
|
+
- !ruby/object:Gem::Dependency
|
114
|
+
name: fakefs
|
91
115
|
prerelease: false
|
92
|
-
|
93
|
-
|
116
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
117
|
+
none: false
|
118
|
+
requirements:
|
94
119
|
- - ~>
|
95
|
-
- !ruby/object:Gem::Version
|
120
|
+
- !ruby/object:Gem::Version
|
121
|
+
hash: 11
|
122
|
+
segments:
|
123
|
+
- 0
|
124
|
+
- 4
|
125
|
+
- 2
|
96
126
|
version: 0.4.2
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: gem-release
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - '>='
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '0'
|
104
127
|
type: :development
|
128
|
+
version_requirements: *id007
|
129
|
+
- !ruby/object:Gem::Dependency
|
130
|
+
name: gem-release
|
105
131
|
prerelease: false
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
- - '>='
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: '0'
|
132
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
133
|
+
none: false
|
134
|
+
requirements:
|
135
|
+
- - ">="
|
136
|
+
- !ruby/object:Gem::Version
|
137
|
+
hash: 3
|
138
|
+
segments:
|
139
|
+
- 0
|
140
|
+
version: "0"
|
118
141
|
type: :development
|
142
|
+
version_requirements: *id008
|
143
|
+
- !ruby/object:Gem::Dependency
|
144
|
+
name: rake
|
119
145
|
prerelease: false
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
- - '>='
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
version: '0'
|
146
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
147
|
+
none: false
|
148
|
+
requirements:
|
149
|
+
- - ">="
|
150
|
+
- !ruby/object:Gem::Version
|
151
|
+
hash: 3
|
152
|
+
segments:
|
153
|
+
- 0
|
154
|
+
version: "0"
|
132
155
|
type: :development
|
156
|
+
version_requirements: *id009
|
157
|
+
- !ruby/object:Gem::Dependency
|
158
|
+
name: rr
|
133
159
|
prerelease: false
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
- - '>='
|
144
|
-
- !ruby/object:Gem::Version
|
145
|
-
version: '0'
|
160
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
161
|
+
none: false
|
162
|
+
requirements:
|
163
|
+
- - ">="
|
164
|
+
- !ruby/object:Gem::Version
|
165
|
+
hash: 3
|
166
|
+
segments:
|
167
|
+
- 0
|
168
|
+
version: "0"
|
146
169
|
type: :development
|
170
|
+
version_requirements: *id010
|
171
|
+
- !ruby/object:Gem::Dependency
|
172
|
+
name: rspec
|
147
173
|
prerelease: false
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
174
|
+
requirement: &id011 !ruby/object:Gem::Requirement
|
175
|
+
none: false
|
176
|
+
requirements:
|
177
|
+
- - ">="
|
178
|
+
- !ruby/object:Gem::Version
|
179
|
+
hash: 3
|
180
|
+
segments:
|
181
|
+
- 0
|
182
|
+
version: "0"
|
183
|
+
type: :development
|
184
|
+
version_requirements: *id011
|
153
185
|
description: Client library and command-line tool to interact with the Mortar service.
|
154
186
|
email: support@mortardata.com
|
155
|
-
executables:
|
187
|
+
executables:
|
156
188
|
- mortar
|
157
189
|
extensions: []
|
190
|
+
|
158
191
|
extra_rdoc_files: []
|
159
|
-
|
192
|
+
|
193
|
+
files:
|
160
194
|
- README.md
|
161
195
|
- bin/mortar
|
162
196
|
- css/illustrate.css
|
@@ -202,6 +236,7 @@ files:
|
|
202
236
|
- lib/mortar/local/jython.rb
|
203
237
|
- lib/mortar/local/pig.rb
|
204
238
|
- lib/mortar/local/python.rb
|
239
|
+
- lib/mortar/pigversion.rb
|
205
240
|
- lib/mortar/plugin.rb
|
206
241
|
- lib/mortar/project.rb
|
207
242
|
- lib/mortar/templates/characterize/README.md
|
@@ -279,25 +314,38 @@ files:
|
|
279
314
|
- spec/support/display_message_matcher.rb
|
280
315
|
homepage: http://mortardata.com/
|
281
316
|
licenses: []
|
282
|
-
|
317
|
+
|
283
318
|
post_install_message:
|
284
319
|
rdoc_options: []
|
285
|
-
|
320
|
+
|
321
|
+
require_paths:
|
286
322
|
- lib
|
287
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
288
|
-
|
289
|
-
|
290
|
-
|
323
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
324
|
+
none: false
|
325
|
+
requirements:
|
326
|
+
- - ">="
|
327
|
+
- !ruby/object:Gem::Version
|
328
|
+
hash: 57
|
329
|
+
segments:
|
330
|
+
- 1
|
331
|
+
- 8
|
332
|
+
- 7
|
291
333
|
version: 1.8.7
|
292
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
334
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
335
|
+
none: false
|
336
|
+
requirements:
|
337
|
+
- - ">="
|
338
|
+
- !ruby/object:Gem::Version
|
339
|
+
hash: 3
|
340
|
+
segments:
|
341
|
+
- 0
|
342
|
+
version: "0"
|
297
343
|
requirements: []
|
344
|
+
|
298
345
|
rubyforge_project:
|
299
|
-
rubygems_version:
|
346
|
+
rubygems_version: 1.8.24
|
300
347
|
signing_key:
|
301
|
-
specification_version:
|
348
|
+
specification_version: 3
|
302
349
|
summary: Client library and CLI to interact with the Mortar service.
|
303
350
|
test_files: []
|
351
|
+
|