takelage 0.21.1 → 0.22.0

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: 9474b21df1eda10c374205a452b952662670fa39edd59d3a813f935590bdc278
4
- data.tar.gz: d20b34e6259ef75fc85166bfa4a2727a83d14951dea74f5a13f57466a94f5608
3
+ metadata.gz: bd37119ed7278082e62916cfc9c14086b719007ab746e58651647a95779ae96c
4
+ data.tar.gz: fe3fc46ef24bdb12a106f02c9c18c8ceddf3faa4683fa67bf805aea31aaef01a
5
5
  SHA512:
6
- metadata.gz: c59b7f92ce99c3a2236aa56c356b7544e5e57a1c25126b5e40c4725be3ea81900536d0d8ab5bc6f11e8795f1541879f0152049d8e76d4db3bdd2980ce9a96ed4
7
- data.tar.gz: 536a14c1778ab9c2f875fc9e086ead2478e74fcaf866c0413b151755dd5dc1330e6561111b25aa2579bf2523741232d0b59e75e7b4511867b750b82c135fa0be
6
+ metadata.gz: 5dfaf046db1564a22555132cb6fea9974f397a86ea9a660877c2bcfc3fdccfa2f59e86a6bc0be7b42831254cdbeb7c1997b67a227488d1dd18e22a1386ed870b
7
+ data.tar.gz: 1598f3a2a4890118bb6a2b72e1c6a2be5e89391f6f20248ed5f0293479ce79e57c29203f4c60541acd66346353943235e575d9bac6637360f91848aa746dde30
@@ -4,6 +4,14 @@
4
4
  module BitClipboardLib
5
5
  private
6
6
 
7
+ # Run bit status.
8
+ def _bit_clipboard_lib_bit_status
9
+ log.debug 'Running bit status'
10
+
11
+ cmd_bit_status = config.active['cmd_bit_clipboard_lib_bit_status']
12
+ run_and_exit cmd_bit_status
13
+ end
14
+
7
15
  # Prepare workspace for bit clipboard.
8
16
  def _bit_clipboard_lib_prepare_workspace
9
17
  unless bit_check_workspace
@@ -14,9 +14,7 @@ module BitClipboardPull
14
14
  _bit_clipboard_pull_checkout_all
15
15
  _bit_clipbpard_lib_remove_bit_artifacts
16
16
  _bit_clipboard_lib_sync_workspace
17
-
18
- log.info 'Pulled bit components'
19
- true
17
+ _bit_clipboard_lib_bit_status
20
18
  end
21
19
 
22
20
  private
@@ -14,9 +14,7 @@ module BitClipboardPush
14
14
  _bit_clipboard_push_export_all
15
15
  _bit_clipbpard_lib_remove_bit_artifacts
16
16
  _bit_clipboard_lib_sync_workspace
17
-
18
- log.info 'Pushed bit components'
19
- true
17
+ _bit_clipboard_lib_bit_status
20
18
  end
21
19
 
22
20
  private
@@ -6,6 +6,7 @@ bit_root: '/bit'
6
6
  bit_ssh: ''
7
7
  cmd_bit_check_workspace_bit_list: 'bit list'
8
8
  cmd_bit_check_workspace_pwd: 'pwd'
9
+ cmd_bit_clipboard_lib_bit_status: 'bit status'
9
10
  cmd_bit_clipboard_copy_bit_list_scope: 'bit list --skip-update --json %{scope}'
10
11
  cmd_bit_clipboard_copy_bit_list_remotes: 'bit remote --skip-update'
11
12
  cmd_bit_clipboard_copy_bit_add_dir: 'bit add --skip-update --id %{id} --main %{dir}/README.bit %{dir}'
@@ -1 +1 @@
1
- 0.21.1
1
+ 0.22.0
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: takelage
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.21.1
4
+ version: 0.22.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Geospin