lite-query 1.0.7 → 1.0.8

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f7d86b98155432fc2ce6c4aa1a9badc2b7ec7e0449a491a17dbdd27d905af078
4
- data.tar.gz: 5ec34d14e4a498e1813bed4d52cfb6a3707bf1e387d258f5e7d993164b500a16
3
+ metadata.gz: a8efa1386163797719fc226d9794aae00ec243cbe512e50e5fde9014492517a4
4
+ data.tar.gz: 965575bd2be3941a81c15b9484764f3de32c414a7924e5160fc61daa0c2ddc84
5
5
  SHA512:
6
- metadata.gz: 4a70ea79dade8260322a08af64203df880bb4b28139f35ff0940e954d40267bbc778a160c6db826c2b0990f0822f6cdae9099bbcc046df2182dfa120a49e3b9a
7
- data.tar.gz: 590ed1a6a773a39fc1a1f627497cabf6d40093cefc289431f37eb5222befe17c2493448175a1afb9fce3dd45ccc1a7ea4c03184625f54b86ce2b88bbca743a96
6
+ metadata.gz: 6c156e5a7d45c7e3a1e57425248e938bd579054c8f05eead18735e546dbea06f87c4fcb153761e2e75ce0d4016ca377e6e4942f25e4721cf407be173f1ba813c
7
+ data.tar.gz: d595f46fff00828f0709c0d7c0c5d9243a7dff4f9a5b72ce025482651603b41fca9e12e18b0bc2846191a56d0364fe75f6f1bb3d42863692f7acd16e1dddcf96
@@ -2,9 +2,12 @@ require:
2
2
  - rubocop-performance
3
3
  - rubocop-rspec
4
4
  AllCops:
5
- TargetRubyVersion: 2.6
5
+ TargetRubyVersion: 2.7
6
+ NewCops: enable
6
7
  DisplayCopNames: true
7
8
  DisplayStyleGuide: true
9
+ Layout/EmptyLinesAroundAttributeAccessor:
10
+ Enabled: true
8
11
  Layout/EmptyLinesAroundBlockBody:
9
12
  Exclude:
10
13
  - 'spec/**/**/*'
@@ -14,6 +17,12 @@ Layout/EmptyLinesAroundModuleBody:
14
17
  EnforcedStyle: empty_lines_except_namespace
15
18
  Layout/LineLength:
16
19
  Max: 100
20
+ Layout/SpaceAroundMethodCallOperator:
21
+ Enabled: true
22
+ Lint/RaiseException:
23
+ Enabled: true
24
+ Lint/StructNewOverride:
25
+ Enabled: true
17
26
  Metrics/BlockLength:
18
27
  Exclude:
19
28
  - 'spec/**/**/*'
@@ -28,3 +37,13 @@ Style/Documentation:
28
37
  Enabled: false
29
38
  Style/ExpandPathArguments:
30
39
  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
@@ -4,6 +4,7 @@ cache: bundler
4
4
  rvm:
5
5
  - 2.5
6
6
  - 2.6
7
+ - 2.7
7
8
  - ruby-head
8
9
  matrix:
9
10
  fast_finish: true
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [1.0.8] - 2020-07-03
10
+ ### Removed
11
+ - Removed Ruby 2.7 deprecation warnings
12
+
9
13
  ## [1.0.7] - 2019-12-21
10
14
  ### Removed
11
15
  - Removed generator empty directory check
@@ -1,64 +1,63 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- lite-query (1.0.7)
4
+ lite-query (1.0.8)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
- actionpack (6.0.2.1)
10
- actionview (= 6.0.2.1)
11
- activesupport (= 6.0.2.1)
9
+ actionpack (6.0.3.2)
10
+ actionview (= 6.0.3.2)
11
+ activesupport (= 6.0.3.2)
12
12
  rack (~> 2.0, >= 2.0.8)
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.2.1)
17
- activesupport (= 6.0.2.1)
16
+ actionview (6.0.3.2)
17
+ activesupport (= 6.0.3.2)
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.2.1)
23
- activesupport (= 6.0.2.1)
24
- activerecord (6.0.2.1)
25
- activemodel (= 6.0.2.1)
26
- activesupport (= 6.0.2.1)
27
- activesupport (6.0.2.1)
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)
28
28
  concurrent-ruby (~> 1.0, >= 1.0.2)
