make_exportable 1.0.2 → 1.0.3
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.
- data/Gemfile.lock +18 -19
- data/VERSION +1 -1
- data/lib/make_exportable/core.rb +1 -1
- metadata +4 -4
data/Gemfile.lock
CHANGED
|
@@ -1,34 +1,33 @@
|
|
|
1
1
|
GEM
|
|
2
2
|
remote: http://rubygems.org/
|
|
3
3
|
specs:
|
|
4
|
-
actionmailer (2.3.
|
|
5
|
-
actionpack (= 2.3.
|
|
6
|
-
actionpack (2.3.
|
|
7
|
-
activesupport (= 2.3.
|
|
4
|
+
actionmailer (2.3.8)
|
|
5
|
+
actionpack (= 2.3.8)
|
|
6
|
+
actionpack (2.3.8)
|
|
7
|
+
activesupport (= 2.3.8)
|
|
8
8
|
rack (~> 1.1.0)
|
|
9
|
-
activerecord (2.3.
|
|
10
|
-
activesupport (= 2.3.
|
|
11
|
-
activeresource (2.3.
|
|
12
|
-
activesupport (= 2.3.
|
|
13
|
-
activesupport (2.3.
|
|
14
|
-
gemcutter (0.
|
|
15
|
-
json_pure
|
|
9
|
+
activerecord (2.3.8)
|
|
10
|
+
activesupport (= 2.3.8)
|
|
11
|
+
activeresource (2.3.8)
|
|
12
|
+
activesupport (= 2.3.8)
|
|
13
|
+
activesupport (2.3.8)
|
|
14
|
+
gemcutter (0.6.1)
|
|
16
15
|
git (1.2.5)
|
|
17
16
|
jeweler (1.4.0)
|
|
18
17
|
gemcutter (>= 0.1.0)
|
|
19
18
|
git (>= 1.2.5)
|
|
20
19
|
rubyforge (>= 2.0.0)
|
|
21
|
-
json_pure (1.4.
|
|
20
|
+
json_pure (1.4.6)
|
|
22
21
|
rack (1.1.0)
|
|
23
|
-
rails (2.3.
|
|
24
|
-
actionmailer (= 2.3.
|
|
25
|
-
actionpack (= 2.3.
|
|
26
|
-
activerecord (= 2.3.
|
|
27
|
-
activeresource (= 2.3.
|
|
28
|
-
activesupport (= 2.3.
|
|
22
|
+
rails (2.3.8)
|
|
23
|
+
actionmailer (= 2.3.8)
|
|
24
|
+
actionpack (= 2.3.8)
|
|
25
|
+
activerecord (= 2.3.8)
|
|
26
|
+
activeresource (= 2.3.8)
|
|
27
|
+
activesupport (= 2.3.8)
|
|
29
28
|
rake (>= 0.8.3)
|
|
30
29
|
rake (0.8.7)
|
|
31
|
-
rspec (1.3.
|
|
30
|
+
rspec (1.3.1)
|
|
32
31
|
rubyforge (2.0.4)
|
|
33
32
|
json_pure (>= 1.1.7)
|
|
34
33
|
sqlite3-ruby (1.3.0)
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.3
|
data/lib/make_exportable/core.rb
CHANGED
|
@@ -62,7 +62,7 @@ module MakeExportable #:nodoc:
|
|
|
62
62
|
def make_exportable(options={})
|
|
63
63
|
return unless self.table_exists?
|
|
64
64
|
# register the class as exportable
|
|
65
|
-
MakeExportable.exportable_classes[self.
|
|
65
|
+
MakeExportable.exportable_classes[self.name] = self
|
|
66
66
|
|
|
67
67
|
# remove any invalid options
|
|
68
68
|
valid_options = [:as, :only, :except, :scopes, :conditions, :order, :include,
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: make_exportable
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 17
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 1
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 1.0.
|
|
9
|
+
- 3
|
|
10
|
+
version: 1.0.3
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Kevin Skoglund
|
|
@@ -16,7 +16,7 @@ autorequire:
|
|
|
16
16
|
bindir: bin
|
|
17
17
|
cert_chain: []
|
|
18
18
|
|
|
19
|
-
date: 2010-
|
|
19
|
+
date: 2010-10-13 00:00:00 -04:00
|
|
20
20
|
default_executable:
|
|
21
21
|
dependencies: []
|
|
22
22
|
|