rubanok 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/rubanok/rails/controller.rb +4 -2
- data/lib/rubanok/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d01196b076a8f3b66fa5df74f5df2afcbe9cdc6c29771c63be7f220478cd82be
|
|
4
|
+
data.tar.gz: c63071d8baa6c26a58ae0e7bfb0fe8ab06513646fc7d178e495be084e36fa07f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b2e3b251be325543260d3761c849381fba251ee1d081710346800c2388717623865ee875b7809aa1bcafaafd0bc0519a8899febdf6d73ca458f9b95da51a3898
|
|
7
|
+
data.tar.gz: 9cee75728f781dc88eb85ddddcff06d7e37826f0818943845ca7c78c9fec821a0503ab87d9b59f06e71f44c6071fea6a18bc52e327163a803c3eb95dfa7af808
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
## master
|
|
4
4
|
|
|
5
|
+
## 0.2.1 (2019-08-24)
|
|
6
|
+
|
|
7
|
+
- Fix bug with trying to add a helper for API controller. ([@palkan][])
|
|
8
|
+
|
|
9
|
+
Fixes [#10](https://github.com/palkan/rubanok/issues/10).
|
|
10
|
+
|
|
5
11
|
## 0.2.0 (2019-08-23)
|
|
6
12
|
|
|
7
13
|
- Add `Process.project` and `rubanok_scope` methods to get the Hash of recognized params. ([@palkan][])
|
|
@@ -9,8 +9,10 @@ module Rubanok
|
|
|
9
9
|
extend ActiveSupport::Concern
|
|
10
10
|
|
|
11
11
|
included do
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
if respond_to?(:helper_method)
|
|
13
|
+
helper_method :rubanok_scope
|
|
14
|
+
helper_method :planish_scope
|
|
15
|
+
end
|
|
14
16
|
end
|
|
15
17
|
|
|
16
18
|
# This method process passed data (e.g. ActiveRecord relation) using
|
data/lib/rubanok/version.rb
CHANGED