appium_connect 0.2.5 → 1.0.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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/AppiumConnect.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9499963c414ccadaed30c8b2b02452dddaccf721
4
- data.tar.gz: aa61c1d8b01d16be36fe630405733032a95fcd9d
3
+ metadata.gz: bd97ec00b716c79e51a4af943f874c62622da069
4
+ data.tar.gz: 4984d6ce049b5b37802b595ff6fbffaafaf55329
5
5
  SHA512:
6
- metadata.gz: 26d713a0e8255d79375b6b3a5e71fe016607f9af466792cb0e7e4aec3477379c64c67fdf98d45a3c45992352c62d90f4dc28d2bae81107248140705794e8b295
7
- data.tar.gz: db856f86c9443ce76acfa7f112d199dc1d95ad27002bf6e0b238f03b76159d004a6e280b766ab3ead57e7b1e0e23943980166ce563e0b71d139f873997afa709
6
+ metadata.gz: 9de01e200ebac01fa47b3b6814cc54bcc41121a9a4e9658175646720a7edc03bd3341b4881f92f9058e2950f708a0f55e7e3b54baf3b2e10d7020f91ddeaebc2
7
+ data.tar.gz: d64c503b16d4d6e8d3f597efc4eefdac70c5a688ae07fad4c2230e0a014c1b61f60e81e431a3f1dbc04d2918964fa1d3d1e7582991c258473c64b985e5eae5d4
data/lib/AppiumConnect.rb CHANGED
@@ -46,7 +46,7 @@ end
46
46
 
47
47
  def generate_node_config(file_name, udid, appium_port, ip, hubIp, platform)
48
48
  f = File.new(Dir.pwd + "/node_configs/#{file_name}", "w")
49
- f.write( JSON.generate({ capabilities: [{ udid: udid, browserName: udid, maxInstances: 1, platform: platform, deviceName: udid },{ browserName: 'chrome', maxInstances: 1, deviceName: udid, udid: udid, seleniumProtocol: 'WebDriver', platform: platform }],
49
+ f.write( JSON.generate({ capabilities: [{ udid: udid, browserName: udid, maxInstances: 1, platform: platform, deviceName: udid },{ browserName: 'chrome', maxInstances: 1, deviceName: udid, udid: udid, seleniumProtocol: 'WebDriver', platform: platform , applicationName: udid}],
50
50
  configuration: { cleanUpCycle: 2000, timeout: 180000, registerCycle: 5000, proxy: "org.openqa.grid.selenium.proxy.DefaultRemoteProxy", url: "http://" + ip + ":#{appium_port}/wd/hub",
51
51
  host: ip, port: appium_port, maxSession: 1, register: true, hubPort: 4444, hubHost: hubIp } } ) )
52
52
  f.close
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appium_connect
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Watson