scribd_fu 2.0.8 → 2.0.9
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/scribd_fu.rb +0 -7
- data/scribd_fu.gemspec +2 -2
- metadata +4 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.0.
|
1
|
+
2.0.9
|
data/lib/scribd_fu.rb
CHANGED
@@ -136,7 +136,6 @@ module ScribdFu
|
|
136
136
|
def check_environment
|
137
137
|
load_rscribd
|
138
138
|
check_config
|
139
|
-
check_fields
|
140
139
|
end
|
141
140
|
|
142
141
|
def check_config
|
@@ -164,12 +163,6 @@ module ScribdFu
|
|
164
163
|
include ScribdFu::Paperclip::InstanceMethods
|
165
164
|
end
|
166
165
|
|
167
|
-
# Ensure ScribdFu-centric attributes exist
|
168
|
-
def check_fields
|
169
|
-
fields = %w{ipaper_id ipaper_access_key}.inject([]){|stack, f| stack << "#{name}##{f}" unless column_names.include?(f); stack}
|
170
|
-
raise ScribdFuError, "These fields are missing: #{fields.to_sentence}" if fields.size > 0
|
171
|
-
end
|
172
|
-
|
173
166
|
# Load either AttachmentFu or Paperclip-specific methods
|
174
167
|
def load_base_plugin(str)
|
175
168
|
if str == 'AttachmentFu'
|
data/scribd_fu.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{scribd_fu}
|
8
|
-
s.version = "2.0.
|
8
|
+
s.version = "2.0.9"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Matt Darby"]
|
12
|
-
s.date = %q{2010-
|
12
|
+
s.date = %q{2010-07-09}
|
13
13
|
s.description = %q{A Rails gem that streamlines interactions with the Scribd service}
|
14
14
|
s.email = %q{matt@matt-darby.com}
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scribd_fu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 29
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 2
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 2.0.
|
9
|
+
- 9
|
10
|
+
version: 2.0.9
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Matt Darby
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-
|
18
|
+
date: 2010-07-09 00:00:00 -04:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|