arql 0.1.20 → 0.1.21

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: b383963c2e71446f35b3eba8c9ff365698d93f377407f17e81d4775b5a841bab
4
- data.tar.gz: 1efd73946f5f238a90f5d74370525460c25f3a930de2689ca47201cd43f76549
3
+ metadata.gz: 3e66f429bfd374a86cada3192de5f27eb639a393297d9c3ccffcc778e9fba960
4
+ data.tar.gz: e62183c3d4372a3388aa1252ea0da0ac691abe0cd89c93bc647266ff1851b21b
5
5
  SHA512:
6
- metadata.gz: bc2581c870cd2102fddc37208145c7b84ab3806460de23c2289fafb494b74625aa0ec8fa4a44fdaf06cc18caf6048426a475149df55138c4bc17bbd1d06ca64c
7
- data.tar.gz: a42fc963d40ffb65fb21db348321208202c2bd84c89d299e4863143bffd7436fa62591e7d52fe4f3bd9efcc02332872b85fdb76999c132329b9fdd37ddb5cb08
6
+ metadata.gz: 1affdb82cfdc85929ee9a7dc14156feee185fc4cd2e27a07b9353b61d765ec397f328f82381970eaa0f0b923692fb7e568a1cd4dab8ecd4ec799d20a62303936
7
+ data.tar.gz: c7e5a7c9f47d36ef21c2eed2fd9534bd8ff14025334bc5a10288da42ec99099f19959f935ee736d4b750ded186ca5f9f72d2840510adeca88e8761d88d688529
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- arql (0.1.19)
4
+ arql (0.1.20)
5
5
  activerecord (~> 6.0.3)
6
6
  activerecord-oracle_enhanced-adapter
7
7
  activerecord-sqlserver-adapter
@@ -26,6 +26,9 @@ module Arql
26
26
  self.class.to_upsert_sql([self])
27
27
  end
28
28
 
29
+ included do
30
+ end
31
+
29
32
  class_methods do
30
33
  def t
31
34
  table_name = Commands::Table::get_table_name(name)
@@ -163,5 +166,15 @@ module Arql
163
166
  end
164
167
  end
165
168
  end
169
+
170
+ ::ActiveRecord::Relation.class_eval do
171
+ def t
172
+ records.t
173
+ end
174
+
175
+ def v
176
+ records.v
177
+ end
178
+ end
166
179
  end
167
180
  end
@@ -1,3 +1,3 @@
1
1
  module Arql
2
- VERSION = "0.1.20"
2
+ VERSION = "0.1.21"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arql
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.20
4
+ version: 0.1.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - Liu Xiang