Permalink
Browse files

Rename gem to rspec

  • Loading branch information...
dchelimsky committed Jan 19, 2010
1 parent 876c149 commit 1badd9c45ea5ce30c51a6d8090c8aeb20647dcb7
Showing with 27 additions and 30 deletions.
  1. +6 −6 Rakefile
  2. +1 −1 lib/rspec.rb
  3. +0 −16 lib/rspec/meta/version.rb
  4. +14 −0 lib/rspec/version.rb
  5. +6 −7 rspec-meta.gemspec → rspec.gemspec
View
@@ -5,20 +5,20 @@ require 'pathname'
$:.unshift File.expand_path(File.join(File.dirname(__FILE__),'lib'))
-require 'rspec/meta/version'
+require 'rspec/version'
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
- gem.name = "rspec-meta"
+ gem.name = "rspec"
gem.summary = "pulls in the other rspec gems"
gem.email = "dchelimsky@gmail.com;chad.humphries@gmail.com"
gem.homepage = "http://github.com/rspec/meta"
gem.authors = ["David Chelimsky", "Chad Humphries"]
- gem.version = Rspec::Meta::Version::STRING
- gem.add_dependency "rspec-core", ">= #{Rspec::Meta::Version::STRING}"
- gem.add_dependency "rspec-expectations", ">= #{Rspec::Meta::Version::STRING}"
- gem.add_dependency "rspec-mocks", ">= #{Rspec::Meta::Version::STRING}"
+ gem.version = Rspec::Version::STRING
+ gem.add_dependency "rspec-core", ">= #{Rspec::Version::STRING}"
+ gem.add_dependency "rspec-expectations", ">= #{Rspec::Version::STRING}"
+ gem.add_dependency "rspec-mocks", ">= #{Rspec::Version::STRING}"
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
end
Jeweler::GemcutterTasks.new
View
@@ -1,4 +1,4 @@
require 'rspec/core'
require 'rspec/expectations'
require 'rspec/mocks'
-require 'rspec/meta/version'
+require 'rspec/version'
View
@@ -1,16 +0,0 @@
-module Rspec # :nodoc:
- module Meta # :nodoc:
- module Version # :nodoc:
- unless defined?(MAJOR)
- MAJOR = 2
- MINOR = 0
- TINY = 0
- PRE = 'a2'
-
- STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
-
- SUMMARY = "rspec-meta " + STRING
- end
- end
- end
-end
View
@@ -0,0 +1,14 @@
+module Rspec # :nodoc:
+ module Version # :nodoc:
+ unless defined?(MAJOR)
+ MAJOR = 2
+ MINOR = 0
+ TINY = 0
+ PRE = 'a2'
+
+ STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
+
+ SUMMARY = "rspec-meta " + STRING
+ end
+ end
+end
@@ -1,15 +1,15 @@
# Generated by jeweler
-# DO NOT EDIT THIS FILE DIRECTLY
-# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
+# DO NOT EDIT THIS FILE
+# Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec`
# -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
- s.name = %q{rspec-meta}
+ s.name = %q{rspec}
s.version = "2.0.0.a2"
s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
s.authors = ["David Chelimsky", "Chad Humphries"]
- s.date = %q{2009-11-08}
+ s.date = %q{2010-01-19}
s.email = %q{dchelimsky@gmail.com;chad.humphries@gmail.com}
s.extra_rdoc_files = [
"README.markdown"
@@ -23,8 +23,8 @@ Gem::Specification.new do |s|
"VERSION",
"VERSION.yml",
"lib/rspec.rb",
- "lib/rspec/meta/version.rb",
- "rspec-meta.gemspec"
+ "lib/rspec/version.rb",
+ "rspec.gemspec"
]
s.homepage = %q{http://github.com/rspec/meta}
s.rdoc_options = ["--charset=UTF-8"]
@@ -51,4 +51,3 @@ Gem::Specification.new do |s|
s.add_dependency(%q<rspec-mocks>, [">= 2.0.0.a2"])
end
end
-

0 comments on commit 1badd9c

Please sign in to comment.