activerecord 2.3.17 → 2.3.18

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/Rakefile CHANGED
@@ -192,7 +192,7 @@ spec = Gem::Specification.new do |s|
192
192
  s.files = s.files + Dir.glob( "#{dir}/**/*" ).delete_if { |item| item.include?( "\.svn" ) }
193
193
  end
194
194
 
195
- s.add_dependency('activesupport', '= 2.3.17' + PKG_BUILD)
195
+ s.add_dependency('activesupport', '= 2.3.18' + PKG_BUILD)
196
196
 
197
197
  s.files.delete FIXTURES_ROOT + "/fixture_database.sqlite"
198
198
  s.files.delete FIXTURES_ROOT + "/fixture_database_2.sqlite"
@@ -2307,7 +2307,7 @@ module ActiveRecord #:nodoc:
2307
2307
  def expand_hash_conditions_for_aggregates(attrs)
2308
2308
  expanded_attrs = {}
2309
2309
  attrs.each do |attr, value|
2310
- unless (aggregation = reflect_on_aggregation(attr.to_sym)).nil?
2310
+ unless (aggregation = reflect_on_aggregation(attr)).nil?
2311
2311
  mapping = aggregate_mapping(aggregation)
2312
2312
  mapping.each do |field_attr, aggregate_attr|
2313
2313
  if mapping.size == 1 && !value.respond_to?(aggregate_attr)
@@ -18,7 +18,7 @@ module ActiveRecord
18
18
  when :composed_of
19
19
  reflection = AggregateReflection.new(macro, name, options, active_record)
20
20
  end
21
- write_inheritable_hash :reflections, name => reflection
21
+ write_inheritable_hiwa :reflections, name => reflection
22
22
  reflection
23
23
  end
24
24
 
@@ -2,7 +2,7 @@ module ActiveRecord
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 2
4
4
  MINOR = 3
5
- TINY = 17
5
+ TINY = 18
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
metadata CHANGED
@@ -1,38 +1,45 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: activerecord
3
- version: !ruby/object:Gem::Version
4
- version: 2.3.17
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 2
7
+ - 3
8
+ - 18
9
+ version: 2.3.18
5
10
  platform: ruby
6
- authors:
11
+ authors:
7
12
  - David Heinemeier Hansson
8
13
  autorequire:
9
14
  bindir: bin
10
15
  cert_chain: []
11
- date: 2013-02-11 00:00:00.000000000 Z
12
- dependencies:
13
- - !ruby/object:Gem::Dependency
16
+
17
+ date: 2013-03-18 00:00:00 -07:00
18
+ default_executable:
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
14
21
  name: activesupport
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - '='
18
- - !ruby/object:Gem::Version
19
- version: 2.3.17
20
- type: :runtime
21
22
  prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - '='
25
- - !ruby/object:Gem::Version
26
- version: 2.3.17
27
- description: Implements the ActiveRecord pattern (Fowler, PoEAA) for ORM. It ties
28
- database tables and classes together for business objects, like Customer or Subscription,
29
- that can find, save, and destroy themselves without resorting to manual SQL.
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - "="
26
+ - !ruby/object:Gem::Version
27
+ segments:
28
+ - 2
29
+ - 3
30
+ - 18
31
+ version: 2.3.18
32
+ type: :runtime
33
+ version_requirements: *id001
34
+ description: Implements the ActiveRecord pattern (Fowler, PoEAA) for ORM. It ties database tables and classes together for business objects, like Customer or Subscription, that can find, save, and destroy themselves without resorting to manual SQL.
30
35
  email: david@loudthinking.com
31
36
  executables: []
37
+
32
38
  extensions: []
33
- extra_rdoc_files:
39
+
40
+ extra_rdoc_files:
34
41
  - README
35
- files:
42
+ files:
36
43
  - Rakefile
37
44
  - install.rb
38
45
  - README
@@ -387,29 +394,36 @@ files:
387
394
  - test/schema/sqlite_specific_schema.rb
388
395
  - examples/associations.png
389
396
  - examples/performance.rb
397
+ has_rdoc: true
390
398
  homepage: http://www.rubyonrails.org
391
399
  licenses: []
392
- metadata: {}
400
+
393
401
  post_install_message:
394
- rdoc_options:
395
- - "--main"
402
+ rdoc_options:
403
+ - --main
396
404
  - README
397
- require_paths:
405
+ require_paths:
398
406
  - lib
399
- required_ruby_version: !ruby/object:Gem::Requirement
400
- requirements:
407
+ required_ruby_version: !ruby/object:Gem::Requirement
408
+ requirements:
401
409
  - - ">="
402
- - !ruby/object:Gem::Version
403
- version: '0'
404
- required_rubygems_version: !ruby/object:Gem::Requirement
405
- requirements:
410
+ - !ruby/object:Gem::Version
411
+ segments:
412
+ - 0
413
+ version: "0"
414
+ required_rubygems_version: !ruby/object:Gem::Requirement
415
+ requirements:
406
416
  - - ">="
407
- - !ruby/object:Gem::Version
408
- version: '0'
417
+ - !ruby/object:Gem::Version
418
+ segments:
419
+ - 0
420
+ version: "0"
409
421
  requirements: []
422
+
410
423
  rubyforge_project: activerecord
411
- rubygems_version: 2.0.0.rc.2
424
+ rubygems_version: 1.3.6
412
425
  signing_key:
413
- specification_version: 4
426
+ specification_version: 3
414
427
  summary: Implements the ActiveRecord pattern for ORM.
415
428
  test_files: []
429
+
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: 218f0ee925039809c1caa780d1acb30a84f62a47
4
- data.tar.gz: cc8227ac899f9ff2ec85077f8873a71ce1c67908
5
- SHA512:
6
- metadata.gz: ba910bc95b425f25927ac801fbed29df77b783f7f94967db6c1eddc49a69a14c74b27ab960efbbbcb31cdb639de8b3f3f30978532ab03aefeb10ad0a6f7016bf
7
- data.tar.gz: 2a48ad562911d4e4cb37aed8b3a14dcaaae8790f8ea90d759e82a237645ddc687c1f686e620cc0f7d3207c94d2bc5f27228b946e55acee0f9e8070afbfdf845b