roda-endpoints 0.3.4 → 0.3.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
  SHA1:
3
- metadata.gz: ef92cddbc54803e6fae07283c145e72db5231397
4
- data.tar.gz: f434332c7108844d01fb5ef6e79702ae945ceec5
3
+ metadata.gz: 3d220ea238a9e1f5f64480a2c22bde112c58bfc5
4
+ data.tar.gz: 8b964273d51c74a1a9dd446d95c317fc4e05ddce
5
5
  SHA512:
6
- metadata.gz: e815f82b5ee74d36e8eb27372b5cca397d215e4696d709f4e70d73478a1f2847d81e87b39c779e0a20563efec36828a5c2541af04b32cb560a109ba0c9920dbc
7
- data.tar.gz: 47831e5d124a7d33a41ed06926d5b25d9faff4b2ffcaea93053a7865ec88b07582a8aa01b9403132e1fec8bb7191a80f3773bae539e3f721026315d0bc859e19
6
+ metadata.gz: 219c52fdfa1a3a8201b3e90e28c08cfa5c35be25437b428237893e5edf9720455f31ced6bfb7c48488ce2062d7bc68db606c8fa1170ef3278c1e368e26346039
7
+ data.tar.gz: 6bbeeb8441720f459f2d477a60f9c24c9c73b1c2b894e05491a0ee520e536b31221b1b03a93d4c2a5662ec79dd2fdc0f4f468d66c500f4fffd83d956e87337c0
@@ -47,9 +47,11 @@ class Roda
47
47
 
48
48
  # @return [Symbol]
49
49
  def type
50
- @type ||= Inflecto.underscore(Inflecto.demodulize(
51
- name || superclass.name
52
- )).to_sym
50
+ @type ||= Inflecto.underscore(
51
+ Inflecto.demodulize(
52
+ name || superclass.name
53
+ )
54
+ ).to_sym
53
55
  end
54
56
 
55
57
  # @param [Symbol] verb
@@ -2,6 +2,6 @@
2
2
 
3
3
  class Roda
4
4
  module Endpoints
5
- VERSION = '0.3.4'
5
+ VERSION = '0.3.5'
6
6
  end
7
7
  end
@@ -174,7 +174,6 @@ class Roda
174
174
  # @param [Dry::Container::Mixin, #register, #resolve, #merge] container
175
175
  # @param [Roda::Endpoints::Endpoint] parent
176
176
  # @param [Hash] kwargs
177
- # rubocop:disable Metrics/ParameterLists
178
177
  def endpoint(name:,
179
178
  type:,
180
179
  container: roda_class.opts[:endpoints][:container],
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: roda-endpoints
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Semyonov