js_from_routes 3.0.0 → 3.0.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: 4dc77943e97a5b5ddb24ebf0dea4f8eb246ceee14e7e0db6820d18fa3d5e880d
4
- data.tar.gz: f4903735ecf2a1456735483c9f79ff0852a76f6d2ec091196b4310d4cb453a08
3
+ metadata.gz: d5be06720d112b28716ce584184abba22d15b44917d3032bc6bb926781a028a9
4
+ data.tar.gz: 6bc27e4de388e7e1420b598ca53f51bcf5d04feea736ad491c8de3c0195516da
5
5
  SHA512:
6
- metadata.gz: 18e08f5bbccf22d80325ed48f6dbde2381f7369749d1fcdf28793a44242e56291bff6b5024a5ecd634eef88dc01c0ca36e1104a25874c0baae48ed6acf77c116
7
- data.tar.gz: e5b921b29440548ae6624782084d5e90ed78c87609e8f3fbef64e3767b7e90cf9954c58184747df05cdb6f9998719f8a54c973ce95d863f7e4c1e77301d16108
6
+ metadata.gz: 23722e80af9943f268a65ae51c93856a70b16fc192146b3f83bb6d2fb81ab1c3c62671912380348f0398e26548b3798654797d78c575aa7839f90c29c1433b83
7
+ data.tar.gz: dd3702554cb2f815d2efa3f4733b83698e46efd0c05ef12999a39e7e026f1c1cb6b871dac3e1e6e4b46df94833cc64157c6ea49cc5e589fa5d4d75e7d60bc393
data/CHANGELOG.md CHANGED
@@ -1,13 +1,20 @@
1
- # [3.0.0](https://github.com/ElMassimo/js_from_routes/compare/js_from_routes@2.1.0...js_from_routes@3.0.0) (2023-10-09)
1
+ ## [3.0.1](https://github.com/ElMassimo/js_from_routes/compare/js_from_routes@3.0.0...js_from_routes@3.0.1) (2023-10-09)
2
2
 
3
3
 
4
4
  ### Features
5
5
 
6
- * **breaking:** no longer map `index` to `list` and `show` to `get` ([5eb3f48](https://github.com/ElMassimo/js_from_routes/commit/5eb3f48de71fe38ee1c67d9b91a81d71a437e1a8))
7
- * add `export_if` to allow using custom `:export` values ([fd1776c](https://github.com/ElMassimo/js_from_routes/commit/fd1776cc91402f1e9a9003031cb9fd6c3a0d63f9))
6
+ * allow rollup to tree-shake unused path helpers ([150ccd9](https://github.com/ElMassimo/js_from_routes/commit/150ccd9dd616ce448b50ae6c2807dd7f5678479d))
8
7
 
9
8
 
10
9
 
10
+ # [3.0.0](https://github.com/ElMassimo/js_from_routes/compare/js_from_routes@2.1.0...js_from_routes@3.0.0) (2023-10-09)
11
+
12
+
13
+ ### Features
14
+
15
+ * add `export_if` to allow using custom `:export` values ([fd1776c](https://github.com/ElMassimo/js_from_routes/commit/fd1776cc91402f1e9a9003031cb9fd6c3a0d63f9))
16
+
17
+ * **breaking:** no longer map `index` to `list` and `show` to `get` ([5eb3f48](https://github.com/ElMassimo/js_from_routes/commit/5eb3f48de71fe38ee1c67d9b91a81d71a437e1a8))
11
18
 
12
19
  If you want to preserve the old behavior:
13
20
 
@@ -4,6 +4,6 @@ import { definePathHelper } from '<%= client_library %>'
4
4
 
5
5
  export default {
6
6
  <% routes.each do |route| %>
7
- <%= route.helper %>: definePathHelper('<%= route.verb %>', '<%= route.path %>'),
7
+ <%= route.helper %>: /* #__PURE__ */ definePathHelper('<%= route.verb %>', '<%= route.path %>'),
8
8
  <% end %>
9
9
  }
@@ -4,5 +4,5 @@
4
4
  # Generates one file per controller, and one function per route.
5
5
  module JsFromRoutes
6
6
  # Public: This library adheres to semantic versioning.
7
- VERSION = "3.0.0"
7
+ VERSION = "3.0.1"
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: js_from_routes
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Máximo Mussini