arql 0.3.17 → 0.3.19

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: be74caac16010ee2ce8aa722475e9c499cef85b7de46c88bc7220de503b9c1d2
4
- data.tar.gz: 9bec24d64d8449540d39e4ec2f63d676e14d3672d8f35235c2961b5acffaa1bf
3
+ metadata.gz: 7b283046d3949edc4c30eeb961a9badc87ac965c44ee2315acf0ebf215f534db
4
+ data.tar.gz: 95251d72c8abeb47afd4ade0f77e2f962cd20fe0665762928d7f7cc1bcf219c2
5
5
  SHA512:
6
- metadata.gz: 41c3efec85394feb6f20eaf18a3250e4c4144be9dc19cb2efb2b89d059044f203c2cfb525f9671dd3075a442dd7b9a14a015b7bf35ebf612f1a2a137f488f207
7
- data.tar.gz: b1e8d3028e57eac6eda67426851b727385bac424a23d58e5fe10e3d909bc4b9918ad4fada49857378ae76012c68bb4828e658136491884bebd571b986ebb3db0
6
+ metadata.gz: e933885abe4ebb5b02f25c62502bb7c7282d6b798decd5912c89e8d0d21e04493212a0f5a727ccea5f2e4e6b21c53589f66180cea6a65cd2129af56c4f4e558a
7
+ data.tar.gz: ba353212ba983d340378e97df3db9cb6ca3ba62ba5e91e2f9e18b805b6b16e85ac6817785f7e4281cec6877a81b969529d2f9b8254bec8fcd99500e0a78e608e
data/Gemfile.lock CHANGED
@@ -1,21 +1,21 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- arql (0.3.17)
4
+ arql (0.3.19)
5
5
  activerecord (>= 6.1.5, < 7.1.0)
6
6
  activesupport (>= 6.1.5, < 7.1.0)
7
- caxlsx (~> 3.0.2)
7
+ caxlsx (~> 3.3.0)
8
8
  composite_primary_keys (~> 14.0.4)
9
9
  kaminari-activerecord (~> 1.2.2)
10
- mysql2 (~> 0.5.3)
10
+ mysql2 (~> 0.5.4)
11
11
  net-ssh-gateway (~> 2.0.0)
12
- pry (~> 0.13.1)
13
- pry-byebug (~> 3.9.0)
14
- pry-doc (>= 1.0.0)
12
+ pry (~> 0.14.1)
13
+ pry-byebug (~> 3.10.1)
14
+ pry-doc (>= 1.3.0)
15
15
  rainbow (~> 3.0.0)
16
16
  ransack (>= 3.2.1)
17
- roo (~> 2.8.3)
18
- sqlite3 (~> 1.4)
17
+ roo (~> 2.9.0)
18
+ sqlite3 (~> 1.5.4)
19
19
  table_print (~> 1.5.6)
20
20
  terminal-table (~> 1.8.0)
21
21
 
@@ -33,9 +33,9 @@ GEM
33
33
  minitest (>= 5.1)
34
34
  tzinfo (~> 2.0)
35
35
  byebug (11.1.3)
36
- caxlsx (3.0.4)
36
+ caxlsx (3.3.0)
37
37
  htmlentities (~> 4.3, >= 4.3.4)
38
- mimemagic (~> 0.3)
38
+ marcel (~> 1.0)
39
39
  nokogiri (~> 1.10, >= 1.10.4)
40
40
  rubyzip (>= 1.3.0, < 3)
41
41
  coderay (1.1.3)
@@ -49,38 +49,36 @@ GEM
49
49
  activerecord
50
50
  kaminari-core (= 1.2.2)
51
51
  kaminari-core (1.2.2)
52
+ marcel (1.0.2)
52
53
  method_source (1.0.0)
53
- mimemagic (0.4.3)
54
- nokogiri (~> 1)
55
- rake
56
54
  minitest (5.16.3)
57
55
  mysql2 (0.5.4)
