agilibox 1.10.0 → 1.10.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 +3 -0
- data/app/filters/agilibox/small_data/filter_strategy_by_date_begin.rb +1 -1
- data/app/filters/agilibox/small_data/filter_strategy_by_date_end.rb +1 -1
- data/lib/agilibox/cucumber_helpers/capybara.rb +2 -1
- data/lib/agilibox/errors_middleware.rb +1 -0
- data/lib/agilibox/version.rb +1 -1
- metadata +2 -3
- data/app/filters/agilibox/small_data/filter_strategy_by_time_period.rb +0 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ff2d34b73ea33a219f3d265b935bdea4036bfc6ec4341fd2276e30027faabcc0
|
4
|
+
data.tar.gz: a045b91aea19b7e91086e76b719b331ad7e1c91a968dcc98ab0ee2c751bd73f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4fee52d85871c82503de1c260a47e8c21a67632ed46ab225d3b62d67d2c800097581134777fdf8dbd00f7dee1a8325f6645f5c5c32357afb76ff3a0c824d3ce8
|
7
|
+
data.tar.gz: b5015ff7177e0d632fd3426db3eb1c784a624458a9d55c6c70e614a75a43dfb0d3f53c39ca734072f7bea305065997f49e63fd8e303437f7d69f8d2c5fcee249
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
class Agilibox::SmallData::FilterStrategyByDateBegin < ::Agilibox::SmallData::FilterStrategyByKeyValue
|
2
2
|
def apply(query, value)
|
3
|
-
value =
|
3
|
+
value = Date.parse(value)
|
4
4
|
column = column_for(query)
|
5
5
|
query.where("#{column} >= ?", value)
|
6
6
|
end
|
@@ -1,6 +1,6 @@
|
|
1
1
|
class Agilibox::SmallData::FilterStrategyByDateEnd < ::Agilibox::SmallData::FilterStrategyByKeyValue
|
2
2
|
def apply(query, value)
|
3
|
-
value =
|
3
|
+
value = Date.parse(value)
|
4
4
|
column = column_for(query)
|
5
5
|
query.where("#{column} <= ?", value)
|
6
6
|
end
|
@@ -1,5 +1,6 @@
|
|
1
1
|
Capybara.register_driver :agilibox_no_driver do |_app|
|
2
|
-
raise
|
2
|
+
raise \
|
3
|
+
"You need to add Agilibox::CucumberConfig.require_cuprite! or " \
|
3
4
|
"Agilibox::CucumberConfig.require_chrome_headless! " \
|
4
5
|
"to your features/support/env.rb"
|
5
6
|
end
|
@@ -9,6 +9,7 @@ class Agilibox::ErrorsMiddleware
|
|
9
9
|
"ActionController::BadRequest",
|
10
10
|
"ActionController::UnknownFormat",
|
11
11
|
"ActionController::UnknownHttpMethod",
|
12
|
+
"ActionDispatch::Cookies::CookieOverflow",
|
12
13
|
"ActionView::MissingTemplate",
|
13
14
|
"Mime::Type::InvalidMimeType",
|
14
15
|
]
|
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.10.
|
4
|
+
version: 1.10.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- agilidée
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-09-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails-i18n
|
@@ -125,7 +125,6 @@ files:
|
|
125
125
|
- app/filters/agilibox/small_data/filter_strategy_by_key_value.rb
|
126
126
|
- app/filters/agilibox/small_data/filter_strategy_by_key_values.rb
|
127
127
|
- app/filters/agilibox/small_data/filter_strategy_by_tags.rb
|
128
|
-
- app/filters/agilibox/small_data/filter_strategy_by_time_period.rb
|
129
128
|
- app/forms/agilibox/mini_form_object.rb
|
130
129
|
- app/helpers/agilibox/all_helpers.rb
|
131
130
|
- app/helpers/agilibox/bootstrap_helper.rb
|