29
29
  i18n (>= 0.7, < 2)
30
30
  minitest (~> 5.1)
31
31
  tzinfo (~> 1.1)
32
- zeitwerk (~> 2.2)
33
- ast (2.4.0)
32
+ zeitwerk (~> 2.2, >= 2.2.2)
33
+ ast (2.4.1)
34
34
  builder (3.2.4)
35
35
  colorize (0.8.1)
36
- concurrent-ruby (1.1.5)
37
- crass (1.0.5)
38
- database_cleaner (1.7.0)
39
- diff-lcs (1.3)
36
+ concurrent-ruby (1.1.6)
37
+ crass (1.0.6)
38
+ database_cleaner (1.8.5)
39
+ diff-lcs (1.4.4)
40
40
  erubi (1.9.0)
41
- fasterer (0.8.1)
41
+ fasterer (0.8.3)
42
42
  colorize (~> 0.7)
43
43
  ruby_parser (>= 3.14.1)
44
44
  generator_spec (0.9.4)
45
45
  activesupport (>= 3.0.0)
46
46
  railties (>= 3.0.0)
47
- i18n (1.7.0)
47
+ i18n (1.8.3)
48
48
  concurrent-ruby (~> 1.0)
49
- jaro_winkler (1.5.4)
50
- loofah (2.4.0)
49
+ loofah (2.6.0)
51
50
  crass (~> 1.0.2)
52
51
  nokogiri (>= 1.5.9)
53
- method_source (0.9.2)
52
+ method_source (1.0.0)
54
53
  mini_portile2 (2.4.0)
55
- minitest (5.13.0)
56
- nokogiri (1.10.7)
54
+ minitest (5.14.1)
55
+ nokogiri (1.10.9)
57
56
  mini_portile2 (~> 2.4.0)
58
- parallel (1.19.1)
59
- parser (2.6.5.0)
60
- ast (~> 2.4.0)
61
- rack (2.0.8)
57
+ parallel (1.19.2)
58
+ parser (2.7.1.4)
59
+ ast (~> 2.4.1)
60
+ rack (2.2.3)
62
61
  rack-test (1.1.0)
63
62
  rack (>= 1.0, < 3)
64
63
  rails-dom-testing (2.0.3)
@@ -66,49 +65,55 @@ GEM
66
65
  nokogiri (>= 1.6)
67
66
  rails-html-sanitizer (1.3.0)
68
67
  loofah (~> 2.3)
69
- railties (6.0.2.1)
70
- actionpack (= 6.0.2.1)
71
- activesupport (= 6.0.2.1)
68
+ railties (6.0.3.2)
69
+ actionpack (= 6.0.3.2)
70
+ activesupport (= 6.0.3.2)
72
71
  method_source
73
72
  rake (>= 0.8.7)
74
73
  thor (>= 0.20.3, < 2.0)
75
74
  rainbow (3.0.0)
76
75
  rake (13.0.1)
76
+ regexp_parser (1.7.1)
77
+ rexml (3.2.4)
77
78
  rspec (3.9.0)
78
79
  rspec-core (~> 3.9.0)
79
80
  rspec-expectations (~> 3.9.0)
80
81
  rspec-mocks (~> 3.9.0)
81
- rspec-core (3.9.0)
82
- rspec-support (~> 3.9.0)
83
- rspec-expectations (3.9.0)
82
+ rspec-core (3.9.2)
83
+ rspec-support (~> 3.9.3)
84
+ rspec-expectations (3.9.2)
84
85
  diff-lcs (>= 1.2.0, < 2.0)
85
86
  rspec-support (~> 3.9.0)
