trustworthy 0.4.0 → 0.4.1
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.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/lib/trustworthy/cli.rb +0 -2
- data/lib/trustworthy/prompt.rb +2 -0
- data/lib/trustworthy/version.rb +1 -1
- data/spec/spec_helper.rb +8 -3
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 08cc3a4ad29b0f6caea442ccf809cdce29a71b04
|
|
4
|
+
data.tar.gz: bf86ad500db5e2ea4ea2ae1b031d822ee2fa698e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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)
|
data/lib/trustworthy/cli.rb
CHANGED
data/lib/trustworthy/prompt.rb
CHANGED
data/lib/trustworthy/version.rb
CHANGED
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.
|
|
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-
|
|
11
|
+
date: 2013-10-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aead
|