trustworthy 0.4.0 → 0.4.1

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: 6163419b9bd1c5182869f67d2aae6729a17902c7
4
- data.tar.gz: 36cf221396e73c5c21a120d16960aa3c0c51330c
3
+ metadata.gz: 08cc3a4ad29b0f6caea442ccf809cdce29a71b04
4
+ data.tar.gz: bf86ad500db5e2ea4ea2ae1b031d822ee2fa698e
5
5
  SHA512:
6
- metadata.gz: f358807df4c238f84f30efa2f61cf8a1940cef345ce6e506965aac2cf3b922050101f7e33a77d84bdbf78af717a92b9e822e6ce8ec62524bdb13cc44bd276f3e
7
- data.tar.gz: bd8fe45b4dc039201e1155462f609837e633e5ac0326764a19ad5f22988c8d8302ec264ddb586f210b23cbf442a3a52a16bd7f651006b1bb4159cba7d229470d
6
+ metadata.gz: d781ec9d120ad5b3c08d3b213dcaacfe8816a084ecd5e9e495bfb078646f6a49351757fcefbe0bbfb761c3d2e7358b59ea05d79c0c227bb3a9432b2ca2a84b05
7
+ data.tar.gz: ad1a7a96f6552454c40ef6a8b4f4b1c0c4b8127bd7912320e0d354e0a0d9484e0835ffc4360a7ce56ae0b4bbee5e6ce99056d49f75053334b3aec14d5543b2f6
data/README.md CHANGED
@@ -44,6 +44,7 @@ The configuration uses ruby's `YAML::Store` to provide a simple transactional da
44
44
 
45
45
  ## Reference
46
46
 
47
+ * Introducing Trustworthy - [http://jtdowney.com/blog/2013/08/01/introducing-trustworthy/](http://jtdowney.com/blog/2013/08/01/introducing-trustworthy/)
47
48
  * RSA Labs - [http://www.rsa.com/rsalabs/node.asp?id=2259](http://www.rsa.com/rsalabs/node.asp?id=2259)
48
49
  * ssss - [http://point-at-infinity.org/ssss/](http://point-at-infinity.org/ssss/)
49
50
  * Secret sharing on Wikipedia - [http://en.wikipedia.org/wiki/Secret_sharing](http://en.wikipedia.org/wiki/Secret_sharing)
@@ -9,8 +9,6 @@ require 'trustworthy/cli/decrypt'
9
9
  require 'trustworthy/cli/encrypt'
10
10
  require 'trustworthy/prompt'
11
11
 
12
- HighLine.color_scheme = HighLine::SampleColorScheme.new
13
-
14
12
  module Trustworthy
15
13
  class CLI
16
14
  include Trustworthy::CLI::Command
@@ -1,3 +1,5 @@
1
+ HighLine.color_scheme = HighLine::SampleColorScheme.new
2
+
1
3
  module Trustworthy
2
4
  class Prompt
3
5
  def initialize(config_file, terminal = HighLine.new)
@@ -1,3 +1,3 @@
1
1
  module Trustworthy
2
- VERSION = '0.4.0'
2
+ VERSION = '0.4.1'
3
3
  end
data/spec/spec_helper.rb CHANGED
@@ -3,12 +3,17 @@ require 'trustworthy/cli'
3
3
  require 'construct'
4
4
  require 'highline/simulate'
5
5
 
6
+ module Trustworthy
7
+ module Random
8
+ def self._source
9
+ '/dev/urandom'
10
+ end
11
+ end
12
+ end
13
+
6
14
  RSpec.configure do |config|
7
15
  config.order = 'random'
8
16
  config.include Construct::Helpers
9
- config.before(:each) do
10
- Trustworthy::Random.stub(:_source).and_return('/dev/urandom')
11
- end
12
17
  end
13
18
 
14
19
  module TestValues
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trustworthy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Downey
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-08-02 00:00:00.000000000 Z
11
+ date: 2013-10-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aead