jfish 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. checksums.yaml +7 -0
  2. data/.document +3 -0
  3. data/Gemfile +4 -0
  4. data/LICENSE +26 -0
  5. data/README.md +57 -0
  6. data/README.rdoc +19 -0
  7. data/Rakefile +11 -0
  8. data/VERSION +1 -0
  9. data/jfish.gemspec +38 -0
  10. data/lib/jfish.rb +720 -0
  11. data/lib/template/jfish/_footer.rhtml +5 -0
  12. data/lib/template/jfish/_head.rhtml +16 -0
  13. data/lib/template/jfish/_sidebar_VCS_info.rhtml +18 -0
  14. data/lib/template/jfish/_sidebar_classes.rhtml +9 -0
  15. data/lib/template/jfish/_sidebar_extends.rhtml +16 -0
  16. data/lib/template/jfish/_sidebar_in_files.rhtml +8 -0
  17. data/lib/template/jfish/_sidebar_includes.rhtml +16 -0
  18. data/lib/template/jfish/_sidebar_installed.rhtml +14 -0
  19. data/lib/template/jfish/_sidebar_methods.rhtml +12 -0
  20. data/lib/template/jfish/_sidebar_navigation.rhtml +10 -0
  21. data/lib/template/jfish/_sidebar_pages.rhtml +12 -0
  22. data/lib/template/jfish/_sidebar_parent.rhtml +10 -0
  23. data/lib/template/jfish/_sidebar_search.rhtml +10 -0
  24. data/lib/template/jfish/_sidebar_sections.rhtml +10 -0
  25. data/lib/template/jfish/_sidebar_table_of_contents.rhtml +19 -0
  26. data/lib/template/jfish/class.rhtml +179 -0
  27. data/lib/template/jfish/images/add.png +0 -0
  28. data/lib/template/jfish/images/arrow_up.png +0 -0
  29. data/lib/template/jfish/images/brick.png +0 -0
  30. data/lib/template/jfish/images/brick_link.png +0 -0
  31. data/lib/template/jfish/images/bug.png +0 -0
  32. data/lib/template/jfish/images/bullet_black.png +0 -0
  33. data/lib/template/jfish/images/bullet_toggle_minus.png +0 -0
  34. data/lib/template/jfish/images/bullet_toggle_plus.png +0 -0
  35. data/lib/template/jfish/images/date.png +0 -0
  36. data/lib/template/jfish/images/delete.png +0 -0
  37. data/lib/template/jfish/images/find.png +0 -0
  38. data/lib/template/jfish/images/loadingAnimation.gif +0 -0
  39. data/lib/template/jfish/images/logo.png +0 -0
  40. data/lib/template/jfish/images/macFFBgHack.png +0 -0
  41. data/lib/template/jfish/images/package.png +0 -0
  42. data/lib/template/jfish/images/page_green.png +0 -0
  43. data/lib/template/jfish/images/page_white_text.png +0 -0
  44. data/lib/template/jfish/images/page_white_width.png +0 -0
  45. data/lib/template/jfish/images/plugin.png +0 -0
  46. data/lib/template/jfish/images/ruby.png +0 -0
  47. data/lib/template/jfish/images/tag_blue.png +0 -0
  48. data/lib/template/jfish/images/tag_green.png +0 -0
  49. data/lib/template/jfish/images/transparent.png +0 -0
  50. data/lib/template/jfish/images/wrench.png +0 -0
  51. data/lib/template/jfish/images/wrench_orange.png +0 -0
  52. data/lib/template/jfish/images/zoom.png +0 -0
  53. data/lib/template/jfish/index.rhtml +19 -0
  54. data/lib/template/jfish/js/darkfish.js +155 -0
  55. data/lib/template/jfish/js/jquery.js +18 -0
  56. data/lib/template/jfish/js/search.js +94 -0
  57. data/lib/template/jfish/page.rhtml +18 -0
  58. data/lib/template/jfish/rdoc.css +557 -0
  59. data/lib/template/jfish/servlet_not_found.rhtml +18 -0
  60. data/lib/template/jfish/servlet_root.rhtml +37 -0
  61. data/lib/template/jfish/table_of_contents.rhtml +55 -0
  62. metadata +135 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 1930af7168069fdc3a67df278ebbe62a0e7406dc
