twenty-cli 0.5.7 → 0.5.8

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: 39b8553e6aa621c07c81e4379940c7da72e535b26ac3c98714288ad75ad80f0e
4
- data.tar.gz: 2742e7429d90c5affec8e5d335773c776f9a4bfb1299b853fc97b4dd471a2b7a
3
+ metadata.gz: ee53c65c70b4b86e7a704b6a0f5646a76caa2eaa75aed898b5aa3f03f3a12b76
4
+ data.tar.gz: 6b6f92b83d5a2537300f9b57ab6c1e710921e2d999bc3e9ba2cc7efe007c80cf
5
5
  SHA512:
6
- metadata.gz: e94e2a9446e37590d542ab101588cffd2fa8fbf31406f30f1113c72b79e23cb4f1a0d7b84680c1bb778e1210b15013fddbd20fe49e547a612150df84f8a05d8b
7
- data.tar.gz: 46a6643af111fbdb0dfa5c52eda52d68150948a2aa377ba0065d3ae131bf0b9c43193173e4bc1d6b8ec0a544b7bc3a34484ca143076e4932ae8cfba39a70756c
6
+ metadata.gz: '08da7934a95bf1d166965508de4adaa636af05f0704aebe67b6f9781fbdc7b9eb3174a87f84c41d9fb87a887840a629e1df5f6cea8e2819947ac552689c49c1a'
7
+ data.tar.gz: 63ee6b5690bdb01f09e5b50f67bca26bf0b88e4136cef5024ca0a5b916225cdb5eb14b71d6b106bf9514f4747d8541896e98e574ab0f01eeaae860cb1c0d3496
@@ -7,6 +7,7 @@ class Twenty::Command::Disconnect < Twenty::Command
7
7
 
8
8
  ##
9
9
  # Hooks
10
+ # Rescue -> SQLiteConn -> RequireMigration -> command
10
11
  prepend Hook::RequireMigration
11
12
  prepend Hook::SQLiteConn
12
13
  prepend Hook::Rescue
@@ -24,6 +24,7 @@ class Twenty::Command::Migrate < Twenty::Command
24
24
  private
25
25
 
26
26
  def run_command(options)
27
- Twenty::Migration.run!(target: options.target)
27
+ run_options = options.to_h.transform_keys(&:to_sym)
28
+ Twenty::Migration.run!(run_options)
28
29
  end
29
30
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twenty-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.7
4
+ version: 0.5.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - '0x1eef'
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-27 00:00:00.000000000 Z
11
+ date: 2024-05-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cmd.rb
@@ -129,7 +129,8 @@ files:
129
129
  homepage: https://github.com/0x1eef/twenty#readme
130
130
  licenses:
131
131
  - 0BSD
132
- metadata: {}
132
+ metadata:
133
+ source_code_uri: https://github.com/0x1eef/twenty#readme
133
134
  post_install_message:
134
135
  rdoc_options: []
135
136
  require_paths: