iron_cache_rails 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 4980616252fa91001e0b214854f9c2bccc7de341
4
+ data.tar.gz: 7200731d766f1e08b251853f66abf8130dd24a4b
5
+ SHA512:
6
+ metadata.gz: 2386394a724937e615c3241925169a32e14335b4c1011771b3eab278d5828029629734e0c10e907c16ce1f167bea11a36c2a685cfc0fd8d524197361176a9a5e
7
+ data.tar.gz: 28fbb050dc150134f9b276b25f63d9646468a87f172d96bc412c5cabf38ebcaa6c5b69b202fed2ebd0e0c870f54d7db5a5ec0d6e7095ff9bf80d466fe0ab4b25
data/README.md CHANGED
@@ -21,7 +21,7 @@ config.cache_store = :iron_cache
21
21
  Alternatively, you can supply project_id and token in code.
22
22
 
23
23
  ```ruby
24
- config.cache_store = :iron_cache, project_id: 'XXX', token: 'YYY'
24
+ config.cache_store = :iron_cache, {project_id: 'XXX', token: 'YYY'}
25
25
  ```
26
26
 
27
27
  ## Using As Rails Session Store
@@ -57,9 +57,9 @@ module ActiveSupport
57
57
  private
58
58
 
59
59
  def with_namespace(key, options)
60
- options[:namespace] ||= 'rails_cache'
60
+ opts = {:namespace => 'rails_cache'}.merge(options || {})
61
61
 
62
- cache_name, key_name = namespaced_key(key, options).split(':', 2)
62
+ cache_name, key_name = namespaced_key(key, opts).split(':', 2)
63
63
 
64
64
  yield(@client.cache(cache_name), escape_key(key_name))
65
65
  end
@@ -1,3 +1,3 @@
1
1
  module IronCacheRails
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,94 +1,83 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iron_cache_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
5
- prerelease:
4
+ version: 0.1.5
6
5
  platform: ruby
7
6
  authors:
8
7
  - Travis Reeder
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-01-07 00:00:00.000000000 Z
11
+ date: 2013-05-05 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: iron_cache
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: '1'
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - '>='
28
25
  - !ruby/object:Gem::Version
29
26
  version: '1'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: test-unit
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - '>='
36
32
  - !ruby/object:Gem::Version
37
33
  version: '0'
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - '>='
44
39
  - !ruby/object:Gem::Version
45
40
  version: '0'
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: minitest
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ! '>='
45
+ - - '>='
52
46
  - !ruby/object:Gem::Version
53
47
  version: '0'
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ! '>='
52
+ - - '>='
60
53
  - !ruby/object:Gem::Version
61
54
  version: '0'
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: rake
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ! '>='
59
+ - - '>='
68
60
  - !ruby/object:Gem::Version
69
61
  version: '0'
70
62
  type: :development
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
- - - ! '>='
66
+ - - '>='
76
67
  - !ruby/object:Gem::Version
77
68
  version: '0'
78
69
  - !ruby/object:Gem::Dependency
79
70
  name: uber_config
80
71
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
72
  requirements:
83
- - - ! '>='
73
+ - - '>='
84
74
  - !ruby/object:Gem::Version
85
75
  version: '0'
86
76
  type: :development
87
77
  prerelease: false
88
78
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
79
  requirements:
91
- - - ! '>='
80
+ - - '>='
92
81
  - !ruby/object:Gem::Version
93
82
  version: '0'
94
83
  description: Rails cache store and session store using IronCache by www.iron.io
@@ -110,26 +99,25 @@ files:
110
99
  - lib/iron_cache_rails/version.rb
111
100
  homepage: https://github.com/iron-io/iron_cache_rails
112
101
  licenses: []
102
+ metadata: {}
113
103
  post_install_message:
114
104
  rdoc_options: []
115
105
  require_paths:
116
106
  - lib
117
107
  required_ruby_version: !ruby/object:Gem::Requirement
118
- none: false
119
108
  requirements:
120
- - - ! '>='
109
+ - - '>='
121
110
  - !ruby/object:Gem::Version
122
111
  version: '1.9'
123
112
  required_rubygems_version: !ruby/object:Gem::Requirement
124
- none: false
125
113
  requirements:
126
- - - ! '>='
114
+ - - '>='
127
115
  - !ruby/object:Gem::Version
128
116
  version: 1.3.6
129
117
  requirements: []
130
118
  rubyforge_project:
131
- rubygems_version: 1.8.24
119
+ rubygems_version: 2.0.3
132
120
  signing_key:
133
- specification_version: 3
121
+ specification_version: 4
134
122
  summary: Rails cache store and session store using IronCache by www.iron.io
135
123
  test_files: []