solidus_frontend 3.2.5 → 3.3.0

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: 8adf30388e389e71dca77cb4f8dee55f1df64a043e89372af4884cb160d289ca
4
- data.tar.gz: 71f8ee5fdfaddc4584e6cdd0e42f0a9bfdc514d55f9a0012b53e1fc84d025660
3
+ metadata.gz: 47e06ab674abc80fad6b3e70bae98c3e6bc40484a11875492bfb8aea897770e0
4
+ data.tar.gz: b51d9084b6812a51af3fe08bb4c408d135a5d52af52517528cdbf749c548cca2
5
5
  SHA512:
6
- metadata.gz: a5a1da3b4e6de270573d92655f8752040c17bdea4994bb32b432b202a45d5099ad9db9c51e00c6f17de3ef8048d4728b0ed8fab0bffe6b6c16ed348b409c804f
7
- data.tar.gz: e2813acd5beafac48303daea2c31b00cde89cd5d4c531aa64a43c12d027aea3848bb2185793ad4c4c2d373f823e8197a522a89f350fc1b90fa65dfce6cdc4fd2
6
+ metadata.gz: d3c8ca41ce443bd5d77bab54f229badded11da401ad1261e280e07abb800abee5d8e73a9d287ce171b0428fdbabf0b08b54f996ddf365e3708f28d84975b77a3
7
+ data.tar.gz: 38852e9366c86475fbe0ef683e79187c8e4faf06453db6bce427739d0dfc1d9988c037eed0b49dc85c3025f3032b97d192eb1dff2b362d1c16096084ff63286f
data/.circleci/config.yml CHANGED
@@ -15,7 +15,9 @@ commands:
15
15
  steps:
16
16
  - run:
17
17
  name: Install libvips
18
- command: sudo apt-get install -y libvips
18
+ command: |
19
+ sudo apt-get update
20
+ sudo apt-get install -yq libvips-dev
19
21
 
20
22
  notify:
21
23
  steps:
data/.github/stale.yml CHANGED
@@ -1,17 +1 @@
1
- # Number of days of inactivity before an issue becomes stale
2
- daysUntilStale: 60
3
- # Number of days of inactivity before a stale issue is closed
4
- daysUntilClose: false
5
- # Issues with these labels will never be considered stale
6
- exemptLabels:
7
- - pinned
8
- - security
9
- # Label to use when marking an issue as stale
10
- staleLabel: stale
11
- # Comment to post when marking an issue as stale. Set to `false` to disable
12
- markComment: >
13
- This issue has been automatically marked as stale because it has not had
14
- recent activity. It might be closed if no further activity occurs. Thank you
15
- for your contributions.
16
- # Comment to post when closing a stale issue. Set to `false` to disable
17
- closeComment: false
1
+ _extends: .github
data/CHANGELOG.md CHANGED
@@ -1,6 +1,33 @@
1
1
  # Changelog
2
2
 
