Skip to content
This repository
Browse code

Updating Rakefile to work with new Bundler. Update gemfile to only re…

…quire tlsmail if < 1.8.6
  • Loading branch information...
commit 8990e3d8627e1aba7728d67120ffc54968546c80 1 parent 33114a4
Mikel Lindsaar authored

Showing 2 changed files with 4 additions and 6 deletions. Show diff stats Hide diff stats

  1. 2  Gemfile
  2. 8  Rakefile
2  Gemfile
... ...
@@ -1,4 +1,4 @@
1  
-gem "tlsmail"
  1
+gem "tlsmail" if RUBY_VERSION <= '1.8.6'
2 2
 gem 'activesupport', ">= 2.3.4"
3 3
 gem "mime-types"
4 4
 
8  Rakefile
@@ -23,11 +23,9 @@ spec = Gem::Specification.new do |s|
23 23
   s.has_rdoc = true
24 24
   s.extra_rdoc_files = ["README.rdoc", "CHANGELOG.rdoc", "TODO.rdoc"]
25 25
 
26  
-  manifest = Bundler::Environment.load(File.dirname(__FILE__) + '/Gemfile')
27  
-  manifest.dependencies.each do |dep|
28  
-    next if dep.only && dep.only.include?("test")
29  
-    s.add_dependency(dep.name, dep.version)
30  
-  end
  26
+  s.add_dependency('tlsmail') if RUBY_VERSION <= '1.8.6'
  27
+  s.add_dependency('activesupport', ">= 2.3.4")
  28
+  s.add_dependency('mime-types')
31 29
 
32 30
   s.require_path = 'lib'
33 31
   s.files = %w(README.rdoc Rakefile TODO.rdoc) + Dir.glob("lib/**/*")

0 notes on commit 8990e3d

Please sign in to comment.
Something went wrong with that request. Please try again.