arql 0.3.30 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. data/.vscode/launch.json +1 -1
  3. data/Gemfile.lock +1 -1
  4. data/README-zh_CN.org +712 -429
  5. data/README.org +3 -0
  6. data/auto-set-id-before-save-zh_CN.org +1 -1
  7. data/custom-configurations-zh_CN.org +40 -3
  8. data/define-associations-zh_CN.org +31 -17
  9. data/initializer-structure-zh_CN.org +22 -4
  10. data/lib/arql/app.rb +98 -71
  11. data/lib/arql/cli.rb +31 -15
  12. data/lib/arql/commands/info.rb +41 -28
  13. data/lib/arql/commands/models.rb +108 -33
  14. data/lib/arql/commands/reconnect.rb +8 -4
  15. data/lib/arql/commands/redefine.rb +3 -1
  16. data/lib/arql/commands/sandbox.rb +6 -4
  17. data/lib/arql/commands.rb +0 -2
  18. data/lib/arql/concerns/global_data_definition.rb +40 -6
  19. data/lib/arql/concerns/model_extension.rb +168 -0
  20. data/lib/arql/concerns/table_data_definition.rb +20 -20
  21. data/lib/arql/concerns.rb +1 -0
  22. data/lib/arql/definition.rb +169 -317
  23. data/lib/arql/ext/active_record/relation.rb +29 -0
  24. data/lib/arql/ext/active_record/result.rb +29 -0
  25. data/lib/arql/ext/array.rb +40 -1
  26. data/lib/arql/ext/kernel.rb +70 -61
  27. data/lib/arql/ext/object.rb +14 -0
  28. data/lib/arql/ext/ransack/search.rb +29 -0
  29. data/lib/arql/mysqldump.rb +0 -1
  30. data/lib/arql/ssh_proxy.rb +25 -22
  31. data/lib/arql/version.rb +1 -1
  32. data/lib/arql.rb +11 -7
  33. data/ruby-guides-for-java-developer-zh_CN.org +766 -0
  34. data/simple-active-record-guide-zh_CN.org +83 -0
  35. data/simple-pry-guides-zh_CN.org +114 -0
  36. data/sql-log-zh_CN.org +8 -3
  37. metadata +9 -5
  38. data/lib/arql/commands/table.rb +0 -55
  39. data/lib/arql/commands/vd.rb +0 -46
  40. data/lib/arql/connection.rb +0 -16
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5baf87f0beb5980e412f7c1c6f698b5e20c7bc64736ce2417c9fb41b6b436e63
4
- data.tar.gz: c91e358b60809f044ec1fb345b5c44336ccbb4f1f2708227ccb561d67d284703
3
+ metadata.gz: 3180e4c8b35e489b880dd97da124ee8f3879ee68407059f9225b6fb25442a752
4
+ data.tar.gz: 1092f95cfad6cd95cde554771ae1b8c23b43bc30e7de65ed75a06a3af9d59565
5
5
  SHA512:
6
- metadata.gz: 60c0725447df295df746f3a7bbb9ff7ff8d30272a35fd16f367098ce8cff1d2dbd1a4c44e62eeaabe82301241beb02edf408c5b5f3e8d795ef7c9e6468666229
7
- data.tar.gz: 696903678a8de63f61e0e0bad7f1696ea17e46201c005a4033b1c2da077b1d97dd18e99b78f88fbe9ac7295e2db09b5a71196fb00ecbedaad93eb6a4457103c1
6
+ metadata.gz: e072ba0a087c5e4d7a9b241ed78c22c2cf414173230ce29b92221af987e5f0f4ff9caa2005f219fac9c40f95b08801dbde1cb0295eddb807b70113b1f10d4ece
7
+ data.tar.gz: c8cec8884c51d10d8a2d3bc2673ab15dbd5c02f3b30b472a7765b91f5d1f4c6bd9c87b00f2acaeff01e3845b6e0edb79ecf84b79802a51f91034cc14f3895404
data/.vscode/launch.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "script": "exe/arql",
12
12
  "command": "bundle exec",
13
13
  "useTerminal": true,
14
- "args": ["-e", "ccpro"],
14
+ "args": ["-e", "lcldevb,demo247"],
15
15
  "askParameters": false
16
16
  },
17
17
  {
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- arql (0.3.30)
4
+ arql (0.4.0)
5
5
  activerecord (>= 6.1.5, < 7.1.0)
6
6
  activesupport (>= 6.1.5, < 7.1.0)
7
7
  caxlsx (~> 3.3.0)