arql 0.3.14 → 0.3.15

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: 0b7b80bac4f7fe8bf9737f6ffc0ebdc2bb4fd8d625b3fe7b7f7ae67eb50689d4
4
- data.tar.gz: ab7997edb5c4af0c851b406645a4a92ace046a92712a0925e6e682523c558c10
3
+ metadata.gz: 4505e62b7ee37221d298bd6ebd628ca387e3d3bb82ce39b3e295a8778b015a26
4
+ data.tar.gz: 03fc525c9116c9cc6fa16f83154277d3e5f35a9b2c081bcccc61214004c65042
5
5
  SHA512:
6
- metadata.gz: 8d1e73b94f0c66063ec8d4308514801e59afd7cd89bc9298d5da986a998acee7403cf557e2c0d7429a86837befc0f9c86974cb2b83504733a776726130789ef2
7
- data.tar.gz: b99e6f58ee77b5e483a34feac68c26da8c71c7fcc7a18b7690dcb21bd67e1f3c6b47938af1f88a086979e12916345a2e1706bfb0f9175ca1359165d9450d6646
6
+ metadata.gz: 0d7228d218272fedc72fb20d8190a0179f9e779dc61ee505282810d3af0fe8efea5bc4d1e186017e233d7e13aee8f119e71a2e8a6dfd3b508488d9d8218b18bd
7
+ data.tar.gz: c160bd6c97a37a483ed6ae3bcfedaca77a00802b015dd5a8b782471fd6ef1d9b8e9643e4856773893f0265d4dc8a2ce495d6873ce253a6cb523968193d31b9d2
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- arql (0.3.14)
4
+ arql (0.3.15)
5
5
  activerecord (>= 6.1.5, < 7.1.0)
6
6
  activesupport (>= 6.1.5, < 7.1.0)
7
7
  caxlsx (~> 3.0.2)
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Arql
2
- VERSION = "0.3.14"
2
+ VERSION = "0.3.15"
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.14
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-08 00:00:00.000000000 Z
11
+ date: 2022-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mysql2