3
- ## Solidus 3.2.0 (v3.2, 2022-08-18)
3
+ ## Solidus v3.3.0 (v3.3, 2023-01-24)
4
+
5
+ - Fix CircleCI errors due to libvips not being found [#27](https://github.com/solidusio/solidus_frontend/pull/27) ([waiting-for-dev](https://github.com/waiting-for-dev))
6
+ - Update Changelog with latest released versions [#26](https://github.com/solidusio/solidus_frontend/pull/26) ([waiting-for-dev](https://github.com/waiting-for-dev))
7
+ - [v3.2] Notify CI failures on Slack [#25](https://github.com/solidusio/solidus_frontend/pull/25) ([waiting-for-dev](https://github.com/waiting-for-dev))
8
+ - Notify CI failures on Slack [#24](https://github.com/solidusio/solidus_frontend/pull/24) ([waiting-for-dev](https://github.com/waiting-for-dev))
9
+ - Touch the robots file before appending to it [#18](https://github.com/solidusio/solidus_frontend/pull/18) ([elia](https://github.com/elia))
10
+ - Handle robots in here [#17](https://github.com/solidusio/solidus_frontend/pull/17) ([elia](https://github.com/elia))
11
+ - [v3.2] Skip trying to install solidus_bolt when there's no Gemfile [#16](https://github.com/solidusio/solidus_frontend/pull/16) ([waiting-for-dev](https://github.com/waiting-for-dev))
12
+ - Skip trying to install solidus_bolt when there's no Gemfile [#15](https://github.com/solidusio/solidus_frontend/pull/15) ([waiting-for-dev](https://github.com/waiting-for-dev))
13
+ - Ask whether to add solidus_bolt during installation [#14](https://github.com/solidusio/solidus_frontend/pull/14) ([waiting-for-dev](https://github.com/waiting-for-dev))
14
+ - Fix display of tax adjustments in checkout [#11](https://github.com/solidusio/solidus_frontend/pull/11) ([adammathys](https://github.com/adammathys))
15
+ - Utilize Rails redirect methods [#9](https://github.com/solidusio/solidus_frontend/pull/9) ([cpfergus1](https://github.com/cpfergus1))
16
+ - Bump version to 3.3.0.alpha [#6](https://github.com/solidusio/solidus_frontend/pull/6) ([waiting-for-dev](https://github.com/waiting-for-dev))
17
+
18
+ ## Solidus v3.2.5 (v3.2, 2022-12-23)
19
+
20
+ ## Solidus v3.2.4 (v3.2, 2022-11-09)
21
+
22
+ ## Solidus v3.2.3 (v3.2, 2022-11-03)
23
+
24
+ ## Solidus v3.2.2 (v3.2, 2022-09-09)
25
+
26
+ - Ask whether to add solidus_bolt during installation [#14](https://github.com/solidusio/solidus_frontend/pull/14) ([waiting-for-dev](https://github.com/waiting-for-dev))
27
+
28
+ ## Solidus v3.2.1 (v3.2, 2022-09-09)
29
+
30
+ ## Solidus v3.2.0 (v3.2, 2022-08-18)
4
31
 
5
32
  - Initial release from the standalone repository. See [Solidus'
6
33
  CHANGELOG](https://github.com/solidusio/solidus/blob/master/CHANGELOG.md) for
@@ -69,7 +69,7 @@ module Spree
69
69
  format.html do
70
70
  if @order.errors.any?
71
71
  flash[:error] = @order.errors.full_messages.join(", ")
72
- redirect_back_or_default(spree.root_path)
72
+ redirect_back(fallback_location: spree.root_path)
73
73
  return
74
74
  else
75
75
  redirect_to cart_path
@@ -45,10 +45,9 @@
45
45
  <% end %>
46
46
  <% end %>
47
47
 
48
- <% if order.adjustments.nonzero.eligible.exists? %>
48
+ <% if order.adjustments.nonzero.non_tax.eligible.exists? %>
49
49
  <tbody id="summary-order-charges" data-hook>
50
- <% order.adjustments.nonzero.eligible.each do |adjustment| %>
51
- <% next if (adjustment.source_type == 'Spree::TaxRate') and (adjustment.amount == 0) %>
50
+ <% order.adjustments.nonzero.non_tax.eligible.each do |adjustment| %>
52
51
  <tr class="total">
53
52
  <td><%= adjustment.label %>:</td>
54
53
  <td><%= adjustment.display_amount.to_html %></td>
@@ -9,10 +9,28 @@ module SolidusFrontend
9
9
  type: :boolean,
10
10
  default: false
11
11
 
12
+ def self.exit_on_failure?
13
+ true
14
+ end
15
+
12
16
  def copy_initializer
13
17
  template 'initializer.rb', 'config/initializers/solidus_frontend.rb'
14
18
  end
15
19
 
20
+ def robots_directives
21
+ FileUtils.touch "public/robots.txt"
22
+ append_file "public/robots.txt", <<-ROBOTS.strip_heredoc
23
+ User-agent: *
24
+ Disallow: /checkout
25
+ Disallow: /cart
26
+ Disallow: /orders
27
+ Disallow: /user
28
+ Disallow: /account
29
+ Disallow: /api
30
+ Disallow: /password
31
+ ROBOTS
32
+ end
33
+
16
34
  def setup_assets
17
35
  empty_directory 'app/assets/images'
18
36
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Spree
4
4
  module Frontend
5
- VERSION = "3.2.5"
5
+ VERSION = "3.3.0"
6
6
 
7
7
  def self.version
8
8
  VERSION
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_frontend
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.5
4
+ version: 3.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Solidus Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-23 00:00:00.000000000 Z
11
+ date: 2023-01-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: solidus_api