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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: db704ac8d5884864a89de4f643ba092008f0a769
4
- data.tar.gz: 5163382ff06f1df66af5c57347de20a9c943bb50
3
+ metadata.gz: bc5f04e9ad5e0f3d07ba251dd794bffbd0933453
4
+ data.tar.gz: 2ed981ea440ec654a57ccb46e53e1c574a103341
5
5
  SHA512:
6
- metadata.gz: db300a825f6dc87fda1847d8f5a9719b108399f82ce020030c208c10f1176fd40e85e3b9f28ee36cd5a62a41e673603d2a9852b7060ef3a0cc2b64eacf3e3e78
7
- data.tar.gz: 70a64aaf1267183cea626b41167210c22475c0e13d5c992854d6e4268799754bd7ac53557d7e9ede549afa582b30df71b11f1b86ff0428ff47d9a6cae6025eaa
6
+ metadata.gz: e888f6cda697b0708d8fe87cbc53400aafb6da528739e7b7aa017e7a652c7b268ac5f4bc48f081abc877d5ce72279fe2954ae57299421e813560adeb92f18ef7
7
+ data.tar.gz: fe6140b86494d7858a7c6e19a4db98fb1f66f4ff1b23d6f13a0b93c3e2ecd3b58302b3c627f48c2745a9bc97c92937fa4f9b47c7ee2c2e4319620b464ea12024
@@ -40,10 +40,6 @@ module KeyStore
40
40
  store.transaction { |f| f.delete(name.to_s) }
41
41
  end
42
42
 
43
- def to_hash
44
- YAML.load(File.read(file_path))
45
- end
46
-
47
43
  private
48
44
 
49
45
  attr_accessor :mtime
@@ -1,3 +1,3 @@
1
1
  module KeyStore
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -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.0
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-12 00:00:00.000000000 Z
11
+ date: 2014-03-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler