rultor 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
data/.travis.yml CHANGED
@@ -5,7 +5,7 @@ branches:
5
5
  - master
6
6
  install:
7
7
  - sudo apt-get update
8
- - travis_retry sudo apt-get install -y --fix-missing libmagic1 libmagic-dev
8
+ - travis_retry sudo apt-get install -y bcrypt
9
9
  - travis_retry bundle install
10
10
  script:
11
11
  - rake
@@ -61,10 +61,8 @@ module Rultor
61
61
  exit -1
62
62
  fi
63
63
  cd #{Shellwords.escape(@dir)}
64
- echo #{Shellwords.escape(@key)} > \"${asc}\"
65
- echo #{Shellwords.escape(@key)} >> \"${asc}\"
66
- cat \"${asc}\" | bcrypt -r -o \"${file}\" > \"${enc}\"
67
- rm \"${asc}\"
64
+ gpg --symmetric --armor --passphrase #{Shellwords.escape(@key)} \
65
+ -o \"${enc}\" \"${file}\"
68
66
  gpg --keyserver hkp://pool.sks-keyservers.net \
69
67
  --verbose --recv-keys 9AF0FA4C
70
68
  gpg --trust-model always \
@@ -33,5 +33,5 @@
33
33
  # Copyright:: Copyright (c) 2014 Yegor Bugayenko
34
34
  # License:: BSD
35
35
  module Rultor
36
- VERSION = '0.2.0'
36
+ VERSION = '0.3.0'
37
37
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rultor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-09-30 00:00:00.000000000 Z
12
+ date: 2014-10-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake