lite-query 1.0.8 → 1.1.0

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: a8efa1386163797719fc226d9794aae00ec243cbe512e50e5fde9014492517a4
4
- data.tar.gz: 965575bd2be3941a81c15b9484764f3de32c414a7924e5160fc61daa0c2ddc84
3
+ metadata.gz: d0f2835fd2e7eb71fe7e803340066fd45a583fa0f166ec076b191ee5995fe385
4
+ data.tar.gz: 96e47feaacb92baa6ea11aff0143b619a0b0a423e1df9cc84c20217312334e0f
5
5
  SHA512:
6
- metadata.gz: 6c156e5a7d45c7e3a1e57425248e938bd579054c8f05eead18735e546dbea06f87c4fcb153761e2e75ce0d4016ca377e6e4942f25e4721cf407be173f1ba813c
7
- data.tar.gz: d595f46fff00828f0709c0d7c0c5d9243a7dff4f9a5b72ce025482651603b41fca9e12e18b0bc2846191a56d0364fe75f6f1bb3d42863692f7acd16e1dddcf96
6
+ metadata.gz: 2ba41ce1c43e94f248e6e171cc5b4d7cd3003f98bf1e439579570ac07e513a0c592b34fbc6995948a5c4a197cce2040e11c03dc1a4268bee1f7f9daae067185f
7
+ data.tar.gz: a603bb1729f80ef471f2063b738591cb6f8c63618e752efc15a00780e9a112161e0d91c07a649b66bcbc274f1db9a04076dcf6a11bfde819bed1310bbdc5440c
data/.rubocop.yml CHANGED
@@ -1,11 +1,14 @@
1
1
  require:
2
2
  - rubocop-performance
3
+ - rubocop-rake
3
4
  - rubocop-rspec
4
5
  AllCops:
5
- TargetRubyVersion: 2.7
6
+ TargetRubyVersion: 3.0
6
7
  NewCops: enable
7
8
  DisplayCopNames: true
8
9
  DisplayStyleGuide: true
10
+ Gemspec/RequiredRubyVersion:
11
+ Enabled: false
9
12
  Layout/EmptyLinesAroundAttributeAccessor:
10
13
  Enabled: true
11
14
  Layout/EmptyLinesAroundBlockBody:
@@ -33,17 +36,9 @@ RSpec/ExampleLength:
33
36
  Enabled: false
34
37
  RSpec/MultipleExpectations:
35
38
  Enabled: false
39
+ Style/ArgumentsForwarding:
40
+ Enabled: false
36
41
  Style/Documentation:
37
42
  Enabled: false
38
43
  Style/ExpandPathArguments:
39
44
  Enabled: false
40
- Style/ExponentialNotation:
41
- Enabled: true
42
- Style/HashEachMethods:
43
- Enabled: true
44
- Style/HashTransformKeys:
45
- Enabled: true
46
- Style/HashTransformValues:
47
- Enabled: true
48
- Style/SlicingWithRange:
49
- Enabled: false
data/CHANGELOG.md CHANGED
@@ -6,9 +6,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [1.1.0] - 2021-07-19
10
+ ### Added
11
+ - Added Ruby 3.0 support
12
+
9
13
  ## [1.0.8] - 2020-07-03
10
- ### Removed
11
- - Removed Ruby 2.7 deprecation warnings
14
+ ### Added
15
+ - Added Ruby 2.7 support
12
16
 
13
17
  ## [1.0.7] - 2019-12-21
14
18
  ### Removed
