workarea 3.4.21 → 3.4.22

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +76 -0
  3. data/README.md +5 -0
  4. metadata +10 -10
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 679d313925cf4c41c12ff6f56432e0c8188ef1fdde78435ff4f3d81eeef6c2a3
4
- data.tar.gz: 5e12ee54f41adc791272a18cbbe39524d61fbf48fc4f878ea709e712359b7b22
3
+ metadata.gz: d859d721cb2c760f58fcb94c88f4cd2374a6fae41c0ef13562183bcb03ce3058
4
+ data.tar.gz: 2c58971a335f0fb5199100d3bd320b29042c58e160e4c77a4524692e44386b41
5
5
  SHA512:
6
- metadata.gz: f2580fc79025381afb7bffe140bc99cdd6a9d14dcabc147c364ea7eca49aae0dc7e3ab2d6f99ea451163c3251e85b73dcc504d2cdcbd4c3666601b05a1291509
7
- data.tar.gz: 37569795635edc634e462a4353cf25ead0293ddbee43d13b639936d56d3df99c5ca7de7ad7fdc5bb1115707efb54a380192271a92232b5fdabcf00dada5127db
6
+ metadata.gz: 457ea690cd8a2887a20616accb25835db5bde99b0d4e4059153f290f785dad34e92167dc4b7697d85528788215cd2af3e5b9cd18ce0e1ce3ea97d6786495066c
7
+ data.tar.gz: 32100dd8aaab1189e01f31af5dd5d090f5b94095bfb7881d5ccd1d103c7aed0f8d774e6917f3c7250445e77739da21f55fb6c458473c0ce4228f7042e64297ab
data/CHANGELOG.md CHANGED
@@ -1,3 +1,79 @@
1
+ Workarea 3.4.22 (2019-11-26)
2
+ --------------------------------------------------------------------------------
3
+
4
+ * Base discount auto-deactivation on updated_at, expose auto_deactivate field
5
+
6
+ WORKAREA-114
7
+ Matt Duffy
8
+
9
+ * Ensure UTF-8 Encoding of Data File Import Samples
10
+
11
+ This ensures data file import samples are always treated as UTF-8.
12
+ While Ruby itself does do this pretty well, and most browsers are good
13
+ at guessing the file type/encoding based on the contents of the file,
14
+ there might be some outliers that rely on metadata that's a bit more
15
+ strictly adhered to. This change ensures that sample CSV/JSON files are
16
+ delivered to the user as an attachment, and using the correct MIME type,
17
+ so that they register as such when downloaded by the browser.
18
+ Previously, all imports were showing as "TXT file" types, when they were
19
+ really "CSV file" or "JSON file", and at least in Firefox, they were not
20
+ downloading when you clicked the sample link. Instead, a new tab would
21
+ open (since Firefox thinks it's a text file), and you have to refresh
22
+ the page to actually get the browser to download the file.
23
+
24
+ WORKAREA-77
25
+ Tom Scott
26
+
27
+ * Import UTF-8 CSVs With BOM Characters
28
+
29
+ UTF-8 doesn't need a BOM in order to start or end a file, but these
30
+ characters can end up in CSVs generated by older software that doesn't
31
+ have great support for Unicode. As a result, if a BOM is in the CSV near
32
+ `_id` it will cause improper importing of the data held within. To
33
+ address this, Workarea now specifies the `bom|` prefix in the `:encoding`
34
+ param for `CSV.foreach` by default. This can still be overridden if you
35
+ have an ASCII file, and since BOM stripping doesn't really apply,
36
+ developers can override the entire encoding string in configuration
37
+ if necessary. But this is a sane default for those who use UTF-8 and
38
+ happen to be exporting out of older spreadsheet software.
39
+
40
+ WORKAREA-79
41
+ Tom Scott
42
+
43
+ * Fix content block asset uploads, set redis key to reduce S3 CORS config requests
44
+
45
+ WORKAREA-109
46
+ Matt Duffy
47
+
48
+ * Update Tests Referencing 2020
49
+
50
+ The credit card expiration year `2020` was hard-coded into many Workarea
51
+ integration tests, and would fail when January 2020 passes. Update these
52
+ tests to always set the credit card expiration year to 1 year in
53
+ advance of when the test runs so this won't happen again in the future.
54
+
55
+ WORKAREA-104
56
+
57
+ Fixes #222
58
+ Tom Scott
59
+
60
+ * [DOCS] Improve table of contents for docs
61
+
62
+ The table of contents that appears within each doc contains a link to
63
+ every h2-h6 in the document. Therefore, in longer docs, the TOC gets
64
+ quite crowded and stops communicating the overall structure of the doc.
65
+
66
+ Help readers maintain context by simplifying the TOC, limiting links to
67
+ h2-h3.
68
+
69
+ I spot-checked docs of various lengths and found this version of the TOC
70
+ more useful in all cases.
71
+
72
+ WORKAREA-96
73
+ Chris Cressman
74
+
75
+
76
+
1
77
  Workarea 3.4.21 (2019-11-12)
2
78
  --------------------------------------------------------------------------------
3
79
 
data/README.md CHANGED
@@ -78,8 +78,13 @@ See the [README](demo/README.md) in the `demo` directory for more information.
78
78
 
79
79
  Getting Started
80
80
  --------------------------------------------------------------------------------
81
+
82
+ **Watch the Quickstart Video:** <https://vimeo.com/370085475>
83
+
81
84
  We'll assume you have [Docker desktop](https://www.docker.com/products/docker-desktop) and [Ruby >= 2.4.0, < 2.7.0](https://github.com/rbenv/rbenv#installation) installed.
82
85
 
86
+ Feel free to refer to
87
+
83
88
  1. Add the `workarea` gem to the `Gemfile` in your Rails 5.2 app:
84
89
 
85
90
  gem 'workarea', '~> 3.4.6'
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.4.21
4
+ version: 3.4.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Crouse
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-12 00:00:00.000000000 Z
11
+ date: 2019-11-26 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.4.21
19
+ version: 3.4.22
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.4.21
26
+ version: 3.4.22
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.4.21
33
+ version: 3.4.22
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.4.21
40
+ version: 3.4.22
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.4.21
47
+ version: 3.4.22
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.4.21
54
+ version: 3.4.22
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.4.21
61
+ version: 3.4.22
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.4.21
68
+ version: 3.4.22
69
69
  description: Workarea is an enterprise-grade Ruby on Rails commerce platform.
70
70
  email:
71
71
  - bcrouse@workarea.com