solidus_backend 2.9.1 → 2.9.6
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.
Potentially problematic release.
This version of solidus_backend might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/spree/backend/components/_messages.scss +3 -3
- data/app/assets/stylesheets/spree/backend/globals/_functions.scss +2 -0
- data/app/assets/stylesheets/spree/backend/globals/_variables.scss +21 -21
- data/app/assets/stylesheets/spree/backend/sections/_taxonomies.scss +1 -1
- data/app/assets/stylesheets/spree/backend/shared/_tables.scss +2 -2
- data/spec/teaspoon_env.rb +8 -23
- metadata +7 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8f0c706dab405664795c44607df0bd5c1c34c672d5b127334dc26f96a3c6d512
|
4
|
+
data.tar.gz: a967573f7531766f5463d62bf6003c199cbe3edc818045dda6c1253e65ea95ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d1dbb894a0fa1d9680ccb0209e18674f646fb8fdc3a839d5dfbba35c21eb7deb03c9872ee08eb39cc850fd828ce03782038cf5e939b481826c9d1b70c08557e
|
7
|
+
data.tar.gz: dfc913572b3815ba7558833d08360d06b607d0ce2c6361682c765972528ceeeff3cbcadb6eeae2d3dd6bf84ef9edc363a3a0101f38b3d957f9f6d913dc788a2a
|
@@ -40,15 +40,15 @@
|
|
40
40
|
color: $body-color;
|
41
41
|
|
42
42
|
&.notice {
|
43
|
-
background-color: rgba(
|
43
|
+
background-color: rgba(lighten($color-notice, 15), .95);
|
44
44
|
border-top-color: $color-notice;
|
45
45
|
}
|
46
46
|
&.success {
|
47
|
-
background-color: rgba(
|
47
|
+
background-color: rgba(lighten($color-success, 30), .95);
|
48
48
|
border-top-color: $color-success;
|
49
49
|
}
|
50
50
|
&.error {
|
51
|
-
background-color: rgba(
|
51
|
+
background-color: rgba(lighten($color-error, 30), .95);
|
52
52
|
border-top-color: $color-error;
|
53
53
|
}
|
54
54
|
}
|
@@ -1,5 +1,7 @@
|
|
1
1
|
// Make color very close to white
|
2
2
|
@function very-light($color, $adjust: 3){
|
3
|
+
@warn "The `very-light` function is deprecated. Please use the default sass `lighten` function, instead.";
|
4
|
+
|
3
5
|
@if type-of($adjust) == 'number' and $adjust > 0 {
|
4
6
|
@for $i from 0 through 100 {
|
5
7
|
@if lighten($color, $i) == white and ($i - $adjust) > $adjust {
|
@@ -55,7 +55,7 @@ $color-icon-navbar: $color-dark-light !default;
|
|
55
55
|
|
56
56
|
// Basic Tabs colors
|
57
57
|
$color-tab: $color-dark-light !default;
|
58
|
-
$color-tab-bg:
|
58
|
+
$color-tab-bg: $color-light !default;
|
59
59
|
$color-tab-border: $color-border !default;
|
60
60
|
$color-tab-active: $color-primary !default;
|
61
61
|
$color-tab-active-bg: $color-white !default;
|
@@ -89,8 +89,8 @@ $color-style-guide-table-border: #CEE1F4;
|
|
89
89
|
|
90
90
|
// Table colors
|
91
91
|
$color-tbl-odd: $color-white !default;
|
92
|
-
$color-tbl-even:
|
93
|
-
$color-tbl-thead:
|
92
|
+
$color-tbl-even: $color-light !default;
|
93
|
+
$color-tbl-thead: $color-light !default;
|
94
94
|
|
95
95
|
// Pill colors
|
96
96
|
//
|
@@ -114,24 +114,24 @@ $color-pill-error: #ff967b;
|
|
114
114
|
$color-pill-error-text: $color-pill-text;
|
115
115
|
|
116
116
|
// Actions colors
|
117
|
-
$color-action-edit-bg:
|
118
|
-
$color-action-edit-brd:
|
119
|
-
$color-action-clone-bg:
|
120
|
-
$color-action-clone-brd:
|
121
|
-
$color-action-remove-bg:
|
122
|
-
$color-action-remove-brd:
|
123
|
-
$color-action-void-bg:
|
124
|
-
$color-action-void-brd:
|
125
|
-
$color-action-cancel-bg:
|
126
|
-
$color-action-cancel-brd:
|
127
|
-
$color-action-capture-bg:
|
128
|
-
$color-action-capture-brd:
|
129
|
-
$color-action-save-bg:
|
130
|
-
$color-action-save-brd:
|
131
|
-
$color-action-mail-bg:
|
132
|
-
$color-action-mail-brd:
|
133
|
-
$color-action-failure-bg:
|
134
|
-
$color-action-failure-brd:
|
117
|
+
$color-action-edit-bg: lighten($color-success, (5 * 5) ) !default;
|
118
|
+
$color-action-edit-brd: lighten($color-success, (20 * 5) ) !default;
|
119
|
+
$color-action-clone-bg: lighten($color-notice, (5 * 5) ) !default;
|
120
|
+
$color-action-clone-brd: lighten($color-notice, (15 * 5) ) !default;
|
121
|
+
$color-action-remove-bg: lighten($color-error, (5 * 5) ) !default;
|
122
|
+
$color-action-remove-brd: lighten($color-error, (10 * 5) ) !default;
|
123
|
+
$color-action-void-bg: lighten($color-error, (10 * 5) ) !default;
|
124
|
+
$color-action-void-brd: lighten($color-error, (20 * 5) ) !default;
|
125
|
+
$color-action-cancel-bg: lighten($color-notice, (10 * 5) ) !default;
|
126
|
+
$color-action-cancel-brd: lighten($color-notice, (20 * 5) ) !default;
|
127
|
+
$color-action-capture-bg: lighten($color-success, (5 * 5) ) !default;
|
128
|
+
$color-action-capture-brd: lighten($color-success, (20 * 5) ) !default;
|
129
|
+
$color-action-save-bg: lighten($color-success, (5 * 5) ) !default;
|
130
|
+
$color-action-save-brd: lighten($color-success, (20 * 5) ) !default;
|
131
|
+
$color-action-mail-bg: lighten($color-success, (5 * 5) ) !default;
|
132
|
+
$color-action-mail-brd: lighten($color-success, (20 * 5) ) !default;
|
133
|
+
$color-action-failure-bg: lighten($color-error, (10 * 5) ) !default;
|
134
|
+
$color-action-failure-brd: lighten($color-error, (20 * 5) ) !default;
|
135
135
|
|
136
136
|
// Available states
|
137
137
|
$states: (
|
@@ -114,8 +114,8 @@ table {
|
|
114
114
|
tbody {
|
115
115
|
tr {
|
116
116
|
&.deleted td {
|
117
|
-
background-color:
|
118
|
-
border-color:
|
117
|
+
background-color: lighten(theme-color("danger"), 6);
|
118
|
+
border-color: lighten(theme-color("danger"), 15);
|
119
119
|
}
|
120
120
|
}
|
121
121
|
|
data/spec/teaspoon_env.rb
CHANGED
@@ -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
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
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.
|
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:
|
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.
|
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.
|
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.
|
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.
|
40
|
+
version: 2.9.6
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: coffee-rails
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -995,8 +995,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
995
995
|
version: 1.8.23
|
996
996
|
requirements:
|
997
997
|
- none
|
998
|
-
|
999
|
-
rubygems_version: 2.7.3
|
998
|
+
rubygems_version: 3.0.3
|
1000
999
|
signing_key:
|
1001
1000
|
specification_version: 4
|
1002
1001
|
summary: Admin interface for the Solidus e-commerce framework.
|