@spree/docs 0.1.66 → 0.1.68

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.
@@ -21,7 +21,7 @@ This will tell Spree to use your `AdminUser` model for the admin panel. You will
21
21
  include Spree::UserMethods
22
22
  ```
23
23
 
24
- In your `config/initializers/routes.rb` file, you will need define devise routes for the 2nd model:
24
+ In your `config/initializers/routes.rb` file, you will need to define devise routes for the 2nd model:
25
25
 
26
26
  ```ruby
27
27
  Spree::Core::Engine.routes.prepend_routes do
@@ -70,7 +70,7 @@ Once you have added the gem, it's time to bundle:
70
70
  bundle install
71
71
  ```
72
72
 
73
- Finally, let's run the `spree_simple_sales` install generator to copy over the migration we just created answer **yes** if prompted to run migrations:
73
+ Finally, let's run the `spree_simple_sales` install generator to copy over the migration we just created. Answer **yes** if prompted to run migrations:
74
74
 
75
75
  ```bash
76
76
  # context: Your Spree store's app root (i.e. Rails.root); not the extension's root path.
@@ -24,7 +24,7 @@ Now, run the generator to set up Spree integration with Devise:
24
24
  bin/rails g spree:authentication:devise
25
25
  ```
26
26
 
27
- This will create the a new file in `lib/spree/authentication_helpers.rb` that serves as a bridge between Spree and your existing authentication system routes. You can then use this file to customize the routes to your liking. It should automatically pick up standard Devise routes.
27
+ This will create a new file in `lib/spree/authentication_helpers.rb` that serves as a bridge between Spree and your existing authentication system routes. You can then use this file to customize the routes to your liking. It should automatically pick up standard Devise routes.
28
28
 
29
29
  Secondly, this generator will add necessary modules to your `User` model.
30
30
 
@@ -68,7 +68,7 @@ Now, run the generator to set up Spree integration with your custom authenticati
68
68
  bin/rails g spree:authentication:custom
69
69
  ```
70
70
 
71
- This will create the a new file in `lib/spree/authentication_helpers.rb` that serves as a bridge between Spree and your existing authentication system routes. You will need to customize this file to fit your needs.
71
+ This will create a new file in `lib/spree/authentication_helpers.rb` that serves as a bridge between Spree and your existing authentication system routes. You will need to customize this file to fit your needs.
72
72
 
73
73
  Secondly, this generator will add necessary modules to your `User` model.
74
74
 
@@ -10,7 +10,7 @@ The Spree checkout process has been designed for maximum flexibility. It's been
10
10
 
11
11
  ## The Checkout Flow DSL
12
12
 
13
- Spree comes with a new checkout DSL that allows you succinctly define the different steps of your checkout. This new DSL allows you to customize _just_ the checkout flow, while maintaining the unrelated admin states, such as "canceled" and "resumed", that an order can transition to. Ultimately, it provides a shorter syntax compared with overriding the entire state machine for the `Spree::Order` class.
13
+ Spree comes with a new checkout DSL that allows you to succinctly define the different steps of your checkout. This new DSL allows you to customize _just_ the checkout flow, while maintaining the unrelated admin states, such as "canceled" and "resumed", that an order can transition to. Ultimately, it provides a shorter syntax compared with overriding the entire state machine for the `Spree::Order` class.
14
14
 
15
15
  The default checkout flow for Spree is defined like this, adequately demonstrating the abilities of this new system:
16
16
 
@@ -10,7 +10,7 @@ The Spree checkout process has been designed for maximum flexibility. It's been
10
10
 
11
11
  ## The Checkout Flow DSL
12
12
 
13
- Spree comes with a new checkout DSL that allows you succinctly define the different steps of your checkout. This new DSL allows you to customize _just_ the checkout flow, while maintaining the unrelated admin states, such as "canceled" and "resumed", that an order can transition to. Ultimately, it provides a shorter syntax compared with overriding the entire state machine for the `Spree::Order` class.
13
+ Spree comes with a new checkout DSL that allows you to succinctly define the different steps of your checkout. This new DSL allows you to customize _just_ the checkout flow, while maintaining the unrelated admin states, such as "canceled" and "resumed", that an order can transition to. Ultimately, it provides a shorter syntax compared with overriding the entire state machine for the `Spree::Order` class.
14
14
 
15
15
  The default checkout flow for Spree is defined like this, adequately demonstrating the abilities of this new system:
16
16
 
@@ -39,7 +39,7 @@ If you used that gem in the past you need to remove it. Multi-Currency is now in
39
39
 
40
40
  All international configuration is now kept on the `Store` model in the database rather than in initializer files.
41
41
 
42
- If you used `spree_i18n` gem before please remove any `SpreeI18n::Config`references from your `config/initializers/spree.rb` file.
42
+ If you used `spree_i18n` gem before please remove any `SpreeI18n::Config` references from your `config/initializers/spree.rb` file.
43
43
 
44
44
  ## Optional Add `deface` gem
45
45
 
@@ -71,9 +71,9 @@ This rake task will enqueue background jobs to populate the product metrics for
71
71
 
72
72
  ### Replace `auto_strip_attributes` gem usage
73
73
 
74
- `auto_strip_attributes` gem [was removed from Spree](https://github.com/spree/spree/pull/13462) due to bugs and conflicts with translations feature. Also it's not required anymore as built-in Rails `normalizes` provides the same feature without an additional depepdency.
74
+ `auto_strip_attributes` gem [was removed from Spree](https://github.com/spree/spree/pull/13462) due to bugs and conflicts with translations feature. Also it's not required anymore as built-in Rails `normalizes` provides the same feature without an additional dependency.
75
75
 
76
- If you used `auto_stripe_attributes` in your application, you will need to change it to `normalizez`, eg.
76
+ If you used `auto_strip_attributes` in your application, you will need to change it to `normalizes`, eg.
77
77
 
78
78
  Replace
79
79
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spree/docs",
3
- "version": "0.1.66",
3
+ "version": "0.1.68",
4
4
  "description": "Spree Commerce developer documentation for AI agents and local reference",
5
5
  "type": "module",
6
6
  "license": "CC-BY-4.0",