rails_extensions 1.0.3 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,4 +2,4 @@
2
2
  gem_name: rails_extensions
3
3
  package: rails_extensions
4
4
  project: magrathea
5
- version: 1.0.3
5
+ version: 1.0.5
metadata CHANGED
@@ -1,20 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.9.2
3
- specification_version: 1
4
2
  name: rails_extensions
5
3
  version: !ruby/object:Gem::Version
6
- version: 1.0.3
7
- date: 2007-11-01 00:00:00 -04:00
8
- summary: rails_extensions
9
- require_paths:
10
- - lib
11
- - lib
12
- - lib
13
- - lib/tasks
14
- email:
15
- homepage:
16
- rubyforge_project: magrathea
17
- description: "rails_extensions was developed by: markbates"
4
+ version: 1.0.5
5
+ platform: ruby
6
+ authors:
7
+ - markbates
18
8
  autorequire:
19
9
  - rails_extensions
20
10
  - m_migration_model
@@ -23,35 +13,33 @@ autorequire:
23
13
  - m_active_record_validations
24
14
  - m_active_record_errors
25
15
  - m_active_record_base
26
- - m_active_record_associatioins
27
16
  - m_abstract_request
28
17
  - rails_extensions
29
18
  - m_migration_model
30
19
  - m_form_tag_helper
31
20
  - m_cookies
32
21
  - m_active_record_validations
22
+ - m_active_record_errors
33
23
  - m_active_record_base
34
- - m_active_record_associatioins
35
24
  - m_abstract_request
36
- default_executable:
37
25
  bindir: bin
38
- has_rdoc: false
39
- required_ruby_version: !ruby/object:Gem::Version::Requirement
40
- requirements:
41
- - - ">"
42
- - !ruby/object:Gem::Version
43
- version: 0.0.0
44
- version:
45
- platform: ruby
46
- signing_key:
47
- cert_chain:
48
- post_install_message:
49
- authors:
50
- - markbates
26
+ cert_chain: []
27
+
28
+ date: 2008-01-22 00:00:00 -05:00
29
+ default_executable:
30
+ dependencies: []
31
+
32
+ description: "rails_extensions was developed by: markbates"
33
+ email:
34
+ executables: []
35
+
36
+ extensions: []
37
+
38
+ extra_rdoc_files: []
39
+
51
40
  files:
52
41
  - init.rb
53
42
  - lib/m_abstract_request.rb
54
- - lib/m_active_record_associatioins.rb
55
43
  - lib/m_active_record_base.rb
56
44
  - lib/m_active_record_errors.rb
57
45
  - lib/m_active_record_validations.rb
@@ -60,17 +48,34 @@ files:
60
48
  - lib/m_migration_model.rb
61
49
  - lib/rails_extensions.rb
62
50
  - lib/tasks/rubyforge_config.yml
63
- test_files: []
64
-
51
+ has_rdoc: false
52
+ homepage:
53
+ post_install_message:
65
54
  rdoc_options: []
66
55
 
67
- extra_rdoc_files: []
68
-
69
- executables: []
70
-
71
- extensions: []
72
-
56
+ require_paths:
57
+ - lib
58
+ - lib
59
+ - lib
60
+ - lib/tasks
61
+ required_ruby_version: !ruby/object:Gem::Requirement
62
+ requirements:
63
+ - - ">="
64
+ - !ruby/object:Gem::Version
65
+ version: "0"
66
+ version:
67
+ required_rubygems_version: !ruby/object:Gem::Requirement
68
+ requirements:
69
+ - - ">="
70
+ - !ruby/object:Gem::Version
71
+ version: "0"
72
+ version:
73
73
  requirements: []
74
74
 
75
- dependencies: []
75
+ rubyforge_project: magrathea
76
+ rubygems_version: 1.0.1
77
+ signing_key:
78
+ specification_version: 2
79
+ summary: rails_extensions
80
+ test_files: []
76
81
 
@@ -1,33 +0,0 @@
1
- module ActiveRecord
2
- module Associations
3
- module ClassMethods
4
- # fixes a bug with ActiveRecord, see http://dev.rubyonrails.org/ticket/7570
5
- def has_and_belongs_to_many(association_id, options = {}, &extension)
6
- reflection = create_has_and_belongs_to_many_reflection(association_id, options, &extension)
7
-
8
- add_multiple_associated_save_callbacks(reflection.name)
9
- collection_accessor_methods(reflection, HasAndBelongsToManyAssociation)
10
-
11
- # Don't use a before_destroy callback since users' before_destroy
12
- # callbacks will be executed after the association is wiped out.
13
- old_method = "destroy_without_habtm_shim_for_#{reflection.name}"
14
- ##class_eval <<-end_eval
15
- class_eval <<-end_eval unless method_defined?(old_method)
16
- alias_method :#{old_method}, :destroy_without_callbacks
17
- def destroy_without_callbacks
18
- #{reflection.name}.clear
19
- #{old_method}
20
- end
21
- end_eval
22
-
23
- add_association_callbacks(reflection.name, options)
24
-
25
- # deprecated api
26
- deprecated_collection_count_method(reflection.name)
27
- deprecated_add_association_relation(reflection.name)
28
- deprecated_remove_association_relation(reflection.name)
29
- deprecated_has_collection_method(reflection.name)
30
- end
31
- end
32
- end
33
- end