4
+ data.tar.gz: fdd9e5ba56058a725ded25566eee10b726f4692a
5
+ SHA512:
6
+ metadata.gz: d0c7ebb90b65ad306d107b9e8bf487c13419656a6a2e3eddeace03a16e0cbb5386b8c523d39b2c97e04760c6d9951a0b72888bdfcebf5b13d8cfc11ccd9d7599
7
+ data.tar.gz: d8ea80696f67485fedca8d334cce0b9c332afbebcc9d92a996b4fb0fe65077180873f99a4931ca41af7b82bab37b610670573ecd7310f1f3b1c0e68f129666cc
data/.document ADDED
@@ -0,0 +1,3 @@
1
+ lib/**/*.rb
2
+ -
3
+ LICENSE.txt
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source "http://rubygems.org"
2
+
3
+ gemspec
4
+
data/LICENSE ADDED
@@ -0,0 +1,26 @@
1
+ Copyright (c) 2007-2010, Michael Granger. All rights reserved.
2
+
3
+ Redistribution and use in source and binary forms, with or without
4
+ modification, are permitted provided that the following conditions are met:
5
+
6
+ * Redistributions of source code must retain the above copyright notice,
7
+ this list of conditions and the following disclaimer.
8
+
9
+ * Redistributions in binary form must reproduce the above copyright notice,
10
+ this list of conditions and the following disclaimer in the documentation
11
+ and/or other materials provided with the distribution.
12
+
13
+ * Neither the name of the author/s, nor the names of the project's
14
+ contributors may be used to endorse or promote products derived from this
15
+ software without specific prior written permission.
16
+
17
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
18
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
20
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
21
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
23
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
24
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
25
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
data/README.md ADDED
@@ -0,0 +1,57 @@
1
+ ![jfish logo](https://github.com/jeanlescure/jfish/raw/master/lib/template/jfish/images/logo.png)
2
+
3
+ # JFish Rdoc 4.0.0+ Generator
4
+
5
+ This is a complete replacement for the default HTML generator for Rdoc 4.0.0
6
+
7
+ It was forked from https://github.com/ged/darkfish and modified to look a little greener and meaner.
8
+
9
+ ## Getting Started
10
+
11
+ You can install it via RubyGems:
12
+
13
+ `$ gem install jfish`
14
+
15
+ ## Usage
16
+
17
+ Specify from your Rakefile in an RDocTask:
18
+
19
+ require 'rdoc/task'
20
+ Rake::RDocTask.new do |rdoc|
21
+
22
+ require 'jfish' #=> THIS IS IMPORTANT
23
+
24
+ version = File.exist?('VERSION') ? File.read('VERSION') : ""
25
+
26
+ rdoc.rdoc_dir = 'rdoc'
27
+
28
+ rdoc.generator = 'jfish' #=> THIS IS IMPORTANT TOO
29
+
30
+ rdoc.title = "hipster_sql_to_hbase #{version}"
31
+ rdoc.rdoc_files.include('README.rdoc')
32
+ rdoc.rdoc_files.include('lib/**/*.rb').exclude(/lib\/adapter/,/lib\/datatype_extras.rb/)
33
+ end
34
+
35
+
36
+ That's it. JFish will automatically register itself to RDoc when required so that all you have to do is set it as the default generator.
37
+
38
+ The important parts from the above code to add to your task are these:
39
+
40
+ `require 'jfish'`
41
+
42
+ and
43
+
44
+ `rdoc.generator = 'jfish'`
45
+
46
+ Once that's done, just call your rake task like so: `$ rake rdoc`
47
+
48
+ ## Logo
49
+
50
+ In order to customize your rdoc with your logo simply replace the following path (relative to your generated 'rdoc' folder root):
51
+
52
+ `images/logo.png`
53
+
54
+ ## License
55
+
56
+ See the LICENSE file included with the distribution for copyright and licensing details.
57
+
data/README.rdoc ADDED
@@ -0,0 +1,19 @@
1
+ = jfish
2
+
3
+ Description goes here.
4
+
5
+ == Contributing to jfish
6
+
7
+ * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
8
+ * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
9
+ * Fork the project.
10
+ * Start a feature/bugfix branch.
11
+ * Commit and push until you are happy with your contribution.
12
+ * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
13
+ * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
14
+
15
+ == Copyright
16
+
17
+ Copyright (c) 2014 Jean Lescure. See LICENSE.txt for
18
+ further details.
19
+
data/Rakefile ADDED
@@ -0,0 +1,11 @@
1
+ # encoding: utf-8
2
+
3
+ require 'rubygems'
4
+ require 'bundler'
5
+ begin
6
+ Bundler.setup(:default, :development)
7
+ rescue Bundler::BundlerError => e
8
+ $stderr.puts e.message
9
+ $stderr.puts "Run `bundle install` to install missing gems"
10
+ exit e.status_code
11
+ end
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.1.0
data/jfish.gemspec ADDED
@@ -0,0 +1,38 @@
1
+ # -*- encoding: utf-8 -*-
2
+
3
+ Gem::Specification.new do |s|
4
+ s.name = "jfish"
5
+ s.version = "0.1.0"
6
+
7
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
+ s.authors = ["Jean Lescure"]
9
+ s.date = "2014-02-27"
10
+ s.description = "This RDoc Generator was forked from RDoc's own JFish template and made into a Gem for easy consumption."
11
+ s.email = "jeanmlescure@gmail.com"
12
+ s.extra_rdoc_files = [
13
+ "LICENSE",
14
+ "README.md",
15
+ "README.rdoc"
16
+ ]
17
+ s.files = Dir.glob("lib/**/*") + %w(.document Gemfile LICENSE LICENSE README.md Rakefile VERSION jfish.gemspec)
18
+ s.homepage = "http://github.com/jeanlescure/jfish"
19
+ s.licenses = ["MIT"]
20
+ s.require_paths = ["lib"]
21
+ s.rubygems_version = "2.0.3"
22
+ s.summary = "RDoc Generator based on JFish"
23
+
24
+ if s.respond_to? :specification_version then
25
+ s.specification_version = 4
26
+
27
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
28
+ s.add_development_dependency(%q<rdoc>, ["~> 4.0.0"])
29
+ s.add_development_dependency(%q<bundler>, ["~> 1.0"])
30
+ else
31
+ s.add_dependency(%q<rdoc>, ["~> 4.0.0"])
32
+ s.add_dependency(%q<bundler>, ["~> 1.0"])
33
+ end
34
+ else
35
+ s.add_dependency(%q<rdoc>, ["~> 4.0.0"])
36
+ s.add_dependency(%q<bundler>, ["~> 1.0"])
37
+ end
38
+ end