lock-smith 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,7 +7,7 @@ module Locksmith
7
7
  end
8
8
 
9
9
  def env!(key)
10
- env(key) || raise("missing #{key}")
10
+ env(key) || raise("Locksmith is missing #{key}")
11
11
  end
12
12
 
13
13
  def env?(key)
@@ -1,4 +1,5 @@
1
1
  require 'thread'
2
+ require 'locksmith/config'
2
3
  require 'locksmith/log'
3
4
 
4
5
  module Locksmith
data/readme.md CHANGED
@@ -17,6 +17,13 @@ There is only 1 public method:
17
17
  lock(name, &blk)
18
18
  ```
19
19
 
20
+ Install using the gem. The gem does not depend on the data store drivers, you will need to install those for yourself.
21
+
22
+ ```
23
+ $ gem install pg
24
+ $ gem install lock-smith
25
+ ```
26
+
20
27
  ### DynamoDB
21
28
 
22
29
  Create a DynamoDB table named **Locks** with a hash key **Name**.
@@ -55,6 +62,11 @@ a year then never think about it again.
55
62
 
56
63
  There are still some Data Stores to implement, follow the pattern for PostgreSQLand DynamoDB and submit a pull request.
57
64
 
65
+ ## Contributors
66
+
67
+ * Ryan Smith
68
+ * Blake Gentry
69
+
58
70
  ## License
59
71
 
60
72
  Copyright (C) 2012 Ryan Smith
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lock-smith
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: