arql 0.3.14 → 0.3.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/arql/concerns/table_data_definition.rb +3 -3
- 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: 4505e62b7ee37221d298bd6ebd628ca387e3d3bb82ce39b3e295a8778b015a26
|
4
|
+
data.tar.gz: 03fc525c9116c9cc6fa16f83154277d3e5f35a9b2c081bcccc61214004c65042
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d7228d218272fedc72fb20d8190a0179f9e779dc61ee505282810d3af0fe8efea5bc4d1e186017e233d7e13aee8f119e71a2e8a6dfd3b508488d9d8218b18bd
|
7
|
+
data.tar.gz: c160bd6c97a37a483ed6ae3bcfedaca77a00802b015dd5a8b782471fd6ef1d9b8e9643e4856773893f0265d4dc8a2ce495d6873ce253a6cb523968193d31b9d2
|
data/Gemfile.lock
CHANGED
@@ -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/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.15
|
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-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mysql2
|