Skip to content

Commit

Permalink
move version to VERSION file
Browse files Browse the repository at this point in the history
  • Loading branch information
dchelimsky committed Feb 20, 2010
1 parent 3e2e9bd commit cec97d9
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 20 deletions.
3 changes: 2 additions & 1 deletion Rakefile
Expand Up @@ -9,7 +9,8 @@ begin
Jeweler::Tasks.new do |gem|
gem.name = "rspec-expectations"
gem.version = Rspec::Expectations::Version::STRING
gem.summary = "rspec expectations (should[_not] and matchers)"
gem.summary = "rspec-expectations-#{Rspec::Expectations::Version::STRING}"
gem.description = "rspec expectations (should[_not] and matchers)"
gem.rubyforge_project = "rspec"
gem.email = "dchelimsky@gmail.com;chad.humphries@gmail.com"
gem.homepage = "http://github.com/rspec/expectations"
Expand Down
1 change: 1 addition & 0 deletions VERSION
@@ -0,0 +1 @@
2.0.0.a7
11 changes: 1 addition & 10 deletions lib/rspec/expectations/version.rb
@@ -1,16 +1,7 @@
module Rspec # :nodoc:
module Expectations # :nodoc:
module Version # :nodoc:
unless defined?(MAJOR)
MAJOR = 2
MINOR = 0
TINY = 0
PRE = 'a6'

STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')

SUMMARY = "rspec-expectations " + STRING
end
STRING = File.read(File.expand_path('../../../../VERSION', __FILE__))
end
end
end
30 changes: 21 additions & 9 deletions rspec-expectations.gemspec
Expand Up @@ -5,11 +5,12 @@

Gem::Specification.new do |s|
s.name = %q{rspec-expectations}
s.version = "2.0.0.a6"
s.version = "2.0.0.a7"

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{2010-02-19}
s.date = %q{2010-02-20}
s.description = %q{rspec expectations (should[_not] and matchers)}
s.email = %q{dchelimsky@gmail.com;chad.humphries@gmail.com}
s.extra_rdoc_files = [
"README.markdown"
Expand All @@ -21,6 +22,11 @@ Gem::Specification.new do |s|
"README.markdown",
"Rakefile",
"Upgrade.markdown",
"VERSION",
"features/expectations/customized_message.feature",
"features/matchers/define_matcher.feature",
"features/matchers/define_matcher_outside_rspec.feature",
"features/support/env.rb",
"lib/rspec/expectations.rb",
"lib/rspec/expectations/differs/default.rb",
"lib/rspec/expectations/differs/load-diff-lcs.rb",
Expand Down Expand Up @@ -97,7 +103,7 @@ Gem::Specification.new do |s|
s.require_paths = ["lib"]
s.rubyforge_project = %q{rspec}
s.rubygems_version = %q{1.3.5}
s.summary = %q{rspec expectations (should[_not] and matchers)}
s.summary = %q{rspec-expectations-2.0.0.a7}
s.test_files = [
"spec/rspec/expectations/differs/default_spec.rb",
"spec/rspec/expectations/extensions/kernel_spec.rb",
Expand Down Expand Up @@ -137,15 +143,21 @@ Gem::Specification.new do |s|
s.specification_version = 3

if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
s.add_development_dependency(%q<rspec-core>, [">= 2.0.0.a6"])
s.add_development_dependency(%q<rspec-mocks>, [">= 2.0.0.a6"])
s.add_development_dependency(%q<cucumber>, [">= 0.6.2"])
s.add_development_dependency(%q<aruba>, [">= 0.1.1"])
s.add_development_dependency(%q<rspec-core>, [">= 2.0.0.a7"])
s.add_development_dependency(%q<rspec-mocks>, [">= 2.0.0.a7"])
else
s.add_dependency(%q<rspec-core>, [">= 2.0.0.a6"])
s.add_dependency(%q<rspec-mocks>, [">= 2.0.0.a6"])
s.add_dependency(%q<cucumber>, [">= 0.6.2"])
s.add_dependency(%q<aruba>, [">= 0.1.1"])
s.add_dependency(%q<rspec-core>, [">= 2.0.0.a7"])
s.add_dependency(%q<rspec-mocks>, [">= 2.0.0.a7"])
end
else
s.add_dependency(%q<rspec-core>, [">= 2.0.0.a6"])
s.add_dependency(%q<rspec-mocks>, [">= 2.0.0.a6"])
s.add_dependency(%q<cucumber>, [">= 0.6.2"])
s.add_dependency(%q<aruba>, [">= 0.1.1"])
s.add_dependency(%q<rspec-core>, [">= 2.0.0.a7"])
s.add_dependency(%q<rspec-mocks>, [">= 2.0.0.a7"])
end
end

0 comments on commit cec97d9

Please sign in to comment.