Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/elberskirch/ruby-gmail in…
Browse files Browse the repository at this point in the history
…to elberskirch-master
  • Loading branch information
adimircolen committed Nov 8, 2010
2 parents f7a6a13 + 35656b3 commit f2c7b18
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
1 change: 1 addition & 0 deletions Rakefile
Expand Up @@ -14,6 +14,7 @@ begin
gem.post_install_message = "\n\033[34mIf ruby-gmail saves you TWO hours of work, want to compensate me for, like, a half-hour?\nSupport me in making new and better gems:\033[0m \033[31;4mhttp://pledgie.com/campaigns/7087\033[0m\n\n"
gem.add_dependency('shared-mime-info', '>= 0')
gem.add_dependency('mail', '>= 2.2.1')
gem.add_dependency('mime', '>= 0.1')
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
end
Jeweler::GemcutterTasks.new
Expand Down
2 changes: 1 addition & 1 deletion VERSION
@@ -1 +1 @@
0.2.0
0.2.2
4 changes: 2 additions & 2 deletions lib/gmail.rb
Expand Up @@ -50,7 +50,7 @@ def labels

# gmail.label(name)
def label(name)
mailboxes[name] ||= Mailbox.new(self, mailbox)
mailboxes[name] ||= Mailbox.new(self, name)
end
alias :mailbox :label

Expand Down Expand Up @@ -119,7 +119,7 @@ def in_mailbox(mailbox, &block)
end
return value
else
mailboxes[name] ||= Mailbox.new(self, mailbox)
mailboxes[mailbox] ||= Mailbox.new(self, mailbox)
end
end
alias :in_label :in_mailbox
Expand Down
11 changes: 7 additions & 4 deletions ruby-gmail.gemspec
Expand Up @@ -5,11 +5,11 @@

Gem::Specification.new do |s|
s.name = %q{ruby-gmail}
s.version = "0.2.0"
s.version = "0.2.2"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["BehindLogic"]
s.date = %q{2010-05-14}
s.date = %q{2010-11-07}
s.description = %q{A Rubyesque interface to Gmail, with all the tools you'll need. Search, read and send multipart emails; archive, mark as read/unread, delete emails; and manage labels.}
s.email = %q{gems@behindlogic.com}
s.extra_rdoc_files = [
Expand Down Expand Up @@ -39,7 +39,7 @@ Support me in making new and better gems: http://pledgie.com/campaign
}
s.rdoc_options = ["--charset=UTF-8"]
s.require_paths = ["lib"]
s.rubygems_version = %q{1.3.6}
s.rubygems_version = %q{1.3.7}
s.summary = %q{A Rubyesque interface to Gmail, with all the tools you'll need.}
s.test_files = [
"test/test_gmail.rb",
Expand All @@ -50,16 +50,19 @@ Support me in making new and better gems: http://pledgie.com/campaign
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
s.specification_version = 3

if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<shared-mime-info>, [">= 0"])
s.add_runtime_dependency(%q<mail>, [">= 2.2.1"])
s.add_runtime_dependency(%q<mime>, [">= 0.1"])
else
s.add_dependency(%q<shared-mime-info>, [">= 0"])
s.add_dependency(%q<mail>, [">= 2.2.1"])
s.add_dependency(%q<mime>, [">= 0.1"])
end
else
s.add_dependency(%q<shared-mime-info>, [">= 0"])
s.add_dependency(%q<mail>, [">= 2.2.1"])
s.add_dependency(%q<mime>, [">= 0.1"])
end
end

0 comments on commit f2c7b18

Please sign in to comment.