workarea 3.5.4 → 3.5.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +175 -0
  3. metadata +11 -11
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 87a29f0fd1f4ab72675865c5101a447785954e401791d6b3f1abd291cbc9b56e
4
- data.tar.gz: 92336c38cb647e7602470fe28ce6f7fdcb4c8d69c86f838c37504cd4404a9bbe
3
+ metadata.gz: e627ddff46692e4192e88f15c36cb4543c4f426382c7d74cad98ccdc0c03968b
4
+ data.tar.gz: 139ec12f4e2694419752b197ecbbb32da2db4e27d99c84655bdb9c1532d83e69
5
5
  SHA512:
6
- metadata.gz: e464893d2b1ffbc6d6d0906e137a38413928a322c47d3c93b7a8e9677b1486546169fe5d4286684b5327b1b3f3beac87db9493b15525b497f9b9b50352d39447
7
- data.tar.gz: ade334eda65fb6bcac449743e4e4e838fd4c0a061293304f0f5f75a873982a203c187b542d286b485c3b39508ba26de66942be8c90f56e50734b6f895c7be65f
6
+ metadata.gz: 9726608da9495aa2b6002f2ea9921019393f881407fa951dcbc0d3beacd61b96e6b2244b7abf705b18f2933aeaeee3cf565d321a15d2a9db899890a23e135d2d
7
+ data.tar.gz: f284a29349dc81af0d33f221d5b3b716e2e534bf4325a50f913af805d35a9e3d96ac7eb7dff636ceebf5ef77b5d50dc71bf6e9f24bfbdad7cb72911a8711e867
data/CHANGELOG.md CHANGED
@@ -1,3 +1,178 @@
1
+ Workarea 3.5.5 (2020-02-21)
2
+ --------------------------------------------------------------------------------
3
+
4
+ * Stub S3 CORS for all integration tests
5
+
6
+ It's annoying and unnecessary to have to stub this for every test that
7
+ uses an asset picker.
8
+
9
+ WORKAREA-209
10
+ Ben Crouse
11
+
12
+ * Don't store content block types in configuration
13
+
14
+ Storing these in `Workarea.config` breaks when combined with the
15
+ multisite plugin because `Workarea.config` gets copied to the site as
16
+ part of the creating the site. Since creating the site happens during
17
+ initialization and the blocks typesaren't set on `Workarea.config`, you
18
+ end up with an empty configuration for block types.
19
+
20
+ Storing these elsewhere ensures they are set regardless of how
21
+ `Workarea.config` has been copied during initialization.
22
+
23
+ Reported in Disource here: https://discourse.workarea.com/t/multi-site-and-testing/1778/3
24
+ Ben Crouse
25
+
26
+ * Add Append Point For Post Subtotal Adjustments
27
+
28
+ This adds an append point right underneath the order subtotal and above
29
+ the shipping total in the admin order attributes view.
30
+
31
+ WORKAREA-183
32
+ Tom Scott
33
+
34
+ * Handle Deleted Categories in Category Options (#359)
35
+
36
+ In the `options_for_category` method, Workarea did not previously check
37
+ for whether a category exists, resulting in Mongoid throwing a
38
+ `DocumentNotFound` error when encountering the method and causing a 500
39
+ error in the real world. This has now been resolved by rewriting the
40
+ code to check for whether the model was found before proceeding.
41
+ `options_for_category` will now return an empty string early.
42
+
43
+ WORKAREA-207
44
+ Tom Scott
45
+
46
+ * Fix Overwriting CORS Rules for S3 Direct Uploads
47
+
48
+ Workarea previously replaced the existing CORS configuration on the S3
49
+ bucket used for storing direct uploads with its own, which caused issues
50
+ for environments that share an S3 bucket between servers (such as ad-hoc
51
+ demo servers or low-traffic "all-in-one" instances). Instead of
52
+ replacing the entire configuration, Workarea now reads the existing
53
+ allowed hosts configuration and appends its own onto the end, preserving
54
+ the configuration that previously existed. This should address the
55
+ problem wherein if another server attempts a direct upload, it can
56
+ revoke the access from previous servers to upload to the S3 bucket,
57
+ since they were no longer in the CORS configuration.
58
+
59
+ WORKAREA-209
60
+ Tom Scott
61
+
62
+ * Fix `#casecmp?` in Traffic Referrer Segment Rule
63
+
64
+ This method call fails with a `TypeError` on any Ruby version lower than
65
+ 2.5.0, when the method was changed to support `nil` values in its
66
+ arguments. To address this, call `#to_s` on all arguments passed into
67
+ the `#casecmp?` calls in `Segment::Rules::TrafficReferrer`. This
68
+ prevents an out-of-box test failure if you are running tests on Ruby
69
+ 2.4.x. Additionally, this commit adds a test matrix to the build that
70
+ will ensure all code is tested against the latest versions of Ruby
71
+ 2.4.x and Ruby 2.6.x, and any other Ruby versions that the platform may
72
+ support.
73
+
74
+ WORKAREA-201
75
+ Tom Scott
76
+
77
+ * Add Guide for Installing Plugins
78
+
79
+ This guide explains how to install a plugin in the Workarea platform.
80
+ Although there may be some overlap with how this works in the rest of
81
+ the Rails community, there is no mention of how to connect to our
82
+ private gem server, which is not something most Rails developers know
83
+ how to do. It addresses the lack of mentions for the
84
+ `$BUNDLE_GEMS__WEBLINC__COM` environment variable in our documentation,
85
+ which is a knowledge gap for newcomers to Workarea and/or using private
86
+ gem servers.
87
+
88
+ WORKAREA-204
89
+ Tom Scott
90
+
91
+ * Use correct page title for navigation menus index
92
+
93
+ Luis Mercado
94
+
95
+ * Drop Support for Ruby 2.4 and Below
96
+
97
+ If one installs Workarea when running Ruby 2.4.x and below, a test will
98
+ fail because it is expecting that `#casecmp?` will be able to handle
99
+ `nil` arguments without throwing a `TypeError`. To address this,
100
+ `Workarea::Core` now restricts the required Ruby version in the gem
101
+ specification to 2.5.0 and above, dropping support for 2.4 and below,
102
+ which at this point is also reaching EOL by the Ruby maintainers.
103
+
104
+ WORKAREA-201
105
+ Tom Scott
106
+
107
+ * [DOCS] Add feedback mechanism to empty search results
108
+
109
+ Improve the "no search results" UI to encourage users to open a GitHub
110
+ issue explaining what documentation they aren't able to find.
111
+
112
+ WORKAREA-177
113
+ Chris Cressman
114
+
115
+ * [DOCS] Fix order of steps to create new app
116
+
117
+ The procedure in "Create a New Workarea App" fails at step 3:
118
+ "Install Workarea into the Rails application", because that step
119
+ requires MongoDB to be running.
120
+
121
+ Fix the procedure by transposing steps 3 and 4, resulting in
122
+ "Start Workarea service dependencies" running before "Install Workarea
123
+ into the Rails application", which ensures MongoDB is available.
124
+
125
+ I re-tested the entire procedure from scratch to ensure this works.
126
+
127
+ WORKAREA-186
128
+ Chris Cressman
129
+
130
+ * [DOCS] Fix incomplete sentence in "Add a Fraud Analyzer"
131
+
132
+ The doc "Add a Fraud Analyzer" contains an incomplete sentence
133
+ describing the embedded `FraudDecision` document.
134
+
135
+ Re-write the sentence to complete the thought and to link to the
136
+ definition of the `FraudDecision` model.
137
+
138
+ WORKAREA-176
139
+ Chris Cressman
140
+
141
+ * [DOCS] Update testing coverage in "Configuration"
142
+
143
+ The "Configuration" doc has a section that covers changing configuration
144
+ within tests. The section hasn't been updated for Workarea 3.5.
145
+
146
+ Rather than update the content in-place, replace this coverage with a
147
+ reference to the up-to-date coverage of this topic within the "Testing"
148
+ section of the documentation.
149
+
150
+ WORKAREA-175
151
+ Chris Cressman
152
+
153
+ * [DOCS] Overhaul "testing"
154
+
155
+ WORKAREA-150
156
+ Chris Cressman
157
+
158
+ * Fix Sidekiq callbacks workers missing due to code reloaded
159
+
160
+ This can cause missing workers in development, which causes callback
161
+ workers which should be enqueued to be missing.
162
+ Ben Crouse
163
+
164
+ * Fix nil segment IDs
165
+
166
+ This will fix errors raised when `active_segment_ids` are `nil`.
167
+ Ben Crouse
168
+
169
+ * Expose shipping service code in admin create and edit screens
170
+
171
+ WORKAREA-190
172
+ Jeff Yucis
173
+
174
+
175
+
1
176
  Workarea 3.5.4 (2020-01-21)
2
177
  --------------------------------------------------------------------------------
3
178
 
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.4
4
+ version: 3.5.5
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-01-22 00:00:00.000000000 Z
11
+ date: 2020-02-21 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.4
19
+ version: 3.5.5
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.4
26
+ version: 3.5.5
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.4
33
+ version: 3.5.5
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.4
40
+ version: 3.5.5
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.4
47
+ version: 3.5.5
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.4
54
+ version: 3.5.5
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.4
61
+ version: 3.5.5
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.4
68
+ version: 3.5.5
69
69
  description: Workarea is an enterprise-grade Ruby on Rails commerce platform.
70
70
  email:
71
71
  - bcrouse@workarea.com
@@ -97,7 +97,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
97
97
  - !ruby/object:Gem::Version
98
98
  version: '0'
99
99
  requirements: []
100
- rubygems_version: 3.1.2
100
+ rubygems_version: 3.0.6
101
101
  signing_key:
102
102
  specification_version: 4
103
103
  summary: The Workarea Commerce Platform