Permalink
Browse files

Added newgem (v1.1.0) framework.

  • Loading branch information...
1 parent 3cc89aa commit f8a1b2cce28f267ec19d32d610deeaaabe6a14d6 @nbibler nbibler committed Dec 5, 2008
View
@@ -0,0 +1,2 @@
+.DS_Store
+*~
View
@@ -0,0 +1,3 @@
+== 0.0.1 2008-12-05
+
+* Initial release
View
@@ -1,20 +0,0 @@
-Copyright (c) 2008 Nathaniel Bibler
-
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-"Software"), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
View
@@ -0,0 +1,11 @@
+History.txt
+Manifest.txt
+PostInstall.txt
+README.rdoc
+Rakefile
+lib/simplepay.rb
+script/console
+script/destroy
+script/generate
+test/test_helper.rb
+test/test_simplepay.rb
View
No changes.
View
@@ -1,6 +1,61 @@
-= Amazon Simple Pay
+= simplepay (Rails Amazon Simple Pay Interface)
-This library/gem provides a means to interface with the Amazon Simple Pay
-service.
+http://simplepay.rubyforge.org
-More information will be added as the project develops.
+== DESCRIPTION:
+
+This gem provides a Rails interface to the Amazon Simple Pay payment service.
+
+At the moment, this library only provides a definition for the subscription
+service, but additional services will be added, shortly.
+
+== FEATURES/PROBLEMS:
+
+Supports the following Amazon Simple Pay services:
+
+* Subscription
+
+The following services are coming someday (hopefully soon):
+
+* Standard
+* Donation
+* Marketplace
+
+== SYNOPSIS:
+
+A sample usage to come.
+
+== REQUIREMENTS:
+
+1. You must have an Amazon Payments <b>business account</b>.
+2. You must know your Amazon Payments <b>account identifier</b> [instructions to come]
+3. You must know your Amazon Web Services <b>access key</b> and <b>secret access key</b>.
+
+== INSTALL:
+
+ sudo gem install simplepay
+
+== LICENSE:
+
+(The MIT License)
+
+Copyright (c) 2008 Nathaniel E. Bibler
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+'Software'), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
View
@@ -0,0 +1,25 @@
+%w[rubygems rake rake/clean fileutils newgem rubigen].each { |f| require f }
+require File.dirname(__FILE__) + '/lib/simplepay'
+
+$hoe = Hoe.new('simplepay', Simplepay::VERSION) do |p|
+ p.developer('Nathaniel E. Bibler', 'gem@nathanielbibler.com')
+ p.changes = p.paragraphs_of("History.txt", 0..1).join("\n\n")
+ p.rubyforge_name = p.name
+ p.extra_deps = [
+ ['activesupport','>= 2.0.2'],
+ ['actionpack','>= 2.0.2']
+ ]
+ p.extra_dev_deps = [
+ ['newgem', ">= #{::Newgem::VERSION}"]
+ ]
+
+ p.clean_globs |= %w[**/.DS_Store tmp *.log]
+ path = (p.rubyforge_name == p.name) ? p.rubyforge_name : "\#{p.rubyforge_name}/\#{p.name}"
+ p.remote_rdoc_dir = File.join(path.gsub(/^#{p.rubyforge_name}\/?/,''), 'rdoc')
+ p.rsync_args = '-av --delete --ignore-errors'
+end
+
+require 'newgem/tasks' # load /tasks/*.rake
+Dir['tasks/**/*.rake'].each { |t| load t }
+
+task :default => [:test]
View
@@ -0,0 +1,124 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Module: Simplepay</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
+ <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
+ <script type="text/javascript">
+ // <![CDATA[
+
+ function popupCode( url ) {
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
+ }
+
+ function toggleCode( id ) {
+ if ( document.getElementById )
+ elem = document.getElementById( id );
+ else if ( document.all )
+ elem = eval( "document.all." + id );
+ else
+ return false;
+
+ elemStyle = elem.style;
+
+ if ( elemStyle.display != "block" ) {
+ elemStyle.display = "block"
+ } else {
+ elemStyle.display = "none"
+ }
+
+ return true;
+ }
+
+ // Make codeblocks hidden by default
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
+
+ // ]]>
+ </script>
+
+</head>
+<body>
+
+
+
+ <div id="classHeader">
+ <table class="header-table">
+ <tr class="top-aligned-row">
+ <td><strong>Module</strong></td>
+ <td class="class-name-in-header">Simplepay</td>
+ </tr>
+ <tr class="top-aligned-row">
+ <td><strong>In:</strong></td>
+ <td>
+ <a href="../files/lib/simplepay_rb.html">
+ lib/simplepay.rb
+ </a>
+ <br />
+ </td>
+ </tr>
+
+ </table>
+ </div>
+ <!-- banner header -->
+
+ <div id="bodyContent">
+
+
+
+ <div id="contextContent">
+ <div id="diagram">
+ <map id="map" name="map">
+ <area shape="rect" coords="16,16,109,64" href="Simplepay.html" alt="Simplepay" />
+</map>
+<img src="../dot/f_3.png" usemap="#map" border="0" alt="dot/f_3.png">
+ </div>
+
+
+
+ </div>
+
+
+ </div>
+
+
+ <!-- if includes -->
+
+ <div id="section">
+
+
+ <div id="constants-list">
+ <h3 class="section-bar">Constants</h3>
+
+ <div class="name-list">
+ <table summary="Constants">
+ <tr class="top-aligned-row context-row">
+ <td class="context-item-name">VERSION</td>
+ <td>=</td>
+ <td class="context-item-value">'0.0.1'</td>
+ </tr>
+ </table>
+ </div>
+ </div>
+
+
+
+
+
+
+ <!-- if method_list -->
+
+
+ </div>
+
+
+<div id="validator-badges">
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
+</div>
+
+</body>
+</html>
View
@@ -0,0 +1 @@
+Fri, 05 Dec 2008 16:18:20 -0500
View
@@ -0,0 +1,14 @@
+digraph TopLevel {
+ compound = true
+ bgcolor = lightcyan1
+ fontname = Arial
+ fontsize = 8
+ label = "TopLevel"
+ node [
+ fontname = Arial,
+ fontsize = 8,
+ color = black
+ ]
+
+}
+
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
@@ -0,0 +1,30 @@
+digraph TopLevel {
+ compound = true
+ bgcolor = lightcyan1
+ fontname = Arial
+ fontsize = 8
+ label = "TopLevel"
+ node [
+ fontname = Arial,
+ fontsize = 8,
+ color = black
+ ]
+
+ subgraph cluster_Simplepay {
+ fillcolor = palegreen1
+ URL = "classes/Simplepay.html"
+ fontname = Arial
+ color = blue
+ label = "Simplepay"
+ style = filled
+ Simplepay [
+ shape = plaintext,
+ height = 0.01,
+ width = 0.75,
+ label = ""
+ ]
+
+ }
+
+}
+
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.

0 comments on commit f8a1b2c

Please sign in to comment.