rubanok 0.2.0 → 0.2.1

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: 657a457fbefb6bf0f596ec5d0933dce51cbf74ca2a6cfed72f9c439d02e3d727
4
- data.tar.gz: a820673bee22722ad9291332e2cbcef9aa0088a07c0077cc24d99777eca73f3b
3
+ metadata.gz: d01196b076a8f3b66fa5df74f5df2afcbe9cdc6c29771c63be7f220478cd82be
4
+ data.tar.gz: c63071d8baa6c26a58ae0e7bfb0fe8ab06513646fc7d178e495be084e36fa07f
5
5
  SHA512:
6
- metadata.gz: af7d742f04ba7399d40e92e66a5e26dda0dfa487254f347ee450020fe308e9f1aab906a69c1ba04468825619f3e49acb3ecca61ce22615ce1aab07c150dbe4ee
7
- data.tar.gz: 75fb744a42d0248cc6b4b83da6758fca149fc1212fa4fc434a02ece81ce4bd046653192de7209ef0660f4c3302fb24301b07c418c82f1b6e6d0457000e820428
6
+ metadata.gz: b2e3b251be325543260d3761c849381fba251ee1d081710346800c2388717623865ee875b7809aa1bcafaafd0bc0519a8899febdf6d73ca458f9b95da51a3898
7
+ data.tar.gz: 9cee75728f781dc88eb85ddddcff06d7e37826f0818943845ca7c78c9fec821a0503ab87d9b59f06e71f44c6071fea6a18bc52e327163a803c3eb95dfa7af808
@@ -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
- helper_method :rubanok_scope
13
- helper_method :planish_scope
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Rubanok
4
- VERSION = "0.2.0"
4
+ VERSION = "0.2.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubanok
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vladimir Dementyev