minidusen 0.11.1 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/test.yml +55 -48
  3. data/.ruby-version +1 -1
  4. data/CHANGELOG.md +6 -0
  5. data/Gemfile.6.1.mysql2.lock +2 -2
  6. data/Gemfile.6.1.pg.lock +2 -2
  7. data/Gemfile.7.0.mysql2.lock +2 -2
  8. data/Gemfile.7.0.pg.lock +2 -2
  9. data/{Gemfile.6.0.mysql2 → Gemfile.7.1.mysql2} +2 -2
  10. data/Gemfile.7.1.mysql2.lock +81 -0
  11. data/{Gemfile.6.0.pg → Gemfile.7.1.pg} +2 -2
  12. data/Gemfile.7.1.pg.lock +81 -0
  13. data/{Gemfile.4.2.mysql2 → Gemfile.7.2.mysql2} +4 -4
  14. data/Gemfile.7.2.mysql2.lock +83 -0
  15. data/{Gemfile.4.2.pg → Gemfile.7.2.pg} +3 -3
  16. data/Gemfile.7.2.pg.lock +83 -0
  17. data/Gemfile.8.0.mysql2 +15 -0
  18. data/Gemfile.8.0.mysql2.lock +87 -0
  19. data/Gemfile.8.0.pg +15 -0
  20. data/Gemfile.8.0.pg.lock +87 -0
  21. data/README.md +21 -6
  22. data/lib/minidusen/parser.rb +4 -2
  23. data/lib/minidusen/syntax.rb +14 -3
  24. data/lib/minidusen/token.rb +5 -0
  25. data/lib/minidusen/util.rb +2 -2
  26. data/lib/minidusen/version.rb +1 -1
  27. data/media/logo.dark.shapes.svg +137 -0
  28. data/media/logo.dark.text.svg +107 -0
  29. data/media/logo.light.shapes.svg +136 -0
  30. data/media/logo.light.text.svg +106 -0
  31. data/media/makandra-with-bottom-margin.dark.svg +180 -0
  32. data/media/makandra-with-bottom-margin.light.svg +180 -0
  33. data/spec/minidusen/filter_spec.rb +8 -0
  34. data/spec/minidusen/parser_spec.rb +8 -0
  35. data/spec/support/database.github.yml +2 -2
  36. metadata +21 -15
  37. data/Gemfile.4.2.mysql2.lock +0 -69
  38. data/Gemfile.4.2.pg.lock +0 -69
  39. data/Gemfile.5.2.mysql2 +0 -16
  40. data/Gemfile.5.2.mysql2.lock +0 -68
  41. data/Gemfile.5.2.pg +0 -16
  42. data/Gemfile.5.2.pg.lock +0 -68
  43. data/Gemfile.6.0.mysql2.lock +0 -67
  44. data/Gemfile.6.0.pg.lock +0 -67
@@ -1,12 +1,12 @@
1
1
  mysql:
2
- database: test
2
+ database: minidusen_test
3
3
  username: root
4
4
  password: password
5
5
  host: 127.0.0.1
6
6
  port: 3306
7
7
 
8
8
  postgresql:
9
- database: test
9
+ database: minidusen_test
10
10
  host: localhost
11
11
  username: postgres
12
12
  password: postgres
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minidusen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.1
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Henning Koch
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-22 00:00:00.000000000 Z
11
+ date: 2025-07-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -63,18 +63,6 @@ files:
63
63
  - ".rspec"
64
64
  - ".ruby-version"
65
65
  - CHANGELOG.md
66
- - Gemfile.4.2.mysql2
67
- - Gemfile.4.2.mysql2.lock
68
- - Gemfile.4.2.pg
69
- - Gemfile.4.2.pg.lock
70
- - Gemfile.5.2.mysql2
71
- - Gemfile.5.2.mysql2.lock
72
- - Gemfile.5.2.pg
73
- - Gemfile.5.2.pg.lock
74
- - Gemfile.6.0.mysql2
75
- - Gemfile.6.0.mysql2.lock
76
- - Gemfile.6.0.pg
77
- - Gemfile.6.0.pg.lock
78
66
  - Gemfile.6.1.mysql2
79
67
  - Gemfile.6.1.mysql2.lock
80
68
  - Gemfile.6.1.pg
@@ -83,6 +71,18 @@ files:
83
71
  - Gemfile.7.0.mysql2.lock
84
72
  - Gemfile.7.0.pg
85
73
  - Gemfile.7.0.pg.lock
