sym 2.0.1 → 2.0.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. checksums.yaml +4 -4
  2. data/lib/sym/version.rb +1 -1
  3. data/sym.gemspec +12 -5
  4. metadata +20 -21
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2effc18a54f6e8f663d2b9a41956e8c635709485
4
- data.tar.gz: e972b21e1014c1f83ee3b82f34d9ff84170e80df
3
+ metadata.gz: 54b712e7e8491557d2ca064b7864b6bf8b53b908
4
+ data.tar.gz: 3c867fd002b7597eae078e995b47b47331c6d3d0
5
5
  SHA512:
6
- metadata.gz: e13d61d7dd3c3ee6d980d9736f4a31cd990dfac0cf7f70cff8f120a22ff62a4464a4a9397c66d53f0b242890c1f6e1500ff5628d33759af4363c075f6ef37a22
7
- data.tar.gz: d10df4e927af9139cbcd1a329ee7f331e112c2f37952b968f7c56e1240514d99196d1cd4f209cd1bafa033b50d62e45d0b848e48166fb0347563868c06396312
6
+ metadata.gz: 185731d39d78c99cd75899cd1769ee333c1757e0e7df195c1909f3bb3bdb022276fa24d309548cba08bf3f5a5400f2a8e10fe2e2b69118ed0b8b4fbae3954d28
7
+ data.tar.gz: 56360fe600e09f6d8e6fecb55fd92a69d162b4af507eb0074c7606fe303093c8e3cd61f4d9dcd883ca772197e6930e4352b134de1e6ce82e4958e636e4090a8a
data/lib/sym/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Sym
2
- VERSION = '2.0.1'
2
+ VERSION = '2.0.2'
3
3
  end
data/sym.gemspec CHANGED
@@ -2,15 +2,24 @@
2
2
  lib = File.expand_path('../lib', __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
  require 'sym/version'
5
- BASH_COMPLETION = File.read("#{lib}/../bin/sym.bash-completion")
6
5
  Gem::Specification.new do |spec|
7
6
  spec.name = 'sym'
8
7
  spec.version = Sym::VERSION
9
8
  spec.authors = ['Konstantin Gredeskoul']
10
9
  spec.email = %w(kigster@gmail.com)
11
10
 
12
- spec.summary = %q{Simple tool to encrypt/decrypt data using symmetric aes-256-cbc encryption with a private key and an IV vector}
13
- spec.description = %q{Store sensitive data safely as encrypted strings or entire files, using symmetric aes-256-cbc encryption/decryption with a secret key and an IV vector, and YAML-friendly base64-encoded encrypted result.}
11
+ spec.summary = %q{Easy to use symmetric encryption library & CLI with a strong aes-256-cbc cipher used by the US Government.}
12
+
13
+ spec.description = <<-EOF
14
+ Sym is a versatile command line utility and a library, that streamlines access to a
15
+ symmetric encryption offered by OpenSSL library. Use its rich CLI interface, or the Ruby
16
+ API to generate a key used for both encryption and decryption. You can
17
+ additionally password protect the key, and optionally store the key in the named
18
+ OS-X keychain. Use the key to reliably encrypt, decrypt and re-encrypt your application
19
+ secrets. Use the -t CLI switch to open an encrypted file in an editor of your choice.
20
+ Sym uses a symmetric aes-256-cbc cipher with a private key and an IV vector.
21
+ EOF
22
+
14
23
  spec.homepage = 'https://github.com/kigster/sym'
15
24
 
16
25
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
@@ -23,8 +32,6 @@ Gem::Specification.new do |spec|
23
32
  Please copy and paste the following BASH function into your ~/.bashrc or
24
33
  equivalent, in order to enable command completion:
25
34
 
26
- #{BASH_COMPLETION}
27
-
28
35
  Thank you for installing Sym!
29
36
  -- KG (github.com/kigster)
30
37
  "
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.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Konstantin Gredeskoul
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-01-20 00:00:00.000000000 Z
11
+ date: 2017-01-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colored2
@@ -192,9 +192,14 @@ dependencies:
192
192
  - - ">="
193
193
  - !ruby/object:Gem::Version
194
194
  version: '0'
195
- description: Store sensitive data safely as encrypted strings or entire files, using
196
- symmetric aes-256-cbc encryption/decryption with a secret key and an IV vector,
197
- and YAML-friendly base64-encoded encrypted result.
195
+ description: " Sym is a versatile command line utility and a library, that streamlines
196
+ access to a \n symmetric encryption offered by OpenSSL library. Use its rich
197
+ CLI interface, or the Ruby \n API to generate a key used for both encryption
198
+ and decryption. You can \n additionally password protect the key, and optionally
199
+ store the key in the named \n OS-X keychain. Use the key to reliably encrypt,
200
+ decrypt and re-encrypt your application \n secrets. Use the -t CLI switch to
201
+ open an encrypted file in an editor of your choice. \n Sym uses a symmetric aes-256-cbc
202
+ cipher with a private key and an IV vector.\n"
198
203
  email:
199
204
  - kigster@gmail.com
200
205
  executables:
@@ -268,20 +273,14 @@ files:
268
273
  homepage: https://github.com/kigster/sym
269
274
  licenses: []
270
275
  metadata: {}
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"
276
+ post_install_message: |2
277
+
278
+
279
+ Please copy and paste the following BASH function into your ~/.bashrc or
280
+ equivalent, in order to enable command completion:
281
+
282
+ Thank you for installing Sym!
283
+ -- KG (github.com/kigster)
285
284
  rdoc_options: []
286
285
  require_paths:
287
286
  - lib
@@ -300,6 +299,6 @@ rubyforge_project:
300
299
  rubygems_version: 2.5.2
301
300
  signing_key:
302
301
  specification_version: 4
303
- summary: Simple tool to encrypt/decrypt data using symmetric aes-256-cbc encryption
304
- with a private key and an IV vector
302
+ summary: Easy to use symmetric encryption library & CLI with a strong aes-256-cbc
303
+ cipher used by the US Government.
305
304
  test_files: []