Skip to content

Commit

Permalink
properly set gemspec versions
Browse files Browse the repository at this point in the history
  • Loading branch information
pelle committed Nov 15, 2010
1 parent bb3da61 commit 88a3b8f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Rakefile
Expand Up @@ -15,7 +15,7 @@ end
desc 'Generate documentation for the oauth plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
rdoc.rdoc_dir = 'rdoc'
rdoc.title = 'Oauth'
rdoc.title = 'OAuth Plugin'
rdoc.options << '--line-numbers' << '--inline-source'
rdoc.rdoc_files.include('README')
rdoc.rdoc_files.include('lib/**/*.rb')
Expand All @@ -30,7 +30,7 @@ begin
gemspec.email = "oauth-ruby@googlegroups.com"
gemspec.homepage = "http://github.com/pelle/oauth-plugin"
gemspec.authors = ["Pelle Braendgaard"]
gemspec.add_dependency('oauth', '>= 0.3.5')
gemspec.add_dependency('oauth', '>= 0.4.4')
gemspec.rubyforge_project = 'oauth'
end

Expand Down
2 changes: 1 addition & 1 deletion VERSION
@@ -1 +1 @@
0.4.pre-1
0.4.0.pre1
10 changes: 5 additions & 5 deletions oauth-plugin.gemspec
Expand Up @@ -5,9 +5,9 @@

Gem::Specification.new do |s|
s.name = %q{oauth-plugin}
s.version = ""
s.version = "0.4.0.pre1"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
s.authors = ["Pelle Braendgaard"]
s.date = %q{2010-11-15}
s.description = %q{Rails plugin for implementing an OAuth Provider or Consumer}
Expand Down Expand Up @@ -190,12 +190,12 @@ Gem::Specification.new do |s|
s.specification_version = 3

if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<oauth>, [">= 0.3.5"])
s.add_runtime_dependency(%q<oauth>, [">= 0.4.4"])
else
s.add_dependency(%q<oauth>, [">= 0.3.5"])
s.add_dependency(%q<oauth>, [">= 0.4.4"])
end
else
s.add_dependency(%q<oauth>, [">= 0.3.5"])
s.add_dependency(%q<oauth>, [">= 0.4.4"])
end
end

0 comments on commit 88a3b8f

Please sign in to comment.