58
56
  net-ssh (7.0.1)
59
57
  net-ssh-gateway (2.0.0)
60
58
  net-ssh (>= 4.0.0)
61
- nokogiri (1.13.8-x86_64-darwin)
59
+ nokogiri (1.13.10-x86_64-darwin)
62
60
  racc (~> 1.4)
63
- pry (0.13.1)
61
+ pry (0.14.1)
64
62
  coderay (~> 1.1)
65
63
  method_source (~> 1.0)
66
- pry-byebug (3.9.0)
64
+ pry-byebug (3.10.1)
67
65
  byebug (~> 11.0)
68
- pry (~> 0.13.0)
66
+ pry (>= 0.13, < 0.15)
69
67
  pry-doc (1.3.0)
70
68
  pry (~> 0.11)
71
69
  yard (~> 0.9.11)
72
- racc (1.6.0)
70
+ racc (1.6.2)
73
71
  rainbow (3.0.0)
74
72
  rake (12.3.3)
75
73
  ransack (3.2.1)
76
74
  activerecord (>= 6.1.5)
77
75
  activesupport (>= 6.1.5)
78
76
  i18n
79
- roo (2.8.3)
77
+ roo (2.9.0)
80
78
  nokogiri (~> 1)
81
79
  rubyzip (>= 1.3.0, < 3.0.0)
82
80
  rubyzip (2.3.2)
83
- sqlite3 (1.4.4)
81
+ sqlite3 (1.5.4-x86_64-darwin)
84
82
  table_print (1.5.7)
85
83
  terminal-table (1.8.0)
86
84
  unicode-display_width (~> 1.1, >= 1.1.1)
data/arql.gemspec CHANGED
@@ -23,9 +23,9 @@ Gem::Specification.new do |spec|
23
23
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
24
24
  spec.require_paths = ["lib"]
25
25
 
26
- spec.add_dependency 'mysql2', '~> 0.5.3'
26
+ spec.add_dependency 'mysql2', '~> 0.5.4'
27
27
  # spec.add_dependency 'pg', '>= 0.18', '< 2.0'
28
- spec.add_dependency 'sqlite3', '~> 1.4'
28
+ spec.add_dependency 'sqlite3', '~> 1.5.4'
29
29
  # spec.add_dependency 'activerecord-sqlserver-adapter'
30
30
  # spec.add_dependency 'activerecord-oracle_enhanced-adapter'
31
31
  spec.add_dependency 'activerecord', '>= 6.1.5', '< 7.1.0'
@@ -33,13 +33,13 @@ Gem::Specification.new do |spec|
33
33
  spec.add_dependency 'composite_primary_keys', '~> 14.0.4'
34
34
  spec.add_dependency 'activesupport', '>= 6.1.5', '< 7.1.0'
35
35
  spec.add_dependency 'net-ssh-gateway', '~> 2.0.0'
36
- spec.add_dependency 'pry', '~> 0.13.1'
37
- spec.add_dependency 'pry-byebug', '~> 3.9.0'
38
- spec.add_dependency 'pry-doc', '>= 1.0.0'
36
+ spec.add_dependency 'pry', '~> 0.14.1'
37
+ spec.add_dependency 'pry-byebug', '~> 3.10.1'
38
+ spec.add_dependency 'pry-doc', '>= 1.3.0'
39
39
  spec.add_dependency 'rainbow', '~> 3.0.0'
40
40
  spec.add_dependency 'terminal-table', '~> 1.8.0'
41
41
  spec.add_dependency 'table_print', '~> 1.5.6'
42
- spec.add_dependency 'roo', '~> 2.8.3'
43
- spec.add_dependency 'caxlsx', '~> 3.0.2'
42
+ spec.add_dependency 'roo', '~> 2.9.0'
43
+ spec.add_dependency 'caxlsx', '~> 3.3.0'
44
44
  spec.add_dependency 'ransack', '>= 3.2.1'
45
45
  end
