inherited_resources 2.0.0 → 2.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: 9a09c7a051f4bb54bd49bdbf51a1a3c0c59d270f78d8fe30f678b3308c19d949
4
- data.tar.gz: de365970fd390bd077e8cf91fd2793783c7df68b08c224a3ad775ad052606ab0
3
+ metadata.gz: e883cfba93d4ca12e64c6a3947a9a46fb410315c0588692bb2dfcc4efcafef09
4
+ data.tar.gz: c5d4cdfc7eaa6856711daa867d75a6a5494546e58033c6379adfbaa2dc583c06
5
5
  SHA512:
6
- metadata.gz: e3c2ce831127a24065c97cf8a3fb6857307dd216e27a45e341eb3d41d3d7bf4d8fe6b5d2eda5de913bfc34c52a35bb62cd785f6408298ff039fd5f791d00ca40
7
- data.tar.gz: fc3908d187aac0c3b96b84a303ff450121f94c7fa8345f6f21650b531eab0be9f0fc20bbec3c0d237d2a416b172d0e43fe7345015bb12ef6651ede85399babfe
6
+ metadata.gz: d4160c749952a2a195032bf638528d8d13031162a93c9c7ae220e65fadc6ef16c17b57fe08144e5f2d34e3534ca06c7a0b3a94ff3f91b4075b521e814bda360a
7
+ data.tar.gz: a0827f78ccace3e00ba767c3369ce08ffed64c873c81e6926c7c0ecaa9b12a0614c33c3ef91e6cc59142d79ffa51c00f53b85b0fba7d7bcc8724871ce39fde7c
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  # Whenever base is required load the dumb responder since it's used inside actions.
4
- require 'inherited_resources/blank_slate'
4
+ require_relative 'blank_slate'
5
5
 
6
6
  module InheritedResources
7
7
  # Base helpers for InheritedResource work. Some methods here can be overwritten
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module InheritedResources
3
- VERSION = '2.0.0'.freeze
3
+ VERSION = '2.0.1'.freeze
4
4
  end
@@ -3,9 +3,10 @@
3
3
  # This is here because responders don't require it.
4
4
  require 'rails/engine'
5
5
  require 'responders'
6
- require 'inherited_resources/engine'
7
- require 'inherited_resources/blank_slate'
8
- require 'inherited_resources/responder'
6
+
7
+ require_relative 'inherited_resources/engine'
8
+ require_relative 'inherited_resources/blank_slate'
9
+ require_relative 'inherited_resources/responder'
9
10
 
10
11
  module InheritedResources
11
12
  ACTIONS = [ :index, :show, :new, :edit, :create, :update, :destroy ] unless self.const_defined?(:ACTIONS)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inherited_resources
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - José Valim
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2024-09-15 00:00:00.000000000 Z
12
+ date: 2024-09-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: responders