boxafe 0.1.6 → 0.1.7

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: 0ec42509d2649ac10f34b88c74cbcc89f0b3a490
4
- data.tar.gz: 300e6ec0476dd393b182496f670f14adce0ef1ef
3
+ metadata.gz: bd82070b49d3bd4c1138e4af09b91c3934090344
4
+ data.tar.gz: 28b5fb286d063862a195df0dbd9605ffde6618cd
5
5
  SHA512:
6
- metadata.gz: a964d47710fefebe84c427815fe41f64626f25b286ea9598b6594fbdfa8cffa667d81747758fad249c75e8742ff5f2d4725d5e42d4cdcc4d057d92b9ffc2cbe6
7
- data.tar.gz: acbe692fcf9263e0979b6c0f3040c735ab9058eb08cbc151a2db530522bb30b9792cb9243add6014eb7d46469f150158cccc52be1bb8403f7df3f433e3cdc19e
6
+ metadata.gz: da081fd8b2d1462248ac93dfabe5fc32dbd93bd8b2c1e6b6be2fd88c6ea4e7ba4558ee2417b4051cbc429ef1476439c03d95385f7a63dbea1fde2fde632b4afc
7
+ data.tar.gz: 3db3ef34e3057b7198bbbbdabaa4db24b8d8e907173b9b87742a0e1e0eebc0f753f485e6db34029ea10a7116c0fa12d184e98db13278476020f0f31d41d4efd9
data/Gemfile CHANGED
@@ -3,10 +3,10 @@ source "http://rubygems.org"
3
3
  # Example:
4
4
  # gem "activesupport", ">= 2.3.5"
5
5
 
6
- gem 'paint', '~> 0.8.5'
7
- gem 'commander', '~> 4.2.1'
8
- gem 'which_works', '~> 1.0.0'
9
- gem 'dotenv', '~> 1.0.2'
6
+ gem 'paint', '~> 1.0'
7
+ gem 'commander', '~> 4.2'
8
+ gem 'which_works', '~> 1.0'
9
+ gem 'dotenv', '~> 2.1'
10
10
  gem 'mutaconf', '~> 0.2.0'
11
11
  gem 'notifies', '~> 0.1.0'
12
12
  gem 'multi_scheduler', '~> 0.1.2'
@@ -14,14 +14,11 @@ gem 'multi_scheduler', '~> 0.1.2'
14
14
  # Add dependencies to develop your gem here.
15
15
  # Include everything needed to run rake, tests, features, etc.
16
16
  group :development do
17
- gem 'bundler'
18
- gem 'rake'
19
- gem 'rspec'
20
- gem 'jeweler'
21
- gem 'gemcutter'
22
- gem 'gem-release'
23
- gem 'rake-version'
24
- gem 'simplecov'
25
- gem 'fakefs', require: 'fakefs/safe'
26
- gem 'coveralls', require: false
17
+ gem 'rake', '~> 11.3'
18
+ gem 'rspec', '~> 3.1'
19
+ gem 'jeweler', '~> 2.0'
20
+ gem 'rake-version', '~> 1.0'
21
+ gem 'simplecov', '~> 0.12.0'
22
+ gem 'fakefs', '~> 0.10.0', require: 'fakefs/safe'
23
+ gem 'coveralls', '~> 0.8.16', require: false
27
24
  end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.6
1
+ 0.1.7
data/lib/boxafe/box.rb CHANGED
@@ -58,7 +58,7 @@ module Boxafe
58
58
  def encfs
59
59
  Boxafe::Encfs.new mount_options
60
60
  end
61
-
61
+
62
62
  def default_mount_options
63
63
  name = @options[:name]
