commit ad41fa1106fd104769385975f285b81f108a1b65 Author: Chad Humphries Date: Mon Jun 29 12:18:55 2009 -0400 Initial jeweler repository creation diff --git a/.document b/.document new file mode 100644 index 00000000..ecf36731 --- /dev/null +++ b/.document @@ -0,0 +1,5 @@ +README.rdoc +lib/**/*.rb +bin/* +features/**/*.feature +LICENSE diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..00c0b86e --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +*.sw? +.DS_Store +coverage +rdoc +pkg diff --git a/License.txt b/License.txt new file mode 100644 index 00000000..299514fa --- /dev/null +++ b/License.txt @@ -0,0 +1,22 @@ +(The MIT License) + +Copyright (c) 2009 David Chelimsky, Chad Humphries + +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. diff --git a/README.markdown b/README.markdown new file mode 100644 index 00000000..ad579054 --- /dev/null +++ b/README.markdown @@ -0,0 +1,3 @@ +# RSpec Meta + + diff --git a/Rakefile b/Rakefile new file mode 100644 index 00000000..f9cbd061 --- /dev/null +++ b/Rakefile @@ -0,0 +1,48 @@ +require 'rubygems' +require 'rake' + +begin + require 'jeweler' + Jeweler::Tasks.new do |gem| + gem.name = "rspec-meta" + gem.summary = %Q{TODO.markdown License.txt README.markdown} + gem.email = "dchelimsky@gmail.com;chad.humphries@gmail.com" + gem.homepage = "http://github.com/rspec/meta" + gem.authors = ["David Chelimsky", "Chad Humphries"] + # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings + end + +rescue LoadError + puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler" +end + +require 'spec/rake/spectask' +Spec::Rake::SpecTask.new(:spec) do |spec| + spec.libs << 'lib' << 'spec' + spec.spec_files = FileList['spec/**/*_spec.rb'] +end + +Spec::Rake::SpecTask.new(:rcov) do |spec| + spec.libs << 'lib' << 'spec' + spec.pattern = 'spec/**/*_spec.rb' + spec.rcov = true +end + + +task :default => :spec + +require 'rake/rdoctask' +Rake::RDocTask.new do |rdoc| + if File.exist?('VERSION.yml') + config = YAML.load(File.read('VERSION.yml')) + version = "#{config[:major]}.#{config[:minor]}.#{config[:patch]}" + else + version = "" + end + + rdoc.rdoc_dir = 'rdoc' + rdoc.title = "rspec-meta #{version}" + rdoc.rdoc_files.include('README*') + rdoc.rdoc_files.include('lib/**/*.rb') +end + diff --git a/VERSION b/VERSION new file mode 100644 index 00000000..77d6f4ca --- /dev/null +++ b/VERSION @@ -0,0 +1 @@ +0.0.0 diff --git a/lib/rspec-meta.rb b/lib/rspec-meta.rb new file mode 100644 index 00000000..e69de29b diff --git a/rspec-meta.gemspec b/rspec-meta.gemspec new file mode 100644 index 00000000..2f8c3de9 --- /dev/null +++ b/rspec-meta.gemspec @@ -0,0 +1,45 @@ +# -*- encoding: utf-8 -*- + +Gem::Specification.new do |s| + s.name = %q{rspec-meta} + s.version = "0.0.0" + + s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= + s.authors = ["David Chelimsky", "Chad Humphries"] + s.date = %q{2009-06-29} + s.email = %q{dchelimsky@gmail.com;chad.humphries@gmail.com} + s.extra_rdoc_files = [ + "README.markdown" + ] + s.files = [ + ".document", + ".gitignore", + "License.txt", + "README.markdown", + "Rakefile", + "VERSION", + "lib/rspec-meta.rb", + "rspec-meta.gemspec", + "spec/rspec-meta_spec.rb", + "spec/spec_helper.rb" + ] + s.homepage = %q{http://github.com/rspec/meta} + s.rdoc_options = ["--charset=UTF-8"] + s.require_paths = ["lib"] + s.rubygems_version = %q{1.3.3} + s.summary = %q{TODO.markdown License.txt README.markdown} + s.test_files = [ + "spec/rspec-meta_spec.rb", + "spec/spec_helper.rb" + ] + + if s.respond_to? :specification_version then + current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION + s.specification_version = 3 + + if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then + else + end + else + end +end diff --git a/spec/rspec-meta_spec.rb b/spec/rspec-meta_spec.rb new file mode 100644 index 00000000..14d9c8a3 --- /dev/null +++ b/spec/rspec-meta_spec.rb @@ -0,0 +1,4 @@ +require File.expand_path(File.dirname(__FILE__) + '/spec_helper') + +describe "RspecMeta" do +end diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb new file mode 100644 index 00000000..acdc341b --- /dev/null +++ b/spec/spec_helper.rb @@ -0,0 +1,9 @@ +require 'spec' + +$LOAD_PATH.unshift(File.dirname(__FILE__)) +$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) +require 'rspec-meta' + +Spec::Runner.configure do |config| + +end