activerecord 2.3.15 → 2.3.16

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.

@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: c6ed2159d7a28549435297c8380fbd449afc8c4d
4
+ data.tar.gz: 284c1c67270c50ca8dd56dc82e8392fb8ed15941
5
+ SHA512:
6
+ metadata.gz: 26a10e8dbd905d3c16a15fe1fe6ad5bf48f6b3585dae1c9c36a63ad9214cc30da81cc369c9560cfa9a35fc13c99355a35cd5948402bada6db4a80c8c24181729
7
+ data.tar.gz: 5cfb132dd8f8dd4001b930a6afed1424cf15b7125458724d98d1d4c5b412a385192fa2eedb9dc9e0ee385d6b811cc3f0d28efba8825699aef51a3041a0b35b6d
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.15' + PKG_BUILD)
195
+ s.add_dependency('activesupport', '= 2.3.16' + 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"
@@ -2340,6 +2340,8 @@ module ActiveRecord #:nodoc:
2340
2340
  def sanitize_sql_hash_for_conditions(attrs, default_table_name = quoted_table_name, top_level = true)
2341
2341
  attrs = expand_hash_conditions_for_aggregates(attrs)
2342
2342
 
2343
+ return '1 = 2' if !top_level && attrs.is_a?(Hash) && attrs.empty?
2344
+
2343
2345
  conditions = attrs.map do |attr, value|
2344
2346
  table_name = default_table_name
2345
2347
 
@@ -2,7 +2,7 @@ module ActiveRecord
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 2
4
4
  MINOR = 3
5
- TINY = 15
5
+ TINY = 16
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
metadata CHANGED
@@ -1,45 +1,38 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: activerecord
3
- version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 2
7
- - 3
8
- - 15
9
- version: 2.3.15
3
+ version: !ruby/object:Gem::Version
4
+ version: 2.3.16
10
5
  platform: ruby
11
- authors:
6
+ authors:
12
7
  - David Heinemeier Hansson
13
8
  autorequire:
14
9
  bindir: bin
15
10
  cert_chain: []
16
-
17
- date: 2013-01-08 00:00:00 -08:00
18
- default_executable:
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
11
+ date: 2013-01-28 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
21
14
  name: activesupport
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
24
- requirements:
25
- - - "="
26
- - !ruby/object:Gem::Version
27
- segments:
28
- - 2
29
- - 3
30
- - 15
31
- version: 2.3.15
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '='
18
+ - !ruby/object:Gem::Version
19
+ version: 2.3.16
32
20
  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.
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '='
25
+ - !ruby/object:Gem::Version
26
+ version: 2.3.16
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.
35
30
  email: david@loudthinking.com
36
31
  executables: []
37
-
38
32
  extensions: []
39
-
40
- extra_rdoc_files:
33
+ extra_rdoc_files:
41
34
  - README
42
- files:
35
+ files:
43
36
  - Rakefile
44
37
  - install.rb
45
38
  - README
@@ -394,36 +387,29 @@ files:
394
387
  - test/schema/sqlite_specific_schema.rb
395
388
  - examples/associations.png
396
389
  - examples/performance.rb
397
- has_rdoc: true
398
390
  homepage: http://www.rubyonrails.org
399
391
  licenses: []
400
-
392
+ metadata: {}
401
393
  post_install_message:
402
- rdoc_options:
403
- - --main
394
+ rdoc_options:
395
+ - "--main"
404
396
  - README
405
- require_paths:
397
+ require_paths:
406
398
  - lib
407
- required_ruby_version: !ruby/object:Gem::Requirement
408
- requirements:
399
+ required_ruby_version: !ruby/object:Gem::Requirement
400
+ requirements:
409
401
  - - ">="
410
- - !ruby/object:Gem::Version
411
- segments:
412
- - 0
413
- version: "0"
414
- required_rubygems_version: !ruby/object:Gem::Requirement
415
- requirements:
402
+ - !ruby/object:Gem::Version
403
+ version: '0'
404
+ required_rubygems_version: !ruby/object:Gem::Requirement
405
+ requirements:
416
406
  - - ">="
417
- - !ruby/object:Gem::Version
418
- segments:
419
- - 0
420
- version: "0"
407
+ - !ruby/object:Gem::Version
408
+ version: '0'
421
409
  requirements: []
422
-
423
410
  rubyforge_project: activerecord
424
- rubygems_version: 1.3.6
411
+ rubygems_version: 2.0.0.preview3.1
425
412
  signing_key:
426
- specification_version: 3
413
+ specification_version: 4
427
414
  summary: Implements the ActiveRecord pattern for ORM.
428
415
  test_files: []
429
-