Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

initial commit

  • Loading branch information...
commit aacd364b4adb86815ac9268b0e4c116516ea8375 0 parents
Marcel Jackwerth authored November 09, 2009
20  MIT-LICENSE
... ...
@@ -0,0 +1,20 @@
  1
+Copyright (c) 2009 [name of plugin creator]
  2
+
  3
+Permission is hereby granted, free of charge, to any person obtaining
  4
+a copy of this software and associated documentation files (the
  5
+"Software"), to deal in the Software without restriction, including
  6
+without limitation the rights to use, copy, modify, merge, publish,
  7
+distribute, sublicense, and/or sell copies of the Software, and to
  8
+permit persons to whom the Software is furnished to do so, subject to
  9
+the following conditions:
  10
+
  11
+The above copyright notice and this permission notice shall be
  12
+included in all copies or substantial portions of the Software.
  13
+
  14
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  15
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  16
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  17
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
  18
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
  19
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
  20
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
13  README
... ...
@@ -0,0 +1,13 @@
  1
+Historical
  2
+==========
  3
+
  4
+Introduction goes here.
  5
+
  6
+
  7
+Example
  8
+=======
  9
+
  10
+Example goes here.
  11
+
  12
+
  13
+Copyright (c) 2009 [name of plugin creator], released under the MIT license
23  Rakefile
... ...
@@ -0,0 +1,23 @@
  1
+require 'rake'
  2
+require 'rake/testtask'
  3
+require 'rake/rdoctask'
  4
+
  5
+desc 'Default: run unit tests.'
  6
+task :default => :test
  7
+
  8
+desc 'Test the historical plugin.'
  9
+Rake::TestTask.new(:test) do |t|
  10
+  t.libs << 'lib'
  11
+  t.libs << 'test'
  12
+  t.pattern = 'test/**/*_test.rb'
  13
+  t.verbose = true
  14
+end
  15
+
  16
+desc 'Generate documentation for the historical plugin.'
  17
+Rake::RDocTask.new(:rdoc) do |rdoc|
  18
+  rdoc.rdoc_dir = 'rdoc'
  19
+  rdoc.title    = 'Historical'
  20
+  rdoc.options << '--line-numbers' << '--inline-source'
  21
+  rdoc.rdoc_files.include('README')
  22
+  rdoc.rdoc_files.include('lib/**/*.rb')
  23
+end
8  generators/historical/USAGE
... ...
@@ -0,0 +1,8 @@
  1
+Description:
  2
+    Explain the generator
  3
+
  4
+Example:
  5
+    ./script/generate historical Thing
  6
+
  7
+    This will create:
  8
+        what/will/it/create
8  generators/historical/historical_generator.rb
... ...
@@ -0,0 +1,8 @@
  1
+class HistoricalGenerator < Rails::Generator::NamedBase
  2
+  def manifest
  3
+    record do |m|
  4
+      # m.directory "lib"
  5
+      # m.template 'README', "README"
  6
+    end
  7
+  end
  8
+end
1  init.rb
... ...
@@ -0,0 +1 @@
  1
+# Include hook code here
1  install.rb
... ...
@@ -0,0 +1 @@
  1
+# Install hook code here
1  lib/historical.rb
... ...
@@ -0,0 +1 @@
  1
+# Historical
4  tasks/historical_tasks.rake
... ...
@@ -0,0 +1,4 @@
  1
+# desc "Explaining what the task does"
  2
+# task :historical do
  3
+#   # Task goes here
  4
+# end
8  test/historical_test.rb
... ...
@@ -0,0 +1,8 @@
  1
+require 'test_helper'
  2
+
  3
+class HistoricalTest < ActiveSupport::TestCase
  4
+  # Replace this with your real tests.
  5
+  test "the truth" do
  6
+    assert true
  7
+  end
  8
+end
3  test/test_helper.rb
... ...
@@ -0,0 +1,3 @@
  1
+require 'rubygems'
  2
+require 'active_support'
  3
+require 'active_support/test_case'
1  uninstall.rb
... ...
@@ -0,0 +1 @@
  1
+# Uninstall hook code here

0 notes on commit aacd364

Please sign in to comment.
Something went wrong with that request. Please try again.