data_fabric 1.2.1 → 1.2.2

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,5 +1,9 @@
1
1
  DataFabric changelog
2
2
 
3
+ v1.2.2 - 2008-12-16
4
+
5
+ - Fix multithreading issue with AR 2.2.
6
+
3
7
  v1.2.1 - 2008-12-01
4
8
 
5
9
  - Clean up gem of superfluous files, trims gem size from 160k to 50k.
data/data_fabric.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{data_fabric}
5
- s.version = "1.2.1"
5
+ s.version = "1.2.2"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Mike Perham"]
9
- s.date = %q{2008-12-01}
9
+ s.date = %q{2008-12-16}
10
10
  s.description = %q{Sharding and replication support for ActiveRecord 2.x}
11
11
  s.email = %q{mperham@gmail.com}
12
12
  s.extra_rdoc_files = ["CHANGELOG", "lib/data_fabric/ar20.rb", "lib/data_fabric/ar22.rb", "lib/data_fabric/version.rb", "lib/data_fabric.rb", "README.rdoc"]
@@ -143,7 +143,7 @@ module DataFabric
143
143
  end
144
144
 
145
145
  def current_role
146
- Thread.current[:data_fabric_role]
146
+ Thread.current[:data_fabric_role] || 'slave'
147
147
  end
148
148
 
149
149
  def master
@@ -1,5 +1,5 @@
1
1
  module DataFabric
2
2
  module Version
3
- STRING = "1.2.1"
3
+ STRING = "1.2.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: data_fabric
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Perham
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-12-01 00:00:00 -06:00
12
+ date: 2008-12-16 00:00:00 -06:00
13
13
  default_executable:
14
14
  dependencies: []
15
15