cache2base 0.0.8 → 0.0.9

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/History.md CHANGED
@@ -0,0 +1,7 @@
1
+ Cache2base Changelog
2
+ =====================
3
+
4
+ 0.0.9
5
+ =======
6
+
7
+ - Added ability to specify a different server for a model
@@ -149,6 +149,14 @@ module Cache2base
149
149
  @server
150
150
  end
151
151
 
152
+ def server=(other)
153
+ @server = other
154
+ end
155
+
156
+ def set_server(other)
157
+ @server = other
158
+ end
159
+
152
160
  def field_accessor(*fields)
153
161
  fields.each do |field|
154
162
  class_eval "def #{field}; @values[:\"#{field}\"]; end"
@@ -1,3 +1,3 @@
1
1
  module Cache2base
2
- VERSION = '0.0.8'
3
- end
2
+ VERSION = '0.0.9'
3
+ end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cache2base
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 13
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 8
10
- version: 0.0.8
9
+ - 9
10
+ version: 0.0.9
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jason Pearlman
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-08-02 00:00:00 -04:00
18
+ date: 2011-08-10 00:00:00 -04:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency