bucky-core 0.10.3 → 0.10.4

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: eda7db7faa59516a397a5ab8ef5069f5f6dc574a
4
- data.tar.gz: cfdb479deafb017814723644260b96b8e2be4eb1
3
+ metadata.gz: e3db572b6f3e84c8b087f6377fb6555870d7939a
4
+ data.tar.gz: 3e89f508f717f428f1d04e33e849fc21ddf0d1dd
5
5
  SHA512:
6
- metadata.gz: 6e2b86dc4ae619db0e399dfef1ab33dbe4e1f97c99072f63ec09f269c7b9747f95478b450fe7fb89be1ee173eae832ba80811a064566d607515181df53b30b62
7
- data.tar.gz: e210b63591de2d6c54e04a03241db675033371d24eea499c5a5eb3350af165329fa7a3e3175b8a98f26f3c62ab465bb69a0d519d46beede4bf2eb4a4117b1f22
6
+ metadata.gz: a64215cd06c5bf53ce5d9f8d00c9c10c89ba1dbfdac12586223904c4f5c2e332323935545e37c46b36a1ca9d8360b693770dd803dc1c314a6c584a60c2fe4f5a
7
+ data.tar.gz: a9d1771ad211ba033b3f49c15d59d1f60405f82c053ae29fe1a59d3eac2dce8559ee55de3444ddb69b6d83c3d75a8260a906ae44c686e9bb84a0adf19e6fc364
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bucky-core (0.10.2)
4
+ bucky-core (0.10.3)
5
5
  addressable (~> 2.5)
6
6
  color_echo (~> 3.1)
7
7
  json (~> 2.1)
@@ -34,12 +34,12 @@ GEM
34
34
  json (2.1.0)
35
35
  method_source (0.9.0)
36
36
  mini_portile2 (2.4.0)
37
- nokogiri (1.10.8)
37
+ nokogiri (1.10.9)
38
38
  mini_portile2 (~> 2.4.0)
39
39
  parallel (1.12.1)
40
40
  parser (2.6.3.0)
41
41
  ast (~> 2.4.0)
42
- power_assert (1.1.5)
42
+ power_assert (1.1.6)
43
43
  pry (0.11.3)
44
44
  coderay (~> 1.1.0)
45
45
  method_source (~> 0.9.0)
@@ -18,7 +18,7 @@ module Bucky
18
18
  procedure[:proc] ||= ''.dup
19
19
  puts " #{step_number}:#{procedure[:proc]}"
20
20
  method = procedure[:exec].key?(:operate) ? :operate : :verify
21
- send(method, exec: procedure[:exec], step_number: step_number)
21
+ send(method, exec: procedure[:exec], step_number: step_number, proc_name: procedure[:proc])
22
22
  end
23
23
  end
24
24
 
@@ -37,13 +37,13 @@ module Bucky
37
37
  end
38
38
 
39
39
  # Call mothod of verification
40
- # @param [Hash] verify_args e.g.) {:exec=>{verify: "assert_title", expect: "page title"}, :step_number=> 1}
40
+ # @param [Hash] verify_args e.g.) {:exec=>{verify: "assert_title", expect: "page title"}, :step_number=> 1, :proc_name=> "test proc"}
41
41
  def verify(**verify_args)
42
42
  @service_verifications.send(verify_args[:exec][:verify], verify_args)
43
43
  end
44
44
 
45
45
  # Call method of user operation
46
- # @param [Hash] op_args e.g.) {:exec=>{:operate=>"click", :page=>"top_page", :part=>"fizz_button"}, :step_number=> 1}
46
+ # @param [Hash] op_args e.g.) {:exec=>{:operate=>"click", :page=>"top_page", :part=>"fizz_button"}, :step_number=> 1, :proc_name=> "test proc"}
47
47
  def operate(**op_args)
48
48
  @user_operator.send(op_args[:exec][:operate], method_name, op_args)
49
49
  end
@@ -34,7 +34,7 @@ module Bucky
34
34
  # Call method of part
35
35
  part_mothod(args[:exec]) if args[:exec].key?(:part)
36
36
  rescue StandardError => e
37
- Bucky::Core::Exception::WebdriverException.handle(e, "#{args[:step_number]}:#{args[:exec][:proc]}")
37
+ Bucky::Core::Exception::WebdriverException.handle(e, "#{args[:step_number]}:#{args[:proc_name]}")
38
38
  end
39
39
 
40
40
  private
@@ -33,7 +33,7 @@ module Bucky
33
33
  raise StandardError, "Undefined verification method or invalid arguments. #{verification},#{args[:exec]}"
34
34
  end
35
35
  rescue StandardError => e
36
- Bucky::Core::Exception::WebdriverException.handle(e, "#{args[:step_number]}:#{args[:exec][:proc]}")
36
+ Bucky::Core::Exception::WebdriverException.handle(e, "#{args[:step_number]}:#{args[:proc_name]}")
37
37
  end
38
38
 
39
39
  private
data/lib/bucky/version.rb CHANGED
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Bucky
4
4
  module Version
5
- VERSION = '0.10.3'
5
+ VERSION = '0.10.4'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bucky-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.3
4
+ version: 0.10.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - NaotoKishino
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: exe
15
15
  cert_chain: []
16
- date: 2020-03-12 00:00:00.000000000 Z
16
+ date: 2020-03-16 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: awesome_print