data/Gemfile.lock CHANGED
@@ -1,62 +1,69 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- lite-query (1.0.8)
4
+ lite-query (1.1.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
- actionpack (6.0.3.2)
10
- actionview (= 6.0.3.2)
11
- activesupport (= 6.0.3.2)
12
- rack (~> 2.0, >= 2.0.8)
9
+ actionpack (6.1.4)
10
+ actionview (= 6.1.4)
11
+ activesupport (= 6.1.4)
12
+ rack (~> 2.0, >= 2.0.9)
13
13
  rack-test (>= 0.6.3)
14
14
  rails-dom-testing (~> 2.0)
15
15
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
16
- actionview (6.0.3.2)
17
- activesupport (= 6.0.3.2)
16
+ actionview (6.1.4)
17
+ activesupport (= 6.1.4)
18
18
  builder (~> 3.1)
19
19
  erubi (~> 1.4)
20
20
  rails-dom-testing (~> 2.0)
21
21
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
22
- activemodel (6.0.3.2)
23
- activesupport (= 6.0.3.2)
24
- activerecord (6.0.3.2)
25
- activemodel (= 6.0.3.2)
26
- activesupport (= 6.0.3.2)
27
- activesupport (6.0.3.2)
22
+ activemodel (6.1.4)
23
+ activesupport (= 6.1.4)
24
+ activerecord (6.1.4)
25
+ activemodel (= 6.1.4)
26
+ activesupport (= 6.1.4)
27
+ activesupport (6.1.4)
28
28
  concurrent-ruby (~> 1.0, >= 1.0.2)
29
- i18n (>= 0.7, < 2)
30
- minitest (~> 5.1)
31
- tzinfo (~> 1.1)
32
- zeitwerk (~> 2.2, >= 2.2.2)
33
- ast (2.4.1)
29
+ i18n (>= 1.6, < 2)
30
+ minitest (>= 5.1)
31
+ tzinfo (~> 2.0)
32
+ zeitwerk (~> 2.3)
33
+ ast (2.4.2)
34
34
  builder (3.2.4)
35
35
  colorize (0.8.1)
36
- concurrent-ruby (1.1.6)
36
+ concurrent-ruby (1.1.9)
37
37
  crass (1.0.6)
38
- database_cleaner (1.8.5)
38
+ database_cleaner (2.0.1)
39
+ database_cleaner-active_record (~> 2.0.0)
40
+ database_cleaner-active_record (2.0.1)
41
+ activerecord (>= 5.a)
42
+ database_cleaner-core (~> 2.0.0)
43
+ database_cleaner-core (2.0.1)
39
44
  diff-lcs (1.4.4)
40
- erubi (1.9.0)
41
- fasterer (0.8.3)
45
+ erubi (1.10.0)
46
+ fasterer (0.9.0)
42
47
  colorize (~> 0.7)
43
48
  ruby_parser (>= 3.14.1)
44
49
  generator_spec (0.9.4)
45
50
  activesupport (>= 3.0.0)
46
51
  railties (>= 3.0.0)
47
- i18n (1.8.3)
52
+ i18n (1.8.10)
48
53
  concurrent-ruby (~> 1.0)
49
- loofah (2.6.0)
54
+ loofah (2.10.0)
50
55
  crass (~> 1.0.2)
51
56
  nokogiri (>= 1.5.9)
52
57
  method_source (1.0.0)
53
- mini_portile2 (2.4.0)
54
- minitest (5.14.1)
55
- nokogiri (1.10.9)
56
- mini_portile2 (~> 2.4.0)
57
- parallel (1.19.2)
58
- parser (2.7.1.4)
58
+ mini_portile2 (2.5.3)
59
+ minitest (5.14.4)
60
+ nokogiri (1.11.7)
61
+ mini_portile2 (~> 2.5.0)
62
+ racc (~> 1.4)
63
+ parallel (1.20.1)
64
+ parser (3.0.2.0)
59
65
  ast (~> 2.4.1)
66
+ racc (1.5.2)
60
67
  rack (2.2.3)
61
68
  rack-test (1.1.0)
62
69
  rack (>= 1.0, < 3)
@@ -65,55 +72,58 @@ GEM
65
72
  nokogiri (>= 1.6)
66
73
  rails-html-sanitizer (1.3.0)
67
74
  loofah (~> 2.3)
68
- railties (6.0.3.2)
69
- actionpack (= 6.0.3.2)
70
- activesupport (= 6.0.3.2)
75
+ railties (6.1.4)
76
+ actionpack (= 6.1.4)
77
+ activesupport (= 6.1.4)
71
78
  method_source
72
- rake (>= 0.8.7)
73
- thor (>= 0.20.3, < 2.0)
79
+ rake (>= 0.13)
80
+ thor (~> 1.0)
74
81
  rainbow (3.0.0)
75
- rake (13.0.1)
76
- regexp_parser (1.7.1)
77
- rexml (3.2.4)
78
- rspec (3.9.0)
79
- rspec-core (~> 3.9.0)
80
- rspec-expectations (~> 3.9.0)
81
- rspec-mocks (~> 3.9.0)
82
- rspec-core (3.9.2)
83
- rspec-support (~> 3.9.3)
84
- rspec-expectations (3.9.2)
82
+ rake (13.0.6)
83
+ regexp_parser (2.1.1)
84
+ rexml (3.2.5)
85
+ rspec (3.10.0)
86
+ rspec-core (~> 3.10.0)
87
+ rspec-expectations (~> 3.10.0)
88
+ rspec-mocks (~> 3.10.0)
89
+ rspec-core (3.10.1)
90
+ rspec-support (~> 3.10.0)
91
+ rspec-expectations (3.10.1)
85
92
  diff-lcs (>= 1.2.0, < 2.0)
86
- rspec-support (~> 3.9.0)
87
- rspec-mocks (3.9.1)
93
+ rspec-support (~> 3.10.0)
94
+ rspec-mocks (3.10.2)
88
95
  diff-lcs (>= 1.2.0, < 2.0)
89
- rspec-support (~> 3.9.0)
90
- rspec-support (3.9.3)
91
- rubocop (0.86.0)
96
+ rspec-support (~> 3.10.0)
97
+ rspec-support (3.10.2)
98
+ rubocop (1.18.3)
92
99
  parallel (~> 1.10)
93
- parser (>= 2.7.0.1)
100
+ parser (>= 3.0.0.0)
94
101
  rainbow (>= 2.2.2, < 4.0)
95
- regexp_parser (>= 1.7)
102
+ regexp_parser (>= 1.8, < 3.0)
96
103
  rexml
97
- rubocop-ast (>= 0.0.3, < 1.0)
104
+ rubocop-ast (>= 1.7.0, < 2.0)
98
105
  ruby-progressbar (~> 1.7)
99
- unicode-display_width (>= 1.4.0, < 2.0)
100
- rubocop-ast (0.1.0)
101
- parser (>= 2.7.0.1)
102
- rubocop-performance (1.6.1)
103
- rubocop (>= 0.71.0)
104
- rubocop-rspec (1.41.0)
105
- rubocop (>= 0.68.1)
106
- ruby-progressbar (1.10.1)
107
- ruby_parser (3.14.2)
108
- sexp_processor (~> 4.9)
109
- sexp_processor (4.15.0)
106
+ unicode-display_width (>= 1.4.0, < 3.0)
107
+ rubocop-ast (1.8.0)
108
+ parser (>= 3.0.1.1)
109
+ rubocop-performance (1.11.4)
110
+ rubocop (>= 1.7.0, < 2.0)
111
+ rubocop-ast (>= 0.4.0)
112
+ rubocop-rake (0.6.0)
113
+ rubocop (~> 1.0)
114
+ rubocop-rspec (2.4.0)
115
+ rubocop (~> 1.0)
116
+ rubocop-ast (>= 1.1.0)
117
+ ruby-progressbar (1.11.0)
118
+ ruby_parser (3.16.0)
119
+ sexp_processor (~> 4.15, >= 4.15.1)
120
+ sexp_processor (4.15.3)
110
121
  sqlite3 (1.4.2)
111
- thor (1.0.1)
112
- thread_safe (0.3.6)
113
- tzinfo (1.2.7)
114
- thread_safe (~> 0.1)
115
- unicode-display_width (1.7.0)
116
- zeitwerk (2.3.1)
122
+ thor (1.1.0)
123
+ tzinfo (2.0.4)
124
+ concurrent-ruby (~> 1.0)
125
+ unicode-display_width (2.0.0)
126
+ zeitwerk (2.4.2)
117
127
 
118
128
  PLATFORMS
119
129
  ruby
@@ -129,8 +139,9 @@ DEPENDENCIES
129
139
  rspec
130
140
  rubocop
131
141
  rubocop-performance
142
+ rubocop-rake
132
143
  rubocop-rspec
133
144
  sqlite3
134
145
 
135
146
  BUNDLED WITH
136
- 2.1.4
147
+ 2.2.24
@@ -3,7 +3,7 @@
3
3
  module Lite
4
4
  module Query
5
5
 
6
- VERSION ||= '1.0.8'
6
+ VERSION = '1.1.0'
7
7
 
8
8
  end
9
9
  end
data/lite-query.gemspec CHANGED
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
25
25
  )