64
64
  {
data/lib/boxafe/cli.rb CHANGED
@@ -50,7 +50,7 @@ class Boxafe::CLI
50
50
 
51
51
  begin
52
52
  box.mount
53
- rescue OptionError => e
53
+ rescue Boxafe::OptionError => e
54
54
  msg = ":#{e.option} option error - #{e.message}"
55
55
  notify :error, "#{box.name} #{msg}", config.options
56
56
  puts Paint[msg, :red]
data/lib/boxafe.rb CHANGED
@@ -4,12 +4,12 @@ require 'dotenv'
4
4
  require 'mutaconf'
5
5
 
6
6
  module Boxafe
7
- VERSION = '0.1.6'
7
+ VERSION = '0.1.7'
8
8
 
9
9
  # TODO: add detailed error description for non-trace mode
10
10
  class Error < StandardError
11
11
  attr_reader :code
12
-
12
+
13
13
  def initialize msg, code = 1
14
14
  super msg
15
15
  @code = code
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: boxafe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - AlphaHydrae
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-10 00:00:00.000000000 Z
11
+ date: 2016-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: paint
@@ -16,56 +16,56 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.8.5
19
+ version: '1.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 0.8.5
26
+ version: '1.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: commander
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 4.2.1
33
+ version: '4.2'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 4.2.1
40
+ version: '4.2'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: which_works
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 1.0.0
47
+ version: '1.0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 1.0.0
54
+ version: '1.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: dotenv
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 1.0.2
61
+ version: '2.1'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 1.0.2
68
+ version: '2.1'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: mutaconf
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -108,146 +108,104 @@ dependencies:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
110
  version: 0.1.2
111
- - !ruby/object:Gem::Dependency
112
- name: bundler
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
111
  - !ruby/object:Gem::Dependency
126
112
  name: rake
127
113
  requirement: !ruby/object:Gem::Requirement
128
114
  requirements:
129
- - - ">="
115
+ - - "~>"
130
116
  - !ruby/object:Gem::Version
131
- version: '0'
117
+ version: '11.3'
132
118
  type: :development
133
119
  prerelease: false
134
120
  version_requirements: !ruby/object:Gem::Requirement
135
121
  requirements:
136
- - - ">="
122
+ - - "~>"
137
123
  - !ruby/object:Gem::Version
138
- version: '0'
124
+ version: '11.3'
139
125
  - !ruby/object:Gem::Dependency
140
126
  name: rspec
141
127
  requirement: !ruby/object:Gem::Requirement
142
128
  requirements:
143
- - - ">="
129
+ - - "~>"
144
130
  - !ruby/object:Gem::Version
145
- version: '0'
131
+ version: '3.1'
146
132
  type: :development
147
133
  prerelease: false
148
134
  version_requirements: !ruby/object:Gem::Requirement
149
135
  requirements:
150
- - - ">="
136
+ - - "~>"
151
137
  - !ruby/object:Gem::Version
152
- version: '0'
138
+ version: '3.1'
153
139
  - !ruby/object:Gem::Dependency
154
140
  name: jeweler
155
141
  requirement: !ruby/object:Gem::Requirement
156
142
  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
- - !ruby/object:Gem::Dependency
168
- name: gemcutter
169
- requirement: !ruby/object:Gem::Requirement
170
- requirements:
171
- - - ">="
172
- - !ruby/object:Gem::Version
173
- version: '0'
174
- type: :development
175
- prerelease: false
176
- version_requirements: !ruby/object:Gem::Requirement
177
- requirements:
178
- - - ">="
179
- - !ruby/object:Gem::Version
180
- version: '0'
181
- - !ruby/object:Gem::Dependency
182
- name: gem-release
183
- requirement: !ruby/object:Gem::Requirement
184
- requirements:
185
- - - ">="
143
+ - - "~>"
186
144
  - !ruby/object:Gem::Version
187
- version: '0'
145
+ version: '2.0'
188
146
  type: :development
189
147
  prerelease: false
190
148
  version_requirements: !ruby/object:Gem::Requirement
191
149
  requirements:
192
- - - ">="
150
+ - - "~>"
193
151
  - !ruby/object:Gem::Version
194
- version: '0'
152
+ version: '2.0'
195
153
  - !ruby/object:Gem::Dependency
196
154
  name: rake-version
197
155
  requirement: !ruby/object:Gem::Requirement
198
156
  requirements:
199
- - - ">="
157
+ - - "~>"
200
158
  - !ruby/object:Gem::Version
201
- version: '0'
159
+ version: '1.0'
202
160
  type: :development
203
161
  prerelease: false
204
162
  version_requirements: !ruby/object:Gem::Requirement
205
163
  requirements:
206
- - - ">="
164
+ - - "~>"
207
165
  - !ruby/object:Gem::Version
208
- version: '0'
166
+ version: '1.0'
209
167
  - !ruby/object:Gem::Dependency
210
168
  name: simplecov
211
169
  requirement: !ruby/object:Gem::Requirement
212
170
  requirements:
213
- - - ">="
171
+ - - "~>"
214
172
  - !ruby/object:Gem::Version
215
- version: '0'
173
+ version: 0.12.0
216
174
  type: :development
217
175
  prerelease: false
218
176
  version_requirements: !ruby/object:Gem::Requirement
219
177
  requirements:
220
- - - ">="
178
+ - - "~>"
221
179
  - !ruby/object:Gem::Version
222
- version: '0'
180
+ version: 0.12.0
223
181
  - !ruby/object:Gem::Dependency
224
182
  name: fakefs
225
183
  requirement: !ruby/object:Gem::Requirement
226
184
  requirements:
227
- - - ">="
185
+ - - "~>"
228
186
  - !ruby/object:Gem::Version
229
- version: '0'
187
+ version: 0.10.0
230
188
  type: :development
231
189
  prerelease: false
232
190
  version_requirements: !ruby/object:Gem::Requirement
233
191
  requirements:
234
- - - ">="
192
+ - - "~>"
235
193
  - !ruby/object:Gem::Version
236
- version: '0'
194
+ version: 0.10.0
237
195
  - !ruby/object:Gem::Dependency
238
196
  name: coveralls
239
197
  requirement: !ruby/object:Gem::Requirement
240
198
  requirements:
241
- - - ">="
199
+ - - "~>"
242
200
  - !ruby/object:Gem::Version
243
- version: '0'
201
+ version: 0.8.16
244
202
  type: :development
245
203
  prerelease: false
246
204
  version_requirements: !ruby/object:Gem::Requirement
247
205
  requirements:
248
- - - ">="
206
+ - - "~>"
249
207
  - !ruby/object:Gem::Version
250
- version: '0'
208
+ version: 0.8.16
251
209
  description: Boxafe encrypts and auto-mounts a folder with encfs and whenever.
252
210
  email: hydrae.alpha@gmail.com
253
211
  executables:
@@ -289,7 +247,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
289
247
  version: '0'
290
248
  requirements: []
291
249
  rubyforge_project:
292
- rubygems_version: 2.4.2
250
+ rubygems_version: 2.5.1
293
251
  signing_key:
294
252
  specification_version: 4
295
253
  summary: Secure your Dropbox with encfs.