sym 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -0
- data/.travis.yml +14 -5
- data/Gemfile +5 -0
- data/README.md +4 -4
- data/bin/sym.bash-completion +10 -2
- data/lib/sym/app/output/stdout.rb +1 -1
- data/lib/sym/version.rb +1 -1
- data/sym.gemspec +6 -5
- metadata +45 -51
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2effc18a54f6e8f663d2b9a41956e8c635709485
|
4
|
+
data.tar.gz: e972b21e1014c1f83ee3b82f34d9ff84170e80df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e13d61d7dd3c3ee6d980d9736f4a31cd990dfac0cf7f70cff8f120a22ff62a4464a4a9397c66d53f0b242890c1f6e1500ff5628d33759af4363c075f6ef37a22
|
7
|
+
data.tar.gz: d10df4e927af9139cbcd1a329ee7f331e112c2f37952b968f7c56e1240514d99196d1cd4f209cd1bafa033b50d62e45d0b848e48166fb0347563868c06396312
|
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
@@ -1,13 +1,22 @@
|
|
1
1
|
language: ruby
|
2
2
|
env:
|
3
|
-
|
3
|
+
- CODECLIMATE_REPO_TOKEN=be1a1a266b0ffc81fa0bd1e432a229f2a4ab420dcb9e9e15c1e75e2acad573b7
|
4
4
|
rvm:
|
5
|
-
|
6
|
-
|
7
|
-
script:
|
5
|
+
- 2.4.0
|
6
|
+
- 2.3.3
|
7
|
+
script: rake
|
8
8
|
notifications:
|
9
9
|
email:
|
10
10
|
recipients:
|
11
|
-
|
11
|
+
- kigster@gmail.com
|
12
12
|
on_success: change
|
13
13
|
on_failure: always
|
14
|
+
slack:
|
15
|
+
rooms:
|
16
|
+
secure: GcACCHmcmo99lYE5dgt2TmY4YIPMWr75q0Bkm4Lddegq/1eMXgcZDz00j8iHWtnveyJSjEUpZFQ9uyx+P7dvxT7D5gl43arKZEylS4vMRg9QRgZu7/ROrXbJtrUyKulFRUTdFrmOiK9nDKpAzlvLvMKC4kaQnn88Xtu9pYMU8y4n5fCtl29gZM9ZjVbrBBvV/SumnTDLla2oQ7oFgUZdZhQZ1qsevYknxNq4eIcvPDjbon+bovfsIISEVRSNo2C3yjO+mqWKed3jfuCA4taAZ8/aVVFEKURMH10HFms1CiC3lE/gF4YfBXsqKpjnB+bKjBcWox2FQrp96FulMEIfkKQrnuncO96o7MGHX9oNqKSMoycf3+SZFwNa+5Mfq7SBepbHYCoU7/ow31UTyStrc5idG19XzYgI85yjQHdzQN299Xf0O8cGf9q9qAu7rS7JlM3ekR+3rZYO+OxNYTF8rcW1fYIj6GKcbsV8BvuhAVQRFOsk/ibcIb2N7rGVd/ZbU4HAk3RE1ywt+XowinpIHktu2PQUPDNpgRQwM6xqZHO/7s9r7oW0ULmZCMLZ9CMKNjKzrQ9wfh90+v+FiEiUKsaVj4cCwF3PvhVYvxU2AKbCeHtSEb7K6to86+DYNoIKnGH1ryKoyCtyOTZpNMLGFt34Msv7WfEylhG+DpVMvkM=
|
17
|
+
addons:
|
18
|
+
code_climate:
|
19
|
+
repo_token: be1a1a266b0ffc81fa0bd1e432a229f2a4ab420dcb9e9e15c1e75e2acad573b7
|
20
|
+
# regular test configuration
|
21
|
+
after_success:
|
22
|
+
- bundle exec codeclimate-test-reporter
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
|
2
|
+
|
2
3
|
# Sym — Your Encryption Best Friend
|
3
4
|
|
4
5
|
[![Gem Version](https://badge.fury.io/rb/sym.svg)](https://badge.fury.io/rb/sym)
|
@@ -6,10 +7,9 @@
|
|
6
7
|
[![Documentation](http://inch-ci.org/github/kigster/sym.png)](http://inch-ci.org/github/kigster/sym)
|
7
8
|
|
8
9
|
[![Build Status](https://travis-ci.org/kigster/sym.svg?branch=master)](https://travis-ci.org/kigster/sym)
|
9
|
-
[![Code Climate](https://codeclimate.com/github/kigster/
|
10
|
-
[![Test Coverage](https://codeclimate.com/github/kigster/
|
11
|
-
[![Issue Count](https://codeclimate.com/github/kigster/
|
12
|
-
|
10
|
+
[![Code Climate](https://codeclimate.com/github/kigster/sym/badges/gpa.svg)](https://codeclimate.com/github/kigster/sym)
|
11
|
+
[![Test Coverage](https://codeclimate.com/github/kigster/sym/badges/coverage.svg)](https://codeclimate.com/github/kigster/sym/coverage)
|
12
|
+
[![Issue Count](https://codeclimate.com/github/kigster/sym/badges/issue_count.svg)](https://codeclimate.com/github/kigster/sym)
|
13
13
|
|
14
14
|
## Description
|
15
15
|
|
data/bin/sym.bash-completion
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
|
1
2
|
#!/usr/bin/env bash
|
2
3
|
#
|
3
4
|
# Sym command line completion
|
@@ -14,8 +15,15 @@ _sym() {
|
|
14
15
|
|
15
16
|
COMPREPLY=()
|
16
17
|
|
17
|
-
SYM_COMP_OPTIONS
|
18
|
-
[[ $
|
18
|
+
#[[ $COMP_CWORD == 1 ]] && SYM_COMP_OPTIONS="${SYM_COMP_OPTIONS} ${SYM_COMMANDS}"
|
19
|
+
if [[ $prev =~ "-f" || $prev =~ "-o" || $prev =~ "-K" || $prev == "--keyfile" ]] ; then
|
20
|
+
SYM_COMP_OPTIONS="$(find . -type f -depth 1 | sed 's#./##g')"
|
21
|
+
elif [[ "${cur}" == '--' || "${cur}" == --* ]] ; then
|
22
|
+
SYM_COMP_OPTIONS=$(sym --dictionary | sed -E 's/ /\n/g')
|
23
|
+
else
|
24
|
+
SYM_COMP_OPTIONS=$(sym -h | egrep ' \-' | grep -v '^ --' | cut -d ',' -f 1)
|
25
|
+
fi
|
26
|
+
|
19
27
|
COMPREPLY=( $(compgen -W "${SYM_COMP_OPTIONS}" -- ${cur}) )
|
20
28
|
return 0
|
21
29
|
}
|
data/lib/sym/version.rb
CHANGED
data/sym.gemspec
CHANGED
@@ -36,10 +36,11 @@ Thank you for installing Sym!
|
|
36
36
|
spec.add_dependency 'clipboard', '~> 1.1'
|
37
37
|
spec.add_dependency 'coin', '~> 0.1.8'
|
38
38
|
|
39
|
+
spec.add_development_dependency 'codeclimate-test-reporter', '~> 1.0'
|
40
|
+
spec.add_development_dependency 'simplecov'
|
39
41
|
spec.add_development_dependency 'aruba'
|
40
|
-
spec.add_development_dependency '
|
41
|
-
spec.add_development_dependency '
|
42
|
-
spec.add_development_dependency '
|
43
|
-
spec.add_development_dependency '
|
44
|
-
spec.add_development_dependency 'yard', '~> 0.9'
|
42
|
+
spec.add_development_dependency 'bundler', '~> 1'
|
43
|
+
spec.add_development_dependency 'rake'
|
44
|
+
spec.add_development_dependency 'rspec', '~> 3'
|
45
|
+
spec.add_development_dependency 'yard'
|
45
46
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sym
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Konstantin Gredeskoul
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: colored2
|
@@ -95,7 +95,21 @@ dependencies:
|
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: 0.1.8
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
98
|
+
name: codeclimate-test-reporter
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '1.0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '1.0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: simplecov
|
99
113
|
requirement: !ruby/object:Gem::Requirement
|
100
114
|
requirements:
|
101
115
|
- - ">="
|
@@ -109,7 +123,7 @@ dependencies:
|
|
109
123
|
- !ruby/object:Gem::Version
|
110
124
|
version: '0'
|
111
125
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
126
|
+
name: aruba
|
113
127
|
requirement: !ruby/object:Gem::Requirement
|
114
128
|
requirements:
|
115
129
|
- - ">="
|
@@ -128,56 +142,56 @@ dependencies:
|
|
128
142
|
requirements:
|
129
143
|
- - "~>"
|
130
144
|
- !ruby/object:Gem::Version
|
131
|
-
version: '1
|
145
|
+
version: '1'
|
132
146
|
type: :development
|
133
147
|
prerelease: false
|
134
148
|
version_requirements: !ruby/object:Gem::Requirement
|
135
149
|
requirements:
|
136
150
|
- - "~>"
|
137
151
|
- !ruby/object:Gem::Version
|
138
|
-
version: '1
|
152
|
+
version: '1'
|
139
153
|
- !ruby/object:Gem::Dependency
|
140
154
|
name: rake
|
141
155
|
requirement: !ruby/object:Gem::Requirement
|
142
156
|
requirements:
|
143
|
-
- - "
|
157
|
+
- - ">="
|
144
158
|
- !ruby/object:Gem::Version
|
145
|
-
version: '
|
159
|
+
version: '0'
|
146
160
|
type: :development
|
147
161
|
prerelease: false
|
148
162
|
version_requirements: !ruby/object:Gem::Requirement
|
149
163
|
requirements:
|
150
|
-
- - "
|
164
|
+
- - ">="
|
151
165
|
- !ruby/object:Gem::Version
|
152
|
-
version: '
|
166
|
+
version: '0'
|
153
167
|
- !ruby/object:Gem::Dependency
|
154
168
|
name: rspec
|
155
169
|
requirement: !ruby/object:Gem::Requirement
|
156
170
|
requirements:
|
157
171
|
- - "~>"
|
158
172
|
- !ruby/object:Gem::Version
|
159
|
-
version: '3
|
173
|
+
version: '3'
|
160
174
|
type: :development
|
161
175
|
prerelease: false
|
162
176
|
version_requirements: !ruby/object:Gem::Requirement
|
163
177
|
requirements:
|
164
178
|
- - "~>"
|
165
179
|
- !ruby/object:Gem::Version
|
166
|
-
version: '3
|
180
|
+
version: '3'
|
167
181
|
- !ruby/object:Gem::Dependency
|
168
182
|
name: yard
|
169
183
|
requirement: !ruby/object:Gem::Requirement
|
170
184
|
requirements:
|
171
|
-
- - "
|
185
|
+
- - ">="
|
172
186
|
- !ruby/object:Gem::Version
|
173
|
-
version: '0
|
187
|
+
version: '0'
|
174
188
|
type: :development
|
175
189
|
prerelease: false
|
176
190
|
version_requirements: !ruby/object:Gem::Requirement
|
177
191
|
requirements:
|
178
|
-
- - "
|
192
|
+
- - ">="
|
179
193
|
- !ruby/object:Gem::Version
|
180
|
-
version: '0
|
194
|
+
version: '0'
|
181
195
|
description: Store sensitive data safely as encrypted strings or entire files, using
|
182
196
|
symmetric aes-256-cbc encryption/decryption with a secret key and an IV vector,
|
183
197
|
and YAML-friendly base64-encoded encrypted result.
|
@@ -254,40 +268,20 @@ files:
|
|
254
268
|
homepage: https://github.com/kigster/sym
|
255
269
|
licenses: []
|
256
270
|
metadata: {}
|
257
|
-
post_install_message:
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
_sym() {
|
272
|
-
local SYM_OPTS SYM_POINTS cur prev
|
273
|
-
|
274
|
-
cur="${COMP_WORDS[COMP_CWORD]}"
|
275
|
-
prev="${COMP_WORDS[COMP_CWORD-1]}"
|
276
|
-
|
277
|
-
COMPREPLY=()
|
278
|
-
|
279
|
-
SYM_COMP_OPTIONS=$(sym --dictionary)
|
280
|
-
[[ $COMP_CWORD == 1 ]] && SYM_COMP_OPTIONS="${SYM_COMP_OPTIONS} ${SYM_COMMANDS}"
|
281
|
-
COMPREPLY=( $(compgen -W "${SYM_COMP_OPTIONS}" -- ${cur}) )
|
282
|
-
return 0
|
283
|
-
}
|
284
|
-
|
285
|
-
complete -F _sym sym
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
Thank you for installing Sym!
|
290
|
-
-- KG (github.com/kigster)
|
271
|
+
post_install_message: "\n\nPlease copy and paste the following BASH function into
|
272
|
+
your ~/.bashrc or\nequivalent, in order to enable command completion:\n\n\n#!/usr/bin/env
|
273
|
+
bash\n#\n# Sym command line completion\n#\n# © 2015-2016, Konstantin Gredeskoul,
|
274
|
+
\ https://github.com/kigster/sym\n# MIT LICENSE\n#\n\n_sym() {\n local SYM_OPTS
|
275
|
+
SYM_POINTS cur prev\n\n cur=\"${COMP_WORDS[COMP_CWORD]}\"\n prev=\"${COMP_WORDS[COMP_CWORD-1]}\"\n\n
|
276
|
+
\ COMPREPLY=()\n\n #[[ $COMP_CWORD == 1 ]] && SYM_COMP_OPTIONS=\"${SYM_COMP_OPTIONS}
|
277
|
+
${SYM_COMMANDS}\"\n if [[ $prev =~ \"-f\" || $prev =~ \"-o\" || $prev =~ \"-K\"
|
278
|
+
|| $prev == \"--keyfile\" ]] ; then \n SYM_COMP_OPTIONS=\"$(find . -type f
|
279
|
+
-depth 1 | sed 's#./##g')\"\n elif [[ \"${cur}\" == '--' || \"${cur}\" == --*
|
280
|
+
]] ; then \n SYM_COMP_OPTIONS=$(sym --dictionary | sed -E 's/ /\\n/g')\n else
|
281
|
+
\n SYM_COMP_OPTIONS=$(sym -h | egrep ' \\-' | grep -v '^ --' | cut -d ','
|
282
|
+
-f 1)\n fi\n\n COMPREPLY=( $(compgen -W \"${SYM_COMP_OPTIONS}\" -- ${cur})
|
283
|
+
)\n return 0\n}\n\ncomplete -F _sym sym\n\n\n\nThank you for installing Sym!\n
|
284
|
+
\ -- KG (github.com/kigster)\n"
|
291
285
|
rdoc_options: []
|
292
286
|
require_paths:
|
293
287
|
- lib
|
@@ -303,7 +297,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
303
297
|
version: '0'
|
304
298
|
requirements: []
|
305
299
|
rubyforge_project:
|
306
|
-
rubygems_version: 2.5.
|
300
|
+
rubygems_version: 2.5.2
|
307
301
|
signing_key:
|
308
302
|
specification_version: 4
|
309
303
|
summary: Simple tool to encrypt/decrypt data using symmetric aes-256-cbc encryption
|