Permalink
Browse files

Initial commit.

  • Loading branch information...
mephux committed Mar 12, 2011
0 parents commit 21a2fd957a4774a3c274a261945a08a297263d60
Showing with 142 additions and 0 deletions.
  1. +3 −0 .document
  2. +2 −0 .gitignore
  3. +1 −0 .rspec
  4. +1 −0 .yardopts
  5. +4 −0 ChangeLog.rdoc
  6. +20 −0 LICENSE.txt
  7. +26 −0 README.rdoc
  8. +38 −0 Rakefile
  9. +12 −0 gemspec.yml
  10. +1 −0 lib/snorby/collect.rb
  11. +6 −0 lib/snorby/collect/version.rb
  12. +15 −0 snorby-collect.gemspec
  13. +8 −0 spec/collect_spec.rb
  14. +5 −0 spec/spec_helper.rb
@@ -0,0 +1,3 @@
+-
+ChangeLog.*
+LICENSE.txt
@@ -0,0 +1,2 @@
+doc/
+pkg/
1 .rspec
@@ -0,0 +1 @@
+--colour --format documentation
@@ -0,0 +1 @@
+--markup rdoc --title "snorby-collect Documentation" --protected
@@ -0,0 +1,4 @@
+=== 0.1.0 / 2011-03-12
+
+* Initial release:
+
@@ -0,0 +1,20 @@
+Copyright (c) 2011 mephux
+
+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.
@@ -0,0 +1,26 @@
+= snorby-collect
+
+* {Homepage}[http://rubygems.org/gems/snorby-collect]
+* {Documentation}[http://rubydoc.info/gems/snorby-collect/frames]
+
+== Description
+
+TODO: Description
+
+== Features
+
+== Examples
+
+ require 'snorby/collect'
+
+== Requirements
+
+== Install
+
+ $ gem install snorby-collect
+
+== Copyright
+
+Copyright (c) 2011 mephux
+
+See LICENSE.txt for details.
@@ -0,0 +1,38 @@
+require 'rubygems'
+require 'rake'
+
+begin
+ gem 'ore-tasks', '~> 0.4'
+ require 'ore/tasks'
+
+ Ore::Tasks.new
+rescue LoadError => e
+ STDERR.puts e.message
+ STDERR.puts "Run `gem install ore-tasks` to install 'ore/tasks'."
+end
+
+begin
+ gem 'rspec', '~> 2.4'
+ require 'rspec/core/rake_task'
+
+ RSpec::Core::RakeTask.new
+rescue LoadError => e
+ task :spec do
+ abort "Please run `gem install rspec` to install RSpec."
+ end
+end
+
+task :test => :spec
+task :default => :spec
+
+begin
+ gem 'yard', '~> 0.6.0'
+ require 'yard'
+
+ YARD::Rake::YardocTask.new
+rescue LoadError => e
+ task :yard do
+ abort "Please run `gem install yard` to install YARD."
+ end
+end
+task :doc => :yard
@@ -0,0 +1,12 @@
+name: snorby-collect
+summary: "TODO: Summary"
+description: "TODO: Description"
+license: MIT
+authors: mephux
+homepage: http://rubygems.org/gems/snorby-collect
+has_yard: true
+
+development_dependencies:
+ ore-tasks: ~> 0.4
+ rspec: ~> 2.4
+ yard: ~> 0.6.0
@@ -0,0 +1 @@
+require 'snorby/collect/version'
@@ -0,0 +1,6 @@
+module Snorby
+ module Collect
+ # snorby-collect version
+ VERSION = "0.1.0"
+ end
+end
@@ -0,0 +1,15 @@
+# -*- encoding: utf-8 -*-
+
+begin
+ Ore::Specification.new do |gemspec|
+ # custom logic here
+ end
+rescue NameError
+ begin
+ require 'ore/specification'
+ retry
+ rescue LoadError
+ STDERR.puts "The '#{__FILE__}' file requires Ore."
+ STDERR.puts "Run `gem install ore-core` to install Ore."
+ end
+end
@@ -0,0 +1,8 @@
+require 'spec_helper'
+require 'snorby/collect'
+
+describe Snorby::Collect do
+ it "should have a VERSION constant" do
+ subject.const_get('VERSION').should_not be_empty
+ end
+end
@@ -0,0 +1,5 @@
+gem 'rspec', '~> 2.4'
+require 'rspec'
+require 'snorby/collect/version'
+
+include Snorby::Collect

0 comments on commit 21a2fd9

Please sign in to comment.