Skip to content

Commit

Permalink
get rid of 'warning: already initialized constant ...' message
Browse files Browse the repository at this point in the history
  • Loading branch information
Konstantin committed Mar 31, 2010
1 parent 27eeb7b commit f62b0fb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion lib/awsbase/right_awsbase.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@

# Test
module RightAws
require 'md5'
# require 'md5'
require 'digest/md5'
require 'pp'

class AwsUtils #:nodoc:
Expand Down
8 changes: 4 additions & 4 deletions lib/right_aws.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@

module RightAws #:nodoc:
module VERSION #:nodoc:
MAJOR = 1
MINOR = 11
TINY = 0
MAJOR = 1 unless defined?(MAJOR)
MINOR = 11 unless defined?(MINOR)
TINY = 0 unless defined?(TINY)

STRING = [MAJOR, MINOR, TINY].join('.')
STRING = [MAJOR, MINOR, TINY].join('.') unless defined?(STRING)
end
end

Expand Down

0 comments on commit f62b0fb

Please sign in to comment.