lock-smith 0.0.2 → 0.0.3
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.
- data/lib/locksmith/config.rb +1 -1
- data/lib/locksmith/dynamodb.rb +1 -0
- data/readme.md +12 -0
- metadata +1 -1
data/lib/locksmith/config.rb
CHANGED
data/lib/locksmith/dynamodb.rb
CHANGED
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
|