speedflow-plugin-test 0.1.6 → 0.1.7

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: e14653e8d81d6f6b0e812560cec74367f334c34f
4
- data.tar.gz: 70e0dc794d30291d07177bbea5dc996de12f0e7a
3
+ metadata.gz: af7f34d8488cb6f8ef2928fee4c835f8db165a69
4
+ data.tar.gz: ba26c28493065ae944d445152468a373d56859d0
5
5
  SHA512:
6
- metadata.gz: f31c60f8c4237186665cb844e23037af36e3df956b0c63a41019b45271c79b1172b76bc9f60944e0a52c23d0c8ddea4779af5b01134b712463f8e9fd6d3c3f1d
7
- data.tar.gz: b7c4dcbe9a4082bb19c6404901d7d36ec4f6e853e60ad3f9b9fc11dc635476d6c91ddca1e5f9255d49c8249fca65d0206c152a53ff2bd04206a9e29423d9d41c
6
+ metadata.gz: 343f651dd5739d431048ceea32f898ef97f44de72c9154df0ebecf927b9dfa1039cb0a4a983596d185c53a435e2ccca97ea57ae76791eacb086de161b35a45ca
7
+ data.tar.gz: e9201b6986e9a000ea998056f46b57aa8e66cbd121a0f34f92f9354f0b0277b9d5303d0c939e043b77f1dba2507900dd51b3742987a198a550763d843d309028
@@ -1,7 +1,7 @@
1
1
  module Speedflow
2
2
  module Plugin
3
3
  module Test
4
- VERSION = '0.1.6'.freeze
4
+ VERSION = '0.1.7'.freeze
5
5
  end
6
6
  end
7
7
  end
@@ -12,12 +12,14 @@ module Speedflow
12
12
  #
13
13
  # *args - Some arguments :)
14
14
  #
15
- # Returns nothing.
15
+ # Returns arguments.
16
16
  def method_missing(*args)
17
17
  action = args.first
18
18
  arguments = args.last
19
19
 
20
20
  puts "Load: #{action} with args: #{arguments}"
21
+
22
+ arguments
21
23
  end
22
24
  end
23
25
  end
@@ -6,7 +6,9 @@ describe Speedflow::Plugin::Test do
6
6
  end
7
7
 
8
8
  it 'has a missing method catcher' do
9
- expect { Speedflow::Plugin::Test.foo(bar: 'baz') }.to(
10
- output("Load: foo with args: {:bar=>\"baz\"}\n").to_stdout)
9
+ expect { Speedflow::Plugin::Test.foo(bar: 'baz') }
10
+ .to output("Load: foo with args: {:bar=>\"baz\"}\n").to_stdout
11
+ expect(Speedflow::Plugin::Test.foo(bar: 'baz'))
12
+ .to include(bar: 'baz')
11
13
  end
12
14
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: speedflow-plugin-test
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julien Breux