workarea-package_products 3.4.0 → 3.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1c8ebb17db1aee66294b58d80da77167a7119bd5113b9fd528beda7cbea87859
4
- data.tar.gz: e9f239153968a041a147303b9f974d801668e08ab79c79b3405084668d94c7ed
3
+ metadata.gz: 914c096bad197f6147bca9989c599099fe5b920e088865888388aa4bbf1beb16
4
+ data.tar.gz: b93086d798dd9aa303552e1acb525e9c181322586bf71f19edf9035348a4d335
5
5
  SHA512:
6
- metadata.gz: 3918ca80a40d525b329efd2f48ffc5a7acf433a9fee9bcc5299db4dc8bf54e61d7f88c7b41c066fee775cc0ebb1bd392fef674bdaa39186599be44f1ebc7721b
7
- data.tar.gz: 9acd6bfdff1d3651205634c378d7595e96fb2d10331e3586b55cf42323b35a821882af1fdcbee8204cece5cbf939d35c979c7560227232bda55658fbd91a2bf1
6
+ metadata.gz: a8e398284d540e3c60f34c74ca2706400c627a95cfc8fcb296e74bd6d6b27a54e6554cdbebcf9c872d990dd3f1baca82dcc3b52955701debbe021e8e3fbed6d0
7
+ data.tar.gz: 9ba2e4aef98a094f10f6b99a683a19064216b27d3b26bdcae8edd5bfd8af0bd089369c8079b79a8d9b4275fa0f77e92deaca2ee57189080be0c1e3fdc68cbb90
@@ -1,3 +1,13 @@
1
+ Workarea Package Products 3.4.1 (2020-04-20)
2
+ --------------------------------------------------------------------------------
3
+
4
+ * Use patched HashUpdate for localized hash fields
5
+
6
+ Fixes an infinite loop when installed with other plugins.
7
+ Ben Crouse
8
+
9
+
10
+
1
11
  Workarea Package Products 3.3.1 (2019-04-16)
2
12
  --------------------------------------------------------------------------------
3
13
 
data/Gemfile CHANGED
@@ -13,5 +13,4 @@ gemspec
13
13
  # To use a debugger
14
14
  # gem 'byebug', group: [:development, :test]
15
15
  #
16
- #gem 'workarea', '>= 3.4.0'
17
- gem 'workarea', github: 'workarea-commerce/workarea'
16
+ gem 'workarea', github: 'workarea-commerce/workarea', branch: 'v3.5-stable'
data/Rakefile CHANGED
@@ -37,13 +37,12 @@ desc "Release version #{Workarea::PackageProducts::VERSION} of the gem"
37
37
  task :release do
38
38
  host = "https://#{ENV['BUNDLE_GEMS__WEBLINC__COM']}@gems.weblinc.com"
39
39
 
40
- #Rake::Task['workarea:changelog'].execute
41
- #system 'git add CHANGELOG.md'
42
- #system 'git commit -m "Update CHANGELOG"'
43
- #system 'git push origin HEAD'
40
+ Rake::Task['workarea:changelog'].execute
41
+ system 'git add CHANGELOG.md'
42
+ system 'git commit -m "Update CHANGELOG"'
44
43
 
45
44
  system "git tag -a v#{Workarea::PackageProducts::VERSION} -m 'Tagging #{Workarea::PackageProducts::VERSION}'"
46
- system 'git push --tags'
45
+ system 'git push origin HEAD --follow-tags'
47
46
 
48
47
  system 'gem build workarea-package_products.gemspec'
49
48
  system "gem push workarea-package_products-#{Workarea::PackageProducts::VERSION}.gem"
@@ -61,8 +61,8 @@ module Workarea
61
61
  end
62
62
 
63
63
  def save_details
64
- HashUpdate.new(updates: params[:filters]).apply(@product.filters)
65
- HashUpdate.new(updates: params[:details]).apply(@product.details)
64
+ @product.filters = HashUpdate.new(original: @product.filters, updates: params[:filters]).result
65
+ @product.details = HashUpdate.new(original: @product.details, updates: params[:details]).result
66
66
  @product.save!
67
67
 
68
68
  flash[:success] = t('workarea.admin.create_catalog_products.flash_messages.saved')
@@ -1,5 +1,5 @@
1
1
  module Workarea
2
2
  module PackageProducts
3
- VERSION = '3.4.0'.freeze
3
+ VERSION = '3.4.1'.freeze
4
4
  end
5
5
  end
@@ -20,5 +20,5 @@ Gem::Specification.new do |s|
20
20
 
21
21
  s.required_ruby_version = '>= 2.3.0'
22
22
 
23
- s.add_dependency 'workarea', '~> 3.x', '>= 3.5.x'
23
+ s.add_dependency 'workarea', '~> 3.x', '>= 3.5.9'
24
24
  end
data/yarn.lock CHANGED
@@ -184,9 +184,9 @@ acorn-jsx@^5.0.0:
184
184
  integrity sha512-tiNTrP1MP0QrChmD2DdupCr6HWSFeKVw5d/dHTu4Y7rkAkRhU/Dt7dphAfIUyxtHpl/eBVip5uTNSpQJHylpAw==
185
185
 
186
186
  acorn@^6.0.7:
187
- version "6.3.0"
188
- resolved "https://registry.yarnpkg.com/acorn/-/acorn-6.3.0.tgz#0087509119ffa4fc0a0041d1e93a417e68cb856e"
189
- integrity sha512-/czfa8BwS88b9gWQVhc8eknunSA2DoJpJyTQkhheIf5E48u1N0R4q/YxxsAeqRrmK9TQ/uYfgLDfZo91UlANIA==
187
+ version "6.4.1"
188
+ resolved "https://registry.yarnpkg.com/acorn/-/acorn-6.4.1.tgz#531e58ba3f51b9dacb9a6646ca4debf5b14ca474"
189
+ integrity sha512-ZVA9k326Nwrj3Cj9jlh3wGFutC2ZornPNARZwsNYqQYgN0EsV2d53w5RN/co65Ohn4sUAUtb1rSUAOD6XN9idA==
190
190
 
191
191
  ajv@^6.10.2, ajv@^6.9.1:
192
192
  version "6.10.2"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: workarea-package_products
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.0
4
+ version: 3.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Clarke
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-26 00:00:00.000000000 Z
11
+ date: 2020-04-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: workarea
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: 3.x
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.5.x
22
+ version: 3.5.9
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: 3.x
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.5.x
32
+ version: 3.5.9
33
33
  description: Add support for package products to the Workarea Commerce Platform
34
34
  email:
35
35
  - adam@revelry.co
@@ -188,7 +188,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
188
188
  - !ruby/object:Gem::Version
189
189
  version: '0'
190
190
  requirements: []
191
- rubygems_version: 3.0.6
191
+ rubygems_version: 3.0.3
192
192
  signing_key:
193
193
  specification_version: 4
194
194
  summary: Add support for package products to the Workarea Commerce Platform