mobility-ransack 0.2.0 → 1.0.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: b666246ec54369683b3ca4c47ab7a37b276b8f6edd105dbfe001438dc8946b63
4
- data.tar.gz: 2c6bc9c9703f0a1a14f6eea1ca53bd1098b685d4964e8f2ba926ed801e95de67
3
+ metadata.gz: be276922cefff8fd33e93a926cc1a4bf34121c9749dfe139be50c273bd2394f5
4
+ data.tar.gz: d8a30f2fe726f735157480c34ed9735b82acbb62dcd5ec0e32795842d548d740
5
5
  SHA512:
6
- metadata.gz: 294f956b8dbbfee07354f44f6fd3a27f58f234d274e7361501adb84472c59918f4e133641d140d1e71f0f20e6584af4b961a649d84523737ed1aa3916ccdc408
7
- data.tar.gz: 931b32c4430f2623434012710b6436245ddabe1b7522d6b1f703a0038ae7b18d5382daf563a260a77b18d1dbfd3df72d75bd4ea1ae24b0e5a7d737d64eacadf9
6
+ metadata.gz: 86be049fae7d2990b93d9e851d0ff719aeb01aef19c708a6ef981ff53390598211a7cd464dd5e00dbf57e502479e3881de13f244b3b4aa2fade0728ff2335f6e
7
+ data.tar.gz: e31549972b7c78b82147d56ba983616d33fe8a155e232a87665c328dc55e5fd60cabe13a5b379aa8a4be40dd058145d22246365c18ac6d9b18cdfcbd442d5583
data/CHANGELOG.md CHANGED
@@ -1,7 +1,28 @@
1
1
  # Mobility Ransack Changelog
2
2
 
