activerecord 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of activerecord might be problematic. Click here for more details.

data/CHANGELOG CHANGED
@@ -1,3 +1,8 @@
1
+ *2.0.1* (December 7th, 2007)
2
+
3
+ * Removed query cache rescue as it could cause code to be run twice (closes #10408) [DHH]
4
+
5
+
1
6
  *2.0.0* (December 6th, 2007)
2
7
 
3
8
  * Anchor DateTimeTest to fixed DateTime instead of a variable value based on Time.now#advance#to_datetime, so that this test passes on 64-bit platforms running Ruby 1.8.6+ [Geoff Buesing]
data/Rakefile CHANGED
@@ -172,7 +172,7 @@ spec = Gem::Specification.new do |s|
172
172
  s.files = s.files + Dir.glob( "#{dir}/**/*" ).delete_if { |item| item.include?( "\.svn" ) }
173
173
  end
174
174
 
175
- s.add_dependency('activesupport', '= 2.0.0' + PKG_BUILD)
175
+ s.add_dependency('activesupport', '= 2.0.1' + PKG_BUILD)
176
176
 
177
177
  s.files.delete "test/fixtures/fixture_database.sqlite"
178
178
  s.files.delete "test/fixtures/fixture_database_2.sqlite"
@@ -7,8 +7,6 @@ module ActiveRecord
7
7
  else
8
8
  connection.cache(&block)
9
9
  end
10
- rescue
11
- yield # if the database is not present, don't let the cache spoil the party
12
10
  end
13
11
 
14
12
  # Disable the query cache within the block if Active Record is configured.
@@ -2,7 +2,7 @@ module ActiveRecord
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 2
4
4
  MINOR = 0
5
- TINY = 0
5
+ TINY = 1
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.4
3
3
  specification_version: 1
4
4
  name: activerecord
5
5
  version: !ruby/object:Gem::Version
6
- version: 2.0.0
7
- date: 2007-12-06 00:00:00 -06:00
6
+ version: 2.0.1
7
+ date: 2007-12-07 00:00:00 -06:00
8
8
  summary: Implements the ActiveRecord pattern for ORM.
9
9
  require_paths:
10
10
  - lib
@@ -366,5 +366,5 @@ dependencies:
366
366
  requirements:
367
367
  - - "="
368
368
  - !ruby/object:Gem::Version
369
- version: 2.0.0
369
+ version: 2.0.1
370
370
  version: