arql 0.4.12 → 0.4.13
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 +4 -4
- data/Gemfile.lock +1 -1
- data/README-zh_CN.org +1 -0
- data/README.org +1 -0
- data/lib/arql/definition.rb +1 -0
- 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: 8b67b593bb1bb99cb10e911067353ee07d3e3bd63736d115bb449550b2c2e395
|
4
|
+
data.tar.gz: 7e586dab61df6eb6c71ea37ac60b2e2dc76b00ccb363964d32b2e986972d637c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d21f517315f2abbecca08d19d0bce1879b8cd2a6eda19d2e70ccc6ee7ff8623c774b8e89211d85711fe1d991cb001235331a03b830c6bdb9ab27fd6a9e525e71
|
7
|
+
data.tar.gz: 616dd1c78f257532c7999800ee2e966e6942e06eaafa2a519dde2c6d8938e780f8a7634c4ce29d260880ad26bf8fc70b4d8dd5306098d9a82bd51eb294535239
|
data/Gemfile.lock
CHANGED
data/README-zh_CN.org
CHANGED
data/README.org
CHANGED
@@ -225,6 +225,7 @@
|
|
225
225
|
representing the constant alias (Arql) created for the model By default, aliases are also automatically created for
|
226
226
|
the generated model class according to certain rules, and if an alias is specified here, the user-provided value
|
227
227
|
will be used as the alias)
|
228
|
+
12. =ignored_columns= : An array of column names to be ignored when generating the model, default is an empty array
|
228
229
|
|
229
230
|
=model_names= Examples of configuration items:
|
230
231
|
|
data/lib/arql/definition.rb
CHANGED
@@ -158,6 +158,7 @@ module Arql
|
|
158
158
|
end
|
159
159
|
self.table_name = table_name
|
160
160
|
self.inheritance_column = nil
|
161
|
+
self.ignored_columns = options[:ignored_columns] if options[:ignored_columns].present?
|
161
162
|
ActiveRecord.default_timezone = :local
|
162
163
|
if options[:created_at].present?
|
163
164
|
define_singleton_method :timestamp_attributes_for_create do
|
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.4.
|
4
|
+
version: 0.4.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Liu Xiang
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-09-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mysql2
|