tiny_filter 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -0
- data/CHANGELOG.md +5 -0
- data/CODE_OF_CONDUCT.md +1 -1
- data/README.md +6 -5
- data/Rakefile +0 -9
- data/lib/generators/tiny_filter/filter/filter_generator.rb +2 -0
- data/lib/generators/tiny_filter/install/USAGE +1 -1
- data/lib/generators/tiny_filter/install/install_generator.rb +2 -0
- data/lib/tiny_filter/version.rb +1 -1
- data/tiny_filter.gemspec +4 -4
- metadata +4 -23
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5cf60cc543019e4d02a3c8ffda90cd0e27d224feefdd0517f1b359c9e598b7f2
|
4
|
+
data.tar.gz: fc7bceb2b9ec9265d4535fcacbf65c207e2df6b689b3d3117a839ccffdba6524
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1537075c3b79a1e3ab09080f7d9e68edb43e22dd97881782000d67d677cfdd543c118e445425f0bf729d2680ec8b8d35db8fb064d911f36b6727388ebcde957
|
7
|
+
data.tar.gz: 3b49cb06eca991359f8bf91500fb9f0ff20fcb36f503a25bd7011b239b9258411178844906e8ae424e4e7ab16720875c0c0f430161fb82f6640b35b4704c7146
|
data/.rubocop.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/CODE_OF_CONDUCT.md
CHANGED
@@ -39,7 +39,7 @@ This Code of Conduct applies within all community spaces, and also applies when
|
|
39
39
|
|
40
40
|
## Enforcement
|
41
41
|
|
42
|
-
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at kirill
|
42
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at kirill@lassoid.ru. All complaints will be reviewed and investigated promptly and fairly.
|
43
43
|
|
44
44
|
All community leaders are obligated to respect the privacy and security of the reporter of any incident.
|
45
45
|
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# TinyFilter
|
2
2
|
|
3
|
-
[![Gem Version](https://
|
3
|
+
[![Gem Version](https://img.shields.io/gem/v/tiny_filter?color=blue&label=version)](https://rubygems.org/gems/tiny_filter)
|
4
4
|
[![Gem downloads count](https://img.shields.io/gem/dt/tiny_filter)](https://rubygems.org/gems/tiny_filter)
|
5
5
|
[![Github Actions CI](https://github.com/lassoid/tiny_filter/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/lassoid/tiny_filter/actions/workflows/ci.yml)
|
6
6
|
|
@@ -134,11 +134,12 @@ MyFilter.filter(collection, options)
|
|
134
134
|
|
135
135
|
## Development
|
136
136
|
|
137
|
-
After checking out the repo, run `bin/setup` to install dependencies. Then, run `
|
138
|
-
You can also run `bin/
|
137
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `bin/rspec` to run the tests.
|
138
|
+
You can also run `bin/rubocop` to lint the source code
|
139
|
+
and `bin/console` for an interactive prompt that will allow you to experiment.
|
139
140
|
|
140
|
-
To install this gem onto your local machine, run `
|
141
|
-
To release a new version, update the version number in `version.rb`, and then run `
|
141
|
+
To install this gem onto your local machine, run `bin/rake install`.
|
142
|
+
To release a new version, update the version number in `version.rb`, and then run `bin/rake release`,
|
142
143
|
which will create a git tag for the version, push git commits and the created tag,
|
143
144
|
and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
144
145
|
|
data/Rakefile
CHANGED
data/lib/tiny_filter/version.rb
CHANGED
data/tiny_filter.gemspec
CHANGED
@@ -6,7 +6,7 @@ Gem::Specification.new do |spec|
|
|
6
6
|
spec.name = "tiny_filter"
|
7
7
|
spec.version = TinyFilter::VERSION
|
8
8
|
spec.authors = ["Kirill Usanov", "LassoID"]
|
9
|
-
spec.email =
|
9
|
+
spec.email = "kirill@lassoid.ru"
|
10
10
|
|
11
11
|
spec.summary = "Tiny filtering for Rails."
|
12
12
|
spec.description = "Simple filtering for ActiveRecord and enumerables."
|
@@ -30,9 +30,9 @@ Gem::Specification.new do |spec|
|
|
30
30
|
spec.require_paths = ["lib"]
|
31
31
|
|
32
32
|
# Dependencies
|
33
|
-
spec.add_dependency "activesupport", ">= 6.0"
|
34
|
-
spec.add_development_dependency "activerecord", ">= 6.0"
|
35
|
-
spec.add_development_dependency "railties", ">= 6.0"
|
33
|
+
spec.add_dependency "activesupport", ">= 6.0"
|
34
|
+
spec.add_development_dependency "activerecord", ">= 6.0"
|
35
|
+
spec.add_development_dependency "railties", ">= 6.0"
|
36
36
|
spec.add_development_dependency "rake"
|
37
37
|
spec.add_development_dependency "rspec"
|
38
38
|
spec.add_development_dependency "rubocop"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tiny_filter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kirill Usanov
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2023-10-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
@@ -18,9 +18,6 @@ dependencies:
|
|
18
18
|
- - ">="
|
19
19
|
- !ruby/object:Gem::Version
|
20
20
|
version: '6.0'
|
21
|
-
- - "<"
|
22
|
-
- !ruby/object:Gem::Version
|
23
|
-
version: '7.1'
|
24
21
|
type: :runtime
|
25
22
|
prerelease: false
|
26
23
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -28,9 +25,6 @@ dependencies:
|
|
28
25
|
- - ">="
|
29
26
|
- !ruby/object:Gem::Version
|
30
27
|
version: '6.0'
|
31
|
-
- - "<"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '7.1'
|
34
28
|
- !ruby/object:Gem::Dependency
|
35
29
|
name: activerecord
|
36
30
|
requirement: !ruby/object:Gem::Requirement
|
@@ -38,9 +32,6 @@ dependencies:
|
|
38
32
|
- - ">="
|
39
33
|
- !ruby/object:Gem::Version
|
40
34
|
version: '6.0'
|
41
|
-
- - "<"
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
version: '7.1'
|
44
35
|
type: :development
|
45
36
|
prerelease: false
|
46
37
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -48,9 +39,6 @@ dependencies:
|
|
48
39
|
- - ">="
|
49
40
|
- !ruby/object:Gem::Version
|
50
41
|
version: '6.0'
|
51
|
-
- - "<"
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
version: '7.1'
|
54
42
|
- !ruby/object:Gem::Dependency
|
55
43
|
name: railties
|
56
44
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,9 +46,6 @@ dependencies:
|
|
58
46
|
- - ">="
|
59
47
|
- !ruby/object:Gem::Version
|
60
48
|
version: '6.0'
|
61
|
-
- - "<"
|
62
|
-
- !ruby/object:Gem::Version
|
63
|
-
version: '7.1'
|
64
49
|
type: :development
|
65
50
|
prerelease: false
|
66
51
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -68,9 +53,6 @@ dependencies:
|
|
68
53
|
- - ">="
|
69
54
|
- !ruby/object:Gem::Version
|
70
55
|
version: '6.0'
|
71
|
-
- - "<"
|
72
|
-
- !ruby/object:Gem::Version
|
73
|
-
version: '7.1'
|
74
56
|
- !ruby/object:Gem::Dependency
|
75
57
|
name: rake
|
76
58
|
requirement: !ruby/object:Gem::Requirement
|
@@ -198,8 +180,7 @@ dependencies:
|
|
198
180
|
- !ruby/object:Gem::Version
|
199
181
|
version: '0'
|
200
182
|
description: Simple filtering for ActiveRecord and enumerables.
|
201
|
-
email:
|
202
|
-
- kirill.usanov.dev@gmail.com
|
183
|
+
email: kirill@lassoid.ru
|
203
184
|
executables: []
|
204
185
|
extensions: []
|
205
186
|
extra_rdoc_files: []
|
@@ -247,7 +228,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
247
228
|
- !ruby/object:Gem::Version
|
248
229
|
version: '0'
|
249
230
|
requirements: []
|
250
|
-
rubygems_version: 3.
|
231
|
+
rubygems_version: 3.4.17
|
251
232
|
signing_key:
|
252
233
|
specification_version: 4
|
253
234
|
summary: Tiny filtering for Rails.
|