spree_core 4.2.1 → 4.2.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5f9630450c68b8797b744c4f046769f568ebf50366a956fcbad41ede886c8419
4
- data.tar.gz: 76d0ef19926855683298402e5ff729982be202b4c03fd021e4440ec7dc6d5185
3
+ metadata.gz: 612f2690babce476b244e52eaf770e6993cabeef0ba9d7fa76a921cc1281a826
4
+ data.tar.gz: 1e71e1322e8d7af3b9595f33108c5b82ddb1ba0824570d6e9bb50e47160cc71e
5
5
  SHA512:
6
- metadata.gz: 604ae3a3334b1a70869577cbafa21eafb5c4953f280e6c9ef6b76b51e5b50b7dbe010b66681076019f55745e40448906e0668c9ee0dc4d8912759ae4fd7289b7
7
- data.tar.gz: 6fb2f4a1d3b55e5974326ff473fa554757a8d5464c41cb2963af4ffef11e8f26250000c020075fa6dc70127a8267d908687490c9f62919d11ec6b18f56a512ed
6
+ metadata.gz: 3d8788642e21a9ae5f5e5ea2684cafb00e80a3ed300851c4b4bdb83e8bf83a927dfd6798ea99e8da04f94809e9163ada634e89452568b3307b0bffc3e567827c
7
+ data.tar.gz: db77fb1c959dbe53a50cc103977a1b3c83f3d45d846ce353b1ed739ebd89c8e9b0234b470ddc23a0b14b94137ee996c60165cf36350b997ea2eeb42d34ec7caf
@@ -32,10 +32,9 @@ Spree.localizedPathFor = function(path) {
32
32
  if (pathName.match(/api\/v/)) {
33
33
  params.set('locale', SPREE_LOCALE)
34
34
  } else {
35
- pathName = SPREE_LOCALE + '/' + pathName
35
+ pathName = SPREE_LOCALE + '/' + path
36
36
  }
37
-
38
- path = pathName + '?' + params.toString()
37
+ return fullUrl.origin + (this.mountedAt()) + pathName + '?' + params.toString()
39
38
  }
40
39
  return Spree.pathFor(path)
41
40
  }
@@ -1615,7 +1615,7 @@ en:
1615
1615
  code_help: "Store unique identifier, which is an abbreviated version of the store’s name (used as the layout directory name, and also helpful for separating templates by store)"
1616
1616
  checkout_zone_help: "Selecting zone will limit to which Countries or States products are shipped.
1617
1617
  For more information <a href='https://guides.spreecommerce.org/user/configuration/configuring_geography.html#zones' target='_blank' class='alert-link'>please see documentation</a>"
1618
- locales_help: "Install <a href='https://github.com/spree-contrib/spree_i18n target='_blank' class='alert-link'>Spree I18n extension</a> to add more locales"
1618
+ locales_help: "Install <a href='https://github.com/spree-contrib/spree_i18n' target='_blank' class='alert-link'>Spree I18n extension</a> to add more locales"
1619
1619
  social_help: "If you want to link to your social accounts in the footer part of your website please fill below fields"
1620
1620
  default_country_help: "This is the Country that will be pre-selected on the Checkout Address form"
1621
1621
  footer_help: "This content is visible in the footer section of your Store"
@@ -1,5 +1,5 @@
1
1
  module Spree
2
- VERSION = '4.2.1'.freeze
2
+ VERSION = '4.2.2'.freeze
3
3
 
4
4
  def self.version
5
5
  VERSION
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.1
4
+ version: 4.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Schofield
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2021-03-05 00:00:00.000000000 Z
12
+ date: 2021-04-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activemerchant
@@ -1175,9 +1175,9 @@ licenses:
1175
1175
  - BSD-3-Clause
1176
1176
  metadata:
1177
1177
  bug_tracker_uri: https://github.com/spree/spree/issues
1178
- changelog_uri: https://github.com/spree/spree/releases/tag/v4.2.1
1178
+ changelog_uri: https://github.com/spree/spree/releases/tag/v4.2.2
1179
1179
  documentation_uri: https://guides.spreecommerce.org/
1180
- source_code_uri: https://github.com/spree/spree/tree/v4.2.1
1180
+ source_code_uri: https://github.com/spree/spree/tree/v4.2.2
1181
1181
  post_install_message:
1182
1182
  rdoc_options: []
1183
1183
  require_paths:
@@ -1193,7 +1193,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1193
1193
  - !ruby/object:Gem::Version
1194
1194
  version: 1.8.23
1195
1195
  requirements: []
1196
- rubygems_version: 3.2.3
1196
+ rubygems_version: 3.1.4
1197
1197
  signing_key:
1198
1198
  specification_version: 4
1199
1199
  summary: The bare bones necessary for Spree.