diff --git a/Gemfile.lock b/Gemfile.lock index 4675d74..9db04dc 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,104 +1,100 @@ PATH remote: . specs: - email_recipient_guard (0.9.2) - rails (>= 3.0.15, < 3.3) + email_recipient_guard (0.9.3) + rails (~> 4.0.0) GEM remote: http://rubygems.org/ specs: - actionmailer (3.2.6) - actionpack (= 3.2.6) - mail (~> 2.4.4) - actionpack (3.2.6) - activemodel (= 3.2.6) - activesupport (= 3.2.6) - builder (~> 3.0.0) + actionmailer (4.0.1) + actionpack (= 4.0.1) + mail (~> 2.5.4) + actionpack (4.0.1) + activesupport (= 4.0.1) + builder (~> 3.1.0) erubis (~> 2.7.0) - journey (~> 1.0.1) - rack (~> 1.4.0) - rack-cache (~> 1.2) - rack-test (~> 0.6.1) - sprockets (~> 2.1.3) - activemodel (3.2.6) - activesupport (= 3.2.6) - builder (~> 3.0.0) - activerecord (3.2.6) - activemodel (= 3.2.6) - activesupport (= 3.2.6) - arel (~> 3.0.2) - tzinfo (~> 0.3.29) - activeresource (3.2.6) - activemodel (= 3.2.6) - activesupport (= 3.2.6) - activesupport (3.2.6) - i18n (~> 0.6) - multi_json (~> 1.0) - arel (3.0.2) - builder (3.0.0) - coderay (1.0.6) + rack (~> 1.5.2) + rack-test (~> 0.6.2) + activemodel (4.0.1) + activesupport (= 4.0.1) + builder (~> 3.1.0) + activerecord (4.0.1) + activemodel (= 4.0.1) + activerecord-deprecated_finders (~> 1.0.2) + activesupport (= 4.0.1) + arel (~> 4.0.0) + activerecord-deprecated_finders (1.0.3) + activesupport (4.0.1) + i18n (~> 0.6, >= 0.6.4) + minitest (~> 4.2) + multi_json (~> 1.3) + thread_safe (~> 0.1) + tzinfo (~> 0.3.37) + arel (4.0.1) + atomic (1.1.14) + builder (3.1.4) + coderay (1.1.0) erubis (2.7.0) - hike (1.2.1) - i18n (0.6.0) - journey (1.0.4) - jquery-rails (2.0.2) - railties (>= 3.2.0, < 5.0) - thor (~> 0.14) - json (1.7.3) - mail (2.4.4) - i18n (>= 0.4.0) + hike (1.2.3) + i18n (0.6.5) + jquery-rails (3.0.4) + railties (>= 3.0, < 5.0) + thor (>= 0.14, < 2.0) + mail (2.5.4) mime-types (~> 1.16) treetop (~> 1.4.8) - method_source (0.7.1) - mime-types (1.19) - multi_json (1.3.6) + method_source (0.8.2) + mime-types (1.25.1) + minitest (4.7.5) + multi_json (1.8.2) polyglot (0.3.3) - pry (0.9.9.6) - coderay (~> 1.0.5) - method_source (~> 0.7.1) - slop (>= 2.4.4, < 3) - rack (1.4.1) - rack-cache (1.2) - rack (>= 0.4) - rack-ssl (1.3.2) - rack - rack-test (0.6.1) + pry (0.9.12.4) + coderay (~> 1.0) + method_source (~> 0.8) + slop (~> 3.4) + rack (1.5.2) + rack-test (0.6.2) rack (>= 1.0) - rails (3.2.6) - actionmailer (= 3.2.6) - actionpack (= 3.2.6) - activerecord (= 3.2.6) - activeresource (= 3.2.6) - activesupport (= 3.2.6) - bundler (~> 1.0) - railties (= 3.2.6) - railties (3.2.6) - actionpack (= 3.2.6) - activesupport (= 3.2.6) - rack-ssl (~> 1.3.2) + rails (4.0.1) + actionmailer (= 4.0.1) + actionpack (= 4.0.1) + activerecord (= 4.0.1) + activesupport (= 4.0.1) + bundler (>= 1.3.0, < 2.0) + railties (= 4.0.1) + sprockets-rails (~> 2.0.0) + railties (4.0.1) + actionpack (= 4.0.1) + activesupport (= 4.0.1) rake (>= 0.8.7) - rdoc (~> 3.4) - thor (>= 0.14.6, < 2.0) - rake (0.9.2.2) - rdoc (3.12) - json (~> 1.4) - shoulda (3.0.1) - shoulda-context (~> 1.0.0) - shoulda-matchers (~> 1.0.0) - shoulda-context (1.0.0) - shoulda-matchers (1.0.0) - slop (2.4.4) - sprockets (2.1.3) + thor (>= 0.18.1, < 2.0) + rake (10.1.0) + shoulda (3.5.0) + shoulda-context (~> 1.0, >= 1.0.1) + shoulda-matchers (>= 1.4.1, < 3.0) + shoulda-context (1.1.6) + shoulda-matchers (2.4.0) + activesupport (>= 3.0.0) + slop (3.4.7) + sprockets (2.10.1) hike (~> 1.2) + multi_json (~> 1.0) rack (~> 1.0) tilt (~> 1.1, != 1.3.0) - sqlite3 (1.3.6) - thor (0.15.3) - tilt (1.3.3) - treetop (1.4.10) + sprockets-rails (2.0.1) + actionpack (>= 3.0) + activesupport (>= 3.0) + sprockets (~> 2.8) + sqlite3 (1.3.8) + thor (0.18.1) + thread_safe (0.1.3) + atomic + tilt (1.4.1) + treetop (1.4.15) polyglot polyglot (>= 0.3.1) - tzinfo (0.3.33) + tzinfo (0.3.38) PLATFORMS ruby diff --git a/email_recipient_guard.gemspec b/email_recipient_guard.gemspec index 2c54265..9fea373 100644 --- a/email_recipient_guard.gemspec +++ b/email_recipient_guard.gemspec @@ -18,7 +18,7 @@ Gem::Specification.new do |s| s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } s.require_paths = ["lib"] - s.add_dependency "rails", ">= 3.0.15", "< 3.3" + s.add_dependency "rails", "~> 4.0.0" s.add_development_dependency "sqlite3" s.add_development_dependency "shoulda" diff --git a/lib/email_recipient_guard/version.rb b/lib/email_recipient_guard/version.rb index 1f0c45c..ed63043 100644 --- a/lib/email_recipient_guard/version.rb +++ b/lib/email_recipient_guard/version.rb @@ -1,3 +1,3 @@ module EmailRecipientGuard - VERSION = "0.9.2" + VERSION = "0.9.3" end diff --git a/test/dummy/app/views/notifications/notification.text.erb b/test/dummy/app/views/notifications/notification.text.erb new file mode 100644 index 0000000..68edc61 --- /dev/null +++ b/test/dummy/app/views/notifications/notification.text.erb @@ -0,0 +1,3 @@ +Notifications#message + +<%= @greeting %>, find me in app/views/app/views/notifications/message.text.erb