is_paranoid_ext 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = %q{is_paranoid_ext}
3
- s.version = "0.0.2"
3
+ s.version = "0.0.3"
4
4
 
5
5
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
6
6
  s.authors = ["Alex Neill"]
@@ -7,6 +7,11 @@ module IsParanoidExt
7
7
  has_many association_id, options, &extension
8
8
  end
9
9
 
10
+ def has_and_belongs_to_many_paranoid(association_id, options = {}, &extension)
11
+ merge_paranoid_options!(association_id, options)
12
+ has_and_belongs_to_many association_id, options, &extension
13
+ end
14
+
10
15
  def has_one_paranoid(association_id, options = {}, &extension)
11
16
  merge_paranoid_options!(association_id, options)
12
17
  has_one association_id, options, &extension
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 2
9
- version: 0.0.2
8
+ - 3
9
+ version: 0.0.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Alex Neill