workarea-inventory_notifications 2.1.4 → 2.1.5

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: fbed740ef56acb19d0825fe745819686aa8069cc70371e4f4dfb3a687cb8e828
4
- data.tar.gz: 88ecb72ecf092f3ba9f61764b503238acc1aa51d1ec1a73b9d716edf546ee4fe
3
+ metadata.gz: be2b2e0a046c813701cf2da7d87b77e8a6eb08905f41d6d51524a66ef904148e
4
+ data.tar.gz: 18d5254aa173c26332b61d7146e047a904616f06c0b537ebdacfec525cc4d088
5
5
  SHA512:
6
- metadata.gz: 6173492e7e4754ca6f34579915d31e3e7f8cec176168da6d04e60173103e22ce11b8f343f045346d1d0d59ae08c323a5d307c2916ada3891c09bb60617a1c98b
7
- data.tar.gz: 336f091cb839756d91f964f9c9513fae86327d86ae24b1dc2629ed47e75c4e72ea84d027f560886e039694ee62cbd0d061d56ba1403c9a9c3e7bacdef2d8a958
6
+ metadata.gz: 4a8db7fb45bc850586edce091ed18c613594cdfdab0bffa063416936d2026b531f1f527982c5ad7d0e03d6122c7b80d8be3802055af3fb0023490332fbe5b2aa
7
+ data.tar.gz: 6f5532d197ea059d2f225195f6afbaf4797658a745b2b52de4bff16becf56b2f9b73dc474dc699b91675807064a0b8cd8bf319f9c0c86c2921dad444099ae4bb
@@ -1,3 +1,13 @@
1
+ Workarea Inventory Notifications 2.1.5 (2020-06-17)
2
+ --------------------------------------------------------------------------------
3
+
4
+ * Scope routes to include locale
5
+
6
+
7
+ Ben Crouse
8
+
9
+
10
+
1
11
  Workarea Inventory Notifications 2.1.4 (2020-06-17)
2
12
  --------------------------------------------------------------------------------
3
13
 
@@ -5,6 +5,8 @@
5
5
  # end
6
6
  #
7
7
  Workarea::Storefront::Engine.routes.draw do
8
- get 'inventory_notifications/:product_id/new' => 'inventory_notifications#new', as: :new_product_inventory_notification
9
- post 'inventory_notifications/:product_id' => 'inventory_notifications#create', as: :create_product_inventory_notification
8
+ scope '(:locale)', constraints: Workarea::I18n.routes_constraint do
9
+ get 'inventory_notifications/:product_id/new' => 'inventory_notifications#new', as: :new_product_inventory_notification
10
+ post 'inventory_notifications/:product_id' => 'inventory_notifications#create', as: :create_product_inventory_notification
11
+ end
10
12
  end
@@ -1,5 +1,5 @@
1
1
  module Workarea
2
2
  module InventoryNotifications
3
- VERSION = '2.1.4'
3
+ VERSION = '2.1.5'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: workarea-inventory_notifications
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.4
4
+ version: 2.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Pigeon