workarea 3.5.19 → 3.5.20

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/CHANGELOG.md +123 -0
  3. metadata +10 -10
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6bbb74d0f4fafdb18d0f374ad6f0c6d72958c83851c3656d289a09b2b126273d
4
- data.tar.gz: 94a2a4e8cd8f57098e13d788d4c8270ea04b8dbe9d4483cb862fffa87381f4aa
3
+ metadata.gz: a9d83e57ebc873715ffec1c8778eb615e64940d7f17f0e128b9c8e835dd05d37
4
+ data.tar.gz: 8fffe204d6291e53c8759be61fa69ef39d8c664c8dd737fefb5e06e7dd43543a
5
5
  SHA512:
6
- metadata.gz: b42d3a0ff38ce10cb5521aa17d305f9ae13d279098b931d73c243c2ea0e0497aa74d3cf9928c4c5627b3fb0fd25f6142b03e6546fe34feca9eaecf2704337ec6
7
- data.tar.gz: eee45d304f2e7b1e4f4392af1dae7fe8b5384b625613808136cefa44ed197965c8d142f92027e1617f261fcbf9223ab9e41669aa73e986e87f7cf0dfe919344a
6
+ metadata.gz: 3fe1377da5e3edb38651952dae858fd68605bdc6eef028d54ee8aa40d0b99aae18eeda3b37a46929e9d9ffd7a7398e92587ac333e294c92baf014773bc93d4bd
7
+ data.tar.gz: 49471d87ab03ac22ec521fda60d88da4b6669b02e9fff287e9e47a12e3de4e847dc5ccd329bba5aac5f2c5e53b588ead7e54bef0d851bede0486e8e26f0fa40a
@@ -1,3 +1,126 @@
1
+ Workarea 3.5.20 (2020-09-30)
2
+ --------------------------------------------------------------------------------
3
+
4
+ * Rename Admin::ProductViewModel#options to avoid conflict with normal options method
5
+
6
+
7
+ Matt Duffy
8
+
9
+ * Improve UX of default search filter sizes
10
+
11
+
12
+ Ben Crouse
13
+
14
+ * Improve clarity of discount verbiage
15
+
16
+ This hopes to address some recent confusion around how the discount
17
+ works.
18
+
19
+ Ben Crouse
20
+
21
+ * Fix safe navigation method calls
22
+
23
+ This will raise if the menu content is nil.
24
+
25
+ Ben Crouse
26
+
27
+ * Update preconfigured session length to match recommendations
28
+
29
+
30
+ Ben Crouse
31
+
32
+ * Remove unnecessary Capybara blocking when testing content is not present
33
+
34
+ Capybara's `page.has_content?` and similar methods block until a timeout
35
+ is reached if they can't find the content. This is not what we want if
36
+ we're checking that the content does *not* exist, switch to using
37
+ `refute_text` in these scenarios.
38
+
39
+ The timeout is equal to the number of installed plugins and we have
40
+ client apps with 30+, which means that the 38 instances removed in this
41
+ commit could represent twenty minutes of unnecessary blocking in some
42
+ scenarios.
43
+
44
+ Thanks to James Anaipakos in
45
+ https://discourse.workarea.com/t/capybara-refute-assertions-waiting-full-default-wait-time/1610
46
+ for alerting me to the issue.
47
+
48
+ Jonathan Mast
49
+
50
+ * Update docs/source/articles/decorate-and-write-tests.html.md
51
+
52
+ Co-authored-by: Ben Crouse <bcrouse@workarea.com>
53
+
54
+ Tom Scott
55
+
56
+ * Update docs/source/articles/decorate-and-write-tests.html.md
57
+
58
+ Co-authored-by: Ben Crouse <bcrouse@workarea.com>
59
+
60
+ Tom Scott
61
+
62
+ * Update docs/source/articles/http-caching.html.md
63
+
64
+ Co-authored-by: Ben Crouse <bcrouse@workarea.com>
65
+
66
+ Tom Scott
67
+
68
+ * Notate Rack::Cache Ignore Params In Documentation
69
+
70
+ Add documentation explaining why one might want to ignore query string
71
+ params in `Rack::Cache`, how to do it in a Workarea environment, and
72
+ which plugins will do it for you.
73
+
74
+ WORKAREA-287
75
+
76
+ Tom Scott
77
+
78
+ * Clarify Test Setup and Teardown in Documentation
79
+
80
+ Add documentation explaining why the `setup` and `teardown` macros are
81
+ recommended for use with Workarea to set up and teardown tests, as well
82
+ as some clear examples of how to do this properly.
83
+
84
+ WORKAREA-271
85
+
86
+ Tom Scott
87
+
88
+ * Handle `nil` Percentages in Tax Rates UI
89
+
90
+ The `TaxApplication` module already handles percentages that are not
91
+ present, but the tax rates UI expects values there. This results in some
92
+ avoidable 500 errors within admin when you blank out a tax rate
93
+ percentage field. To resolve this, Workarea now makes sure that all
94
+ percentages are of type `Float`, so they can be displayed as "0%" in
95
+ the admin whenever a `nil` value is encountered.
96
+
97
+ WORKAREA-278
98
+
99
+ Tom Scott
100
+
101
+ * Fix Precision of Tax Rates UI
102
+
103
+ The `:step` values of the new/edit forms and precision configuration for
104
+ `#number_to_percentage` were not only rounding certain tax rates to an
105
+ incorrect number, but were also showing a bunch of insignificant zeroes
106
+ in the admin for tax rates. To resolve this, configure
107
+ `#number_to_percentage` to have 3-decimal precision, and strip all
108
+ insignificant zeroes from the display, leaving the admin with a much
109
+ nicer percentage display than what was presented before.
110
+
111
+ WORKAREA-278
112
+
113
+ Tom Scott
114
+
115
+ * Redirect back to the previous page after stopping impersonation
116
+
117
+ Currently we redirect to the user's show page, which can be pretty
118
+ disorienting.
119
+
120
+ Ben Crouse
121
+
122
+
123
+
1
124
  Workarea 3.5.19 (2020-09-16)
2
125
  --------------------------------------------------------------------------------
3
126
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: workarea
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.19
4
+ version: 3.5.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Crouse
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-09-16 00:00:00.000000000 Z
11
+ date: 2020-09-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: workarea-core
@@ -16,56 +16,56 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 3.5.19
19
+ version: 3.5.20
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: 3.5.19
26
+ version: 3.5.20
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: workarea-storefront
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 3.5.19
33
+ version: 3.5.20
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: 3.5.19
40
+ version: 3.5.20
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: workarea-admin
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 3.5.19
47
+ version: 3.5.20
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 3.5.19
54
+ version: 3.5.20
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: workarea-testing
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 3.5.19
61
+ version: 3.5.20
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - '='
67
67
  - !ruby/object:Gem::Version
68
- version: 3.5.19
68
+ version: 3.5.20
69
69
  description: Workarea is an enterprise-grade Ruby on Rails commerce platform.
70
70
  email:
71
71
  - bcrouse@workarea.com