masamune 0.17.0 → 0.17.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/masamune/actions/execute.rb +8 -1
- data/lib/masamune/version.rb +1 -1
- data/spec/masamune/actions/execute_spec.rb +8 -0
- data/spec/masamune/actions/hadoop_streaming_spec.rb +0 -4
- data/spec/masamune/actions/transform_spec.rb +0 -4
- data/spec/support/rspec/example/action_example_group.rb +1 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6ddce086bb21f28d0fed13c985c5d4f85712e9a4
|
4
|
+
data.tar.gz: 0f9458ce48db794367985117fe07a7eb9fa6c67f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 532d05598d8286dc976935cbd15ee0e943dd4127f4d0f60f85044fb983f7f9214fa9c6115ea9b715684dd2985ad1740b00d0669cf495311ec9d90e999b90448b
|
7
|
+
data.tar.gz: 6541b858616931ed4b50aae951824e3ed0b40e4b49a4b7595540a2b407b3f9f50f7f2e99d10eebb21a6a3c2def11e43abe085e9952950d632406967467a4b01e
|
@@ -26,7 +26,14 @@ module Masamune::Actions
|
|
26
26
|
opts = args.last.is_a?(Hash) ? args.pop : {}
|
27
27
|
opts = opts.to_hash.symbolize_keys
|
28
28
|
|
29
|
-
klass = Class.new
|
29
|
+
klass = Class.new do
|
30
|
+
include Masamune::HasEnvironment
|
31
|
+
|
32
|
+
def initialize(delegate)
|
33
|
+
self.environment = delegate
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
30
37
|
klass.class_eval do
|
31
38
|
define_method(:command_args) do
|
32
39
|
args
|
data/lib/masamune/version.rb
CHANGED
@@ -31,10 +31,6 @@ describe Masamune::Actions::HadoopStreaming do
|
|
31
31
|
let(:extra) { [] }
|
32
32
|
let(:instance) { klass.new }
|
33
33
|
|
34
|
-
before do
|
35
|
-
instance.environment = Masamune::ExampleGroup
|
36
|
-
end
|
37
|
-
|
38
34
|
describe '.hadoop_streaming' do
|
39
35
|
before do
|
40
36
|
allow(instance).to receive_message_chain(:configuration, :hadoop_streaming).and_return({})
|
@@ -72,10 +72,6 @@ describe Masamune::Actions::Transform do
|
|
72
72
|
let(:instance) { klass.new }
|
73
73
|
let(:postgres) { catalog.postgres }
|
74
74
|
|
75
|
-
before do
|
76
|
-
instance.environment = Masamune::ExampleGroup
|
77
|
-
end
|
78
|
-
|
79
75
|
describe '.load_dimension' do
|
80
76
|
subject { instance.load_dimension(source_file, postgres.user_file, postgres.user_dimension) }
|
81
77
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: masamune
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.17.
|
4
|
+
version: 0.17.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Andrews
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01-
|
11
|
+
date: 2016-01-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -436,7 +436,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
436
436
|
version: '0'
|
437
437
|
requirements: []
|
438
438
|
rubyforge_project:
|
439
|
-
rubygems_version: 2.5.1
|
439
|
+
rubygems_version: 2.4.5.1
|
440
440
|
signing_key:
|
441
441
|
specification_version: 4
|
442
442
|
summary: Hybrid Data & Work Flow
|