We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6110413 commit b5a2884Copy full SHA for b5a2884
Gemfile
@@ -2,14 +2,28 @@ source 'https://rubygems.org'
2
3
gemspec
4
5
-gem "rake", "< 11.0" if RUBY_VERSION < '1.9.3'
6
-
7
-gem "treetop", "~> 1.4.10"
8
-gem "mime-types", "~> 1.16"
+gem 'activesupport', '>= 2.3.6' if RUBY_VERSION >= '1.9.3'
+gem 'activesupport', '>= 2.3.6', '< 4.0.0' if RUBY_VERSION < '1.9.3'
9
gem "tlsmail" if RUBY_VERSION <= '1.8.6'
+gem "mime-types", "~> 1.16"
+gem "treetop", "~> 1.4.10"
10
11
gem 'jruby-openssl', :platform => :jruby
12
13
# For gems not required to run tests
14
group :local_development, :test do
15
+ gem 'rake', '> 0.8.7' if RUBY_VERSION >= '1.9.3'
16
+ gem 'rake', '> 0.8.7', '< 11.0.1' if RUBY_VERSION < '1.9.3'
17
+ gem 'rdoc', '< 5' if RUBY_VERSION < '1.9'
18
+ gem "rspec", "~> 2.8.0"
19
+ case
20
+ when defined?(RUBY_ENGINE) && RUBY_ENGINE == 'rbx'
21
+ # Skip it
22
+ when RUBY_PLATFORM == 'java'
23
24
+ when RUBY_VERSION < '1.9'
25
+ gem "ruby-debug"
26
+ else
27
28
+ end
29
end
spec/mail/message_spec.rb
@@ -131,6 +131,10 @@ def basic_email
131
132
describe "YAML serialization" do
133
before(:each) do
134
+ # Ensure specs don't randomly fail due to messages being generated 1 second apart
135
+ time = DateTime.now
136
+ DateTime.stub(:now).and_return(time)
137
+
138
@yaml_mail = Mail::Message.new(:to => 'someone@somewhere.com',
139
:cc => 'someoneelse@somewhere.com',
140
:bcc => 'someonesecret@somewhere.com',
0 commit comments