Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Initial skeleton.

  • Loading branch information...
commit fb8422114bdbb2d24a819df8897fb2a41a5a5ea3 0 parents
@jbarnette authored
20 LICENSE
@@ -0,0 +1,20 @@
+Copyright (c) 2009 John Barnette <jbarnette@gmail.com>
+
+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.
13 README.markdown
@@ -0,0 +1,13 @@
+Intercession
+============
+
+Introduction goes here.
+
+
+Example
+=======
+
+Example goes here.
+
+
+Copyright (c) 2009 [name of plugin creator], released under the MIT license
23 Rakefile
@@ -0,0 +1,23 @@
+# require 'rake'
+# require 'rake/testtask'
+# require 'rake/rdoctask'
+#
+# desc 'Default: run unit tests.'
+# task :default => :test
+#
+# desc 'Test the intercession plugin.'
+# Rake::TestTask.new(:test) do |t|
+# t.libs << 'lib'
+# t.libs << 'test'
+# t.pattern = 'test/**/*_test.rb'
+# t.verbose = true
+# end
+#
+# desc 'Generate documentation for the intercession plugin.'
+# Rake::RDocTask.new(:rdoc) do |rdoc|
+# rdoc.rdoc_dir = 'rdoc'
+# rdoc.title = 'Intercession'
+# rdoc.options << '--line-numbers' << '--inline-source'
+# rdoc.rdoc_files.include('README')
+# rdoc.rdoc_files.include('lib/**/*.rb')
+# end
11 install.rb
@@ -0,0 +1,11 @@
+source = File.join File.dirname(__FILE__), "session.template"
+relative = File.join "app", "models", "transient", "session.rb"
+destination = File.join Rails.root, relative
+
+if File.exist? destination
+ puts "#{relative} already exists, so I won't overwrite it."
+else
+ FileUtils.mkdir_p File.dirname(destination)
+ FileUtils.cp source, destination
+ puts "Installed an empty session module in #{destination}. Go edit it!"
+end
1  lib/intercession.rb
@@ -0,0 +1 @@
+# Intercession
1  rails/init.rb
@@ -0,0 +1 @@
+# Include hook code here
4 session.template
@@ -0,0 +1,4 @@
+module Transient
+ module Session
+ end
+end
Please sign in to comment.
Something went wrong with that request. Please try again.