@@ -49,4 +49,8 @@ module Kernel
49
49
  def table_names
50
50
  models[2..-1].map(&:first)
51
51
  end
52
+
53
+ def model_names
54
+ models[2..-1].map(&:second)
55
+ end
52
56
  end
data/lib/arql/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Arql
2
- VERSION = "0.3.17"
2
+ VERSION = "0.3.19"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arql
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.17
4
+ version: 0.3.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Liu Xiang
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-09-23 00:00:00.000000000 Z
11
+ date: 2022-12-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mysql2
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.5.3
19
+ version: 0.5.4
20
20
  type: :runtime
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: 0.5.3
26
+ version: 0.5.4
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: sqlite3
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '1.4'
33
+ version: 1.5.4
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '1.4'
40
+ version: 1.5.4
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: activerecord
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -126,42 +126,42 @@ dependencies:
126
126
  requirements:
127
127
  - - "~>"
128
128
  - !ruby/object:Gem::Version
129
- version: 0.13.1
129
+ version: 0.14.1
130
130
  type: :runtime
131
131
  prerelease: false
132
132
  version_requirements: !ruby/object:Gem::Requirement
133
133
  requirements:
134
134
  - - "~>"
135
135
  - !ruby/object:Gem::Version
136
- version: 0.13.1
136
+ version: 0.14.1
137
137
  - !ruby/object:Gem::Dependency
138
138
  name: pry-byebug
139
139
  requirement: !ruby/object:Gem::Requirement
140
140
  requirements:
141
141
  - - "~>"
142
142
  - !ruby/object:Gem::Version
143
- version: 3.9.0
143
+ version: 3.10.1
144
144
  type: :runtime
145
145
  prerelease: false
146
146
  version_requirements: !ruby/object:Gem::Requirement
147
147
  requirements:
148
148
  - - "~>"
149
149
  - !ruby/object:Gem::Version
150
- version: 3.9.0
150
+ version: 3.10.1
151
151
  - !ruby/object:Gem::Dependency
152
152
  name: pry-doc
153
153
  requirement: !ruby/object:Gem::Requirement
154
154
  requirements:
155
155
  - - ">="
156
156
  - !ruby/object:Gem::Version
157
- version: 1.0.0
157
+ version: 1.3.0
158
158
  type: :runtime
159
159
  prerelease: false
160
160
  version_requirements: !ruby/object:Gem::Requirement
161
161
  requirements:
162
162
  - - ">="
163
163
  - !ruby/object:Gem::Version
164
- version: 1.0.0
164
+ version: 1.3.0
165
165
  - !ruby/object:Gem::Dependency
166
166
  name: rainbow
167
167
  requirement: !ruby/object:Gem::Requirement
@@ -210,28 +210,28 @@ dependencies:
210
210
  requirements:
211
211
  - - "~>"
212
212
  - !ruby/object:Gem::Version
213
- version: 2.8.3
213
+ version: 2.9.0
214
214
  type: :runtime
215
215
  prerelease: false
216
216
  version_requirements: !ruby/object:Gem::Requirement
217
217
  requirements:
218
218
  - - "~>"
219
219
  - !ruby/object:Gem::Version
220
- version: 2.8.3
220
+ version: 2.9.0
221
221
  - !ruby/object:Gem::Dependency
222
222
  name: caxlsx
223
223
  requirement: !ruby/object:Gem::Requirement
224
224
  requirements:
225
225
  - - "~>"
226
226
  - !ruby/object:Gem::Version
227
- version: 3.0.2
227
+ version: 3.3.0
228
228
  type: :runtime
229
229
  prerelease: false
230
230
  version_requirements: !ruby/object:Gem::Requirement
231
231
  requirements:
232
232
  - - "~>"
233
233
  - !ruby/object:Gem::Version
234
- version: 3.0.2
234
+ version: 3.3.0
235
235
  - !ruby/object:Gem::Dependency
236
236
  name: ransack
237
237
  requirement: !ruby/object:Gem::Requirement