activeadmin_addons 0.10.0 → 0.10.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
  SHA1:
3
- metadata.gz: fb0bc25f0bbd9f292d7bb1f157239838880e6301
4
- data.tar.gz: ce91eb8f8aafd7a4f032eab9b9070593161cec47
3
+ metadata.gz: 262c6935a014a6a9cf1d0ffc946fcfdecc15d875
4
+ data.tar.gz: 26cf0c452aac19ecf87b9519dec88e17097476f0
5
5
  SHA512:
6
- metadata.gz: c6d569f553ac461d98943bfb89d300202c481e5aa69e3fbd377cfc1a64ad420586eaa910276563c7d47c8f2e517ffa788bd60e78a5399ecb0a1431d02bfe0aa1
7
- data.tar.gz: 77bd61606672f16b76770538e0ba702d20467b3013fa28a791e92dd01876cde41c1826509ea996bad8ebab9452ff6b97199bf35ec4a461c52a9d1672ffcf7589
6
+ metadata.gz: cd2f61ef49875b490e0350558a51dfc237dd1d733c631e5b654282f546ecb9a5d91a7a8dee37588f9150810552a5a617c9b7cae0eb0ac48bd850cb5c4dbc2f7a
7
+ data.tar.gz: 9eeca7a307ab62d44f32834937473cbb3b4068ef53bc8cce7bcc04d2df4cbc4d0854910dc650b84c14fbe655437514226e8437bb3d8f2ef1ebe74e60942de51b
@@ -1,12 +1,6 @@
1
1
  module ActiveAdminAddons
2
2
  module RansackFormBuilderExtension
3
- extend ActiveSupport::Concern
4
-
5
- included do
6
- alias_method_chain :input, :ransack
7
- end
8
-
9
- def input_with_ransack(method, options = {})
3
+ def input(method, options = {})
10
4
  if object.is_a?(::Ransack::Search)
11
5
  klass = object.klass
12
6
 
@@ -16,9 +10,9 @@ module ActiveAdminAddons
16
10
  end
17
11
  end
18
12
 
19
- input_without_ransack(method, options)
13
+ super(method, options)
20
14
  end
21
15
  end
22
16
  end
23
17
 
24
- ::Formtastic::FormBuilder.send :include, ActiveAdminAddons::RansackFormBuilderExtension
18
+ ::Formtastic::FormBuilder.send :prepend, ActiveAdminAddons::RansackFormBuilderExtension
@@ -1,3 +1,3 @@
1
1
  module ActiveadminAddons
2
- VERSION = "0.10.0"
2
+ VERSION = "0.10.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activeadmin_addons
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Platanus
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2016-11-30 00:00:00.000000000 Z
14
+ date: 2016-12-09 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: railties
@@ -185,16 +185,16 @@ dependencies:
185
185
  name: enumerize
186
186
  requirement: !ruby/object:Gem::Requirement
187
187
  requirements:
188
- - - ">="
188
+ - - "~>"
189
189
  - !ruby/object:Gem::Version
190
- version: '0'
190
+ version: '2.0'
191
191
  type: :development
192
192
  prerelease: false
193
193
  version_requirements: !ruby/object:Gem::Requirement
194
194
  requirements:
195
- - - ">="
195
+ - - "~>"
196
196
  - !ruby/object:Gem::Version
197
- version: '0'
197
+ version: '2.0'
198
198
  - !ruby/object:Gem::Dependency
199
199
  name: paperclip
200
200
  requirement: !ruby/object:Gem::Requirement