keytar 1.2.0 → 1.2.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.
- data/README.md +5 -8
- data/VERSION +1 -1
- data/keytar.gemspec +2 -2
- data/lib/keytar/key_utility.rb +1 -1
- metadata +4 -4
data/README.md
CHANGED
@@ -2,13 +2,11 @@ Keytar
|
|
2
2
|
======
|
3
3
|
|
4
4
|
**1.** A keyboard that is designed to be played standing up, like a guitar.
|
5
|
-
**2.** A crazy simple ruby
|
6
|
-
It is an amazingly easy way generate keys for all of your NOSQL key needs. Are you using Redis, Memcache, MongoDB, Cassandra, or another hot key-value store? Then use **keytar**! It generates keys based on class name instead of cluttering model definitions with tons of redundant key method declarations.
|
5
|
+
**2.** A crazy simple, flexible ruby library for generating NOSQL keys. Use it with redis, memcache, cassandra, or any other key-value store.
|
7
6
|
|
8
|
-
|
9
|
-
It Builds Keys:
|
7
|
+
It Builds Keys
|
10
8
|
--------
|
11
|
-
keytar auto-magically generates keys using method names ending in
|
9
|
+
keytar auto-magically generates keys using method names ending in `*_key` or simply `key`
|
12
10
|
|
13
11
|
User.key #=> "user"
|
14
12
|
User.friends_key #=> "user:friends"
|
@@ -29,7 +27,7 @@ ___quit___ littering your code with junk like this:
|
|
29
27
|
end
|
30
28
|
end
|
31
29
|
|
32
|
-
|
30
|
+
Use Keytar instead ^_^
|
33
31
|
|
34
32
|
|
35
33
|
Installation
|
@@ -42,8 +40,7 @@ then run
|
|
42
40
|
|
43
41
|
bundle install
|
44
42
|
|
45
|
-
|
46
|
-
|
43
|
+
drop `include Keytar` in any __Ruby__ model you want and you're good to go
|
47
44
|
|
48
45
|
|
49
46
|
It's that simple
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.2.
|
1
|
+
1.2.1
|
data/keytar.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{keytar}
|
8
|
-
s.version = "1.2.
|
8
|
+
s.version = "1.2.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Schneems"]
|
12
|
-
s.date = %q{2011-06
|
12
|
+
s.date = %q{2011-07-06}
|
13
13
|
s.description = %q{
|
14
14
|
Keytar is a Ruby on Rails wrapper for KeyBuilder.
|
15
15
|
Use KeyBuilder to automatically generate keys based on class name instead of cluttering model
|
data/lib/keytar/key_utility.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: keytar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 29
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 1.2.
|
9
|
+
- 1
|
10
|
+
version: 1.2.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Schneems
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-06
|
18
|
+
date: 2011-07-06 00:00:00 -05:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|