class_cacher 0.0.1 → 0.0.2

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/.travis.yml ADDED
@@ -0,0 +1,4 @@
1
+ language: ruby
2
+ rvm:
3
+ - 1.9.3
4
+ - 2.0.0
data/CHANGELOG.md CHANGED
@@ -1,2 +1,3 @@
1
1
  ## v0.0.1
2
2
  * initial release
3
+ * Change documentation
data/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  # ClassCacher
2
2
 
3
- Generates a unique cache key for Rails classes
3
+ Generates a unique cache key for for Rails classes. Should be used together with dalli gem and memcached.
4
+
5
+ [![Build Status](https://travis-ci.org/casiodk/class_cacher.png?branch=master)](https://travis-ci.org/casiodk/class_cacher)
4
6
 
5
7
  ## Installation
6
8
 
@@ -19,7 +21,7 @@ Or install it yourself as:
19
21
  ## Usage
20
22
  ```ruby
21
23
  class User < ActiveRecord::Base
22
- include ClassCacher
24
+ unique_class_cache
23
25
  end
24
26
  ```
25
27
  then use it like this
@@ -34,7 +36,7 @@ or even better
34
36
  User.cached_unique_class_cache_key
35
37
  ```
36
38
 
37
- Shuold be used together with memcached and the dalli gem (or similar)
39
+ Should be used together with memcached and the dalli gem (or similar)
38
40
 
39
41
  ## Contributing
40
42
 
data/lib/class_cacher.rb CHANGED
@@ -3,5 +3,5 @@ require "class_cacher/model_additions"
3
3
  require "class_cacher/railtie" if defined? Rails
4
4
 
5
5
  module ClassCacher
6
-
6
+
7
7
  end
@@ -1,3 +1,3 @@
1
1
  module ClassCacher
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: class_cacher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -100,6 +100,7 @@ extra_rdoc_files: []
100
100
  files:
101
101
  - .gitignore
102
102
  - .rspec
103
+ - .travis.yml
103
104
  - CHANGELOG.md
104
105
  - Gemfile
105
106
  - LICENSE.txt
@@ -132,7 +133,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
132
133
  version: '0'
133
134
  segments:
134
135
  - 0
135
- hash: 3879508204601036332
136
+ hash: -100881898864768761
136
137
  required_rubygems_version: !ruby/object:Gem::Requirement
137
138
  none: false
138
139
  requirements:
@@ -141,7 +142,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
141
142
  version: '0'
142
143
  segments:
143
144
  - 0
144
- hash: 3879508204601036332
145
+ hash: -100881898864768761
145
146
  requirements: []
146
147
  rubyforge_project:
147
148
  rubygems_version: 1.8.24