regressy_common 1.0.0 → 1.0.1

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: 68e9cb13e8f08d4b60d2237f324d697df2dc6d614e9dbe4ec239f317247ef08b
4
- data.tar.gz: 0c51111b1c1c8f7e317fc000a453b79c4bc1becf462e1c41434d0a5174ac3a87
3
+ metadata.gz: f8bf6d29c1351156466a2c1481a8b021899bcbf1849b98da21879e8a992dccd5
4
+ data.tar.gz: '02784907fa5f9ca07b439b63992726e02df1ecf43570f66cf22f8881705a3b49'
5
5
  SHA512:
6
- metadata.gz: 61c37f1a50bac351f2f73f88e533ac163084af8b34b6a03284ace81a44cf19e12a7131f66c17315958ed191653014872fe58dec32430abc945c1645a25ea97ca
7
- data.tar.gz: 2a9bbee3ca787fba46c33978fd79dcc3b39dc3008967800e9a94d7b079d9ee4bb113f26e89e0d92cbf509c17f62089410b513368069340a07e638ed6b3cfd251
6
+ metadata.gz: 7938a1b67421b8ca9ecd2059126f5665e60bf7723d427f381caa817eac9725649e95b079ae488d121414e74ea850d6d4904d033617098d745963124da50e9635
7
+ data.tar.gz: 242b027a2339a3605a1eaf82ce94b6461d185617896e0e2cc9aae3e575cd60a656a6ca93fe2979f644befefc437b38829c69e6da915bd9eab17a9702f28253c8
@@ -2,7 +2,7 @@ version: '3'
2
2
  services:
3
3
  selenium-hub:
4
4
  container_name: selenium-hub
5
- image: dosel/zalenium:3
5
+ image: dosel/zalenium:latest
6
6
  ports:
7
7
  - 4444:4444
8
8
  volumes:
@@ -1,3 +1,4 @@
1
+ require 'tempfile'
1
2
  module RegressyCommon
2
3
  class SnapShot
3
4
  def initialize(driver, tag)
@@ -34,7 +34,7 @@ module RegressyCommon
34
34
  end
35
35
 
36
36
  def path
37
- %(/inner_api/v1/test_tasks/#{test_task_id}/snap_shots)
37
+ %(/test_tasks/#{test_task_id}/snap_shots)
38
38
  end
39
39
 
40
40
  def test_task_id
@@ -1,3 +1,3 @@
1
1
  module RegressyCommon
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
@@ -0,0 +1,11 @@
1
+ module Stabs
2
+ module Selenium
3
+ class WebDriver
4
+ def save_screenshot(file_path)
5
+ File.open(file_path, 'w') do |f|
6
+ f.puts 'abcdefg'
7
+ end
8
+ end
9
+ end
10
+ end
11
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: regressy_common
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - info@fluxware.co.jp
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-09-15 00:00:00.000000000 Z
11
+ date: 2019-09-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httpclient
@@ -131,6 +131,7 @@ files:
131
131
  - lib/regressy_common/snap_shot.rb
132
132
  - lib/regressy_common/snap_storage.rb
133
133
  - lib/regressy_common/version.rb
134
+ - lib/stabs/selenium-web_driver.rb
134
135
  - regressy_common.gemspec
135
136
  homepage: https://bitbucket.org/fluxware_jp/regressy_common
136
137
  licenses: