mobility-ransack 0.1.1 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/Gemfile +1 -9
- data/Gemfile.lock +119 -103
- data/README.md +19 -15
- data/lib/mobility/plugins/ransack.rb +33 -17
- data/lib/mobility/ransack/version.rb +1 -1
- metadata +43 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e2b2fb4a83837ab504f3094122475e7f3dd47370419e475553eb6a50dcd32b6
|
4
|
+
data.tar.gz: afbe3bacb2c1acbf5d2e83f07c72e03f51ff02aab08b1de8e00f59ecb4ba06b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9746d4b0acf3509a5080bfc091b364cc4774b4e62e2c43824f68c286f5c2d2c3776f31024b5b13d113d2b1324abba4745f5b8cba2bb31d0927f86a572f87582f
|
7
|
+
data.tar.gz: a17f31df6addb9f42a6c22e0a081746dc9a07d67538596588801bab37d2ce210105921e3193e1019c1b4bbab99d895965e6994d6ee90e1d0c45ddf068a89fc44
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,23 @@
|
|
1
1
|
# Mobility Ransack Changelog
|
2
2
|
|
3
|
+
## 0.2
|
4
|
+
|
5
|
+
### 0.2.2
|
6
|
+
- Remove version pinning for Ransack dependency
|
7
|
+
([#6](https://github.com/shioyama/mobility-ransack/pull/6)), thanks
|
8
|
+
[peterwalker](https://github.com/petewalker)!
|
9
|
+
|
10
|
+
### 0.2.1
|
11
|
+
- Extend ransack search with module
|
12
|
+
([#4](https://github.com/shioyama/mobility-ransack/pull/4))
|
13
|
+
- Refactor `Mobility::Plugins::Ransack.apply`
|
14
|
+
([#3](https://github.com/shioyama/mobility-ransack/pull/3))
|
15
|
+
|
16
|
+
### 0.2.0
|
17
|
+
|
18
|
+
- Support sorting on translated attributes
|
19
|
+
([#2](https://github.com/shioyama/mobility-ransack/pull/2))
|
20
|
+
|
3
21
|
## 0.1
|
4
22
|
|
5
23
|
### 0.1.1
|
@@ -9,5 +27,7 @@
|
|
9
27
|
### 0.1.0
|
10
28
|
- Loosen Ransack dependency to allow up to 2.1
|
11
29
|
|
30
|
+
## 0.0
|
31
|
+
|
12
32
|
### 0.0.1
|
13
33
|
- Add plugin code.
|
data/Gemfile
CHANGED
@@ -6,15 +6,7 @@ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
|
|
6
6
|
gemspec
|
7
7
|
|
8
8
|
group :development, :test do
|
9
|
-
|
10
|
-
gem 'rails', '>= 5.1', '< 5.2'
|
11
|
-
elsif ENV['RAILS_VERSION'] == '5.0'
|
12
|
-
gem 'rails', '>= 5.0', '< 5.1'
|
13
|
-
else
|
14
|
-
gem 'rails', '>= 5.2.0.rc2', '< 5.3'
|
15
|
-
# see: https://github.com/activerecord-hackery/ransack/issues/948#issuecomment-412414365
|
16
|
-
gem 'ransack', '~> 2.0.0'
|
17
|
-
end
|
9
|
+
gem 'rails', "~> #{ENV['RAILS_VERSION'] || '6.0'}"
|
18
10
|
|
19
11
|
gem 'pry'
|
20
12
|
gem 'pry-byebug'
|
data/Gemfile.lock
CHANGED
@@ -1,166 +1,182 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
mobility-ransack (
|
5
|
-
mobility (~> 0.
|
6
|
-
ransack (>= 1.8.0, <
|
4
|
+
mobility-ransack (1.0.0)
|
5
|
+
mobility (~> 1.0.0)
|
6
|
+
ransack (>= 1.8.0, < 3.0)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
actioncable (
|
12
|
-
actionpack (=
|
11
|
+
actioncable (6.0.3.4)
|
12
|
+
actionpack (= 6.0.3.4)
|
13
13
|
nio4r (~> 2.0)
|
14
14
|
websocket-driver (>= 0.6.1)
|
15
|
-
|
16
|
-
actionpack (=
|
17
|
-
|
18
|
-
|
15
|
+
actionmailbox (6.0.3.4)
|
16
|
+
actionpack (= 6.0.3.4)
|
17
|
+
activejob (= 6.0.3.4)
|
18
|
+
activerecord (= 6.0.3.4)
|
19
|
+
activestorage (= 6.0.3.4)
|
20
|
+
activesupport (= 6.0.3.4)
|
21
|
+
mail (>= 2.7.1)
|
22
|
+
actionmailer (6.0.3.4)
|
23
|
+
actionpack (= 6.0.3.4)
|
24
|
+
actionview (= 6.0.3.4)
|
25
|
+
activejob (= 6.0.3.4)
|
19
26
|
mail (~> 2.5, >= 2.5.4)
|
20
27
|
rails-dom-testing (~> 2.0)
|
21
|
-
actionpack (
|
22
|
-
actionview (=
|
23
|
-
activesupport (=
|
24
|
-
rack (~> 2.0)
|
28
|
+
actionpack (6.0.3.4)
|
29
|
+
actionview (= 6.0.3.4)
|
30
|
+
activesupport (= 6.0.3.4)
|
31
|
+
rack (~> 2.0, >= 2.0.8)
|
25
32
|
rack-test (>= 0.6.3)
|
26
33
|
rails-dom-testing (~> 2.0)
|
27
|
-
rails-html-sanitizer (~> 1.0, >= 1.0
|
28
|
-
|
29
|
-
|
34
|
+
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
35
|
+
actiontext (6.0.3.4)
|
36
|
+
actionpack (= 6.0.3.4)
|
37
|
+
activerecord (= 6.0.3.4)
|
38
|
+
activestorage (= 6.0.3.4)
|
39
|
+
activesupport (= 6.0.3.4)
|
40
|
+
nokogiri (>= 1.8.5)
|
41
|
+
actionview (6.0.3.4)
|
42
|
+
activesupport (= 6.0.3.4)
|
30
43
|
builder (~> 3.1)
|
31
44
|
erubi (~> 1.4)
|
32
45
|
rails-dom-testing (~> 2.0)
|
33
|
-
rails-html-sanitizer (~> 1.
|
34
|
-
activejob (
|
35
|
-
activesupport (=
|
46
|
+
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
47
|
+
activejob (6.0.3.4)
|
48
|
+
activesupport (= 6.0.3.4)
|
36
49
|
globalid (>= 0.3.6)
|
37
|
-
activemodel (
|
38
|
-
activesupport (=
|
39
|
-
activerecord (
|
40
|
-
activemodel (=
|
41
|
-
activesupport (=
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
activerecord (=
|
50
|
+
activemodel (6.0.3.4)
|
51
|
+
activesupport (= 6.0.3.4)
|
52
|
+
activerecord (6.0.3.4)
|
53
|
+
activemodel (= 6.0.3.4)
|
54
|
+
activesupport (= 6.0.3.4)
|
55
|
+
activestorage (6.0.3.4)
|
56
|
+
actionpack (= 6.0.3.4)
|
57
|
+
activejob (= 6.0.3.4)
|
58
|
+
activerecord (= 6.0.3.4)
|
46
59
|
marcel (~> 0.3.1)
|
47
|
-
activesupport (
|
60
|
+
activesupport (6.0.3.4)
|
48
61
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
49
62
|
i18n (>= 0.7, < 2)
|
50
63
|
minitest (~> 5.1)
|
51
64
|
tzinfo (~> 1.1)
|
52
|
-
|
53
|
-
builder (3.2.
|
54
|
-
byebug (
|
65
|
+
zeitwerk (~> 2.2, >= 2.2.2)
|
66
|
+
builder (3.2.4)
|
67
|
+
byebug (11.1.1)
|
55
68
|
coderay (1.1.2)
|
56
|
-
concurrent-ruby (1.
|
57
|
-
crass (1.0.
|
69
|
+
concurrent-ruby (1.1.7)
|
70
|
+
crass (1.0.6)
|
71
|
+
database_cleaner (1.8.4)
|
58
72
|
diff-lcs (1.3)
|
59
|
-
erubi (1.
|
60
|
-
globalid (0.4.
|
73
|
+
erubi (1.9.0)
|
74
|
+
globalid (0.4.2)
|
61
75
|
activesupport (>= 4.2.0)
|
62
|
-
i18n (1.
|
76
|
+
i18n (1.8.5)
|
63
77
|
concurrent-ruby (~> 1.0)
|
64
|
-
loofah (2.
|
78
|
+
loofah (2.7.0)
|
65
79
|
crass (~> 1.0.2)
|
66
80
|
nokogiri (>= 1.5.9)
|
67
|
-
mail (2.7.
|
81
|
+
mail (2.7.1)
|
68
82
|
mini_mime (>= 0.1.1)
|
69
|
-
marcel (0.3.
|
83
|
+
marcel (0.3.3)
|
70
84
|
mimemagic (~> 0.3.2)
|
71
|
-
method_source (0.
|
72
|
-
mimemagic (0.3.
|
73
|
-
mini_mime (1.0.
|
74
|
-
mini_portile2 (2.
|
75
|
-
minitest (5.
|
76
|
-
mobility (0.
|
77
|
-
i18n (>= 0.6.10, <
|
85
|
+
method_source (1.0.0)
|
86
|
+
mimemagic (0.3.5)
|
87
|
+
mini_mime (1.0.2)
|
88
|
+
mini_portile2 (2.4.0)
|
89
|
+
minitest (5.14.2)
|
90
|
+
mobility (1.0.0)
|
91
|
+
i18n (>= 0.6.10, < 2)
|
78
92
|
request_store (~> 1.0)
|
79
|
-
nio4r (2.
|
80
|
-
nokogiri (1.
|
81
|
-
mini_portile2 (~> 2.
|
82
|
-
pry (0.
|
83
|
-
coderay (~> 1.1
|
84
|
-
method_source (~>
|
85
|
-
pry-byebug (3.
|
86
|
-
byebug (~>
|
87
|
-
pry (~> 0.
|
88
|
-
rack (2.
|
93
|
+
nio4r (2.5.4)
|
94
|
+
nokogiri (1.10.10)
|
95
|
+
mini_portile2 (~> 2.4.0)
|
96
|
+
pry (0.13.0)
|
97
|
+
coderay (~> 1.1)
|
98
|
+
method_source (~> 1.0)
|
99
|
+
pry-byebug (3.9.0)
|
100
|
+
byebug (~> 11.0)
|
101
|
+
pry (~> 0.13.0)
|
102
|
+
rack (2.2.3)
|
89
103
|
rack-test (1.1.0)
|
90
104
|
rack (>= 1.0, < 3)
|
91
|
-
rails (
|
92
|
-
actioncable (=
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
105
|
+
rails (6.0.3.4)
|
106
|
+
actioncable (= 6.0.3.4)
|
107
|
+
actionmailbox (= 6.0.3.4)
|
108
|
+
actionmailer (= 6.0.3.4)
|
109
|
+
actionpack (= 6.0.3.4)
|
110
|
+
actiontext (= 6.0.3.4)
|
111
|
+
actionview (= 6.0.3.4)
|
112
|
+
activejob (= 6.0.3.4)
|
113
|
+
activemodel (= 6.0.3.4)
|
114
|
+
activerecord (= 6.0.3.4)
|
115
|
+
activestorage (= 6.0.3.4)
|
116
|
+
activesupport (= 6.0.3.4)
|
101
117
|
bundler (>= 1.3.0)
|
102
|
-
railties (=
|
118
|
+
railties (= 6.0.3.4)
|
103
119
|
sprockets-rails (>= 2.0.0)
|
104
120
|
rails-dom-testing (2.0.3)
|
105
121
|
activesupport (>= 4.2.0)
|
106
122
|
nokogiri (>= 1.6)
|
107
|
-
rails-html-sanitizer (1.0
|
108
|
-
loofah (~> 2.
|
109
|
-
railties (
|
110
|
-
actionpack (=
|
111
|
-
activesupport (=
|
123
|
+
rails-html-sanitizer (1.3.0)
|
124
|
+
loofah (~> 2.3)
|
125
|
+
railties (6.0.3.4)
|
126
|
+
actionpack (= 6.0.3.4)
|
127
|
+
activesupport (= 6.0.3.4)
|
112
128
|
method_source
|
113
129
|
rake (>= 0.8.7)
|
114
|
-
thor (>= 0.
|
115
|
-
rake (
|
116
|
-
ransack (2.0
|
117
|
-
|
118
|
-
|
119
|
-
activesupport (>= 5.0)
|
130
|
+
thor (>= 0.20.3, < 2.0)
|
131
|
+
rake (13.0.1)
|
132
|
+
ransack (2.4.0)
|
133
|
+
activerecord (>= 5.2.4)
|
134
|
+
activesupport (>= 5.2.4)
|
120
135
|
i18n
|
121
|
-
request_store (1.
|
136
|
+
request_store (1.5.0)
|
122
137
|
rack (>= 1.4)
|
123
|
-
rspec (3.
|
124
|
-
rspec-core (~> 3.
|
125
|
-
rspec-expectations (~> 3.
|
126
|
-
rspec-mocks (~> 3.
|
127
|
-
rspec-core (3.
|
128
|
-
rspec-support (~> 3.
|
129
|
-
rspec-expectations (3.
|
138
|
+
rspec (3.9.0)
|
139
|
+
rspec-core (~> 3.9.0)
|
140
|
+
rspec-expectations (~> 3.9.0)
|
141
|
+
rspec-mocks (~> 3.9.0)
|
142
|
+
rspec-core (3.9.1)
|
143
|
+
rspec-support (~> 3.9.1)
|
144
|
+
rspec-expectations (3.9.1)
|
130
145
|
diff-lcs (>= 1.2.0, < 2.0)
|
131
|
-
rspec-support (~> 3.
|
132
|
-
rspec-mocks (3.
|
146
|
+
rspec-support (~> 3.9.0)
|
147
|
+
rspec-mocks (3.9.1)
|
133
148
|
diff-lcs (>= 1.2.0, < 2.0)
|
134
|
-
rspec-support (~> 3.
|
135
|
-
rspec-support (3.
|
136
|
-
sprockets (
|
149
|
+
rspec-support (~> 3.9.0)
|
150
|
+
rspec-support (3.9.2)
|
151
|
+
sprockets (4.0.2)
|
137
152
|
concurrent-ruby (~> 1.0)
|
138
153
|
rack (> 1, < 3)
|
139
|
-
sprockets-rails (3.2.
|
154
|
+
sprockets-rails (3.2.2)
|
140
155
|
actionpack (>= 4.0)
|
141
156
|
activesupport (>= 4.0)
|
142
157
|
sprockets (>= 3.0.0)
|
143
|
-
sqlite3 (1.
|
144
|
-
thor (0.
|
158
|
+
sqlite3 (1.4.2)
|
159
|
+
thor (1.0.1)
|
145
160
|
thread_safe (0.3.6)
|
146
|
-
tzinfo (1.2.
|
161
|
+
tzinfo (1.2.7)
|
147
162
|
thread_safe (~> 0.1)
|
148
|
-
websocket-driver (0.7.
|
163
|
+
websocket-driver (0.7.3)
|
149
164
|
websocket-extensions (>= 0.1.0)
|
150
|
-
websocket-extensions (0.1.
|
165
|
+
websocket-extensions (0.1.5)
|
166
|
+
zeitwerk (2.4.1)
|
151
167
|
|
152
168
|
PLATFORMS
|
153
169
|
ruby
|
154
170
|
|
155
171
|
DEPENDENCIES
|
172
|
+
database_cleaner (~> 1.7, >= 1.7.0)
|
156
173
|
mobility-ransack!
|
157
174
|
pry
|
158
175
|
pry-byebug
|
159
|
-
rails (
|
160
|
-
rake (
|
161
|
-
ransack (~> 2.0.0)
|
176
|
+
rails (~> 6.0)
|
177
|
+
rake (>= 12.3.3)
|
162
178
|
rspec (~> 3.0)
|
163
|
-
sqlite3
|
179
|
+
sqlite3 (~> 1.3, >= 1.3.0)
|
164
180
|
|
165
181
|
BUNDLED WITH
|
166
|
-
|
182
|
+
2.0.2
|
data/README.md
CHANGED
@@ -2,10 +2,12 @@ Mobility Ransack
|
|
2
2
|
================
|
3
3
|
|
4
4
|
[![Gem Version](https://badge.fury.io/rb/mobility-ransack.svg)][gem]
|
5
|
-
[![Build Status](https://
|
5
|
+
[![Build Status](https://github.com/shioyama/mobility-ransack/workflows/CI/badge.svg)][actions]
|
6
|
+
[![Code Climate](https://api.codeclimate.com/v1/badges/2494f02bcd6b65a545fa/maintainability.svg)][codeclimate]
|
6
7
|
|
7
|
-
[gem]: https://rubygems.org/gems/
|
8
|
-
[
|
8
|
+
[gem]: https://rubygems.org/gems/mobility-ransack
|
9
|
+
[actions]: https://github.com/shioyama/mobility-ransack/actions
|
10
|
+
[codeclimate]: https://codeclimate.com/github/shioyama/mobility-ransack
|
9
11
|
|
10
12
|
Search on translated attributes with
|
11
13
|
[Mobility](https://github.com/shioyama/mobility) and
|
@@ -16,29 +18,31 @@ Search on translated attributes with
|
|
16
18
|
Just add the gem to your Gemfile:
|
17
19
|
|
18
20
|
```ruby
|
19
|
-
gem 'mobility-ransack', '~> 0.
|
21
|
+
gem 'mobility-ransack', '~> 1.0.0'
|
20
22
|
```
|
21
23
|
|
22
|
-
|
23
|
-
|
24
|
-
|
24
|
+
(For Mobility versions earlier than 1.0, replace `1.0.0` with `0.2.2`, but be
|
25
|
+
aware this version is no longer supported.)
|
26
|
+
|
27
|
+
Now enable the `ransack` plugin in Mobility's configuration:
|
25
28
|
|
26
29
|
```ruby
|
27
|
-
Mobility.configure do
|
28
|
-
|
29
|
-
|
30
|
-
|
30
|
+
Mobility.configure do
|
31
|
+
plugins do
|
32
|
+
ransack
|
33
|
+
|
34
|
+
# ...
|
35
|
+
end
|
31
36
|
end
|
32
37
|
```
|
33
38
|
|
34
|
-
|
35
|
-
|
36
|
-
`ransack` option, like this:
|
39
|
+
This will enable the ransack plugin for all models. Disable it by passing
|
40
|
+
`false` to the `ransack` option:
|
37
41
|
|
38
42
|
```ruby
|
39
43
|
class Post < ApplicationRecord
|
40
44
|
extend Mobility
|
41
|
-
translates :foo, ransack:
|
45
|
+
translates :foo, ransack: false
|
42
46
|
end
|
43
47
|
```
|
44
48
|
|
@@ -4,36 +4,52 @@ require "mobility"
|
|
4
4
|
module Mobility
|
5
5
|
module Plugins
|
6
6
|
module Ransack
|
7
|
+
extend Plugin
|
8
|
+
|
9
|
+
default true
|
10
|
+
requires :backend, include: :before
|
11
|
+
requires :active_record
|
12
|
+
|
7
13
|
# Applies ransack plugin.
|
8
14
|
# @param [Attributes] attributes
|
9
15
|
# @param [Boolean] option
|
10
|
-
|
11
|
-
if
|
12
|
-
|
13
|
-
|
14
|
-
attributes.model_class.class_eval do
|
15
|
-
attributes.each do |attr|
|
16
|
-
ransacker(attr) { backend_class.build_node(attr, Mobility.locale) }
|
17
|
-
end
|
18
|
-
extend plugin
|
16
|
+
included_hook do |klass, backend_class|
|
17
|
+
if options[:ransack]
|
18
|
+
names.each do |name|
|
19
|
+
klass.ransacker(name) { backend_class.build_node(name, Mobility.locale) }
|
19
20
|
end
|
21
|
+
klass.extend ClassMethods
|
20
22
|
end
|
21
23
|
end
|
22
24
|
|
23
|
-
|
24
|
-
|
25
|
+
module ClassMethods
|
26
|
+
def ransack(*)
|
27
|
+
super.extend(Search)
|
28
|
+
end
|
25
29
|
end
|
26
30
|
|
27
|
-
|
31
|
+
module Search
|
28
32
|
def result(opts = {})
|
29
|
-
|
30
|
-
predicate =
|
31
|
-
(
|
32
|
-
|
33
|
-
|
33
|
+
sorted = sorts.inject(super) do |relation, sort|
|
34
|
+
predicate = ::Ransack::Visitor.new.visit_Ransack_Nodes_Sort(sort)
|
35
|
+
apply_mobility_scope(relation, predicate, [sort.attr_name])
|
36
|
+
end
|
37
|
+
conditions.inject(sorted) do |relation, condition|
|
38
|
+
apply_mobility_scope(relation, condition.arel_predicate, condition.attributes.compact.flatten.map(&:name))
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
private
|
43
|
+
|
44
|
+
def apply_mobility_scope(relation, predicate, attributes)
|
45
|
+
mobility_attributes = attributes.select { |attr| object.mobility_attribute?(attr) }
|
46
|
+
mobility_attributes.inject(relation) do |i18n_rel, attr|
|
47
|
+
object.mobility_backend_class(attr).apply_scope(i18n_rel, predicate)
|
34
48
|
end
|
35
49
|
end
|
36
50
|
end
|
37
51
|
end
|
52
|
+
|
53
|
+
register_plugin(:ransack, Ransack)
|
38
54
|
end
|
39
55
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mobility-ransack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Salzberg
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-12-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ransack
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: 1.8.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '
|
22
|
+
version: '3.0'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,35 +29,35 @@ dependencies:
|
|
29
29
|
version: 1.8.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
32
|
+
version: '3.0'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: mobility
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: 0.
|
39
|
+
version: 1.0.0
|
40
40
|
type: :runtime
|
41
41
|
prerelease: false
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: 0.
|
46
|
+
version: 1.0.0
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: rake
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
50
50
|
requirements:
|
51
|
-
- - "
|
51
|
+
- - ">="
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version:
|
53
|
+
version: 12.3.3
|
54
54
|
type: :development
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
|
-
- - "
|
58
|
+
- - ">="
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version:
|
60
|
+
version: 12.3.3
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: rspec
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -78,15 +78,41 @@ dependencies:
|
|
78
78
|
requirements:
|
79
79
|
- - ">="
|
80
80
|
- !ruby/object:Gem::Version
|
81
|
-
version:
|
81
|
+
version: 1.3.0
|
82
|
+
- - "~>"
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
version: '1.3'
|
82
85
|
type: :development
|
83
86
|
prerelease: false
|
84
87
|
version_requirements: !ruby/object:Gem::Requirement
|
85
88
|
requirements:
|
86
89
|
- - ">="
|
87
90
|
- !ruby/object:Gem::Version
|
88
|
-
version:
|
89
|
-
|
91
|
+
version: 1.3.0
|
92
|
+
- - "~>"
|
93
|
+
- !ruby/object:Gem::Version
|
94
|
+
version: '1.3'
|
95
|
+
- !ruby/object:Gem::Dependency
|
96
|
+
name: database_cleaner
|
97
|
+
requirement: !ruby/object:Gem::Requirement
|
98
|
+
requirements:
|
99
|
+
- - ">="
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: 1.7.0
|
102
|
+
- - "~>"
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
version: '1.7'
|
105
|
+
type: :development
|
106
|
+
prerelease: false
|
107
|
+
version_requirements: !ruby/object:Gem::Requirement
|
108
|
+
requirements:
|
109
|
+
- - ">="
|
110
|
+
- !ruby/object:Gem::Version
|
111
|
+
version: 1.7.0
|
112
|
+
- - "~>"
|
113
|
+
- !ruby/object:Gem::Version
|
114
|
+
version: '1.7'
|
115
|
+
description:
|
90
116
|
email:
|
91
117
|
- chris@dejimata.com
|
92
118
|
executables: []
|
@@ -106,7 +132,7 @@ homepage: https://github.com/shioyama/mobility-ransack
|
|
106
132
|
licenses:
|
107
133
|
- MIT
|
108
134
|
metadata: {}
|
109
|
-
post_install_message:
|
135
|
+
post_install_message:
|
110
136
|
rdoc_options: []
|
111
137
|
require_paths:
|
112
138
|
- lib
|
@@ -121,9 +147,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
121
147
|
- !ruby/object:Gem::Version
|
122
148
|
version: '0'
|
123
149
|
requirements: []
|
124
|
-
|
125
|
-
|
126
|
-
signing_key:
|
150
|
+
rubygems_version: 3.0.6
|
151
|
+
signing_key:
|
127
152
|
specification_version: 4
|
128
153
|
summary: Search attributes translated by Mobility with Ransack.
|
129
154
|
test_files: []
|