dynamic-active-model 0.2.8 → 0.2.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/dynamic-db-explorer +4 -0
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9ac728c576e7574d2f2b5435945785bf2942e0002363a4fde1c282a51e3c80f2
4
- data.tar.gz: e24d59422e55596b471ae7c573b906df31038b774f704584aa8f992bbf2665b9
3
+ metadata.gz: 6f562496911128d8af78b024d1e82092e69e9c0ae6471acae3d11b4bb1d53f4d
4
+ data.tar.gz: 2e268dfbeba13bca6f48da567c500a3a85dcf543e11d763bacb1cdb70ad7297f
5
5
  SHA512:
6
- metadata.gz: 61eaf264345341cc068e3efc50017f727dcb6623b6bcef3b429e1e388da646ec440b96f8f91da65435fbb2cafb69984756946743c0544552c1e210a8ffb563b1
7
- data.tar.gz: 487834d8b1e8984a55cd5b082125993ea6f739b3ab5f161660d62511292a930c15c5345380481dd6810457654298f0b4d4a9696a211e727a167b59a3dfce48e1
6
+ metadata.gz: 8fa288d881dae59b6ecccae8d70acdb862955a176644b4cf25f03aaf1b6821428220a55a32e5fe6f8b6cb82c09a89cf7be4ee84794deb7cc8c424bb9a6d6722b
7
+ data.tar.gz: f7786e4be9cffb53c0e689c6ab0ca72d0d973d5706e4dbbc557f3efa8142592009ee0f6125ad7c6cc1c885f68736f41e6ab08c478df23e5bfd97674a533ea1d4
@@ -51,6 +51,10 @@ OptionParser.new do |opts|
51
51
  options[:connection_options][:database] = v
52
52
  end
53
53
 
54
+ opts.on('--url CONNECTION_URL', 'DB connection url') do |v|
55
+ options[:connection_options]['url'] = v
56
+ end
57
+
54
58
  opts.on('--module MODULE_NAME', 'module name') do |v|
55
59
  Object.const_set(v, Module.new)
56
60
  options[:base_module] = Object.const_get(v)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dynamic-active-model
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.8
4
+ version: 0.2.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Doug Youch
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-19 00:00:00.000000000 Z
11
+ date: 2019-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord