Skip to content

Commit

Permalink
Revving the gem version again.
Browse files Browse the repository at this point in the history
  • Loading branch information
Fluxx committed Mar 9, 2010
1 parent 2fb32bd commit d1625fa
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ begin
gem.email = %q{[email protected]}
gem.homepage = "http://www.seomoz.org/api"
gem.authors = ["Marty Smyth", "Jeff Pollard"]
gem.add_development_dependency "ruby-hmac", ">= 0"
gem.add_dependency "ruby-hmac", ">= 0"
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
end
Jeweler::GemcutterTasks.new
Expand Down
5 changes: 5 additions & 0 deletions lib/linkscape.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
require 'rubygems'
require 'cgi'
require 'base64'
require 'hmac-sha1'

directory = File.expand_path(File.dirname(__FILE__))

require File.join(directory, 'hash-ext') unless Hash.method_defined?(:symbolize_keys)
Expand Down
4 changes: 0 additions & 4 deletions lib/linkscape/signer.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
module Linkscape
class Signer
require 'rubygems'
require 'cgi'
require 'base64'
require 'hmac-sha1'

def self.signParams params, keysToSign=[:accessID, :expiration], key = nil
params[:expiration] ||= Time.now.to_i + 60
Expand Down
5 changes: 3 additions & 2 deletions linkscape.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Gem::Specification.new do |s|
s.name = %q{linkscape}
s.version = "0.2.3"
s.version = "0.2.5"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Marty Smyth", "Jeff Pollard"]
Expand All @@ -20,6 +20,7 @@ Gem::Specification.new do |s|
".gitignore",
"LICENSE",
"README.rdoc",
"Rakefile",
"VERSION",
"lib/hash-ext.rb",
"lib/linkscape.rb",
Expand Down Expand Up @@ -48,7 +49,7 @@ 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<ruby-hmac>, [">= 0"])
s.add_runtime_dependency(%q<ruby-hmac>, [">= 0"])
else
s.add_dependency(%q<ruby-hmac>, [">= 0"])
end
Expand Down

0 comments on commit d1625fa

Please sign in to comment.