Browse files

fixed soap4r requirement; filled out website template

  • Loading branch information...
1 parent f9de42d commit 31019dfc2332c2740f3eb7ec4d1cf928d0dbbab1 @zuk zuk committed Sep 24, 2008
Showing with 121 additions and 68 deletions.
  1. +6 −3 config/hoe.rb
  2. +3 −3 script/txt2html
  3. +84 −11 website/index.html
  4. +27 −50 website/index.txt
  5. +1 −1 website/template.html.erb
View
9 config/hoe.rb
@@ -7,6 +7,9 @@
RUBYFORGE_PROJECT = 'jasper-client' # The unix name for your project
HOMEPATH = "http://#{RUBYFORGE_PROJECT}.rubyforge.org"
DOWNLOAD_PATH = "http://rubyforge.org/projects/#{RUBYFORGE_PROJECT}"
+EXTRA_DEPENDENCIES = [
+ ['soap4r', '>= 1.5.8']
+]
@config_file = "~/.rubyforge/user-config.yml"
@config = nil
@@ -32,7 +35,7 @@ def rubyforge_username
# UNCOMMENT IF REQUIRED:
# REV = YAML.load(`svn info`)['Revision']
VERS = JasperServer::VERSION::STRING + (REV ? ".#{REV}" : "")
-RDOC_OPTS = ['--quiet', '--title', 'jasperserver-client documentation',
+RDOC_OPTS = ['--quiet', '--title', 'JasperServer-Client documentation',
"--opname", "index.html",
"--line-numbers",
"--main", "README.txt",
@@ -64,7 +67,7 @@ def extra_deps
end
CHANGES = $hoe.paragraphs_of('History.txt', 0..1).join("\\n\\n")
-PATH = (RUBYFORGE_PROJECT == GEM_NAME) ? RUBYFORGE_PROJECT : "#{RUBYFORGE_PROJECT}/#{GEM_NAME}"
+PATH = (RUBYFORGE_PROJECT == GEM_NAME) ? RUBYFORGE_PROJECT : "#{RUBYFORGE_PROJECT}"
$hoe.remote_rdoc_dir = File.join(PATH.gsub(/^#{RUBYFORGE_PROJECT}\/?/,''), 'rdoc')
$hoe.rsync_args = '-av --delete --ignore-errors'
-$hoe.spec.post_install_message = File.open(File.dirname(__FILE__) + "/../PostInstall.txt").read rescue ""
+$hoe.spec.post_install_message = File.open(File.dirname(__FILE__) + "/../PostInstall.txt").read rescue ""
View
6 script/txt2html
@@ -1,7 +1,7 @@
#!/usr/bin/env ruby
GEM_NAME = 'jasperserver-client' # what ppl will type to install your gem
-RUBYFORGE_PROJECT = 'jasperserver-client'
+RUBYFORGE_PROJECT = 'jasper-client'
require 'rubygems'
begin
@@ -15,9 +15,9 @@ end
require 'redcloth'
require 'syntax/convertors/html'
require 'erb'
-require File.dirname(__FILE__) + "/../lib/#{GEM_NAME}/version.rb"
+require File.dirname(__FILE__) + "/../lib/jasper_server/version.rb"
-version = Jasperserver-client::VERSION::STRING
+version = JasperServer::VERSION::STRING
download = "http://rubyforge.org/projects/#{RUBYFORGE_PROJECT}"
def rubyforge_project_id
View
95 website/index.html
@@ -1,11 +1,84 @@
-<html>
- <head>
- <meta http-equiv="Content-type" content="text/html; charset=utf-8">
- <title>jasperserver-client</title>
-
- </head>
- <body id="body">
- <p>This page has not yet been created for RubyGem <code>jasperserver-client</code></p>
- <p>To the developer: To generate it, update website/index.txt and run the rake task <code>website</code> to generate this <code>index.html</code> file.</p>
- </body>
-</html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <link rel="stylesheet" href="stylesheets/screen.css" type="text/css" media="screen" />
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <title>
+ JasperServer-Client
+ </title>
+ <script src="javascripts/rounded_corners_lite.inc.js" type="text/javascript"></script>
+<style>
+
+</style>
+ <script type="text/javascript">
+ window.onload = function() {
+ settings = {
+ tl: { radius: 10 },
+ tr: { radius: 10 },
+ bl: { radius: 10 },
+ br: { radius: 10 },
+ antiAlias: true,
+ autoPad: true,
+ validTags: ["div"]
+ }
+ var versionBox = new curvyCorners(settings, document.getElementById("version"));
+ versionBox.applyCornersToAll();
+ }
+ </script>
+</head>
+<body>
+<div id="main">
+
+ <h1>JasperServer-Client</h1>
+ <div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/jasper-client"; return false'>
+ <p>Get Version</p>
+ <a href="http://rubyforge.org/projects/jasper-client" class="numbers">0.1.0</a>
+ </div>
+ <h3>(a Ruby Client for JasperServer)</h3>
+<h2>What</h2>
+<p>A Ruby-based client for <a href="http://www.jaspersoft.com/JasperSoft_JasperServer.html">JasperServer</a>. <br />
+Allows for requesting and fetching reports from a networked JasperServer over <span class="caps">SOAP</span>.</p>
+<h2>Installing</h2>
+<p><pre class='syntax'><span class="ident">sudo</span> <span class="ident">gem</span> <span class="ident">install</span> <span class="ident">jasperserver</span><span class="punct">-</span><span class="ident">client</span></pre></p>
+<h2>Requirements</h2>
+<p>You will need:</p>
+<ul>
+ <li>A Ruby interpreter.</li>
+ <li>The <strong>soap4r</strong> gem, version 1.5.8 or greater <pre>gem install soap4r</pre></li>
+ <li>A running <a href="http://www.jaspersoft.com/JasperSoft_JasperServer.html">JasperServer</a> instance to talk to.</li>
+</ul>
+<h2>Demonstration of usage</h2>
+<h2>How to submit patches</h2>
+<p>The source is maintained in a git repository on github:</p>
+<ul>
+ <li><a href="http://github.com/gunark/jasperserver-client/tree/master">http://github.com/gunark/jasperserver-client/tree/master</a></li>
+</ul>
+<pre>git clone git://github.com/gunark/jasperserver-client.git</pre>
+<h3>Build and test instructions</h3>
+<pre>cd jasperserver-client
+rake test
+rake install_gem</pre>
+<h2>License</h2>
+<p>JasperServer-Client is free software; you can redistribute it and/or modify<br />
+it under the terms of the <span class="caps">GNU</span> Lesser General Public License as published <br />
+by the Free Software Foundation; either version 3 of the License, or<br />
+(at your option) any later version.</p>
+<p>JasperServer-Client is distributed in the hope that it will be useful,<br />
+but <span class="caps">WITHOUT</span> <span class="caps">ANY</span> <span class="caps">WARRANTY</span>; without even the implied warranty of<br />
+<span class="caps">MERCHANTABILITY</span> or <span class="caps">FITNESS</span> <span class="caps">FOR</span> A <span class="caps">PARTICULAR</span> <span class="caps">PURPOSE</span>. See the<br />
+<span class="caps">GNU</span> General Public License for more details.</p>
+<p>You should have received a copy of the <span class="caps">GNU</span> Lesser General Public License<br />
+along with this program. If not, see &lt;http://www.gnu.org/licenses/&gt;.</p>
+<h2>Contact</h2>
+<p>Send an email to <a href="mailto:matt@zukowski.ca">Matt Zukowski</a>.</p>
+ <p class="coda">
+ <a href="mailto:matt@zukowski.ca">Matt Zukowski</a>, 24th September 2008<br>
+ Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a>
+ </p>
+</div>
+
+<!-- insert site tracking codes here, like Google Urchin -->
+
+</body>
+</html>
View
77 website/index.txt
@@ -1,70 +1,35 @@
-h1. jasperserver client
+h1. JasperServer-Client
-h1. &#x2192; 'jasperserver-client'
+h3. (a Ruby Client for JasperServer)
h2. What
+A Ruby-based client for "JasperServer":http://www.jaspersoft.com/JasperSoft_JasperServer.html.
+Allows for requesting and fetching reports from a networked JasperServer over SOAP.
h2. Installing
<pre syntax="ruby">sudo gem install jasperserver-client</pre>
-h2. The basics
+h2. Requirements
+You will need:
-h2. Demonstration of usage
-
-
-
-h2. Forum
+* A Ruby interpreter.
+* The *soap4r* gem, version 1.5.8 or greater <pre>gem install soap4r</pre>
+* A running "JasperServer":http://www.jaspersoft.com/JasperSoft_JasperServer.html instance to talk to.
-"http://groups.google.com/group/jasperserver-client":http://groups.google.com/group/jasperserver-client
+h2. Demonstration of usage
-TODO - create Google Group - jasperserver-client
h2. How to submit patches
-Read the "8 steps for fixing other people's code":http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/ and for section "8b: Submit patch to Google Groups":http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/#8b-google-groups, use the Google Group above.
-
-TODO - pick SVN or Git instructions
-
-The trunk repository is <code>svn://rubyforge.org/var/svn/jasperserver-client/trunk</code> for anonymous access.
-
-OOOORRRR
-
-You can fetch the source from either:
-
-<% if rubyforge_project_id %>
-
-* rubyforge: "http://rubyforge.org/scm/?group_id=<%= rubyforge_project_id %>":http://rubyforge.org/scm/?group_id=<%= rubyforge_project_id %>
-
-<pre>git clone git://rubyforge.org/jasperserver-client.git</pre>
-
-<% else %>
+The source is maintained in a git repository on github:
-* rubyforge: MISSING IN ACTION
+* "http://github.com/gunark/jasperserver-client/tree/master":http://github.com/gunark/jasperserver-client/tree/master
-TODO - You can not created a RubyForge project, OR have not run <code>rubyforge config</code>
-yet to refresh your local rubyforge data with this projects' id information.
-
-When you do this, this message will magically disappear!
-
-Or you can hack website/index.txt and make it all go away!!
-
-<% end %>
-
-* github: "http://github.com/GITHUB_USERNAME/jasperserver-client/tree/master":http://github.com/GITHUB_USERNAME/jasperserver-client/tree/master
-
-<pre>git clone git://github.com/GITHUB_USERNAME/jasperserver-client.git</pre>
-
-
-TODO - add "github_username: username" to ~/.rubyforge/user-config.yml and newgem will reuse it for future projects.
-
-
-* gitorious: "git://gitorious.org/jasperserver-client/mainline.git":git://gitorious.org/jasperserver-client/mainline.git
-
-<pre>git clone git://gitorious.org/jasperserver-client/mainline.git</pre>
+<pre>git clone git://github.com/gunark/jasperserver-client.git</pre>
h3. Build and test instructions
@@ -75,9 +40,21 @@ rake install_gem</pre>
h2. License
-This code is free to use under the terms of the MIT license.
+JasperServer-Client is free software; you can redistribute it and/or modify
+it under the terms of the GNU Lesser General Public License as published
+by the Free Software Foundation; either version 3 of the License, or
+(at your option) any later version.
+
+
+JasperServer-Client is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
h2. Contact
-Comments are welcome. Send an email to "FIXME full name":mailto:FIXME email via the "forum":http://groups.google.com/group/jasperserver-client
+Send an email to "Matt Zukowski":mailto:matt@zukowski.ca.
View
2 website/template.html.erb
@@ -37,7 +37,7 @@
</div>
<%= body %>
<p class="coda">
- <a href="FIXME email">FIXME full name</a>, <%= modified.pretty %><br>
+ <a href="mailto:matt@zukowski.ca">Matt Zukowski</a>, <%= modified.pretty %><br>
Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a>
</p>
</div>

0 comments on commit 31019df

Please sign in to comment.