arcanus 0.10.0 → 0.10.1

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
  SHA1:
3
- metadata.gz: 888bf2081e42c456d9276d560543cce366fff384
4
- data.tar.gz: e2ec43b0bf7fde05b039026e6c38122608a625ab
3
+ metadata.gz: d2e5e53cc28e796acf5fb491a39fda2150351c76
4
+ data.tar.gz: 60032a08f66b98db7f96d2e7b5632055ff7f235e
5
5
  SHA512:
6
- metadata.gz: 9f87f25ab4192c8223b65655e2daaa922ab7292c86690b948c08686bffc7c86cd52503762ef7af48264d3f15b621a3afc62776809c16d4fdbfd2b2a1bdf57a82
7
- data.tar.gz: 74140896c221a1049e7ecd5437ec5b114100971cb26bf3a42f0ad742b368c7e03088a57f3f129b5fa3fb308207948382a7c6e0db65110dd4a1f553d078478322
6
+ metadata.gz: 279f8b1d5229999b6de7f8dbaef6cdd9dcca0109eaf711b89d103ba45cafc155492c2a3313f24c1fa6694fd9a2e7c969a3e83764c9b2ba177d15ec62fe73f50d
7
+ data.tar.gz: 218868b47a3f6fb08571c02400d97b13fc133557e37ad6343de4ea450b5f96322f22a7a926ce58e0ac5ed6c2fe348a677921f74a0e4b62a360947379c26b53c7
@@ -34,6 +34,7 @@ module Arcanus::Command
34
34
  loop do
35
35
  ui.print 'Enter password: ', newline: false
36
36
  password = ui.secret_user_input
37
+ ui.newline
37
38
 
38
39
  begin
39
40
  key = Arcanus::Key.from_protected_file(repo.locked_key_path, password)
@@ -20,7 +20,10 @@ module Arcanus
20
20
  arc_dir = Pathname.new(File.expand_path('.'))
21
21
  .enum_for(:ascend)
22
22
  .find do |path|
23
- (path + '.arcanus').exist?
23
+ # We check for .arcanus first since most repos will have that but
24
+ # not necessarily have .git. However, when running `arcanus setup`,
25
+ # the .arcanus directory won't exist yet, so check for .git
26
+ (path + '.arcanus').exist? || (path + '.git').exist?
24
27
  end
25
28
 
26
29
  unless arc_dir
@@ -2,5 +2,5 @@
2
2
 
3
3
  # Defines the gem version.
4
4
  module Arcanus
5
- VERSION = '0.10.0'.freeze
5
+ VERSION = '0.10.1'.freeze
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arcanus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shane da Silva
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-03 00:00:00.000000000 Z
11
+ date: 2016-02-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: childprocess