revenc 0.1.3 → 0.2.1
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.
- data/.gemfiles +53 -0
- data/.gitignore +4 -8
- data/Gemfile.lock +42 -37
- data/HISTORY.markdown +9 -2
- data/LICENSE +1 -1
- data/README.markdown +33 -38
- data/Rakefile +24 -34
- data/TODO.markdown +3 -0
- data/VERSION +1 -1
- data/bin/revenc +30 -13
- data/config/cucumber.yml +4 -3
- data/examples/rsync/encrypted_data/key/encfs6.xml +27 -27
- data/examples/rsync/revenc.conf +2 -2
- data/examples/simple/encfs6.xml +27 -27
- data/features/app.feature +17 -17
- data/features/bin.feature +6 -6
- data/features/configuration.feature +9 -9
- data/features/copy.feature +15 -12
- data/features/generator.feature +1 -1
- data/features/mount.feature +14 -14
- data/features/settings.feature +119 -0
- data/features/step_definitions/revenc_steps.rb +1 -2
- data/features/support/aruba.rb +9 -9
- data/features/support/env.rb +8 -2
- data/features/unmount.feature +8 -8
- data/lib/revenc.rb +12 -3
- data/lib/revenc/app.rb +27 -53
- data/lib/revenc/core/array.rb +11 -0
- data/lib/revenc/core/hash.rb +45 -0
- data/lib/revenc/encfs_wrapper.rb +20 -24
- data/lib/revenc/errors.rb +3 -3
- data/lib/revenc/io.rb +13 -13
- data/lib/revenc/settings.rb +98 -0
- data/revenc.gemspec +28 -17
- data/spec/aruba_helper.rb +25 -0
- data/spec/basic_app/array_spec.rb +48 -0
- data/spec/basic_gem/aruba_helper_spec.rb +33 -0
- data/spec/basic_gem/basic_gem_spec.rb +71 -1
- data/spec/basic_gem/gemspec_spec.rb +68 -0
- data/spec/revenc/error_spec.rb +2 -2
- data/spec/revenc/io_spec.rb +12 -12
- data/spec/spec_helper.rb +4 -9
- data/spec/watchr.rb +48 -26
- metadata +120 -177
- data/.yardopts +0 -6
- data/spec/spec.opts +0 -2
@@ -1,7 +1,7 @@
|
|
1
1
|
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
|
2
2
|
|
3
3
|
describe Revenc do
|
4
|
-
|
4
|
+
|
5
5
|
describe 'version' do
|
6
6
|
|
7
7
|
it "should return a string formatted '#.#.#'" do
|
@@ -10,4 +10,74 @@
|
|
10
10
|
|
11
11
|
end
|
12
12
|
|
13
|
+
# VIM autocmd to remove trailing whitespace
|
14
|
+
# autocmd BufWritePre * :%s/\s\+$//e
|
15
|
+
#
|
16
|
+
describe "code" do
|
17
|
+
|
18
|
+
before(:each) do
|
19
|
+
@gemfiles_filename = File.expand_path(File.dirname(__FILE__) + '/../../.gemfiles')
|
20
|
+
@gemfiles = File.open(@gemfiles_filename, "r") {|f| f.read}
|
21
|
+
@eol = @gemfiles.match("\r\n") ? "\r\n" : "\n"
|
22
|
+
end
|
23
|
+
|
24
|
+
def binary?(filename)
|
25
|
+
open filename do |f|
|
26
|
+
f.each_byte { |x|
|
27
|
+
x.nonzero? or return true
|
28
|
+
}
|
29
|
+
end
|
30
|
+
false
|
31
|
+
end
|
32
|
+
|
33
|
+
def check_for_tab_characters(filename)
|
34
|
+
failing_lines = []
|
35
|
+
File.readlines(filename).each_with_index do |line,number|
|
36
|
+
failing_lines << number + 1 if line =~ /\t/
|
37
|
+
end
|
38
|
+
|
39
|
+
unless failing_lines.empty?
|
40
|
+
"#{filename} has tab characters on lines #{failing_lines.join(', ')}"
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
def check_for_extra_spaces(filename)
|
45
|
+
failing_lines = []
|
46
|
+
File.readlines(filename).each_with_index do |line,number|
|
47
|
+
next if line =~ /^\s+#.*\s+#{@eol}$/
|
48
|
+
failing_lines << number + 1 if line =~ /\s+#{@eol}$/
|
49
|
+
end
|
50
|
+
|
51
|
+
unless failing_lines.empty?
|
52
|
+
"#{filename} has spaces on the EOL on lines #{failing_lines.join(', ')}"
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
RSpec::Matchers.define :be_well_formed do
|
57
|
+
failure_message_for_should do |actual|
|
58
|
+
actual.join("\n")
|
59
|
+
end
|
60
|
+
|
61
|
+
match do |actual|
|
62
|
+
actual.empty?
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
66
|
+
it "has no malformed whitespace" do
|
67
|
+
error_messages = []
|
68
|
+
@gemfiles.split(@eol).each do |filename|
|
69
|
+
filename = File.expand_path(File.join(File.dirname(__FILE__), ["..", "..", filename]))
|
70
|
+
unless File.exists?(filename)
|
71
|
+
puts "WARNING: .gemfiles out-of-date, #{filename} not found. Edit .gemfiles or run 'rake gemfiles' after committing changes."
|
72
|
+
next
|
73
|
+
end
|
74
|
+
next if filename =~ /\.gitmodules/
|
75
|
+
next if binary?(filename)
|
76
|
+
error_messages << check_for_tab_characters(filename)
|
77
|
+
error_messages << check_for_extra_spaces(filename)
|
78
|
+
end
|
79
|
+
error_messages.compact.should be_well_formed
|
80
|
+
end
|
81
|
+
|
82
|
+
end
|
13
83
|
end
|
@@ -0,0 +1,68 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
|
2
|
+
|
3
|
+
describe Revenc do
|
4
|
+
|
5
|
+
def load_gemspec
|
6
|
+
filename = File.expand_path('../../../revenc.gemspec', __FILE__)
|
7
|
+
eval(File.read(filename), nil, filename)
|
8
|
+
end
|
9
|
+
|
10
|
+
describe 'gemspec' do
|
11
|
+
|
12
|
+
it "should return the gem VERSION" do
|
13
|
+
@gemspec = load_gemspec
|
14
|
+
Revenc::version.should_not be_nil
|
15
|
+
@gemspec.version.to_s.should == Revenc::version
|
16
|
+
end
|
17
|
+
|
18
|
+
describe 'files' do
|
19
|
+
|
20
|
+
it "should return 'files' array" do
|
21
|
+
@gemspec = load_gemspec
|
22
|
+
@gemspec.files.is_a?(Array).should == true
|
23
|
+
@gemspec.files.include?('VERSION').should == true
|
24
|
+
end
|
25
|
+
it "should return 'executables' array" do
|
26
|
+
@gemspec = load_gemspec
|
27
|
+
@gemspec.executables.is_a?(Array).should == true
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'without .gemfiles cache' do
|
31
|
+
before(:each) do
|
32
|
+
File.stub!('exists?').and_return false
|
33
|
+
@gemspec = load_gemspec
|
34
|
+
end
|
35
|
+
|
36
|
+
it "should return 'files' from using 'git ls-files" do
|
37
|
+
File.exists?(File.expand_path('../../../.gemfiles', __FILE__)).should == false
|
38
|
+
@gemspec.files.is_a?(Array).should == true
|
39
|
+
@gemspec.files.include?('VERSION').should == true
|
40
|
+
end
|
41
|
+
it "should return 'executables' from 'git ls-files" do
|
42
|
+
File.exists?(File.expand_path('../../../.gemfiles', __FILE__)).should == false
|
43
|
+
@gemspec.executables.is_a?(Array).should == true
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'without git binary' do
|
48
|
+
|
49
|
+
before(:each) do
|
50
|
+
stub!(:system).and_return false
|
51
|
+
@gemspec = load_gemspec
|
52
|
+
end
|
53
|
+
|
54
|
+
it "should return 'files' from cache" do
|
55
|
+
system('git --version').should == false
|
56
|
+
@gemspec.files.is_a?(Array).should == true
|
57
|
+
@gemspec.files.include?('VERSION').should == true
|
58
|
+
end
|
59
|
+
it "should return 'executables' from cache" do
|
60
|
+
system('git --version').should == false
|
61
|
+
@gemspec.executables.is_a?(Array).should == true
|
62
|
+
end
|
63
|
+
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
67
|
+
end
|
68
|
+
end
|
data/spec/revenc/error_spec.rb
CHANGED
data/spec/revenc/io_spec.rb
CHANGED
@@ -1,23 +1,23 @@
|
|
1
1
|
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
|
2
2
|
|
3
3
|
describe Revenc::FileSystemEntity do
|
4
|
-
|
4
|
+
|
5
5
|
before(:each) do
|
6
6
|
FileUtils.rm_rf(current_dir)
|
7
7
|
end
|
8
8
|
|
9
9
|
describe Revenc::TextFile do
|
10
|
-
|
10
|
+
|
11
11
|
it "should be valid" do
|
12
12
|
filename = "text_file"
|
13
|
-
|
13
|
+
write_file(filename, "passphrase")
|
14
14
|
text_file = Revenc::TextFile.new(fullpath(filename))
|
15
15
|
text_file.should be_valid
|
16
16
|
end
|
17
17
|
|
18
18
|
it "should return a fully qualified file name" do
|
19
19
|
filename = "text_file"
|
20
|
-
|
20
|
+
write_file(filename, "passphrase")
|
21
21
|
relative_path_filename = File.join('tmp', 'aruba', filename)
|
22
22
|
text_file = Revenc::TextFile.new(relative_path_filename)
|
23
23
|
text_file.should be_valid
|
@@ -36,7 +36,7 @@
|
|
36
36
|
|
37
37
|
it "should be valid if empty" do
|
38
38
|
filename = "text_file"
|
39
|
-
|
39
|
+
write_file(filename, "")
|
40
40
|
text_file = Revenc::TextFile.new(fullpath(filename))
|
41
41
|
text_file.should be_valid
|
42
42
|
end
|
@@ -50,14 +50,14 @@
|
|
50
50
|
|
51
51
|
it "should be valid" do
|
52
52
|
filename = "text_file"
|
53
|
-
|
53
|
+
write_file(filename, "passphrase")
|
54
54
|
text_file = Revenc::PassphraseFile.new(fullpath(filename))
|
55
55
|
text_file.should be_valid
|
56
56
|
end
|
57
57
|
|
58
58
|
it "should not be valid if empty" do
|
59
59
|
filename = "text_file"
|
60
|
-
|
60
|
+
write_file(filename, "")
|
61
61
|
text_file = Revenc::PassphraseFile.new(fullpath(filename))
|
62
62
|
text_file.exists?.should be(true)
|
63
63
|
text_file.should_not be_valid
|
@@ -70,14 +70,14 @@
|
|
70
70
|
|
71
71
|
it "should be valid" do
|
72
72
|
filename = "encfs6.xml"
|
73
|
-
|
73
|
+
write_file(filename, "DOCTYPE boost_serialization")
|
74
74
|
text_file = Revenc::KeyFile.new(fullpath(filename))
|
75
75
|
text_file.should be_valid
|
76
76
|
end
|
77
77
|
|
78
78
|
it "should not be valid if empty" do
|
79
79
|
filename = "encfs6.xml"
|
80
|
-
|
80
|
+
write_file(filename, "")
|
81
81
|
text_file = Revenc::KeyFile.new(fullpath(filename))
|
82
82
|
text_file.exists?.should be(true)
|
83
83
|
text_file.should_not be_valid
|
@@ -89,7 +89,7 @@
|
|
89
89
|
end
|
90
90
|
|
91
91
|
describe Revenc::FileFolder do
|
92
|
-
|
92
|
+
|
93
93
|
it "should be valid if empty" do
|
94
94
|
foldername = "folder1"
|
95
95
|
create_dir(foldername)
|
@@ -145,7 +145,7 @@
|
|
145
145
|
end
|
146
146
|
|
147
147
|
describe Revenc::MountPoint do
|
148
|
-
|
148
|
+
|
149
149
|
it "should have an accessor 'mountpoint' equal to self" do
|
150
150
|
foldername = "folder1"
|
151
151
|
mountpoint = Revenc::MountPoint.new(fullpath(foldername))
|
@@ -166,7 +166,7 @@
|
|
166
166
|
end
|
167
167
|
|
168
168
|
describe Revenc::UnmountPoint do
|
169
|
-
|
169
|
+
|
170
170
|
it "should not be valid if fusermount executable not found" do
|
171
171
|
# stub out check for executable with double that can't find fusermount
|
172
172
|
double = Revenc::UnmountPoint.new
|
data/spec/spec_helper.rb
CHANGED
@@ -5,15 +5,10 @@
|
|
5
5
|
|
6
6
|
require 'rubygems'
|
7
7
|
require 'revenc'
|
8
|
-
require '
|
9
|
-
require 'spec/autorun'
|
8
|
+
require 'rspec/core'
|
10
9
|
require 'aruba/api'
|
10
|
+
require 'aruba_helper'
|
11
11
|
|
12
|
-
|
13
|
-
|
14
|
-
File.expand_path(File.join(current_dir, filename))
|
15
|
-
end
|
16
|
-
|
17
|
-
Spec::Runner.configure do |config|
|
18
|
-
config.include Aruba::Api
|
12
|
+
RSpec.configure do |config|
|
13
|
+
config.include Aruba::Api
|
19
14
|
end
|
data/spec/watchr.rb
CHANGED
@@ -7,8 +7,19 @@
|
|
7
7
|
# $ watchr spec/watchr.rb
|
8
8
|
|
9
9
|
require 'term/ansicolor'
|
10
|
+
require 'rbconfig'
|
10
11
|
|
11
|
-
|
12
|
+
WINDOWS = Config::CONFIG['host_os'] =~ /mswin|mingw/i unless defined?(WINDOWS)
|
13
|
+
require 'win32/process' if WINDOWS
|
14
|
+
|
15
|
+
if WINDOWS
|
16
|
+
begin
|
17
|
+
require 'Win32/Console/ANSI'
|
18
|
+
$c = Term::ANSIColor
|
19
|
+
rescue LoadError
|
20
|
+
STDERR.puts 'WARNING: You must "gem install win32console" (1.2.0 or higher) to get color output on MRI/Windows'
|
21
|
+
end
|
22
|
+
end
|
12
23
|
|
13
24
|
def getch
|
14
25
|
state = `stty -g`
|
@@ -33,16 +44,24 @@ def all_spec_files
|
|
33
44
|
|
34
45
|
def run(cmd)
|
35
46
|
|
47
|
+
cmd = 'bundle exec ' + cmd unless cmd.match(/^bundle exec/)
|
48
|
+
|
36
49
|
pid = fork do
|
50
|
+
|
37
51
|
puts "\n"
|
38
|
-
|
52
|
+
if $c
|
53
|
+
print $c.cyan, cmd, $c.clear, "\n"
|
54
|
+
else
|
55
|
+
puts cmd
|
56
|
+
end
|
57
|
+
|
39
58
|
exec(cmd)
|
40
59
|
end
|
41
60
|
Signal.trap('INT') do
|
42
61
|
puts "sending KILL to pid: #{pid}"
|
43
62
|
Process.kill("KILL", pid)
|
44
63
|
end
|
45
|
-
Process.waitpid(pid)
|
64
|
+
Process.waitpid(pid) if (pid > 0)
|
46
65
|
|
47
66
|
prompt
|
48
67
|
end
|
@@ -74,18 +93,17 @@ def run_last_feature
|
|
74
93
|
end
|
75
94
|
|
76
95
|
def run_default_spec
|
77
|
-
cmd = "spec --color --format s ./spec"
|
96
|
+
cmd = "spec _1.3.1_ --color --format s ./spec"
|
78
97
|
run(cmd)
|
79
98
|
end
|
80
99
|
|
81
100
|
def run_all_specs
|
82
|
-
cmd = "spec --color --format s #{all_spec_files.join(' ')}"
|
83
|
-
p cmd
|
101
|
+
cmd = "spec _1.3.1_ --color --format s #{all_spec_files.join(' ')}"
|
84
102
|
run(cmd)
|
85
103
|
end
|
86
104
|
|
87
105
|
def run_spec(spec)
|
88
|
-
cmd = "spec --color --format s #{spec}"
|
106
|
+
cmd = "spec _1.3.1_ --color --format s #{spec}"
|
89
107
|
$last_spec = spec
|
90
108
|
run(cmd)
|
91
109
|
end
|
@@ -95,7 +113,10 @@ def run_last_spec
|
|
95
113
|
end
|
96
114
|
|
97
115
|
def prompt
|
98
|
-
|
116
|
+
menu = "Ctrl-C to quit"
|
117
|
+
menu = menu + ", Ctrl-\\ for menu" if Signal.list.include?('QUIT')
|
118
|
+
|
119
|
+
puts menu
|
99
120
|
end
|
100
121
|
|
101
122
|
# init
|
@@ -121,25 +142,26 @@ def prompt
|
|
121
142
|
watch( '^lib/io.rb' ) { run_default_spec }
|
122
143
|
|
123
144
|
# --------------------------------------------------
|
124
|
-
# Signal Handling
|
145
|
+
# Signal Handling (May not be supported on Windows)
|
125
146
|
# --------------------------------------------------
|
147
|
+
if Signal.list.include?('QUIT')
|
148
|
+
# Ctrl-\
|
149
|
+
Signal.trap('QUIT') do
|
150
|
+
|
151
|
+
puts "\n\nMENU: a = all , f = features s = specs, l = last feature (#{$last_feature ? $last_feature : 'none'}), q = quit\n\n"
|
152
|
+
c = getch
|
153
|
+
puts c.chr
|
154
|
+
if c.chr == "a"
|
155
|
+
run_all
|
156
|
+
elsif c.chr == "f"
|
157
|
+
run_default_cucumber
|
158
|
+
elsif c.chr == "s"
|
159
|
+
run_all_specs
|
160
|
+
elsif c.chr == "q"
|
161
|
+
abort("exiting\n")
|
162
|
+
elsif c.chr == "l"
|
163
|
+
run_last_feature
|
164
|
+
end
|
126
165
|
|
127
|
-
# Ctrl-\
|
128
|
-
Signal.trap('QUIT') do
|
129
|
-
|
130
|
-
puts "\n\nMENU: a = all , f = features s = specs, l = last feature (#{$last_feature ? $last_feature : 'none'}), q = quit\n\n"
|
131
|
-
c = getch
|
132
|
-
puts c.chr
|
133
|
-
if c.chr == "a"
|
134
|
-
run_all
|
135
|
-
elsif c.chr == "f"
|
136
|
-
run_default_cucumber
|
137
|
-
elsif c.chr == "s"
|
138
|
-
run_all_specs
|
139
|
-
elsif c.chr == "q"
|
140
|
-
abort("exiting\n")
|
141
|
-
elsif c.chr == "l"
|
142
|
-
run_last_feature
|
143
166
|
end
|
144
|
-
|
145
167
|
end
|
metadata
CHANGED
@@ -1,195 +1,140 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: revenc
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 1
|
9
|
-
- 3
|
10
|
-
version: 0.1.3
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.1
|
5
|
+
prerelease:
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Robert Wahler
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
12
|
+
date: 2017-12-21 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: mutagem
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
23
17
|
none: false
|
24
|
-
requirements:
|
25
|
-
- -
|
26
|
-
- !ruby/object:Gem::Version
|
27
|
-
hash: 29
|
28
|
-
segments:
|
29
|
-
- 0
|
30
|
-
- 1
|
31
|
-
- 3
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
32
21
|
version: 0.1.3
|
33
22
|
type: :runtime
|
34
|
-
name: mutagem
|
35
23
|
prerelease: false
|
36
|
-
version_requirements:
|
37
|
-
- !ruby/object:Gem::Dependency
|
38
|
-
requirement: &id002 !ruby/object:Gem::Requirement
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
39
25
|
none: false
|
40
|
-
requirements:
|
41
|
-
- -
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
|
44
|
-
|
45
|
-
- 1
|
46
|
-
- 0
|
47
|
-
- 4
|
48
|
-
version: 1.0.4
|
49
|
-
type: :runtime
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 0.1.3
|
30
|
+
- !ruby/object:Gem::Dependency
|
50
31
|
name: term-ansicolor
|
51
|
-
|
52
|
-
version_requirements: *id002
|
53
|
-
- !ruby/object:Gem::Dependency
|
54
|
-
requirement: &id003 !ruby/object:Gem::Requirement
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
55
33
|
none: false
|
56
|
-
requirements:
|
57
|
-
- -
|
58
|
-
- !ruby/object:Gem::Version
|
59
|
-
|
60
|
-
segments:
|
61
|
-
- 2
|
62
|
-
- 5
|
63
|
-
- 1
|
64
|
-
version: 2.5.1
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: 1.0.4
|
65
38
|
type: :runtime
|
66
|
-
name: configatron
|
67
39
|
prerelease: false
|
68
|
-
version_requirements:
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
requirement: &id004 !ruby/object:Gem::Requirement
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
71
41
|
none: false
|
72
|
-
requirements:
|
73
|
-
- -
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
|
76
|
-
|
77
|
-
- 1
|
78
|
-
- 0
|
79
|
-
- 0
|
80
|
-
version: 1.0.0
|
81
|
-
type: :development
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: 1.0.4
|
46
|
+
- !ruby/object:Gem::Dependency
|
82
47
|
name: bundler
|
83
|
-
|
84
|
-
version_requirements: *id004
|
85
|
-
- !ruby/object:Gem::Dependency
|
86
|
-
requirement: &id005 !ruby/object:Gem::Requirement
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
87
49
|
none: false
|
88
|
-
requirements:
|
89
|
-
- -
|
90
|
-
- !ruby/object:Gem::Version
|
91
|
-
|
92
|
-
segments:
|
93
|
-
- 1
|
94
|
-
- 2
|
95
|
-
- 9
|
96
|
-
version: 1.2.9
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: 1.0.14
|
97
54
|
type: :development
|
98
|
-
name: rspec
|
99
55
|
prerelease: false
|
100
|
-
version_requirements:
|
101
|
-
- !ruby/object:Gem::Dependency
|
102
|
-
requirement: &id006 !ruby/object:Gem::Requirement
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
103
57
|
none: false
|
104
|
-
requirements:
|
105
|
-
- -
|
106
|
-
- !ruby/object:Gem::Version
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
version: "0.6"
|
112
|
-
type: :development
|
113
|
-
name: cucumber
|
114
|
-
prerelease: false
|
115
|
-
version_requirements: *id006
|
116
|
-
- !ruby/object:Gem::Dependency
|
117
|
-
requirement: &id007 !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 1.0.14
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: rspec
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
118
65
|
none: false
|
119
|
-
requirements:
|
120
|
-
- -
|
121
|
-
- !ruby/object:Gem::Version
|
122
|
-
|
123
|
-
segments:
|
124
|
-
- 0
|
125
|
-
- 2
|
126
|
-
- 0
|
127
|
-
version: 0.2.0
|
66
|
+
requirements:
|
67
|
+
- - ! '>='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: 2.6.0
|
128
70
|
type: :development
|
129
|
-
name: aruba
|
130
71
|
prerelease: false
|
131
|
-
version_requirements:
|
132
|
-
- !ruby/object:Gem::Dependency
|
133
|
-
requirement: &id008 !ruby/object:Gem::Requirement
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
134
73
|
none: false
|
135
|
-
requirements:
|
136
|
-
- -
|
137
|
-
- !ruby/object:Gem::Version
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: 2.6.0
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: cucumber
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
82
|
+
requirements:
|
83
|
+
- - ~>
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: '1.0'
|
144
86
|
type: :development
|
145
|
-
name: rake
|
146
87
|
prerelease: false
|
147
|
-
version_requirements:
|
148
|
-
- !ruby/object:Gem::Dependency
|
149
|
-
requirement: &id009 !ruby/object:Gem::Requirement
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
150
89
|
none: false
|
151
|
-
requirements:
|
152
|
-
- -
|
153
|
-
- !ruby/object:Gem::Version
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
90
|
+
requirements:
|
91
|
+
- - ~>
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '1.0'
|
94
|
+
- !ruby/object:Gem::Dependency
|
95
|
+
name: aruba
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
98
|
+
requirements:
|
99
|
+
- - ~>
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: 0.4.2
|
160
102
|
type: :development
|
161
|
-
name: yard
|
162
103
|
prerelease: false
|
163
|
-
version_requirements:
|
164
|
-
|
165
|
-
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ~>
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: 0.4.2
|
110
|
+
- !ruby/object:Gem::Dependency
|
111
|
+
name: rake
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
166
113
|
none: false
|
167
|
-
requirements:
|
168
|
-
- -
|
169
|
-
- !ruby/object:Gem::Version
|
170
|
-
|
171
|
-
segments:
|
172
|
-
- 1
|
173
|
-
- 6
|
174
|
-
- 5
|
175
|
-
version: 1.6.5
|
114
|
+
requirements:
|
115
|
+
- - ! '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 0.8.7
|
176
118
|
type: :development
|
177
|
-
name: rdiscount
|
178
119
|
prerelease: false
|
179
|
-
version_requirements:
|
180
|
-
|
181
|
-
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
122
|
+
requirements:
|
123
|
+
- - ! '>='
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: 0.8.7
|
126
|
+
description: Reverse Mount, unmount, and copy/synchronize encrypted files to untrusted
|
127
|
+
destinations using EncFS and rsync
|
128
|
+
email:
|
182
129
|
- robert@gearheadforhire.com
|
183
|
-
executables:
|
130
|
+
executables:
|
184
131
|
- revenc
|
185
132
|
extensions: []
|
186
|
-
|
187
133
|
extra_rdoc_files: []
|
188
|
-
|
189
|
-
|
134
|
+
files:
|
135
|
+
- .gemfiles
|
190
136
|
- .gitattributes
|
191
137
|
- .gitignore
|
192
|
-
- .yardopts
|
193
138
|
- Gemfile
|
194
139
|
- Gemfile.lock
|
195
140
|
- HISTORY.markdown
|
@@ -215,6 +160,7 @@ files:
|
|
215
160
|
- features/copy.feature
|
216
161
|
- features/generator.feature
|
217
162
|
- features/mount.feature
|
163
|
+
- features/settings.feature
|
218
164
|
- features/step_definitions/.gitignore
|
219
165
|
- features/step_definitions/revenc_steps.rb
|
220
166
|
- features/support/aruba.rb
|
@@ -223,56 +169,53 @@ files:
|
|
223
169
|
- features/unmount.feature
|
224
170
|
- lib/revenc.rb
|
225
171
|
- lib/revenc/app.rb
|
172
|
+
- lib/revenc/core/array.rb
|
173
|
+
- lib/revenc/core/hash.rb
|
226
174
|
- lib/revenc/encfs_wrapper.rb
|
227
175
|
- lib/revenc/errors.rb
|
228
176
|
- lib/revenc/io.rb
|
177
|
+
- lib/revenc/settings.rb
|
229
178
|
- revenc.gemspec
|
179
|
+
- spec/aruba_helper.rb
|
180
|
+
- spec/basic_app/array_spec.rb
|
181
|
+
- spec/basic_gem/aruba_helper_spec.rb
|
230
182
|
- spec/basic_gem/basic_gem_spec.rb
|
183
|
+
- spec/basic_gem/gemspec_spec.rb
|
231
184
|
- spec/revenc/error_spec.rb
|
232
185
|
- spec/revenc/io_spec.rb
|
233
|
-
- spec/spec.opts
|
234
186
|
- spec/spec_helper.rb
|
235
187
|
- spec/watchr.rb
|
236
|
-
has_rdoc: yard
|
237
188
|
homepage: http://rubygems.org/gems/revenc
|
238
189
|
licenses: []
|
239
|
-
|
240
190
|
post_install_message:
|
241
|
-
rdoc_options:
|
191
|
+
rdoc_options:
|
242
192
|
- --title
|
243
193
|
- Revenc Documentation
|
244
194
|
- --main
|
245
195
|
- README.markdown
|
246
196
|
- --line-numbers
|
247
197
|
- --inline-source
|
248
|
-
require_paths:
|
198
|
+
require_paths:
|
249
199
|
- lib
|
250
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
200
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
251
201
|
none: false
|
252
|
-
requirements:
|
253
|
-
- -
|
254
|
-
- !ruby/object:Gem::Version
|
255
|
-
|
256
|
-
segments:
|
202
|
+
requirements:
|
203
|
+
- - ! '>='
|
204
|
+
- !ruby/object:Gem::Version
|
205
|
+
version: '0'
|
206
|
+
segments:
|
257
207
|
- 0
|
258
|
-
|
259
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
208
|
+
hash: -2993960257441165614
|
209
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
260
210
|
none: false
|
261
|
-
requirements:
|
262
|
-
- -
|
263
|
-
- !ruby/object:Gem::Version
|
264
|
-
hash: 23
|
265
|
-
segments:
|
266
|
-
- 1
|
267
|
-
- 3
|
268
|
-
- 6
|
211
|
+
requirements:
|
212
|
+
- - ! '>='
|
213
|
+
- !ruby/object:Gem::Version
|
269
214
|
version: 1.3.6
|
270
215
|
requirements: []
|
271
|
-
|
272
216
|
rubyforge_project: revenc
|
273
|
-
rubygems_version: 1.
|
217
|
+
rubygems_version: 1.8.23.2
|
274
218
|
signing_key:
|
275
219
|
specification_version: 3
|
276
220
|
summary: Wrapper for EncFS reverse mounting and folder syncing
|
277
221
|
test_files: []
|
278
|
-
|