26
26
  else
27
27
  raise 'RubyGems 2.0 or newer is required to protect against ' \
28
- 'public gem pushes.'
28
+ 'public gem pushes.'
29
29
  end
30
30
 
31
31
  # Specify which files should be added to the gem when it is released.
@@ -46,6 +46,7 @@ Gem::Specification.new do |spec|
46
46
  spec.add_development_dependency 'rspec'
47
47
  spec.add_development_dependency 'rubocop'
48
48
  spec.add_development_dependency 'rubocop-performance'
49
+ spec.add_development_dependency 'rubocop-rake'
49
50
  spec.add_development_dependency 'rubocop-rspec'
50
51
  spec.add_development_dependency 'sqlite3'
51
52
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lite-query
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.8
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Gomez
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-07-03 00:00:00.000000000 Z
11
+ date: 2021-07-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -136,6 +136,20 @@ dependencies:
136
136
  - - ">="
137
137
  - !ruby/object:Gem::Version
138
138
  version: '0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: rubocop-rake
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
139
153
  - !ruby/object:Gem::Dependency
140
154
  name: rubocop-rspec
141
155
  requirement: !ruby/object:Gem::Requirement
@@ -213,7 +227,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
213
227
  - !ruby/object:Gem::Version
214
228
  version: '0'
215
229
  requirements: []
216
- rubygems_version: 3.1.4
230
+ rubygems_version: 3.2.24
217
231
  signing_key:
218
232
  specification_version: 4
219
233
  summary: Ruby Query based framework (aka query objects)