agilibox 1.7.2 → 1.7.3
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d03c38e4cb322c43a75cd9e8a3f3e03918d79b7706a67ac24ba70ae74a5b298d
|
4
|
+
data.tar.gz: e6a821402dd6fa5f1a1871d37ca6b09f7e309cdba1bdfa849737f43d7b87c629
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f13d8e252c29a1cb2100ed4cffad5b82c179d5761ff47e8b0d562173f9d0af52a7c0313fe68675c181e3fd9b9a0f8f3258b4f3599607d3b1592a22d786aeece
|
7
|
+
data.tar.gz: 064dad7f1a3cb4b3229bb97d73f904a28c666e0366b5bc73174fac43e7ecb46ee6b21345f8ef495ee346d2602a0e4b03d835b361970abdd07f22e78e1a4bbbe2
|
data/CHANGELOG.md
CHANGED
@@ -1,12 +1,10 @@
|
|
1
1
|
class Agilibox::SmallData::FiltersController < ::Agilibox::ApplicationController
|
2
|
+
skip_before_action :verify_authenticity_token, raise: false
|
3
|
+
skip_before_action :authenticate_user!, raise: false
|
2
4
|
skip_after_action :verify_authorized, raise: false
|
3
5
|
skip_after_action :verify_policy_scoped, raise: false
|
4
|
-
skip_before_action :verify_authenticity_token, raise: false
|
5
6
|
|
6
7
|
def create
|
7
|
-
skip_authorization if respond_to?(:skip_authorization)
|
8
|
-
skip_policy_scope if respond_to?(:skip_policy_scope)
|
9
|
-
|
10
8
|
filters = ::Agilibox::SmallData::Filter.new(cookies)
|
11
9
|
new_filters = params.fetch(:filters, {}).permit!.to_h
|
12
10
|
filters.merge new_filters
|
@@ -2,7 +2,6 @@ module Agilibox::BootstrapHelper
|
|
2
2
|
class << self
|
3
3
|
attr_writer :card_classes
|
4
4
|
|
5
|
-
# rubocop:disable Rails/HelperInstanceVariable
|
6
5
|
def card_classes
|
7
6
|
@card_classes ||= {
|
8
7
|
:card => "card",
|
@@ -11,7 +10,6 @@ module Agilibox::BootstrapHelper
|
|
11
10
|
:footer => "card-footer",
|
12
11
|
}
|
13
12
|
end
|
14
|
-
# rubocop:enable Rails/HelperInstanceVariable
|
15
13
|
end
|
16
14
|
|
17
15
|
def bs_progress_bar(percentage)
|
@@ -19,11 +19,9 @@ module Agilibox::FontAwesomeHelper
|
|
19
19
|
end
|
20
20
|
|
21
21
|
class << self
|
22
|
-
# rubocop:disable Rails/HelperInstanceVariable
|
23
22
|
def database
|
24
23
|
@database ||= YAML.safe_load(database_yml).deep_symbolize_keys
|
25
24
|
end
|
26
|
-
# rubocop:enable Rails/HelperInstanceVariable
|
27
25
|
|
28
26
|
def database_path
|
29
27
|
Rails.root.join("tmp", "fa_database_#{version}.yml")
|
data/lib/agilibox/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: agilibox
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- agilidée
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-09-
|
11
|
+
date: 2019-09-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails-i18n
|