rails-settings-cached 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -26,13 +26,6 @@ Now just put that migration in the database with:
26
26
  rake db:migrate
27
27
 
28
28
  ## Usage
29
-
30
- You need create a class in `app/models/setting.rb` :
31
-
32
- # app/models/setting.rb
33
- # extension RailsSettings::CachedSettings
34
- class Setting < RailsSettings::CachedSettings
35
- end
36
29
 
37
30
  The syntax is easy. First, lets create some settings to keep track of:
38
31
 
@@ -1,3 +1,2 @@
1
- class <%= class_name %> < RailsSettings::Settings
2
-
3
- end
1
+ class <%= class_name %> < RailsSettings::CachedSettings
2
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-settings-cached
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -16,7 +16,7 @@ date: 2011-01-14 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: rails
19
- requirement: &70106977170520 !ruby/object:Gem::Requirement
19
+ requirement: &70171548902420 !ruby/object:Gem::Requirement
20
20
  none: false
21
21
  requirements:
22
22
  - - ! '>='
@@ -24,7 +24,7 @@ dependencies:
24
24
  version: 3.0.0
25
25
  type: :runtime
26
26
  prerelease: false
27
- version_requirements: *70106977170520
27
+ version_requirements: *70171548902420
28
28
  description:
29
29
  email: huacnlee@gmail.com
30
30
  executables: []