keytar 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
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-on-rails library for making re-usable keys (the kind you use in key/value stores)
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 `"_key"` or simply "key"
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
- Seriously, ___quit it___! Use Keytar instead ^_^
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
- Then drop `include Keytar` in any Ruby model you want and you're good to go
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.0
1
+ 1.2.1
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{keytar}
8
- s.version = "1.2.0"
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-21}
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
@@ -16,7 +16,7 @@ module KeyUtility
16
16
  end
17
17
  end
18
18
 
19
- unless String.respond_to? :pluralize
19
+ unless String.new.respond_to? :pluralize
20
20
  String.class_eval do
21
21
  def pluralize
22
22
  self[(self.length - 1), 1] =~ /s/i ? self : "#{self}s"
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: 31
4
+ hash: 29
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 2
9
- - 0
10
- version: 1.2.0
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-21 00:00:00 -05:00
18
+ date: 2011-07-06 00:00:00 -05:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency