bugsnag-maze-runner 8.4.1 → 8.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7f4746e6a6b4789c6a7fe8b6f501f12f87a931fa8d4ecddc000f3a7aae7ea9ee
4
- data.tar.gz: c6da9d5ab45afc9bd4edd711d9122f4e022f4362871c3c369d25d145c496698e
3
+ metadata.gz: d11bc8e7ebea9cb0ec05467af0e950a4481d248fd1451528f79750c00a41a2af
4
+ data.tar.gz: 860bc9eab1e48fa6a0d7bad855206bd064271e585d92b87387864974d3990932
5
5
  SHA512:
6
- metadata.gz: 9b2bdcaf44ec0c4a366585373dceaf0db310626feae71a7e51fd9d36c8f1e1c04049e842ee9de508267ad047e701bc83819437d54c1c41b3b829d9fd19ce097f
7
- data.tar.gz: c76978dd97bfd6c28e845937c3a6079be1e0eb3717a491020971ecd458d5b59ab0b9e5a504ca019178cb6363768b1d569b196a6a8cb6657650f6041519e5a36a
6
+ metadata.gz: 5c212301ee67f41a484dd5421f751d4de06c97c5c83e06b75f34abf335a9863150838c4034f71a36b9bb708f1d4c867117da897c07f80fb4ea4a80fb6311e9d2
7
+ data.tar.gz: 6f6cc461ca50319e32087f60de3bbaeec5662566f313f64a8f3899b1277c3af333db9c8a6aae2f870735ceb8ffc3ac6737a37203a8aaabeb23948efe33662a34
@@ -50,7 +50,7 @@ module Maze
50
50
  else
51
51
  'UiAutomator2'
52
52
  end
53
- make_android_hash(device_name, automation_name)
53
+ make_android_hash(device_name, automation_name, prefix)
54
54
  when 'ios'
55
55
  make_ios_hash(device_name, prefix)
56
56
  else
@@ -98,20 +98,20 @@ module Maze
98
98
  end
99
99
  end
100
100
 
101
- def make_android_hash(device, automation_name)
101
+ def make_android_hash(device, automation_name, prefix='appium:')
102
102
  hash = {
103
103
  'automationName' => automation_name,
104
104
  'platformName' => 'Android',
105
105
  'deviceName' => 'Android Phone',
106
106
  'bitbar:options' => {
107
- 'autoGrantPermissions' => true,
107
+ "#{prefix}autoGrantPermissions" => true,
108
108
  'device' => device,
109
109
  }
110
110
  }
111
111
  hash.freeze
112
112
  end
113
113
 
114
- def make_ios_hash(device, prefix='')
114
+ def make_ios_hash(device, prefix='appium:')
115
115
  {
116
116
  'automationName' => 'XCUITest',
117
117
  'deviceName' => 'iPhone device',
@@ -124,7 +124,7 @@ module Maze
124
124
  end
125
125
 
126
126
  def caps_prefix(appium_version)
127
- appium_version.nil? || (appium_version.to_i < 2) ? '' : 'appium:'
127
+ appium_version.nil? || (appium_version.to_i >= 2) ? 'appium:' : ''
128
128
  end
129
129
  end
130
130
  end
data/lib/maze.rb CHANGED
@@ -7,7 +7,7 @@ require_relative 'maze/timers'
7
7
  # Glues the various parts of MazeRunner together that need to be accessed globally,
8
8
  # providing an alternative to the proliferation of global variables or singletons.
9
9
  module Maze
10
- VERSION = '8.4.1'
10
+ VERSION = '8.5.0'
11
11
 
12
12
  class << self
13
13
  attr_accessor :check, :driver, :internal_hooks, :mode, :start_time, :dynamic_retry, :public_address,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bugsnag-maze-runner
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.4.1
4
+ version: 8.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve Kirkland
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-29 00:00:00.000000000 Z
11
+ date: 2023-09-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cucumber
@@ -447,11 +447,11 @@ files:
447
447
  - lib/maze/wait.rb
448
448
  - lib/utils/deep_merge.rb
449
449
  - lib/utils/selenium_money_patch.rb
450
- homepage:
450
+ homepage:
451
451
  licenses:
452
452
  - MIT
453
453
  metadata: {}
454
- post_install_message:
454
+ post_install_message:
455
455
  rdoc_options: []
456
456
  require_paths:
457
457
  - lib
@@ -467,7 +467,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
467
467
  version: '0'
468
468
  requirements: []
469
469
  rubygems_version: 3.1.6
470
- signing_key:
470
+ signing_key:
471
471
  specification_version: 4
472
472
  summary: Bugsnag API request validation harness
473
473
  test_files: []