ransack-enum 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +1 -3
- data/lib/ransack/enum/adapters/active_record/base.rb +1 -1
- data/lib/ransack/enum/version.rb +1 -1
- data/ransack-enum.gemspec +3 -3
- metadata +6 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c60f8d71b380e42fc9320e53a099dcd425927178279c798de58a099a6b918cc3
|
4
|
+
data.tar.gz: d7f375fef86ea2e49890c18a6d2ffd1b9547d254cdfeb9d5aa51a9a35ad7fa41
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ffc4bb6e75716af399920df5e7c2ff11aa91bf63404d7becc45c5f1497b481d0dd7e641952590f987c149217b84919ff5d589affb1f365e7a448103ebfefec6
|
7
|
+
data.tar.gz: e4251ef53dbead555eba994bd6c22c71ecd1f4f8d441798750c3f2b3ce955f114ab0a8430a9188a54aa7df9f2137cb479e78cde46ded807b670fa6d5e383316c
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -7,9 +7,7 @@ Allow Enum values to be used in [Ransack](https://github.com/activerecord-hacker
|
|
7
7
|
Add this line to your application's Gemfile:
|
8
8
|
|
9
9
|
```ruby
|
10
|
-
gem 'ransack-enum'
|
11
|
-
git: 'https://github.com/shoma07/ransack-enum.git',
|
12
|
-
branch: 'master'
|
10
|
+
gem 'ransack-enum'
|
13
11
|
```
|
14
12
|
|
15
13
|
And then execute:
|
data/lib/ransack/enum/version.rb
CHANGED
data/ransack-enum.gemspec
CHANGED
@@ -11,11 +11,12 @@ Gem::Specification.new do |spec|
|
|
11
11
|
spec.summary = "Allow Enum values to be used in Ransack searches"
|
12
12
|
spec.description = "Allow Enum values to be used in Ransack searches"
|
13
13
|
spec.homepage = "https://github.com/shoma07/ransack-enum"
|
14
|
+
spec.required_ruby_version = ">= 2.3"
|
14
15
|
spec.license = "MIT"
|
15
16
|
|
16
17
|
spec.metadata["homepage_uri"] = spec.homepage
|
17
18
|
spec.metadata["source_code_uri"] = spec.homepage
|
18
|
-
spec.metadata["changelog_uri"] = "https://github.com/shoma07/ransack-enum/blob/
|
19
|
+
spec.metadata["changelog_uri"] = "https://github.com/shoma07/ransack-enum/blob/v#{spec.version}/CHANGELOG.md"
|
19
20
|
|
20
21
|
# Specify which files should be added to the gem when it is released.
|
21
22
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
@@ -26,8 +27,7 @@ Gem::Specification.new do |spec|
|
|
26
27
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
27
28
|
spec.require_paths = ["lib"]
|
28
29
|
|
29
|
-
spec.
|
30
|
-
spec.add_dependency "activesupport", ">= 5.2.1"
|
30
|
+
spec.add_development_dependency "ransack", "~> 2.0"
|
31
31
|
|
32
32
|
spec.add_development_dependency "bundler", "~> 2.0"
|
33
33
|
spec.add_development_dependency "rake", "~> 10.0"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ransack-enum
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- shoma07
|
@@ -16,28 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '2.
|
20
|
-
type: :
|
19
|
+
version: '2.0'
|
20
|
+
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '2.
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: activesupport
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ">="
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: 5.2.1
|
34
|
-
type: :runtime
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - ">="
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: 5.2.1
|
26
|
+
version: '2.0'
|
41
27
|
- !ruby/object:Gem::Dependency
|
42
28
|
name: bundler
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -124,7 +110,7 @@ licenses:
|
|
124
110
|
metadata:
|
125
111
|
homepage_uri: https://github.com/shoma07/ransack-enum
|
126
112
|
source_code_uri: https://github.com/shoma07/ransack-enum
|
127
|
-
changelog_uri: https://github.com/shoma07/ransack-enum/blob/
|
113
|
+
changelog_uri: https://github.com/shoma07/ransack-enum/blob/v0.1.1/CHANGELOG.md
|
128
114
|
post_install_message:
|
129
115
|
rdoc_options: []
|
130
116
|
require_paths:
|
@@ -133,7 +119,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
133
119
|
requirements:
|
134
120
|
- - ">="
|
135
121
|
- !ruby/object:Gem::Version
|
136
|
-
version: '
|
122
|
+
version: '2.3'
|
137
123
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
138
124
|
requirements:
|
139
125
|
- - ">="
|