portable-hole 0.0.1 → 0.0.2

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.
Files changed (3) hide show
  1. data/lib/portable-hole.rb +2 -2
  2. metadata +5 -6
  3. data/Gemfile.lock +0 -91
data/lib/portable-hole.rb CHANGED
@@ -36,7 +36,7 @@ module Reamaze
36
36
  :conditions => {:context => '#{eav}'},
37
37
  :extend => AssociationExtensions,
38
38
  :inverse_of => :model,
39
- :dependent => :destroy
39
+ :dependent => :delete_all
40
40
 
41
41
  accepts_nested_attributes_for :_#{eav}, :allow_destroy => true
42
42
 
@@ -123,4 +123,4 @@ module Reamaze
123
123
  end
124
124
  end
125
125
 
126
- ActiveRecord::Base.send :include, Reamaze::PortableHole
126
+ ActiveRecord::Base.send :include, Reamaze::PortableHole
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: portable-hole
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
10
- version: 0.0.1
9
+ - 2
10
+ version: 0.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Lu Wang
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-07-16 00:00:00 Z
18
+ date: 2012-08-02 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: rails
@@ -51,7 +51,6 @@ files:
51
51
  - MIT-LICENSE
52
52
  - README.md
53
53
  - Gemfile
54
- - Gemfile.lock
55
54
  - Rakefile
56
55
  homepage: http://github.com/lunaru/portable-hole
57
56
  licenses: []
@@ -84,7 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
84
83
  requirements: []
85
84
 
86
85
  rubyforge_project:
87
- rubygems_version: 1.8.10
86
+ rubygems_version: 1.8.11
88
87
  signing_key:
89
88
  specification_version: 3
90
89
  summary: Portable Hole is an extension to ActiveRecord that adds EAV functionality to a model via a polymorphic association with an EAV table.
data/Gemfile.lock DELETED
@@ -1,91 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- portable-hole (0.0.1)
5
- rails (>= 3.1.0)
6
-
7
- GEM
8
- remote: http://rubygems.org/
9
- specs:
10
- actionmailer (3.2.6)
11
- actionpack (= 3.2.6)
12
- mail (~> 2.4.4)
13
- actionpack (3.2.6)
14
- activemodel (= 3.2.6)
15
- activesupport (= 3.2.6)
16
- builder (~> 3.0.0)
17
- erubis (~> 2.7.0)
18
- journey (~> 1.0.1)
19
- rack (~> 1.4.0)
20
- rack-cache (~> 1.2)
21
- rack-test (~> 0.6.1)
22
- sprockets (~> 2.1.3)
23
- activemodel (3.2.6)
24
- activesupport (= 3.2.6)
25
- builder (~> 3.0.0)
26
- activerecord (3.2.6)
27
- activemodel (= 3.2.6)
28
- activesupport (= 3.2.6)
29
- arel (~> 3.0.2)
30
- tzinfo (~> 0.3.29)
31
- activeresource (3.2.6)
32
- activemodel (= 3.2.6)
33
- activesupport (= 3.2.6)
34
- activesupport (3.2.6)
35
- i18n (~> 0.6)
36
- multi_json (~> 1.0)
37
- arel (3.0.2)
38
- builder (3.0.0)
39
- erubis (2.7.0)
40
- hike (1.2.1)
41
- i18n (0.6.0)
42
- journey (1.0.4)
43
- json (1.7.3)
44
- mail (2.4.4)
45
- i18n (>= 0.4.0)
46
- mime-types (~> 1.16)
47
- treetop (~> 1.4.8)
48
- mime-types (1.19)
49
- multi_json (1.3.6)
50
- polyglot (0.3.3)
51
- rack (1.4.1)
52
- rack-cache (1.2)
53
- rack (>= 0.4)
54
- rack-ssl (1.3.2)
55
- rack
56
- rack-test (0.6.1)
57
- rack (>= 1.0)
58
- rails (3.2.6)
59
- actionmailer (= 3.2.6)
60
- actionpack (= 3.2.6)
61
- activerecord (= 3.2.6)
62
- activeresource (= 3.2.6)
63
- activesupport (= 3.2.6)
64
- bundler (~> 1.0)
65
- railties (= 3.2.6)
66
- railties (3.2.6)
67
- actionpack (= 3.2.6)
68
- activesupport (= 3.2.6)
69
- rack-ssl (~> 1.3.2)
70
- rake (>= 0.8.7)
71
- rdoc (~> 3.4)
72
- thor (>= 0.14.6, < 2.0)
73
- rake (0.9.2.2)
74
- rdoc (3.12)
75
- json (~> 1.4)
76
- sprockets (2.1.3)
77
- hike (~> 1.2)
78
- rack (~> 1.0)
79
- tilt (~> 1.1, != 1.3.0)
80
- thor (0.15.4)
81
- tilt (1.3.3)
82
- treetop (1.4.10)
83
- polyglot
84
- polyglot (>= 0.3.1)
85
- tzinfo (0.3.33)
86
-
87
- PLATFORMS
88
- ruby
89
-
90
- DEPENDENCIES
91
- portable-hole!