hyper_record 0.9.4 → 0.9.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 9
4
- :patch: 4
4
+ :patch: 5
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{hyper_record}
8
- s.version = "0.9.4"
8
+ s.version = "0.9.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["tylerkovacs"]
12
- s.date = %q{2010-10-27}
12
+ s.date = %q{2010-11-01}
13
13
  s.description = %q{See README}
14
14
  s.email = %q{tyler.kovacs@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -41,7 +41,7 @@ Gem::Specification.new do |s|
41
41
  "lib/hypertable/gen-rb/hql_types.rb",
42
42
  "lib/hypertable/thrift_client.rb",
43
43
  "lib/hypertable/thrift_transport_monkey_patch.rb",
44
- "pkg/hyper_record-0.9.3.gem",
44
+ "pkg/hyper_record-0.9.5.gem",
45
45
  "spec/fixtures/pages.yml",
46
46
  "spec/fixtures/qualified_pages.yml",
47
47
  "spec/lib/associations_spec.rb",
@@ -28,6 +28,14 @@ module ActiveRecord
28
28
  VALUE_OFFSET = 3
29
29
  TIMESTAMP_OFFSET = 4
30
30
 
31
+ # Jonas Fix for "Can't dup NilClass" when dup'ing default_scoping
32
+ # The default value for default_scoping in ActiveRecord::Base is []
33
+ # Because it is defined in Base.rb with class_inheritable_accessor,
34
+ # HyperBase has it's own version that needs to be initialized.
35
+ # TODO: in the future there may be other HyperRecord::Base class variables
36
+ # that are initialized in base.rb. They will cause problems, too
37
+ self.default_scoping = self.superclass.default_scoping
38
+
31
39
  def initialize(attrs={})
32
40
  super(attrs)
33
41
  self.ROW = attrs[:ROW] if attrs[:ROW] && attrs[:ROW]
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 9
8
- - 4
9
- version: 0.9.4
8
+ - 5
9
+ version: 0.9.5
10
10
  platform: ruby
11
11
  authors:
12
12
  - tylerkovacs
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-10-27 00:00:00 -07:00
17
+ date: 2010-11-01 00:00:00 -07:00
18
18
  default_executable:
19
19
  dependencies: []
20
20
 
@@ -52,7 +52,7 @@ files:
52
52
  - lib/hypertable/gen-rb/hql_types.rb
53
53
  - lib/hypertable/thrift_client.rb
54
54
  - lib/hypertable/thrift_transport_monkey_patch.rb
55
- - pkg/hyper_record-0.9.3.gem
55
+ - pkg/hyper_record-0.9.5.gem
56
56
  - spec/fixtures/pages.yml
57
57
  - spec/fixtures/qualified_pages.yml
58
58
  - spec/lib/associations_spec.rb
Binary file