rake_git_crypt 0.1.0.pre.18 → 0.1.0.pre.19

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: '00806c7a05b44e1ad2e1334a438f00ec559232d3b66485deae89253ebc34896a'
4
- data.tar.gz: e2cac269d4518283941a25594048053fddc161a1dde2c5e85ac977d796c1bd5b
3
+ metadata.gz: b4dd6927b5abe1a03f4b82ed6f95612ab9af44e13159f3f7de7360689a388825
4
+ data.tar.gz: 6230fa45ca4733d2ebf6ab3cae1a4adbdaeeaa1d07bb71d1bd8b66f477b3f609
5
5
  SHA512:
6
- metadata.gz: 7865300a0cbbeaa6201cc891a67a310bd08816fe0efe65d4e90d19bb0f843ac417ba52ad1abe013ecbe432ae7c3e81afb496a38625b095b729f3b8900bb4c1ee
7
- data.tar.gz: abbcdd0e73901e0cf60335f97f2d7042aaa573bb7b7472d3cc3042245e227d3e51431f41971c4d9306742ef87753dd512abe9cb7d2a2ba04cacf535b8f9b57f4
6
+ metadata.gz: '01068a2b6afcf0ee43dff8352e3bdcadec59b8296201c40a0eb06c58a841c185ab7f39c42489271aae25ec56c9f531dbb3d1e011885da89400a5557e8706ec37'
7
+ data.tar.gz: cc092252269e549fc5782a5e6b0b88805a856092352a503c586b138b4fb0929990f605608b04622cacf3a3c644279ba544ea43f360ff894c804ba75fa228d138
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rake_git_crypt (0.1.0.pre.18)
4
+ rake_git_crypt (0.1.0.pre.19)
5
5
  colored2 (~> 3.1)
6
6
  rake_factory (= 0.32.0.pre.2)
7
7
  ruby_git_crypt (= 0.1.0.pre.2)
@@ -2,6 +2,7 @@
2
2
 
3
3
  require 'rake_factory'
4
4
  require 'ruby_git_crypt'
5
+ require 'open4'
5
6
 
6
7
  module RakeGitCrypt
7
8
  module Tasks
@@ -15,11 +16,16 @@ module RakeGitCrypt
15
16
 
16
17
  action do
17
18
  puts('Locking git-crypt...')
18
- RubyGitCrypt.lock(
19
- key_name: key_name,
20
- force: force,
21
- all: all
22
- )
19
+ begin
20
+ RubyGitCrypt.lock(
21
+ key_name: key_name,
22
+ force: force,
23
+ all: all
24
+ )
25
+ puts('Locked.')
26
+ rescue Open4::SpawnError
27
+ puts('Already locked.')
28
+ end
23
29
  end
24
30
  end
25
31
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RakeGitCrypt
4
- VERSION = '0.1.0.pre.18'
4
+ VERSION = '0.1.0.pre.19'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rake_git_crypt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre.18
4
+ version: 0.1.0.pre.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - InfraBlocks Maintainers