Skip to content

Commit

Permalink
Allow rails 5
Browse files Browse the repository at this point in the history
  • Loading branch information
fphilipe committed Apr 10, 2016
1 parent a08efe7 commit 4b57a2b
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -12,6 +12,7 @@ env:
- JRUBY_OPTS="--2.0"
matrix:
- ACTION_MAILER_VERSION=4
- ACTION_MAILER_VERSION=5.beta
- ACTION_MAILER_VERSION=master
matrix:
allow_failures:
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,9 @@
# Changelog

## HEAD

- Update rails dependency to allow rails 5

## v1.9.1

- Respect data-premailer="ignore" on link tags
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Expand Up @@ -2,7 +2,7 @@ source 'https://rubygems.org'

gemspec

action_mailer_version = ENV.fetch('ACTION_MAILER_VERSION', '4.0')
action_mailer_version = ENV.fetch('ACTION_MAILER_VERSION', '4')

if action_mailer_version == 'master'
git 'git://github.com/rails/rails.git' do
Expand Down
2 changes: 1 addition & 1 deletion example/Gemfile
@@ -1,6 +1,6 @@
source 'https://rubygems.org'

gem 'rails', '4.2.5'
gem 'rails', '~> 5.0.0.beta3'
gem 'premailer-rails', path: '..'
gem 'nokogiri'

Expand Down
2 changes: 1 addition & 1 deletion premailer-rails.gemspec
Expand Up @@ -21,7 +21,7 @@ Gem::Specification.new do |s|
s.require_paths = ["lib"]

s.add_dependency 'premailer', '~> 1.7', '>= 1.7.9'
s.add_dependency 'actionmailer', '>= 3', '< 5'
s.add_dependency 'actionmailer', '>= 3', '< 6'

s.add_development_dependency 'rspec', '~> 3.3'
s.add_development_dependency 'nokogiri'
Expand Down

0 comments on commit 4b57a2b

Please sign in to comment.