Skip to content

Commit

Permalink
Added a jeweler rake task and built a 0.0.0 gemspec
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry Ratnikov committed Aug 16, 2010
1 parent 986b83a commit ef005a9
Show file tree
Hide file tree
Showing 4 changed files with 76 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -2,3 +2,4 @@
.bundle/
Gemfile.lock
.rvmrc
pkg/
17 changes: 17 additions & 0 deletions Rakefile
@@ -1,5 +1,22 @@
require 'rake/testtask'

begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "exemplar"

gem.summary = "Makes writing examples easy and fun"

gem.email = "ratnikov@gmail.com"
gem.homepage = "http://github.com/ratnikov/exemplar"
gem.authors = [ "Dmitry Ratnikov" ]
end

Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler not available. Install it with: gem install jeweler"
end

Rake::TestTask.new(:test) do |test|
test.test_files = FileList["test/**/*_test.rb"]
test.libs << 'test'
Expand Down
5 changes: 5 additions & 0 deletions VERSION.yml
@@ -0,0 +1,5 @@
---
:build:
:patch: 0
:minor: 0
:major: 0
53 changes: 53 additions & 0 deletions exemplar.gemspec
@@ -0,0 +1,53 @@
# Generated by jeweler
# DO NOT EDIT THIS FILE DIRECTLY
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
# -*- encoding: utf-8 -*-

Gem::Specification.new do |s|
s.name = %q{exemplar}
s.version = "0.0.0"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Dmitry Ratnikov"]
s.date = %q{2010-08-16}
s.email = %q{ratnikov@gmail.com}
s.extra_rdoc_files = [
"README.rdoc"
]
s.files = [
".gitignore",
"Gemfile",
"README.rdoc",
"Rakefile",
"VERSION.yml",
"exemplar.gemspec",
"lib/exemplar.rb",
"lib/exemplar/example.rb",
"lib/exemplar/loggable.rb",
"lib/exemplar/runner.rb",
"test/example_test.rb",
"test/runner_test.rb",
"test/test_helper.rb"
]
s.homepage = %q{http://github.com/ratnikov/exemplar}
s.rdoc_options = ["--charset=UTF-8"]
s.require_paths = ["lib"]
s.rubygems_version = %q{1.3.7}
s.summary = %q{Makes writing examples easy and fun}
s.test_files = [
"test/example_test.rb",
"test/runner_test.rb",
"test/test_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::VERSION) >= Gem::Version.new('1.2.0') then
else
end
else
end
end

0 comments on commit ef005a9

Please sign in to comment.