Skip to content
This repository has been archived by the owner on Oct 18, 2020. It is now read-only.

Commit

Permalink
added support for rails4
Browse files Browse the repository at this point in the history
  • Loading branch information
moomerman committed Jan 14, 2013
1 parent a9c7c4b commit 8649417
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions lib/sendhub.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,7 @@ module Sendhub
require 'sendhub/plugins/rails2'
elsif Rails.version =~ /^3./
require 'sendhub/plugins/rails3'
elsif Rails.version =~ /^4./
require 'sendhub/plugins/rails3'
end
end
6 changes: 3 additions & 3 deletions sendhub.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

Gem::Specification.new do |s|
s.name = %q{sendhub}
s.version = "0.1.17"
s.version = "0.1.18"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Richard Taylor"]
s.date = %q{2012-07-11}
s.date = %q{2013-01-14}
s.description = %q{sendhub is a Ruby client library for SendHub.net.}
s.email = %q{[email protected]}
s.files = ["LICENSE", "README.textile","lib/sendhub.rb","lib/sendhub/ca.pem"] + Dir.glob('lib/sendhub/*.rb') + Dir.glob('lib/sendhub/plugins/*.rb')
Expand All @@ -21,7 +21,7 @@ Gem::Specification.new do |s|
if s.respond_to? :specification_version then
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
s.specification_version = 2

if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<json>, [">= 1.1.9"])
else
Expand Down

0 comments on commit 8649417

Please sign in to comment.