86
- rspec-mocks (3.9.0)
87
+ rspec-mocks (3.9.1)
87
88
  diff-lcs (>= 1.2.0, < 2.0)
88
89
  rspec-support (~> 3.9.0)
89
- rspec-support (3.9.0)
90
- rubocop (0.78.0)
91
- jaro_winkler (~> 1.5.1)
90
+ rspec-support (3.9.3)
91
+ rubocop (0.86.0)
92
92
  parallel (~> 1.10)
93
- parser (>= 2.6)
93
+ parser (>= 2.7.0.1)
94
94
  rainbow (>= 2.2.2, < 4.0)
95
+ regexp_parser (>= 1.7)
96
+ rexml
97
+ rubocop-ast (>= 0.0.3, < 1.0)
95
98
  ruby-progressbar (~> 1.7)
96
- unicode-display_width (>= 1.4.0, < 1.7)
97
- rubocop-performance (1.5.1)
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)
98
103
  rubocop (>= 0.71.0)
99
- rubocop-rspec (1.37.1)
104
+ rubocop-rspec (1.41.0)
100
105
  rubocop (>= 0.68.1)
101
106
  ruby-progressbar (1.10.1)
102
- ruby_parser (3.14.1)
107
+ ruby_parser (3.14.2)
103
108
  sexp_processor (~> 4.9)
104
- sexp_processor (4.13.0)
109
+ sexp_processor (4.15.0)
105
110
  sqlite3 (1.4.2)
106
111
  thor (1.0.1)
107
112
  thread_safe (0.3.6)
108
- tzinfo (1.2.5)
113
+ tzinfo (1.2.7)
109
114
  thread_safe (~> 0.1)
110
- unicode-display_width (1.6.0)
111
- zeitwerk (2.2.2)
115
+ unicode-display_width (1.7.0)
116
+ zeitwerk (2.3.1)
112
117
 
113
118
  PLATFORMS
114
119
  ruby
@@ -128,4 +133,4 @@ DEPENDENCIES
128
133
  sqlite3
129
134
 
130
135
  BUNDLED WITH
131
- 2.0.2
136
+ 2.1.4
@@ -9,14 +9,14 @@ module Lite
9
9
 
10
10
  class << self
11
11
 
12
- def call(relation = nil, **args)
12
+ def call(relation = nil, args = {})
13
13
  klass = new(relation, args)
14
14
  klass.call
15
15
  end
16
16
 
17
17
  end
18
18
 
19
- def initialize(relation = nil, **args)
19
+ def initialize(relation = nil, args = {})
20
20
  @relation = relation || default_relation
21
21
  @args = args
22
22
  end
@@ -3,7 +3,7 @@
3
3
  module Lite
4
4
  module Query
5
5
 
6
- VERSION ||= '1.0.7'
6
+ VERSION ||= '1.0.8'
7
7
 
8
8
  end
9
9
  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.7
4
+ version: 1.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Gomez
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-12-21 00:00:00.000000000 Z
11
+ date: 2020-07-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -164,7 +164,7 @@ dependencies:
164
164
  - - ">="
165
165
  - !ruby/object:Gem::Version
166
166
  version: '0'
167
- description:
167
+ description:
168
168
  email:
169
169
  - j.gomez@drexed.com
170
170
  executables: []
@@ -198,7 +198,7 @@ homepage: http://drexed.github.io/lite-query
198
198
  licenses:
199
199
  - MIT
200
200
  metadata: {}
201
- post_install_message:
201
+ post_install_message:
202
202
  rdoc_options: []
203
203
  require_paths:
204
204
  - lib
@@ -213,8 +213,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
213
213
  - !ruby/object:Gem::Version
214
214
  version: '0'
215
215
  requirements: []
216
- rubygems_version: 3.1.1
217
- signing_key:
216
+ rubygems_version: 3.1.4
217
+ signing_key:
218
218
  specification_version: 4
219
219
  summary: Ruby Query based framework (aka query objects)
220
220
  test_files: []