bucky-core 0.10.1 → 0.10.2

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: 254fcca4cc4661ca3a1e2f458bba3435c170cbc4
4
- data.tar.gz: 91eb0463910555b1dee2ec93f932e4557782c560
3
+ metadata.gz: 488cb057c7c81d889aa5becb0b468ebd3238744f
4
+ data.tar.gz: 52cf15eb38fbef4ac22d041ff0f6c449f024f26c
5
5
  SHA512:
6
- metadata.gz: 073f81e07d824613ef9aedf9440ef2498b51452c21b41a1d8e75b26f1ec46bf74bc1d702eed40b67e1f7e97a46697158c925d0596ac713f0ba2337b140203fa8
7
- data.tar.gz: 763a2d342173396d824142b41fe37821a6e2d797de38fea437480c83afa68dcc089e903653c455a5cab571348a7b0175f7fe6bbf70ab1b585bb9341ff0af9b93
6
+ metadata.gz: e08b2f6a2250463640fcf55a0448d84af4700d2ed9d244be618c795c77c6a443d296b3cbad8461b09739168bb477f16f2ce768f8169a0d3c60b1727edca51447
7
+ data.tar.gz: db5bf6f19bbddc2b3011a639702f28c3d46e7a19ba319e18118c3c210df74775c01fbc86659302c1a93bbf92c273a087ccba5992b527094cf0d0f8959953ce91
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bucky-core (0.9.23)
4
+ bucky-core (0.10.1)
5
5
  addressable (~> 2.5)
6
6
  color_echo (~> 3.1)
7
7
  json (~> 2.1)
@@ -15,6 +15,7 @@ module Bucky
15
15
 
16
16
  def add_test_procedure(procedures)
17
17
  procedures.each.with_index(1) do |procedure, index|
18
+ procedure[:proc] ||= ''.dup
18
19
  puts procedure[:proc].insert(0, " #{index}:") if procedure.key?(:proc)
19
20
  method = procedure[:exec].key?(:operate) ? :operate : :verify
20
21
  send(method, procedure)
@@ -32,6 +32,8 @@ module Bucky
32
32
  else
33
33
  raise StandardError, "Undefined verification method or invalid arguments. #{verification},#{args[:exec]}"
34
34
  end
35
+ rescue StandardError => e
36
+ Bucky::Core::Exception::WebdriverException.handle(e, args[:proc].strip)
35
37
  end
36
38
 
37
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.1'
5
+ VERSION = '0.10.2'
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.1
4
+ version: 0.10.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - NaotoKishino