3
+ ## 1.0
4
+
5
+ ### 1.0.1
6
+ - Update gemspec to support Mobility 1.x
7
+ ([#17](https://github.com/shioyama/mobility-ransack/pull/17))
8
+
9
+ ### 1.0.0
10
+ - Enable Mobility 1.x compatibility
11
+ ([#10](https://github.com/shioyama/mobility-ransack/pull/10))
12
+
3
13
  ## 0.2
4
14
 
15
+ ### 0.2.2
16
+ - Remove version pinning for Ransack dependency
17
+ ([#6](https://github.com/shioyama/mobility-ransack/pull/6)), thanks
18
+ [peterwalker](https://github.com/petewalker)!
19
+
20
+ ### 0.2.1
21
+ - Extend ransack search with module
22
+ ([#4](https://github.com/shioyama/mobility-ransack/pull/4))
23
+ - Refactor `Mobility::Plugins::Ransack.apply`
24
+ ([#3](https://github.com/shioyama/mobility-ransack/pull/3))
25
+
5
26
  ### 0.2.0
6
27
 
7
28
  - Support sorting on translated attributes
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
- if ENV['RAILS_VERSION'] == '5.1'
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.1'}.0"
18
10
 
19
11
  gem 'pry'
20
12
  gem 'pry-byebug'
data/Gemfile.lock CHANGED
@@ -1,168 +1,182 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mobility-ransack (0.1.1)
5
- mobility (~> 0.8.0)
6
- ransack (>= 1.8.0, < 2.1)
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 (5.2.1)
12
- actionpack (= 5.2.1)
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
- actionmailer (5.2.1)
16
- actionpack (= 5.2.1)
17
- actionview (= 5.2.1)
18
- activejob (= 5.2.1)
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 (5.2.1)
22
- actionview (= 5.2.1)
23
- activesupport (= 5.2.1)
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.2)
28
- actionview (5.2.1)
29
- activesupport (= 5.2.1)
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.0, >= 1.0.3)
34
- activejob (5.2.1)
35
- activesupport (= 5.2.1)
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 (5.2.1)
38
- activesupport (= 5.2.1)
39
- activerecord (5.2.1)
40
- activemodel (= 5.2.1)
41
- activesupport (= 5.2.1)
42
- arel (>= 9.0)
43
- activestorage (5.2.1)
44
- actionpack (= 5.2.1)
45
- activerecord (= 5.2.1)
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 (5.2.1)
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
- arel (9.0.0)
53
- builder (3.2.3)
54
- byebug (10.0.2)
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.0.5)
57
- crass (1.0.4)
58
- database_cleaner (1.7.0)
69
+ concurrent-ruby (1.1.7)
70
+ crass (1.0.6)
71
+ database_cleaner (1.8.4)
59
72
  diff-lcs (1.3)
60
- erubi (1.7.1)
61
- globalid (0.4.1)
73
+ erubi (1.9.0)
74
+ globalid (0.4.2)
62
75
  activesupport (>= 4.2.0)
63
- i18n (1.0.1)
76
+ i18n (1.8.5)
64
77
  concurrent-ruby (~> 1.0)
65
- loofah (2.2.2)
78
+ loofah (2.7.0)
66
79
  crass (~> 1.0.2)
67
80
  nokogiri (>= 1.5.9)
68
- mail (2.7.0)
81
+ mail (2.7.1)
69
82
  mini_mime (>= 0.1.1)
70
- marcel (0.3.2)
83
+ marcel (0.3.3)
71
84
  mimemagic (~> 0.3.2)
72
- method_source (0.9.0)
73
- mimemagic (0.3.2)
74
- mini_mime (1.0.1)
75
- mini_portile2 (2.3.0)
76
- minitest (5.11.3)
77
- mobility (0.8.0)
78
- i18n (>= 0.6.10, < 1.1)
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)
79
92
  request_store (~> 1.0)
80
- nio4r (2.3.1)
81
- nokogiri (1.8.4)
82
- mini_portile2 (~> 2.3.0)
83
- pry (0.11.3)
84
- coderay (~> 1.1.0)
85
- method_source (~> 0.9.0)
86
- pry-byebug (3.6.0)
87
- byebug (~> 10.0)
88
- pry (~> 0.10)
89
- rack (2.0.5)
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)
90
103
  rack-test (1.1.0)
91
104
  rack (>= 1.0, < 3)
92
- rails (5.2.1)
93
- actioncable (= 5.2.1)
94
- actionmailer (= 5.2.1)
95
- actionpack (= 5.2.1)
96
- actionview (= 5.2.1)
97
- activejob (= 5.2.1)
98
- activemodel (= 5.2.1)
99
- activerecord (= 5.2.1)
100
- activestorage (= 5.2.1)
101
- activesupport (= 5.2.1)
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)
102
117
  bundler (>= 1.3.0)
103
- railties (= 5.2.1)
118
+ railties (= 6.0.3.4)
104
119
  sprockets-rails (>= 2.0.0)
105
120
  rails-dom-testing (2.0.3)
106
121
  activesupport (>= 4.2.0)
107
122
  nokogiri (>= 1.6)
108
- rails-html-sanitizer (1.0.4)
109
- loofah (~> 2.2, >= 2.2.2)
110
- railties (5.2.1)
111
- actionpack (= 5.2.1)
112
- activesupport (= 5.2.1)
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)
113
128
  method_source
114
129
  rake (>= 0.8.7)
115
- thor (>= 0.19.0, < 2.0)
116
- rake (10.5.0)
117
- ransack (2.0.1)
118
- actionpack (>= 5.0)
119
- activerecord (>= 5.0)
120
- 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)
121
135
  i18n
122
- request_store (1.4.1)
136
+ request_store (1.5.0)
123
137
  rack (>= 1.4)
124
- rspec (3.8.0)
125
- rspec-core (~> 3.8.0)
126
- rspec-expectations (~> 3.8.0)
127
- rspec-mocks (~> 3.8.0)
128
- rspec-core (3.8.0)
129
- rspec-support (~> 3.8.0)
130
- rspec-expectations (3.8.1)
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)
131
145
  diff-lcs (>= 1.2.0, < 2.0)
132
- rspec-support (~> 3.8.0)
133
- rspec-mocks (3.8.0)
146
+ rspec-support (~> 3.9.0)
147
+ rspec-mocks (3.9.1)
134
148
  diff-lcs (>= 1.2.0, < 2.0)
135
- rspec-support (~> 3.8.0)
136
- rspec-support (3.8.0)
137
- sprockets (3.7.2)
149
+ rspec-support (~> 3.9.0)
150
+ rspec-support (3.9.2)
151
+ sprockets (4.0.2)
138
152
  concurrent-ruby (~> 1.0)
139
153
  rack (> 1, < 3)
140
- sprockets-rails (3.2.1)
154
+ sprockets-rails (3.2.2)
141
155
  actionpack (>= 4.0)
142
156
  activesupport (>= 4.0)
143
157
  sprockets (>= 3.0.0)
144
- sqlite3 (1.3.13)
145
- thor (0.20.0)
158
+ sqlite3 (1.4.2)
159
+ thor (1.0.1)
146
160
  thread_safe (0.3.6)
147
- tzinfo (1.2.5)
161
+ tzinfo (1.2.7)
148
162
  thread_safe (~> 0.1)
149
- websocket-driver (0.7.0)
163
+ websocket-driver (0.7.3)
150
164
  websocket-extensions (>= 0.1.0)
151
- websocket-extensions (0.1.3)
165
+ websocket-extensions (0.1.5)
166
+ zeitwerk (2.4.1)
152
167
 
153
168
  PLATFORMS
154
169
  ruby
155
170
 
156
171
  DEPENDENCIES
157
- database_cleaner (~> 1.7.0)
172
+ database_cleaner (~> 1.7, >= 1.7.0)
158
173
  mobility-ransack!
159
174
  pry
160
175
  pry-byebug
161
- rails (>= 5.2.0.rc2, < 5.3)
162
- rake (~> 10.0)
163
- ransack (~> 2.0.0)
176
+ rails (~> 6.0.0)
177
+ rake (>= 12.3.3)
164
178
  rspec (~> 3.0)
165
- sqlite3
179
+ sqlite3 (~> 1.3, >= 1.3.0)
166
180
 
167
181
  BUNDLED WITH
168
- 1.16.1
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://travis-ci.org/shioyama/mobility-ransack.svg?branch=master)][travis]
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/friendly_id-mobility
8
- [travis]: https://travis-ci.org/shioyama/friendly_id-mobility
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.2.0'
21
+ gem 'mobility-ransack', '~> 1.0.1'
20
22
  ```
21
23
 
22
- Now enable the `ransack` plugin in Mobility's configuration so that it can be
23
- used, and optionally set the value for the `:ransack` key in `default_options`
24
- to `true` to enable it for all translated attributes on all models.
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 |config|
28
- # ...
29
- config.plugins += [:ransack]
30
- # config.default_options[:ransack] = true
30
+ Mobility.configure do
31
+ plugins do
32
+ ransack
33
+
34
+ # ...
35
+ end
31
36
  end
32
37
  ```
33
38
 
34
- If you left the `default_options` line above commented out, you will need to
35
- explicitly enable ransack for each attribute you want to search on with the
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: true
45
+ translates :foo, ransack: false
42
46
  end
43
47
  ```
44
48
 
@@ -4,34 +4,38 @@ 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
- def self.apply(attributes, option)
11
- if option
12
- backend_class = attributes.backend_class
13
- plugin = self
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
- def ransack(params = {}, options = {})
24
- Search.new(self, params, options)
25
+ module ClassMethods
26
+ def ransack(*)
27
+ super.extend(Search)
28
+ end
25
29
  end
26
30
 
27
- class Search < ::Ransack::Search
31
+ module Search
28
32
  def result(opts = {})
29
33
  sorted = sorts.inject(super) do |relation, sort|
30
34
  predicate = ::Ransack::Visitor.new.visit_Ransack_Nodes_Sort(sort)
31
35
  apply_mobility_scope(relation, predicate, [sort.attr_name])
32
36
  end
33
37
  conditions.inject(sorted) do |relation, condition|
34
- apply_mobility_scope(relation, condition.arel_predicate, condition.attributes.compact.flatten.map(&:name))
38
+ apply_mobility_scope(relation, condition.arel_predicate, condition.attributes.compact.flat_map(&:name))
35
39
  end
36
40
  end
37
41
 
@@ -44,5 +48,7 @@ module Mobility
44
48
  end
45
49
  end
46
50
  end
51
+
52
+ register_plugin(:ransack, Ransack)
47
53
  end
48
54
  end
@@ -1,5 +1,5 @@
1
1
  module Mobility
2
2
  module Ransack
3
- VERSION = "0.2.0"
3
+ VERSION = "1.0.1"
4
4
  end
5
5
  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.2.0
4
+ version: 1.0.1
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: 2018-09-12 00:00:00.000000000 Z
11
+ date: 2021-03-28 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: '2.1'
22
+ version: '3.0'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,35 +29,41 @@ dependencies:
29
29
  version: 1.8.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '2.1'
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.8.0
39
+ version: 1.0.1
40
+ - - "<"
41
+ - !ruby/object:Gem::Version
42
+ version: '2.0'
40
43
  type: :runtime
41
44
  prerelease: false
42
45
  version_requirements: !ruby/object:Gem::Requirement
43
46
  requirements:
44
- - - "~>"
47
+ - - ">="
48
+ - !ruby/object:Gem::Version
49
+ version: 1.0.1
50
+ - - "<"
45
51
  - !ruby/object:Gem::Version
46
- version: 0.8.0
52
+ version: '2.0'
47
53
  - !ruby/object:Gem::Dependency
48
54
  name: rake
49
55
  requirement: !ruby/object:Gem::Requirement
50
56
  requirements:
51
- - - "~>"
57
+ - - ">="
52
58
  - !ruby/object:Gem::Version
53
- version: '10.0'
59
+ version: 12.3.3
54
60
  type: :development
55
61
  prerelease: false
56
62
  version_requirements: !ruby/object:Gem::Requirement
57
63
  requirements:
58
- - - "~>"
64
+ - - ">="
59
65
  - !ruby/object:Gem::Version
60
- version: '10.0'
66
+ version: 12.3.3
61
67
  - !ruby/object:Gem::Dependency
62
68
  name: rspec
63
69
  requirement: !ruby/object:Gem::Requirement
@@ -78,29 +84,41 @@ dependencies:
78
84
  requirements:
79
85
  - - ">="
80
86
  - !ruby/object:Gem::Version
81
- version: '0'
87
+ version: 1.3.0
88
+ - - "~>"
89
+ - !ruby/object:Gem::Version
90
+ version: '1.3'
82
91
  type: :development
83
92
  prerelease: false
84
93
  version_requirements: !ruby/object:Gem::Requirement
85
94
  requirements:
86
95
  - - ">="
87
96
  - !ruby/object:Gem::Version
88
- version: '0'
97
+ version: 1.3.0
98
+ - - "~>"
99
+ - !ruby/object:Gem::Version
100
+ version: '1.3'
89
101
  - !ruby/object:Gem::Dependency
90
102
  name: database_cleaner
91
103
  requirement: !ruby/object:Gem::Requirement
92
104
  requirements:
93
- - - "~>"
105
+ - - ">="
94
106
  - !ruby/object:Gem::Version
95
107
  version: 1.7.0
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '1.7'
96
111
  type: :development
97
112
  prerelease: false
98
113
  version_requirements: !ruby/object:Gem::Requirement
99
114
  requirements:
100
- - - "~>"
115
+ - - ">="
101
116
  - !ruby/object:Gem::Version
102
117
  version: 1.7.0
103
- description:
118
+ - - "~>"
119
+ - !ruby/object:Gem::Version
120
+ version: '1.7'
121
+ description:
104
122
  email:
105
123
  - chris@dejimata.com
106
124
  executables: []
@@ -120,7 +138,7 @@ homepage: https://github.com/shioyama/mobility-ransack
120
138
  licenses:
121
139
  - MIT
122
140
  metadata: {}
123
- post_install_message:
141
+ post_install_message:
124
142
  rdoc_options: []
125
143
  require_paths:
126
144
  - lib
@@ -135,9 +153,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
135
153
  - !ruby/object:Gem::Version
136
154
  version: '0'
137
155
  requirements: []
138
- rubyforge_project:
139
- rubygems_version: 2.7.6
140
- signing_key:
156
+ rubygems_version: 3.0.6
157
+ signing_key:
141
158
  specification_version: 4
142
159
  summary: Search attributes translated by Mobility with Ransack.
143
160
  test_files: []