74
+ - Gemfile.7.1.mysql2
75
+ - Gemfile.7.1.mysql2.lock
76
+ - Gemfile.7.1.pg
77
+ - Gemfile.7.1.pg.lock
78
+ - Gemfile.7.2.mysql2
79
+ - Gemfile.7.2.mysql2.lock
80
+ - Gemfile.7.2.pg
81
+ - Gemfile.7.2.pg.lock
82
+ - Gemfile.8.0.mysql2
83
+ - Gemfile.8.0.mysql2.lock
84
+ - Gemfile.8.0.pg
85
+ - Gemfile.8.0.pg.lock
86
86
  - LICENSE
87
87
  - README.md
88
88
  - Rakefile
@@ -96,6 +96,12 @@ files:
96
96
  - lib/minidusen/token.rb
97
97
  - lib/minidusen/util.rb
98
98
  - lib/minidusen/version.rb
99
+ - media/logo.dark.shapes.svg
100
+ - media/logo.dark.text.svg
101
+ - media/logo.light.shapes.svg
102
+ - media/logo.light.text.svg
103
+ - media/makandra-with-bottom-margin.dark.svg
104
+ - media/makandra-with-bottom-margin.light.svg
99
105
  - minidusen.gemspec
100
106
  - spec/minidusen/active_record_ext_spec.rb
101
107
  - spec/minidusen/filter_spec.rb
@@ -127,7 +133,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
127
133
  - !ruby/object:Gem::Version
128
134
  version: '0'
129
135
  requirements: []
130
- rubygems_version: 3.2.3
136
+ rubygems_version: 3.4.19
131
137
  signing_key:
132
138
  specification_version: 4
133
139
  summary: Low-tech search for ActiveRecord with MySQL or PostgreSQL
