Permalink
Browse files

initial commit

  • Loading branch information...
0 parents commit 22f2de944635a9d4f607fb5b47521afd6d67f022 Alex Le committed Aug 12, 2008
Showing with 98 additions and 0 deletions.
  1. +20 −0 MIT-LICENSE
  2. +13 −0 README
  3. +22 −0 Rakefile
  4. +14 −0 defaults/queue.yml.default
  5. +1 −0 init.rb
  6. +15 −0 install.rb
  7. 0 lib/queue_and_not_u.rb
  8. +4 −0 tasks/queue_and_not_u_tasks.rake
  9. +8 −0 test/queue_and_not_u_test.rb
  10. +1 −0 uninstall.rb
@@ -0,0 +1,20 @@
+Copyright (c) 2008 [name of plugin creator]
+
+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
@@ -0,0 +1,13 @@
+QueueAndNotU
+============
+
+Introduction goes here.
+
+
+Example
+=======
+
+Example goes here.
+
+
+Copyright (c) 2008 [name of plugin creator], released under the MIT license
@@ -0,0 +1,22 @@
+require 'rake'
+require 'rake/testtask'
+require 'rake/rdoctask'
+
+desc 'Default: run unit tests.'
+task :default => :test
+
+desc 'Test the queue_and_not_u plugin.'
+Rake::TestTask.new(:test) do |t|
+ t.libs << 'lib'
+ t.pattern = 'test/**/*_test.rb'
+ t.verbose = true
+end
+
+desc 'Generate documentation for the queue_and_not_u plugin.'
+Rake::RDocTask.new(:rdoc) do |rdoc|
+ rdoc.rdoc_dir = 'rdoc'
+ rdoc.title = 'QueueAndNotU'
+ rdoc.options << '--line-numbers' << '--inline-source'
+ rdoc.rdoc_files.include('README')
+ rdoc.rdoc_files.include('lib/**/*.rb')
+end
@@ -0,0 +1,14 @@
+development:
+ adapter: starling
+ servers:
+ - 127.0.0.1:22122
+
+test:
+ adapter: starling
+ servers:
+ - 127.0.0.1:22122
+
+production:
+ adapter: starling
+ servers:
+ - 127.0.0.1:22122
@@ -0,0 +1 @@
+# Include hook code here
@@ -0,0 +1,15 @@
+# Install hook code here
+puts
+
+puts "Thanks for installing queue_and_not_u"
+
+puts
+
+puts "Creating queue.yml configuration file if it doesn't already exist..."
+
+require 'fileutils'
+default_file = File.join(File.dirname(__FILE__), 'defaults', 'queue.yml.default')
+
+config_file = File.join('.', 'config', 'queue.yml')
+
+FileUtils.cp(default_file, config_file) unless File.exists?(config_file)
No changes.
@@ -0,0 +1,4 @@
+# desc "Explaining what the task does"
+# task :queue_and_not_u do
+# # Task goes here
+# end
@@ -0,0 +1,8 @@
+require 'test/unit'
+
+class QueueAndNotUTest < Test::Unit::TestCase
+ # Replace this with your real tests.
+ def test_this_plugin
+ flunk
+ end
+end
@@ -0,0 +1 @@
+# Uninstall hook code here

0 comments on commit 22f2de9

Please sign in to comment.