arturo 4.1.0 → 4.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/app/controllers/arturo/features_controller.rb +2 -7
- data/lib/arturo/controller_filters.rb +1 -2
- data/lib/arturo/feature_methods.rb +1 -0
- data/lib/arturo/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f3dd4873bb989ef7051937ac1b4ba16a49cc5691cc920d51b6714f330cd6b191
|
4
|
+
data.tar.gz: 0e8dfa652180dcba96d51779fa5734a128f1233b01467c4d77f79b80dadfcc23
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1f8df1180d466898b1f0992e15fedf692769cee73a52efcd6d905d0ec9a09d2f69eb7a69a847e9a724ec8ab25ef01c8417f9854a0400ddc222efc5fa0583fe83
|
7
|
+
data.tar.gz: 719901f7640c53c7f767c6d0a7c5249029e40ea6b0903b4554f2030417b8374e400902eff2d22cf5afe24987a78eb20f51c5ae4dde93cd123204a71f49c61e59
|
data/CHANGELOG.md
CHANGED
@@ -16,13 +16,8 @@ module Arturo
|
|
16
16
|
|
17
17
|
respond_to :html, :json, :xml
|
18
18
|
|
19
|
-
|
20
|
-
|
21
|
-
before_action :load_feature, :only => [ :show, :edit, :update, :destroy ]
|
22
|
-
else
|
23
|
-
before_filter :require_permission
|
24
|
-
before_filter :load_feature, :only => [ :show, :edit, :update, :destroy ]
|
25
|
-
end
|
19
|
+
before_action :require_permission
|
20
|
+
before_action :load_feature, :only => [ :show, :edit, :update, :destroy ]
|
26
21
|
|
27
22
|
def index
|
28
23
|
@features = Arturo::Feature.all
|
@@ -20,8 +20,7 @@ module Arturo
|
|
20
20
|
module ClassMethods
|
21
21
|
|
22
22
|
def require_feature(name, options = {})
|
23
|
-
|
24
|
-
send(method, options) do |controller|
|
23
|
+
send(:before_action, options) do |controller|
|
25
24
|
unless controller.feature_enabled?(name)
|
26
25
|
controller.on_feature_disabled(name)
|
27
26
|
end
|
data/lib/arturo/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: arturo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.1.
|
4
|
+
version: 4.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James A. Rosen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-07-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -90,7 +90,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
90
90
|
- !ruby/object:Gem::Version
|
91
91
|
version: '0'
|
92
92
|
requirements: []
|
93
|
-
rubygems_version: 3.5.
|
93
|
+
rubygems_version: 3.5.11
|
94
94
|
signing_key:
|
95
95
|
specification_version: 4
|
96
96
|
summary: Feature sliders, wrapped up in an engine
|