key_store 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/key_store.rb +0 -4
- data/lib/key_store/version.rb +1 -1
- data/test/key_store_test.rb +0 -10
- 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: bc5f04e9ad5e0f3d07ba251dd794bffbd0933453
|
4
|
+
data.tar.gz: 2ed981ea440ec654a57ccb46e53e1c574a103341
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e888f6cda697b0708d8fe87cbc53400aafb6da528739e7b7aa017e7a652c7b268ac5f4bc48f081abc877d5ce72279fe2954ae57299421e813560adeb92f18ef7
|
7
|
+
data.tar.gz: fe6140b86494d7858a7c6e19a4db98fb1f66f4ff1b23d6f13a0b93c3e2ecd3b58302b3c627f48c2745a9bc97c92937fa4f9b47c7ee2c2e4319620b464ea12024
|
data/lib/key_store.rb
CHANGED
data/lib/key_store/version.rb
CHANGED
data/test/key_store_test.rb
CHANGED
@@ -42,14 +42,4 @@ class KeyStoreTest < MicroTest::Test
|
|
42
42
|
assert KeyStore.delete!(:foobar).nil?
|
43
43
|
end
|
44
44
|
|
45
|
-
test "to_hash" do
|
46
|
-
KeyStore::Key.new(:foobar, roles: [:a, :b], notes: "a note").save!
|
47
|
-
assert KeyStore.to_hash == {
|
48
|
-
"foobar" => {
|
49
|
-
:roles => ["a", "b"],
|
50
|
-
:notes => "a note",
|
51
|
-
:http_header => "Authorization: Token token=\"foobar\""}
|
52
|
-
}
|
53
|
-
end
|
54
|
-
|
55
45
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: key_store
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nathan Hopkins
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-03-
|
11
|
+
date: 2014-03-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|