rails-settings-cached 0.5.5 → 0.5.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: caebc0d7ac88a78fec43016475b3ed2e9e22a730
4
- data.tar.gz: 05861d98bbece04178fec89687f2310a42a31194
3
+ metadata.gz: b57a0a5ecf132300eb30437cecef1d72ac4a6850
4
+ data.tar.gz: 0819f21de6cb043141b20ff39ddd4c212aabd758
5
5
  SHA512:
6
- metadata.gz: 3c814d540d0f548744d4c10ced5de27142b56f4d50519ab33e7b9b8435d11970ee1cf6fce0f747df8ac33e9ecd64a115e105267e569055ae430d66e6608c1b72
7
- data.tar.gz: f2f7b6c1ce43c34f6917a5ad9396d40735093fd06778d891c74c0cf6f4062ebcc3ee4aa5f833dc42926b2c11eccbd3e2ae9fe533daf42d470e305abea14e7b9e
6
+ metadata.gz: b26625a6a49cc7413f18201e454374a6de07523705efd6eedd7d889aa464f2f07a057a541a277eba1fcfc1ad6cc791c4221ce6e84b35c2004cb37d86fdb661ad
7
+ data.tar.gz: d2c7146010da954ef4b8010b5a3fe7bd92a9c6c100c389a8db3c834fd90429c64a648387f6d5885c414f13b407f4cde974b382d13c6a089cc5dc0373780ef7d2
data/README.md CHANGED
@@ -16,15 +16,17 @@ of object. Strings, numbers, arrays, or any object.
16
16
  Edit your Gemfile:
17
17
 
18
18
  ```ruby
19
- # Rails 5.0.x
20
- gem 'rails-settings-cached', '~> 0.6.0'
21
- # Rails 4.2.x
22
- gem 'rails-settings-cached', "~> 0.5.4"
23
- # Rails 4.1.x
19
+ gem 'rails-settings-cached', "~> 0.5.6"
20
+ ```
21
+
22
+ Older Rails versions:
23
+
24
+ ```rb
25
+ # 4.1.x
24
26
  gem "rails-settings-cached", "~> 0.4.0"
25
- # Rails 4+
27
+ # 4.0.x
26
28
  gem "rails-settings-cached", "0.3.1"
27
- # Rails 3.x
29
+ # 3.x
28
30
  gem "rails-settings-cached", "0.2.4"
29
31
  ```
30
32
 
@@ -1,5 +1,5 @@
1
1
  module RailsSettings
2
- class CachedSettings < Settings
2
+ class CachedSettings < Base
3
3
  def rewrite_cache
4
4
  Rails.cache.write(cache_key, value)
5
5
  end
@@ -1,7 +1,7 @@
1
1
  module RailsSettings
2
2
  class << self
3
3
  def version
4
- "0.5.5"
4
+ "0.5.6"
5
5
  end
6
6
  end
7
7
  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.5.5
4
+ version: 0.5.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Lee
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2016-04-08 00:00:00.000000000 Z
14
+ date: 2016-04-11 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rails
@@ -68,7 +68,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
68
68
  version: '0'
69
69
  requirements: []
70
70
  rubyforge_project:
71
- rubygems_version: 2.6.2
71
+ rubygems_version: 2.6.3
72
72
  signing_key:
73
73
  specification_version: 4
74
74
  summary: Settings plugin for Rails that makes managing a table of global keys.