arql 0.4.6 → 0.4.8

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: 2d0018fc91ed033164ab2a18c2c3e5edcaaffaefe2ec9d3cc7fab0cc3323e53a
4
- data.tar.gz: '07874855f77dd53005dc53c213e683fb9e6e0b05896a9f8874be0d6383fc474c'
3
+ metadata.gz: 1e22ad635274e2122520bc8cf2a98025755ca8a86c3153d9b75f1fed0df2ec7c
4
+ data.tar.gz: 56c166dc78c9a768982f807c7a3a1f4c0efeb473588ecc81e06aa7147c9dd00c
5
5
  SHA512:
6
- metadata.gz: 732c1c901ed187c26930cf65dfb278257a65ab446635389ae6741553617d5873b2e733f6c70c52983ca536e95e6b914d4e43857af35c2dbcca9f052d2fd9416d
7
- data.tar.gz: 063c3c0e6734073644dfd54b5735a9813262cfabbd0cad788ea3b56850a99daacdf653747f6e9613022837c19c5ed53ba08d3a6fd1f8d07af5c1f4bfb7d80bef
6
+ metadata.gz: f53099ffc233680b000437c67ca7dbd6a6b9c686c199320ddb48f5ba6eb8567abd6e96df27cd245b3d7989feba553d273613910c06505975bf5cb86bf9e00f31
7
+ data.tar.gz: 43231bdee869a5d1feced1402b336e3e0d707d013980224f5c1ad8b75039ceaead6d48cbabf4cd85146b307798f16c0bf1b54950a7ea18f3fca22641daaf3d0c
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- arql (0.4.6)
4
+ arql (0.4.8)
5
5
  activerecord (>= 6.1.5, < 7.1.0)
6
6
  activesupport (>= 6.1.5, < 7.1.0)
7
7
  caxlsx (~> 3.3.0)
@@ -55,7 +55,7 @@ module Arql::Commands
55
55
  if $iruby && format.to_s == 'terminal'
56
56
  return tbl.to_iruby
57
57
  else
58
- result << tbl.to_terminal(format)
58
+ return tbl.to_terminal(format)
59
59
  end
60
60
  end
61
61
  end
@@ -33,7 +33,6 @@ class Array
33
33
  # attrs = attrs.select { |e| any { |r| r.attributes[e.to_s]&.present? } }
34
34
  # end
35
35
  tbl = Arql::Table.new { |t|
36
- t.style = table_style_for_format(format)
37
36
  t.headers = attrs
38
37
  each do |e|
39
38
  t.body << e.attributes.values_at(*attrs.map(&:to_s))
data/lib/arql/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Arql
2
- VERSION = "0.4.6"
2
+ VERSION = "0.4.8"
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.4.6
4
+ version: 0.4.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Liu Xiang
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-05-30 00:00:00.000000000 Z
11
+ date: 2024-06-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mysql2