workarea 3.5.15 → 3.5.16

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 +87 -0
  3. metadata +10 -10
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9c1de4a77ebc26c0f22c4612756cd74ead315753d4aadc9f3757b3088facb7da
4
- data.tar.gz: e65ba51df0b5b6a027e3e4e251df060b2d1b145bee8a3813515183498717da0c
3
+ metadata.gz: 39991bc8577724552faa38d465eaedf2494c0a322ad88f3cd8472b0b9ca21453
4
+ data.tar.gz: b9dcc936f93f1af302dfe4fafcf83708d47f22a271efbe10b7e234f97a5f09f8
5
5
  SHA512:
6
- metadata.gz: 12d89aacb5432dce53921ea244813da696403912c5982c66fe1eb7e21446981eda90df757a0c5a706e591131e55b30684ddb7cf9264fcbb33263207023ec5655
7
- data.tar.gz: ca54ea778182b40a1831fa89232216e99785dea734bce28f5a8b8795544aa437e35ac16736152f65b89740ae0cf6c9d1c0d03de89a491321f614f37284f4b597
6
+ metadata.gz: 0bf217bed75b403e7ff9677618bb3ac94d76c76d901d7f56f71ff44f3540d584be379f5cf5627940fa755203262476eba7d74cbf3a44a8503dad4f45a950f7e5
7
+ data.tar.gz: f2ea65dbb8af02f3858b8164b2575120a00527d7c41716bda0dd284ef3eca3bb3227f7930b8fc53f35658ad4d6b69b518dbb0c8ec6baa753b4579a1f5deaf3ef
@@ -1,3 +1,90 @@
1
+ Workarea 3.5.16 (2020-07-22)
2
+ --------------------------------------------------------------------------------
3
+
4
+ * Add js module to allow inserting remote requests onto the page
5
+
6
+
7
+ Matt Duffy
8
+
9
+ * Configure Sliced Credit Card Attributes
10
+
11
+ To prevent an unnecessary decoration of the `Workarea::Payment` class,
12
+ the attributes sliced out of the Hash given to `Workarea::Payment#set_credit_card`
13
+ is now configurable in initializers. This same set of attributes is also
14
+ used in the `Users::CreditCardsController`, so the configuration will be
15
+ reused when users are attempting to add a new credit card to their
16
+ account.
17
+
18
+ WORKAREA-257
19
+
20
+ Tom Scott
21
+
22
+ * Setup PlaceOrderIntegrationTest in a Method
23
+
24
+ Currently, decorating the PlaceOrderIntegrationTest to edit the way its
25
+ set up (such as when adding an additional step) is impossible, you have
26
+ to basically copy everything out of the `setup` block and duplicate it
27
+ in your tests. Setup blocks should be methods anyway, so convert this to
28
+ a method and allow it to be decorated in host apps.
29
+
30
+ Tom Scott
31
+
32
+ * Fix `Hash#[]` Access On Administrable Options
33
+
34
+ Accessing administrable options on `Workarea.config` can produce
35
+ unexpected results if you don't use the traditional method accessor
36
+ syntax. For example, an admin field like this:
37
+
38
+ ```ruby
39
+ Workarea::Configuration.define_fields do
40
+ field :my_admin_setting, type: :string, default: 'default value'
41
+ end
42
+ ```
43
+
44
+ ...will only be available at `Workarea.config.my_admin_setting`:
45
+
46
+ ```ruby
47
+ Workarea.config.my_admin_setting # => "default value"
48
+ Workarea.config[:my_admin_setting] # => nil
49
+ ```
50
+
51
+ To resolve this, the code for fetching a key's value from the database
52
+ has been moved out of `#method_missing` and into an override of `#[]`.
53
+ [Since the OrderedOptions superclass already overrides this][1] to call
54
+ `#[]`, we can safely move this code and still maintain all functionality.
55
+
56
+ [1]: https://github.com/rails/rails/blob/fbe2433be6e052a1acac63c7faf287c52ed3c5ba/activesupport/lib/active_support/ordered_options.rb#L41-L58
57
+
58
+ Tom Scott
59
+
60
+ * Fix race condition when merging user metrics
61
+
62
+
63
+ Ben Crouse
64
+
65
+ * Improve Content Area Select UX
66
+
67
+ Remove the current content name and replace it with a static label
68
+ indicating what the `<select>` menu to the right of it is selecting,
69
+ which is the current content area. This UI only displays when there are
70
+ multiple areas for a given `Content`.
71
+
72
+ WORKAREA-244
73
+
74
+ Tom Scott
75
+
76
+ * Changes to support package product kits
77
+
78
+
79
+ Matt Duffy
80
+
81
+ * Update inventory and fulfillment sku policy info text, allow appending
82
+
83
+
84
+ Matt Duffy
85
+
86
+
87
+
1
88
  Workarea 3.5.15 (2020-07-07)
2
89
  --------------------------------------------------------------------------------
3
90
 
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.15
4
+ version: 3.5.16
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-07-07 00:00:00.000000000 Z
11
+ date: 2020-07-22 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.15
19
+ version: 3.5.16
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.15
26
+ version: 3.5.16
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.15
33
+ version: 3.5.16
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.15
40
+ version: 3.5.16
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.15
47
+ version: 3.5.16
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.15
54
+ version: 3.5.16
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.15
61
+ version: 3.5.16
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.15
68
+ version: 3.5.16
69
69
  description: Workarea is an enterprise-grade Ruby on Rails commerce platform.
70
70
  email:
71
71
  - bcrouse@workarea.com