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 +4 -4
- data/lib/inherited_resources/base_helpers.rb +1 -1
- data/lib/inherited_resources/version.rb +1 -1
- data/lib/inherited_resources.rb +4 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e883cfba93d4ca12e64c6a3947a9a46fb410315c0588692bb2dfcc4efcafef09
|
4
|
+
data.tar.gz: c5d4cdfc7eaa6856711daa867d75a6a5494546e58033c6379adfbaa2dc583c06
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
4
|
+
require_relative 'blank_slate'
|
5
5
|
|
6
6
|
module InheritedResources
|
7
7
|
# Base helpers for InheritedResource work. Some methods here can be overwritten
|
data/lib/inherited_resources.rb
CHANGED
@@ -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
|
-
|
7
|
-
|
8
|
-
|
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.
|
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-
|
12
|
+
date: 2024-09-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: responders
|