boxafe 0.1.1 → 0.1.2

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.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/lib/boxafe/box.rb +3 -3
  3. data/lib/boxafe.rb +1 -1
  4. metadata +1 -1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.1.2
data/lib/boxafe/box.rb CHANGED
@@ -3,7 +3,7 @@ require 'fileutils'
3
3
 
4
4
  class Boxafe::Box
5
5
 
6
- OPTION_KEYS = [ :name, :root, :mount, :volume, :config, :keychain ]
6
+ OPTION_KEYS = [ :name, :root, :mount, :volume, :encfs_config, :keychain ]
7
7
 
8
8
  def initialize options = {}
9
9
 
@@ -61,7 +61,7 @@ class Boxafe::Box
61
61
 
62
62
  s << "\nVolume Name: #{opts[:volume]}"
63
63
  s << "\nKeychain Password: #{opts[:keychain]}" if opts[:keychain]
64
- s << "\nEncFS Config: #{opts[:config]}" if opts[:config]
64
+ s << "\nEncFS Config: #{opts[:encfs_config]}" if opts[:encfs_config]
65
65
 
66
66
  s << "\nCommand: #{Paint[encfs.command, :yellow]}" if verbose
67
67
  end
@@ -87,7 +87,7 @@ class Boxafe::Box
87
87
  @options.tap do |opts|
88
88
  opts[:root] = File.expand_path opts[:root] || "~/Dropbox/#{opts[:name]}"
89
89
  opts[:mount] = File.expand_path opts[:mount] || "/Volumes/#{opts[:name]}"
90
- opts[:config] = File.expand_path opts[:config] if opts[:config]
90
+ opts[:encfs_config] = File.expand_path opts[:encfs_config] if opts[:encfs_config]
91
91
  opts[:volume] ||= opts[:name]
92
92
  opts[:keychain] = opts[:name] if opts[:keychain] == true
93
93
  end
data/lib/boxafe.rb CHANGED
@@ -4,7 +4,7 @@ require 'dotenv'
4
4
  require 'mutaconf'
5
5
 
6
6
  module Boxafe
7
- VERSION = '0.1.1'
7
+ VERSION = '0.1.2'
8
8
 
9
9
  # TODO: add detailed error description for non-trace mode
10
10
  class Error < StandardError
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: boxafe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: