solidus_backend 2.9.5 → 2.9.6

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of solidus_backend might be problematic. Click here for more details.

Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/spec/teaspoon_env.rb +8 -23
  3. metadata +6 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: eca987b7ea7a9be0e07d92cc8bc31679a31c0d8aed33be591994115b2532476f
4
- data.tar.gz: 0d334617893cb6e022c3c9edc6bb84a6f89687fe2505c2500c6539f4f9545112
3
+ metadata.gz: 8f0c706dab405664795c44607df0bd5c1c34c672d5b127334dc26f96a3c6d512
4
+ data.tar.gz: a967573f7531766f5463d62bf6003c199cbe3edc818045dda6c1253e65ea95ff
5
5
  SHA512:
6
- metadata.gz: 62a87d30798c57a68159c339fd97549684d57d29fa2abd49f6938918b13de4b98c1d803b2f78e658f210160d9669472e07cdfb2e80cdb4313f0bb738dc90459f
7
- data.tar.gz: 919d469c326ae9f9cadb644b448c104f0c89d99978f6b612c232842df81377b246fa2690919e13715cfdbdd53fc6c6098059a6135ca278a49bf7465872cb0b71
6
+ metadata.gz: 4d1dbb894a0fa1d9680ccb0209e18674f646fb8fdc3a839d5dfbba35c21eb7deb03c9872ee08eb39cc850fd828ce03782038cf5e939b481826c9d1b70c08557e
7
+ data.tar.gz: dfc913572b3815ba7558833d08360d06b607d0ce2c6361682c765972528ceeeff3cbcadb6eeae2d3dd6bf84ef9edc363a3a0101f38b3d957f9f6d913dc788a2a
@@ -2,27 +2,8 @@
2
2
 
3
3
  ENV['RAILS_ENV'] = 'test'
4
4
 
5
- # Teaspoon doesn't allow you to pass client driver options to the Selenium WebDriver. This monkey patch
6
- # is a temporary fix until this PR is merged: https://github.com/jejacks0n/teaspoon/pull/519.
7
5
  require 'teaspoon/driver/selenium'
8
6
 
9
- Teaspoon::Driver::Selenium.class_eval do
10
- def run_specs(runner, url)
11
- driver = ::Selenium::WebDriver.for(driver_options[:client_driver], @options.except(:client_driver) || {})
12
- driver.navigate.to(url)
13
-
14
- ::Selenium::WebDriver::Wait.new(driver_options).until do
15
- done = driver.execute_script("return window.Teaspoon && window.Teaspoon.finished")
16
- driver.execute_script("return window.Teaspoon && window.Teaspoon.getMessages() || []").each do |line|
17
- runner.process("#{line}\n")
18
- end
19
- done
20
- end
21
- ensure
22
- driver.quit if driver
23
- end
24
- end
25
-
26
7
  # Similar to setup described in
27
8
  # https://github.com/jejacks0n/teaspoon/wiki/Micro-Applications
28
9
 
@@ -38,10 +19,14 @@ if defined?(DummyApp)
38
19
  config.fixture_paths = ["spec/javascripts/fixtures"]
39
20
 
40
21
  config.driver = :selenium
41
- capabilities = Selenium::WebDriver::Remote::Capabilities.chrome(
42
- chromeOptions: { args: %w(headless disable-gpu window-size=1920,1440) }
43
- )
44
- config.driver_options = { client_driver: :chrome, desired_capabilities: capabilities }
22
+ config.driver_options = {
23
+ client_driver: :chrome,
24
+ selenium_options: {
25
+ options: Selenium::WebDriver::Chrome::Options.new(
26
+ args: %w(headless disable-gpu window-size=1920,1440),
27
+ ),
28
+ },
29
+ }
45
30
 
46
31
  config.suite do |suite|
47
32
  suite.use_framework :mocha, "2.3.3"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_backend
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.9.5
4
+ version: 2.9.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Solidus Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-02-04 00:00:00.000000000 Z
11
+ date: 2020-07-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: solidus_api
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 2.9.5
19
+ version: 2.9.6
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 2.9.5
26
+ version: 2.9.6
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: solidus_core
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 2.9.5
33
+ version: 2.9.6
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 2.9.5
40
+ version: 2.9.6
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: coffee-rails
43
43
  requirement: !ruby/object:Gem::Requirement