scribd_fu 2.0.5 → 2.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/.gitignore +21 -0
- data/{MIT-LICENSE → LICENSE} +1 -1
- data/README.textile +0 -4
- data/Rakefile +63 -0
- data/VERSION +1 -0
- data/scribd_fu.gemspec +55 -27
- metadata +22 -25
data/.document
ADDED
data/.gitignore
ADDED
data/{MIT-LICENSE → LICENSE}
RENAMED
data/README.textile
CHANGED
@@ -2,10 +2,6 @@ h1. Scribd_fu
|
|
2
2
|
|
3
3
|
A Ruby on Rails plugin that streamlines interaction with Scribd.com's iPaper service, and works along side of either Attachment_fu or Paperclip
|
4
4
|
|
5
|
-
h1. Big Changes! v2.0 OMGZ!
|
6
|
-
|
7
|
-
Please make sure to read below if you're using an older version of ScribdFu. Pretty much everything has changed. Don't fret, it's now easier and cleaner. ScribdFu has been taken out into the backyard and given a thorough scrubbing. It's now lean, mean, fully tested, and works beautifully with Attachment_fu, Paperclip, and Amazon's S3 service.
|
8
|
-
|
9
5
|
h2. What it does
|
10
6
|
|
11
7
|
Scribd_fu hides out in the shadows like a document converting ninja, just waiting to process your data into a convenient Flash format (like YouTube) with the help of the black majick of Scribd.com. Imagine embedding documents inline with your web UI — no downloading, no required programs on the client side (except for Flash) to view your data. It's pretty damned cool, and free to boot!
|
data/Rakefile
ADDED
@@ -0,0 +1,63 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'rake'
|
3
|
+
|
4
|
+
begin
|
5
|
+
require 'jeweler'
|
6
|
+
Jeweler::Tasks.new do |gem|
|
7
|
+
gem.name = "scribd_fu"
|
8
|
+
gem.summary = %Q{A Rails gem that streamlines interactions with the Scribd service}
|
9
|
+
gem.description = %Q{A Rails gem that streamlines interactions with the Scribd service}
|
10
|
+
gem.email = "matt@matt-darby.com"
|
11
|
+
gem.homepage = "http://github.com/mdarby/scribd_fu"
|
12
|
+
gem.authors = ["Matt Darby"]
|
13
|
+
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
14
|
+
end
|
15
|
+
Jeweler::GemcutterTasks.new
|
16
|
+
rescue LoadError
|
17
|
+
puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
|
18
|
+
end
|
19
|
+
|
20
|
+
require 'rake/testtask'
|
21
|
+
Rake::TestTask.new(:test) do |test|
|
22
|
+
test.libs << 'lib' << 'test'
|
23
|
+
test.pattern = 'test/**/test_*.rb'
|
24
|
+
test.verbose = true
|
25
|
+
end
|
26
|
+
|
27
|
+
begin
|
28
|
+
require 'rcov/rcovtask'
|
29
|
+
Rcov::RcovTask.new do |test|
|
30
|
+
test.libs << 'test'
|
31
|
+
test.pattern = 'test/**/test_*.rb'
|
32
|
+
test.verbose = true
|
33
|
+
end
|
34
|
+
rescue LoadError
|
35
|
+
task :rcov do
|
36
|
+
abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
task :test => :check_dependencies
|
41
|
+
|
42
|
+
begin
|
43
|
+
require 'cucumber/rake/task'
|
44
|
+
Cucumber::Rake::Task.new(:features)
|
45
|
+
|
46
|
+
task :features => :check_dependencies
|
47
|
+
rescue LoadError
|
48
|
+
task :features do
|
49
|
+
abort "Cucumber is not available. In order to run features, you must: sudo gem install cucumber"
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
task :default => :test
|
54
|
+
|
55
|
+
require 'rake/rdoctask'
|
56
|
+
Rake::RDocTask.new do |rdoc|
|
57
|
+
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
58
|
+
|
59
|
+
rdoc.rdoc_dir = 'rdoc'
|
60
|
+
rdoc.title = "scribd_fu #{version}"
|
61
|
+
rdoc.rdoc_files.include('README*')
|
62
|
+
rdoc.rdoc_files.include('lib/**/*.rb')
|
63
|
+
end
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
2.0.6
|
data/scribd_fu.gemspec
CHANGED
@@ -1,30 +1,58 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
1
6
|
Gem::Specification.new do |s|
|
2
|
-
s.name
|
3
|
-
s.version
|
4
|
-
|
5
|
-
s.
|
6
|
-
s.
|
7
|
-
s.
|
8
|
-
s.description =
|
9
|
-
s.
|
10
|
-
s.
|
11
|
-
|
12
|
-
|
13
|
-
'README.textile',
|
14
|
-
'generators/scribd_fu',
|
15
|
-
'generators/scribd_fu/scribd_fu_generator.rb',
|
16
|
-
'generators/scribd_fu/templates',
|
17
|
-
'generators/scribd_fu/templates/scribd_fu.yml',
|
18
|
-
'init.rb',
|
19
|
-
'lib/scribd_fu',
|
20
|
-
'lib/scribd_fu/attachment_fu.rb',
|
21
|
-
'lib/scribd_fu/paperclip.rb',
|
22
|
-
'lib/scribd_fu.rb',
|
23
|
-
'scribd_fu.gemspec',
|
24
|
-
'spec/database.yml',
|
25
|
-
'spec/scribd_fu.yml',
|
26
|
-
'spec/scribd_fu_spec.rb',
|
27
|
-
'spec/spec_helper.rb'
|
7
|
+
s.name = %q{scribd_fu}
|
8
|
+
s.version = "2.0.6"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["Matt Darby"]
|
12
|
+
s.date = %q{2009-12-16}
|
13
|
+
s.description = %q{A Rails gem that streamlines interactions with the Scribd service}
|
14
|
+
s.email = %q{matt@matt-darby.com}
|
15
|
+
s.extra_rdoc_files = [
|
16
|
+
"LICENSE",
|
17
|
+
"README.textile"
|
28
18
|
]
|
29
|
-
s.
|
19
|
+
s.files = [
|
20
|
+
".document",
|
21
|
+
".gitignore",
|
22
|
+
"LICENSE",
|
23
|
+
"README.textile",
|
24
|
+
"Rakefile",
|
25
|
+
"VERSION",
|
26
|
+
"generators/scribd_fu/scribd_fu_generator.rb",
|
27
|
+
"generators/scribd_fu/templates/scribd_fu.yml",
|
28
|
+
"init.rb",
|
29
|
+
"lib/scribd_fu.rb",
|
30
|
+
"lib/scribd_fu/attachment_fu.rb",
|
31
|
+
"lib/scribd_fu/paperclip.rb",
|
32
|
+
"scribd_fu.gemspec",
|
33
|
+
"spec/database.yml",
|
34
|
+
"spec/scribd_fu.yml",
|
35
|
+
"spec/scribd_fu_spec.rb",
|
36
|
+
"spec/spec_helper.rb"
|
37
|
+
]
|
38
|
+
s.homepage = %q{http://github.com/mdarby/scribd_fu}
|
39
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
40
|
+
s.require_paths = ["lib"]
|
41
|
+
s.rubygems_version = %q{1.3.5}
|
42
|
+
s.summary = %q{A Rails gem that streamlines interactions with the Scribd service}
|
43
|
+
s.test_files = [
|
44
|
+
"spec/scribd_fu_spec.rb",
|
45
|
+
"spec/spec_helper.rb"
|
46
|
+
]
|
47
|
+
|
48
|
+
if s.respond_to? :specification_version then
|
49
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
50
|
+
s.specification_version = 3
|
51
|
+
|
52
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
53
|
+
else
|
54
|
+
end
|
55
|
+
else
|
56
|
+
end
|
30
57
|
end
|
58
|
+
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scribd_fu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Darby
|
@@ -9,48 +9,44 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-12-16 00:00:00 -05:00
|
13
13
|
default_executable:
|
14
|
-
dependencies:
|
15
|
-
|
16
|
-
|
17
|
-
type: :runtime
|
18
|
-
version_requirement:
|
19
|
-
version_requirements: !ruby/object:Gem::Requirement
|
20
|
-
requirements:
|
21
|
-
- - ">="
|
22
|
-
- !ruby/object:Gem::Version
|
23
|
-
version: "0"
|
24
|
-
version:
|
25
|
-
description: A Rails plugin that streamlines interactions with the Scribd service
|
14
|
+
dependencies: []
|
15
|
+
|
16
|
+
description: A Rails gem that streamlines interactions with the Scribd service
|
26
17
|
email: matt@matt-darby.com
|
27
18
|
executables: []
|
28
19
|
|
29
20
|
extensions: []
|
30
21
|
|
31
|
-
extra_rdoc_files:
|
32
|
-
|
22
|
+
extra_rdoc_files:
|
23
|
+
- LICENSE
|
24
|
+
- README.textile
|
33
25
|
files:
|
34
|
-
-
|
26
|
+
- .document
|
27
|
+
- .gitignore
|
28
|
+
- LICENSE
|
35
29
|
- README.textile
|
30
|
+
- Rakefile
|
31
|
+
- VERSION
|
36
32
|
- generators/scribd_fu/scribd_fu_generator.rb
|
37
33
|
- generators/scribd_fu/templates/scribd_fu.yml
|
38
34
|
- init.rb
|
35
|
+
- lib/scribd_fu.rb
|
39
36
|
- lib/scribd_fu/attachment_fu.rb
|
40
37
|
- lib/scribd_fu/paperclip.rb
|
41
|
-
- lib/scribd_fu.rb
|
42
38
|
- scribd_fu.gemspec
|
43
39
|
- spec/database.yml
|
44
40
|
- spec/scribd_fu.yml
|
45
41
|
- spec/scribd_fu_spec.rb
|
46
42
|
- spec/spec_helper.rb
|
47
|
-
has_rdoc:
|
48
|
-
homepage: http://github.com/mdarby/scribd_fu
|
43
|
+
has_rdoc: true
|
44
|
+
homepage: http://github.com/mdarby/scribd_fu
|
49
45
|
licenses: []
|
50
46
|
|
51
47
|
post_install_message:
|
52
|
-
rdoc_options:
|
53
|
-
|
48
|
+
rdoc_options:
|
49
|
+
- --charset=UTF-8
|
54
50
|
require_paths:
|
55
51
|
- lib
|
56
52
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -71,6 +67,7 @@ rubyforge_project:
|
|
71
67
|
rubygems_version: 1.3.5
|
72
68
|
signing_key:
|
73
69
|
specification_version: 3
|
74
|
-
summary:
|
75
|
-
test_files:
|
76
|
-
|
70
|
+
summary: A Rails gem that streamlines interactions with the Scribd service
|
71
|
+
test_files:
|
72
|
+
- spec/scribd_fu_spec.rb
|
73
|
+
- spec/spec_helper.rb
|