js_from_routes 2.0.1 → 2.0.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: 5663dc5fb9fd9062e81af864e59d7fb8ec61625d5db06c0f55c04307afde8314
4
- data.tar.gz: 5dc7aa69994d396c22472c249e216045a4b6466b4041d7df6974f9bf6f6e5f75
3
+ metadata.gz: e519db2185c78b02fadb95f984de960cea4c8e87e8f931d87d9f8501d4515930
4
+ data.tar.gz: 7d8c112e3ed479c1de9c51f3980f8cee3849c13851eaf0a65613c4ff6cef0bac
5
5
  SHA512:
6
- metadata.gz: 782f8ee6ca92ab3bcb84220e4012bb235b8aeafeeff88e54499f93d35fa75fbfcde6799460a53f4dd6dd2990ac9a3934dd07632a7e1e4b7ecea527f66a324e1c
7
- data.tar.gz: ebdc1552cfae84ce61f36ad7f70fc302c6b1994b29ad06956391ab9701cd8a639dbb4d8317d2122907b474b114f01dd36e61de22d7b3aa118f694349d64a2a12
6
+ metadata.gz: cbee6bf52472a6265f3c44602f29c7ebdf87deb65900ce7f95d5739eb97a1a139b2ef06b40a96487273af0cfbb7dc6a9ae12da6e4a3bacd85300aae8b1642db6
7
+ data.tar.gz: da4f0e39ef8523067a653fd90f6bd2d9c4c38c106db3fd7ee93acdd32b8bd1df6659accfc9e200bb0a565c5be01a3517fdcdc86293852374bddaa1223b9747a2
data/CHANGELOG.md CHANGED
@@ -1,6 +1,14 @@
1
+ ## [2.0.2](https://github.com/ElMassimo/js_from_routes/compare/js_from_routes@2.0.1...js_from_routes@2.0.2) (2021-03-14)
2
+
3
+ ### Improvements
4
+
5
+ - Remove underscores from namespaced controllers in global file ([90fdcc2](https://github.com/ElMassimo/js_from_routes/commit/90fdcc2))
6
+
1
7
  ## [2.0.1](https://github.com/ElMassimo/js_from_routes/compare/js_from_routes@2.0.0...js_from_routes@2.0.1) (2021-03-14)
2
8
 
9
+ ### Features ⚡️
3
10
 
11
+ - Enable generation of index combining and exporting all helpers (#9)
4
12
 
5
13
  # [2.0.0](https://github.com/ElMassimo/js_from_routes/compare/v1.0.3...js_from_routes@2.0.0) (2021-03-13)
6
14
 
@@ -64,7 +64,7 @@ module JsFromRoutes
64
64
 
65
65
  # Public: Name of the file as a valid JS variable.
66
66
  def js_name
67
- @controller.camelize(:lower).tr(":", "_")
67
+ @controller.camelize(:lower).tr(":", "")
68
68
  end
69
69
 
70
70
  # Internal: The base name of the JS file to be written.
@@ -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 = "2.0.1"
7
+ VERSION = "2.0.2"
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: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Máximo Mussini