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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 262c6935a014a6a9cf1d0ffc946fcfdecc15d875
|
4
|
+
data.tar.gz: 26cf0c452aac19ecf87b9519dec88e17097476f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd2f61ef49875b490e0350558a51dfc237dd1d733c631e5b654282f546ecb9a5d91a7a8dee37588f9150810552a5a617c9b7cae0eb0ac48bd850cb5c4dbc2f7a
|
7
|
+
data.tar.gz: 9eeca7a307ab62d44f32834937473cbb3b4068ef53bc8cce7bcc04d2df4cbc4d0854910dc650b84c14fbe655437514226e8437bb3d8f2ef1ebe74e60942de51b
|
@@ -1,12 +1,6 @@
|
|
1
1
|
module ActiveAdminAddons
|
2
2
|
module RansackFormBuilderExtension
|
3
|
-
|
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
|
-
|
13
|
+
super(method, options)
|
20
14
|
end
|
21
15
|
end
|
22
16
|
end
|
23
17
|
|
24
|
-
::Formtastic::FormBuilder.send :
|
18
|
+
::Formtastic::FormBuilder.send :prepend, ActiveAdminAddons::RansackFormBuilderExtension
|
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.
|
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-
|
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
|