@@ -1,69 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- minidusen (0.11.1)
5
- activerecord (>= 3.2)
6
- activesupport (>= 3.2)
7
- edge_rider (>= 0.2.5)
8
-
9
- GEM
10
- remote: https://rubygems.org/
11
- specs:
12
- activemodel (4.2.7.1)
13
- activesupport (= 4.2.7.1)
14
- builder (~> 3.1)
15
- activerecord (4.2.7.1)
16
- activemodel (= 4.2.7.1)
17
- activesupport (= 4.2.7.1)
18
- arel (~> 6.0)
19
- activesupport (4.2.7.1)
20
- i18n (~> 0.7)
21
- json (~> 1.7, >= 1.7.7)
22
- minitest (~> 5.1)
23
- thread_safe (~> 0.3, >= 0.3.4)
24
- tzinfo (~> 1.1)
25
- arel (6.0.3)
26
- builder (3.2.2)
27
- byebug (9.0.5)
28
- database_cleaner (1.5.3)
29
- diff-lcs (1.2.5)
30
- edge_rider (2.1.1)
31
- activerecord (>= 3.2)
32
- gemika (0.8.1)
33
- i18n (0.7.0)
34
- json (1.8.6)
35
- minitest (5.9.0)
36
- mysql2 (0.4.10)
37
- rake (11.3.0)
38
- rspec (3.5.0)
39
- rspec-core (~> 3.5.0)
40
- rspec-expectations (~> 3.5.0)
41
- rspec-mocks (~> 3.5.0)
42
- rspec-core (3.5.3)
43
- rspec-support (~> 3.5.0)
44
- rspec-expectations (3.5.0)
45
- diff-lcs (>= 1.2.0, < 2.0)
46
- rspec-support (~> 3.5.0)
47
- rspec-mocks (3.5.0)
48
- diff-lcs (>= 1.2.0, < 2.0)
49
- rspec-support (~> 3.5.0)
50
- rspec-support (3.5.0)
51
- thread_safe (0.3.6)
52
- tzinfo (1.2.2)
53
- thread_safe (~> 0.1)
54
-
55
- PLATFORMS
56
- ruby
57
-
58
- DEPENDENCIES
59
- activerecord (~> 4.2.1)
60
- byebug
61
- database_cleaner
62
- gemika
63
- minidusen!
64
- mysql2 (~> 0.4.10)
65
- rake
66
- rspec (~> 3.4)
67
-
68
- BUNDLED WITH
69
- 1.17.3
data/Gemfile.4.2.pg.lock DELETED
@@ -1,69 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- minidusen (0.11.1)
5
- activerecord (>= 3.2)
6
- activesupport (>= 3.2)
7
- edge_rider (>= 0.2.5)
8
-
9
- GEM
10
- remote: https://rubygems.org/
11
- specs:
12
- activemodel (4.2.7.1)
13
- activesupport (= 4.2.7.1)
14
- builder (~> 3.1)
15
- activerecord (4.2.7.1)
16
- activemodel (= 4.2.7.1)
17
- activesupport (= 4.2.7.1)
18
- arel (~> 6.0)
19
- activesupport (4.2.7.1)
20
- i18n (~> 0.7)
21
- json (~> 1.7, >= 1.7.7)
22
- minitest (~> 5.1)
23
- thread_safe (~> 0.3, >= 0.3.4)
24
- tzinfo (~> 1.1)
25
- arel (6.0.3)
26
- builder (3.2.2)
27
- byebug (9.0.5)
28
- database_cleaner (1.5.3)
29
- diff-lcs (1.2.5)
30
- edge_rider (2.1.1)
31
- activerecord (>= 3.2)
32
- gemika (0.8.1)
33
- i18n (0.7.0)
34
- json (1.8.6)
35
- minitest (5.9.0)
36
- pg (0.19.0)
37
- rake (11.3.0)
38
- rspec (3.5.0)
39
- rspec-core (~> 3.5.0)
40
- rspec-expectations (~> 3.5.0)
41
- rspec-mocks (~> 3.5.0)
42
- rspec-core (3.5.3)
43
- rspec-support (~> 3.5.0)
44
- rspec-expectations (3.5.0)
45
- diff-lcs (>= 1.2.0, < 2.0)
46
- rspec-support (~> 3.5.0)
47
- rspec-mocks (3.5.0)
48
- diff-lcs (>= 1.2.0, < 2.0)
49
- rspec-support (~> 3.5.0)
50
- rspec-support (3.5.0)
51
- thread_safe (0.3.6)
52
- tzinfo (1.2.2)
53
- thread_safe (~> 0.1)
54
-
55
- PLATFORMS
56
- ruby
57
-
58
- DEPENDENCIES
59
- activerecord (~> 4.2.1)
60
- byebug
61
- database_cleaner
62
- gemika
63
- minidusen!
64
- pg
65
- rake
66
- rspec (~> 3.4)
67
-
68
- BUNDLED WITH
69
- 1.17.3
data/Gemfile.5.2.mysql2 DELETED
@@ -1,16 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- # Runtime dependencies
4
- gem 'activerecord', '~>5.2.3'
5
- gem 'mysql2', '~>0.4.4'
6
- gem 'i18n', '<=1.5.1' # Required to support tests for Ruby 2.2.x
7
-
8
- # Development dependencies
9
- gem 'rake'
10
- gem 'database_cleaner'
11
- gem 'rspec', '~>3.5'
12
- gem 'byebug'
13
- gem 'gemika'
14
-
15
- # Gem under test
16
- gem 'minidusen', :path => '.'
@@ -1,68 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- minidusen (0.11.1)
5
- activerecord (>= 3.2)
6
- activesupport (>= 3.2)
7
- edge_rider (>= 0.2.5)
8
-
9
- GEM
10
- remote: https://rubygems.org/
11
- specs:
12
- activemodel (5.2.3)
13
- activesupport (= 5.2.3)
14
- activerecord (5.2.3)
15
- activemodel (= 5.2.3)
16
- activesupport (= 5.2.3)
17
- arel (>= 9.0)
18
- activesupport (5.2.3)
19
- concurrent-ruby (~> 1.0, >= 1.0.2)
20
- i18n (>= 0.7, < 2)
21
- minitest (~> 5.1)
22
- tzinfo (~> 1.1)
23
- arel (9.0.0)
24
- byebug (9.0.5)
25
- concurrent-ruby (1.1.5)
26
- database_cleaner (1.7.0)
27
- diff-lcs (1.2.5)
28
- edge_rider (2.1.1)
29
- activerecord (>= 3.2)
30
- gemika (0.8.1)
31
- i18n (1.5.1)
32
- concurrent-ruby (~> 1.0)
33
- minitest (5.11.3)
34
- mysql2 (0.4.10)
35
- rake (11.3.0)
36
- rspec (3.5.0)
37
- rspec-core (~> 3.5.0)
38
- rspec-expectations (~> 3.5.0)
39
- rspec-mocks (~> 3.5.0)
40
- rspec-core (3.5.3)
41
- rspec-support (~> 3.5.0)
42
- rspec-expectations (3.5.0)
43
- diff-lcs (>= 1.2.0, < 2.0)
44
- rspec-support (~> 3.5.0)
45
- rspec-mocks (3.5.0)
46
- diff-lcs (>= 1.2.0, < 2.0)
47
- rspec-support (~> 3.5.0)
48
- rspec-support (3.5.0)
49
- thread_safe (0.3.6)
50
- tzinfo (1.2.5)
51
- thread_safe (~> 0.1)
52
-
53
- PLATFORMS
54
- ruby
55
-
56
- DEPENDENCIES
57
- activerecord (~> 5.2.3)
58
- byebug
59
- database_cleaner
60
- gemika
61
- i18n (<= 1.5.1)
62
- minidusen!
63
- mysql2 (~> 0.4.4)
64
- rake
65
- rspec (~> 3.5)
66
-
67
- BUNDLED WITH
68
- 1.17.3
data/Gemfile.5.2.pg DELETED
@@ -1,16 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- # Runtime dependencies
4
- gem 'activerecord', '~>5.2.3'
5
- gem 'pg', '~>0.18.4'
6
- gem 'i18n', '<=1.5.1' # Required to support tests for Ruby 2.2.x
7
-
8
- # Development dependencies
9
- gem 'rake'
10
- gem 'database_cleaner'
11
- gem 'rspec', '~>3.5'
12
- gem 'byebug'
13
- gem 'gemika'
14
-
15
- # Gem under test
16
- gem 'minidusen', :path => '.'
data/Gemfile.5.2.pg.lock DELETED
@@ -1,68 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- minidusen (0.11.1)
5
- activerecord (>= 3.2)
6
- activesupport (>= 3.2)
7
- edge_rider (>= 0.2.5)
8
-
9
- GEM
10
- remote: https://rubygems.org/
11
- specs:
12
- activemodel (5.2.3)
13
- activesupport (= 5.2.3)
14
- activerecord (5.2.3)
15
- activemodel (= 5.2.3)
16
- activesupport (= 5.2.3)
17
- arel (>= 9.0)
18
- activesupport (5.2.3)
19
- concurrent-ruby (~> 1.0, >= 1.0.2)
20
- i18n (>= 0.7, < 2)
21
- minitest (~> 5.1)
22
- tzinfo (~> 1.1)
23
- arel (9.0.0)
24
- byebug (9.0.5)
25
- concurrent-ruby (1.1.5)
26
- database_cleaner (1.7.0)
27
- diff-lcs (1.2.5)
28
- edge_rider (2.1.1)
29
- activerecord (>= 3.2)
30
- gemika (0.8.1)
31
- i18n (1.5.1)
32
- concurrent-ruby (~> 1.0)
33
- minitest (5.11.3)
34
- pg (0.18.4)
35
- rake (13.0.6)
36
- rspec (3.5.0)
37
- rspec-core (~> 3.5.0)
38
- rspec-expectations (~> 3.5.0)
39
- rspec-mocks (~> 3.5.0)
40
- rspec-core (3.5.3)
41
- rspec-support (~> 3.5.0)
42
- rspec-expectations (3.5.0)
43
- diff-lcs (>= 1.2.0, < 2.0)
44
- rspec-support (~> 3.5.0)
45
- rspec-mocks (3.5.0)
46
- diff-lcs (>= 1.2.0, < 2.0)
47
- rspec-support (~> 3.5.0)
48
- rspec-support (3.5.0)
49
- thread_safe (0.3.6)
50
- tzinfo (1.2.5)
51
- thread_safe (~> 0.1)
52
-
53
- PLATFORMS
54
- ruby
55
-
56
- DEPENDENCIES
57
- activerecord (~> 5.2.3)
58
- byebug
59
- database_cleaner
60
- gemika
61
- i18n (<= 1.5.1)
62
- minidusen!
63
- pg (~> 0.18.4)
64
- rake
65
- rspec (~> 3.5)
66
-
67
- BUNDLED WITH
68
- 2.2.28
@@ -1,67 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- minidusen (0.11.1)
5
- activerecord (>= 3.2)
6
- activesupport (>= 3.2)
7
- edge_rider (>= 0.2.5)
8
-
9
- GEM
10
- remote: https://rubygems.org/
11
- specs:
12
- activemodel (6.0.3.4)
13
- activesupport (= 6.0.3.4)
14
- activerecord (6.0.3.4)
15
- activemodel (= 6.0.3.4)
16
- activesupport (= 6.0.3.4)
17
- activesupport (6.0.3.4)
18
- concurrent-ruby (~> 1.0, >= 1.0.2)
19
- i18n (>= 0.7, < 2)
20
- minitest (~> 5.1)
21
- tzinfo (~> 1.1)
22
- zeitwerk (~> 2.2, >= 2.2.2)
23
- byebug (11.0.1)
24
- concurrent-ruby (1.1.7)
25
- database_cleaner (1.7.0)
26
- diff-lcs (1.3)
27
- edge_rider (2.1.1)
28
- activerecord (>= 3.2)
29
- gemika (0.8.1)
30
- i18n (1.8.5)
31
- concurrent-ruby (~> 1.0)
32
- minitest (5.14.2)
33
- mysql2 (0.4.10)
34
- rake (12.3.2)
35
- rspec (3.8.0)
36
- rspec-core (~> 3.8.0)
37
- rspec-expectations (~> 3.8.0)
38
- rspec-mocks (~> 3.8.0)
39
- rspec-core (3.8.0)
40
- rspec-support (~> 3.8.0)
41
- rspec-expectations (3.8.2)
42
- diff-lcs (>= 1.2.0, < 2.0)
43
- rspec-support (~> 3.8.0)
44
- rspec-mocks (3.8.0)
45
- diff-lcs (>= 1.2.0, < 2.0)
46
- rspec-support (~> 3.8.0)
47
- rspec-support (3.8.0)
48
- thread_safe (0.3.6)
49
- tzinfo (1.2.7)
50
- thread_safe (~> 0.1)
51
- zeitwerk (2.4.0)
52
-
53
- PLATFORMS
54
- ruby
55
-
56
- DEPENDENCIES
57
- activerecord (~> 6.0.0)
58
- byebug
59
- database_cleaner
60
- gemika
61
- minidusen!
62
- mysql2 (~> 0.4.4)
63
- rake
64
- rspec (~> 3.5)
65
-
66
- BUNDLED WITH
67
- 1.17.3
data/Gemfile.6.0.pg.lock DELETED
@@ -1,67 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- minidusen (0.11.1)
5
- activerecord (>= 3.2)
6
- activesupport (>= 3.2)
7
- edge_rider (>= 0.2.5)
8
-
9
- GEM
10
- remote: https://rubygems.org/
11
- specs:
12
- activemodel (6.0.3.4)
13
- activesupport (= 6.0.3.4)
14
- activerecord (6.0.3.4)
15
- activemodel (= 6.0.3.4)
16
- activesupport (= 6.0.3.4)
17
- activesupport (6.0.3.4)
18
- concurrent-ruby (~> 1.0, >= 1.0.2)
19
- i18n (>= 0.7, < 2)
20
- minitest (~> 5.1)
21
- tzinfo (~> 1.1)
22
- zeitwerk (~> 2.2, >= 2.2.2)
23
- byebug (11.0.1)
24
- concurrent-ruby (1.1.7)
25
- database_cleaner (1.7.0)
26
- diff-lcs (1.3)
27
- edge_rider (2.1.1)
28
- activerecord (>= 3.2)
29
- gemika (0.8.1)
30
- i18n (1.8.5)
31
- concurrent-ruby (~> 1.0)
32
- minitest (5.14.2)
33
- pg (0.18.4)
34
- rake (12.3.2)
35
- rspec (3.8.0)
36
- rspec-core (~> 3.8.0)
37
- rspec-expectations (~> 3.8.0)
38
- rspec-mocks (~> 3.8.0)
39
- rspec-core (3.8.0)
40
- rspec-support (~> 3.8.0)
41
- rspec-expectations (3.8.2)
42
- diff-lcs (>= 1.2.0, < 2.0)
43
- rspec-support (~> 3.8.0)
44
- rspec-mocks (3.8.0)
45
- diff-lcs (>= 1.2.0, < 2.0)
46
- rspec-support (~> 3.8.0)
47
- rspec-support (3.8.0)
48
- thread_safe (0.3.6)
49
- tzinfo (1.2.7)
50
- thread_safe (~> 0.1)
51
- zeitwerk (2.4.0)
52
-
53
- PLATFORMS
54
- ruby
55
-
56
- DEPENDENCIES
57
- activerecord (~> 6.0.0)
58
- byebug
59
- database_cleaner
60
- gemika
61
- minidusen!
62
- pg (~> 0.18.4)
63
- rake
64
- rspec (~> 3.5)
65
-
66
- BUNDLED WITH
67
- 1.17.3