boxafe 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 4de5c77095d8c7c91c9b6169b98c67b020e2d397
4
+ data.tar.gz: cd7ea69c1b18cd33717a5f1fc02e42752aee9f16
5
+ SHA512:
6
+ metadata.gz: 512a2e21e634c9d949eee1c3c27e691e96e58040f55995ba9535b94fb026ff44111faf925a22031819be4dcf1c3d171eb4de105a0dda45b4315a0c431d9e8f28
7
+ data.tar.gz: 1e6c18d68ab00611a7ca82c62023df3e5e3691c7df775ca58245f1de108d6ecd68617e4701379fa97da8993aa6c7bd225d6c37171f2d2bc26b19deb4cf0e56ec
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --color
2
+ --format doc
data/.ruby-gemset ADDED
@@ -0,0 +1 @@
1
+ boxafe
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 2.0.0
data/.screenrc ADDED
@@ -0,0 +1,8 @@
1
+ source $HOME/.screenrc
2
+
3
+ screen -t vim 0
4
+ stuff "\${PROJECT_EDITOR-\$EDITOR}\012"
5
+ screen -t zsh 1
6
+ screen -t spec 2
7
+ stuff "rake"
8
+ select vim
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ language: ruby
2
+ rvm:
3
+ - 1.8.7
4
+ - 1.9.2
5
+ - 1.9.3
data/Gemfile ADDED
@@ -0,0 +1,21 @@
1
+ source "http://rubygems.org"
2
+ # Add dependencies required to use your gem here.
3
+ # Example:
4
+ # gem "activesupport", ">= 2.3.5"
5
+
6
+ gem 'paint', '~> 0.8.5'
7
+ gem 'commander', '~> 4.1.2'
8
+ gem 'whenever', '~> 0.8.2'
9
+
10
+ # Add dependencies to develop your gem here.
11
+ # Include everything needed to run rake, tests, features, etc.
12
+ group :development do
13
+ gem 'bundler'
14
+ gem 'rake'
15
+ gem 'rspec'
16
+ gem 'jeweler'
17
+ gem 'gemcutter'
18
+ gem 'gem-release'
19
+ gem 'rake-version'
20
+ gem 'simplecov'
21
+ end
data/Gemfile.lock ADDED
@@ -0,0 +1,59 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ activesupport (3.2.13)
5
+ i18n (= 0.6.1)
6
+ multi_json (~> 1.0)
7
+ chronic (0.9.1)
8
+ commander (4.1.3)
9
+ highline (~> 1.6.11)
10
+ diff-lcs (1.2.2)
11
+ gem-release (0.5.3)
12
+ gemcutter (0.7.1)
13
+ git (1.2.5)
14
+ highline (1.6.16)
15
+ i18n (0.6.1)
16
+ jeweler (1.8.4)
17
+ bundler (~> 1.0)
18
+ git (>= 1.2.5)
19
+ rake
20
+ rdoc
21
+ json (1.7.7)
22
+ multi_json (1.7.2)
23
+ paint (0.8.5)
24
+ rake (10.0.4)
25
+ rake-version (0.3.1)
26
+ rake (~> 10)
27
+ rdoc (4.0.1)
28
+ json (~> 1.4)
29
+ rspec (2.13.0)
30
+ rspec-core (~> 2.13.0)
31
+ rspec-expectations (~> 2.13.0)
32
+ rspec-mocks (~> 2.13.0)
33
+ rspec-core (2.13.1)
34
+ rspec-expectations (2.13.0)
35
+ diff-lcs (>= 1.1.3, < 2.0)
36
+ rspec-mocks (2.13.1)
37
+ simplecov (0.7.1)
38
+ multi_json (~> 1.0)
39
+ simplecov-html (~> 0.7.1)
40
+ simplecov-html (0.7.1)
41
+ whenever (0.8.2)
42
+ activesupport (>= 2.3.4)
43
+ chronic (>= 0.6.3)
44
+
45
+ PLATFORMS
46
+ ruby
47
+
48
+ DEPENDENCIES
49
+ bundler
50
+ commander (~> 4.1.2)
51
+ gem-release
52
+ gemcutter
53
+ jeweler
54
+ paint (~> 0.8.5)
55
+ rake
56
+ rake-version
57
+ rspec
58
+ simplecov
59
+ whenever (~> 0.8.2)
data/LICENSE.txt ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2011 Alpha Hydrae
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,8 @@
1
+ # boxafe
2
+
3
+ **Secure your Dropbox with encfs.**
4
+
5
+ ## Meta
6
+
7
+ * **Author:** Simon Oulevay (Alpha Hydrae)
8
+ * **License:** MIT (see [LICENSE.txt](https://raw.github.com/AlphaHydrae/boxafe/master/LICENSE.txt))
data/Rakefile ADDED
@@ -0,0 +1,51 @@
1
+ # encoding: utf-8
2
+
3
+ require 'rubygems'
4
+ require 'bundler'
5
+ begin
6
+ Bundler.setup(:default, :development)
7
+ rescue Bundler::BundlerError => e
8
+ $stderr.puts e.message
9
+ $stderr.puts "Run `bundle install` to install missing gems"
10
+ exit e.status_code
11
+ end
12
+ require 'rake'
13
+
14
+ require 'jeweler'
15
+ Jeweler::Tasks.new do |gem|
16
+ # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
17
+ gem.name = "boxafe"
18
+ gem.homepage = "http://github.com/AlphaHydrae/boxafe"
19
+ gem.license = "MIT"
20
+ gem.summary = %Q{Secure your Dropbox with encfs.}
21
+ gem.description = %Q{Boxafe encrypts and auto-mounts a folder with encfs and whenever.}
22
+ gem.email = "hydrae.alpha@gmail.com"
23
+ gem.authors = ["AlphaHydrae"]
24
+ # dependencies defined in Gemfile
25
+ end
26
+ Jeweler::RubygemsDotOrgTasks.new
27
+
28
+ Rake::TaskManager.class_eval do
29
+ def remove_task(task_name)
30
+ @tasks.delete(task_name.to_s)
31
+ end
32
+ end
33
+
34
+ [ 'version', 'version:bump:major', 'version:bump:minor', 'version:bump:patch', 'version:write' ].each do |task|
35
+ Rake.application.remove_task task
36
+ end
37
+
38
+ # version tasks
39
+ require 'rake-version'
40
+ RakeVersion::Tasks.new do |v|
41
+ v.copy 'lib/boxafe.rb'
42
+ end
43
+
44
+ require 'rspec/core/rake_task'
45
+ desc "Run specs"
46
+ RSpec::Core::RakeTask.new do |t|
47
+ #t.pattern = "./spec/**/*_spec.rb" # don't need this, it's default.
48
+ # Put spec opts in a file named .rspec in root
49
+ end
50
+
51
+ task :default => :spec
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.0.1
data/bin/boxafe ADDED
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env ruby
2
+ require File.join(File.dirname(__FILE__), '..', 'lib', 'program')
data/lib/boxafe.rb ADDED
@@ -0,0 +1,8 @@
1
+ # encoding: UTF-8
2
+ require 'paint'
3
+
4
+ module Boxafe
5
+ VERSION = '0.0.1'
6
+ end
7
+
8
+ Dir[File.join File.dirname(__FILE__), File.basename(__FILE__, '.*'), '*.rb'].each{ |lib| require lib }
data/lib/program.rb ADDED
@@ -0,0 +1,18 @@
1
+ require File.join File.dirname(__FILE__), 'boxafe'
2
+ require 'commander/import'
3
+
4
+ program :name, 'boxafe'
5
+ program :version, Boxafe::VERSION
6
+ program :description, 'Secure your Dropbox with encfs.'
7
+
8
+ #global_option '-c', '--config PATH', 'Use a custom configuration file (defaults to ~/.boxafe.rb)'
9
+
10
+ command :info do |c|
11
+ c.syntax = 'boxafe info'
12
+ c.description = 'Display the current configuration (default action)'
13
+ c.action do |args,options|
14
+ puts 'Not yet implemented'
15
+ end
16
+ end
17
+
18
+ default_command :info
data/spec/helper.rb ADDED
@@ -0,0 +1,16 @@
1
+ require 'rubygems'
2
+ require 'bundler'
3
+
4
+ begin
5
+ Bundler.setup(:default, :development)
6
+ rescue Bundler::BundlerError => e
7
+ $stderr.puts e.message
8
+ $stderr.puts "Run `bundle install` to install missing gems"
9
+ exit e.status_code
10
+ end
11
+
12
+ require 'simplecov'
13
+ SimpleCov.start
14
+
15
+ require 'rspec'
16
+ require 'boxafe'
@@ -0,0 +1,9 @@
1
+ require 'helper'
2
+
3
+ describe "Version" do
4
+
5
+ it "should be correct" do
6
+ version_file = File.join File.dirname(__FILE__), '..', 'VERSION'
7
+ Boxafe::VERSION.should == File.open(version_file, 'r').read
8
+ end
9
+ end
metadata ADDED
@@ -0,0 +1,216 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: boxafe
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - AlphaHydrae
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-04-11 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: paint
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: 0.8.5
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: 0.8.5
27
+ - !ruby/object:Gem::Dependency
28
+ name: commander
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: 4.1.2
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ~>
39
+ - !ruby/object:Gem::Version
40
+ version: 4.1.2
41
+ - !ruby/object:Gem::Dependency
42
+ name: whenever
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ~>
46
+ - !ruby/object:Gem::Version
47
+ version: 0.8.2
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: 0.8.2
55
+ - !ruby/object:Gem::Dependency
56
+ name: bundler
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - '>='
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rake
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - '>='
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - '>='
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rspec
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - '>='
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - '>='
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: jeweler
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - '>='
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - '>='
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: gemcutter
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - '>='
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - '>='
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: gem-release
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - '>='
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - '>='
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: rake-version
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - '>='
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - '>='
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: simplecov
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - '>='
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - '>='
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
167
+ description: Boxafe encrypts and auto-mounts a folder with encfs and whenever.
168
+ email: hydrae.alpha@gmail.com
169
+ executables:
170
+ - boxafe
171
+ extensions: []
172
+ extra_rdoc_files:
173
+ - LICENSE.txt
174
+ - README.md
175
+ files:
176
+ - .rspec
177
+ - .ruby-gemset
178
+ - .ruby-version
179
+ - .screenrc
180
+ - .travis.yml
181
+ - Gemfile
182
+ - Gemfile.lock
183
+ - LICENSE.txt
184
+ - README.md
185
+ - Rakefile
186
+ - VERSION
187
+ - bin/boxafe
188
+ - lib/boxafe.rb
189
+ - lib/program.rb
190
+ - spec/helper.rb
191
+ - spec/version_spec.rb
192
+ homepage: http://github.com/AlphaHydrae/boxafe
193
+ licenses:
194
+ - MIT
195
+ metadata: {}
196
+ post_install_message:
197
+ rdoc_options: []
198
+ require_paths:
199
+ - lib
200
+ required_ruby_version: !ruby/object:Gem::Requirement
201
+ requirements:
202
+ - - '>='
203
+ - !ruby/object:Gem::Version
204
+ version: '0'
205
+ required_rubygems_version: !ruby/object:Gem::Requirement
206
+ requirements:
207
+ - - '>='
208
+ - !ruby/object:Gem::Version
209
+ version: '0'
210
+ requirements: []
211
+ rubyforge_project:
212
+ rubygems_version: 2.0.3
213
+ signing_key:
214
+ specification_version: 4
215
+ summary: Secure your Dropbox with encfs.
216
+ test_files: []