arql 0.3.14 → 0.3.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +7 -7
- data/lib/arql/concerns/table_data_definition.rb +3 -3
- data/lib/arql/ext/kernel.rb +1 -1
- data/lib/arql/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a1aaed9faa141e9402bd563d16aa89e038b333673276c336a2d2006f948b03cd
|
4
|
+
data.tar.gz: 59e4e74627a5635612e8803fcda2d5d1869412d1bdb5d5c1198163f1be84e25d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3186ab79eec8f6cf8fafa68e55ccc4501a7eef7b45c528e07bbaa02741bd08c819de3418ba48e89870d333ad02a403c417311b1b519bff14f8f35a447d09dedb
|
7
|
+
data.tar.gz: 41f869e41dfab5fba01fbc51520c42078332e97ecfca03f42708b0e971843fe2de6cf372015bb39b790b70171bd57cebc5339503d27fa2a61ee067b72a854ea2
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
arql (0.3.
|
4
|
+
arql (0.3.16)
|
5
5
|
activerecord (>= 6.1.5, < 7.1.0)
|
6
6
|
activesupport (>= 6.1.5, < 7.1.0)
|
7
7
|
caxlsx (~> 3.0.2)
|
@@ -22,12 +22,12 @@ PATH
|
|
22
22
|
GEM
|
23
23
|
remote: https://rubygems.org/
|
24
24
|
specs:
|
25
|
-
activemodel (7.0.
|
26
|
-
activesupport (= 7.0.
|
27
|
-
activerecord (7.0.
|
28
|
-
activemodel (= 7.0.
|
29
|
-
activesupport (= 7.0.
|
30
|
-
activesupport (7.0.
|
25
|
+
activemodel (7.0.4)
|
26
|
+
activesupport (= 7.0.4)
|
27
|
+
activerecord (7.0.4)
|
28
|
+
activemodel (= 7.0.4)
|
29
|
+
activesupport (= 7.0.4)
|
30
|
+
activesupport (7.0.4)
|
31
31
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
32
32
|
i18n (>= 1.6, < 2)
|
33
33
|
minitest (>= 5.1)
|
@@ -101,7 +101,7 @@ module Arql
|
|
101
101
|
# Post.change_column(:description, :text)
|
102
102
|
#
|
103
103
|
def change_column(column_name, type, options = {})
|
104
|
-
ActiveRecord::Base.connection.change_column(table_name, column_name, type, options)
|
104
|
+
ActiveRecord::Base.connection.change_column(table_name, column_name, type, **options)
|
105
105
|
end
|
106
106
|
|
107
107
|
# Removes the column from the table definition.
|
@@ -229,7 +229,7 @@ module Arql
|
|
229
229
|
#
|
230
230
|
# For more information see the {"Transactional Migrations" section}[rdoc-ref:Migration].
|
231
231
|
def add_index(column_name, options = {})
|
232
|
-
ActiveRecord::Base.connection.add_index(table_name, column_name, options)
|
232
|
+
ActiveRecord::Base.connection.add_index(table_name, column_name, **options)
|
233
233
|
end
|
234
234
|
|
235
235
|
# Adds a new foreign key.
|
@@ -518,7 +518,7 @@ module Arql
|
|
518
518
|
#
|
519
519
|
# For more information see the {"Transactional Migrations" section}[rdoc-ref:Migration].
|
520
520
|
def remove_index(options = {})
|
521
|
-
ActiveRecord::Base.connection.remove_index(table_name, options)
|
521
|
+
ActiveRecord::Base.connection.remove_index(table_name, **options)
|
522
522
|
end
|
523
523
|
|
524
524
|
# Removes the timestamp columns (+created_at+ and +updated_at+) from the table definition.
|
data/lib/arql/ext/kernel.rb
CHANGED
data/lib/arql/version.rb
CHANGED
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.
|
4
|
+
version: 0.3.16
|
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-
|
11
|
+
date: 2022-09-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mysql2
|