1
0
Fork 0
mirror of https://github.com/rspec/rspec-metagem.git synced 2022-11-09 12:09:29 -05:00

Initial jeweler repository creation

This commit is contained in:
Chad Humphries 2009-06-29 12:18:55 -04:00
commit ad41fa1106
10 changed files with 142 additions and 0 deletions

5
.document Normal file
View file

@ -0,0 +1,5 @@
README.rdoc
lib/**/*.rb
bin/*
features/**/*.feature
LICENSE

5
.gitignore vendored Normal file
View file

@ -0,0 +1,5 @@
*.sw?
.DS_Store
coverage
rdoc
pkg

22
License.txt Normal file
View file

@ -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.

3
README.markdown Normal file
View file

@ -0,0 +1,3 @@
# RSpec Meta

48
Rakefile Normal file
View file

@ -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

1
VERSION Normal file
View file

@ -0,0 +1 @@
0.0.0

0
lib/rspec-meta.rb Normal file
View file

45
rspec-meta.gemspec Normal file
View file

@ -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

4
spec/rspec-meta_spec.rb Normal file
View file

@ -0,0 +1,4 @@
require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
describe "RspecMeta" do
end

9
spec/spec_helper.rb Normal file
View file

@ -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