Skip to content

Commit

Permalink
Remove Ruby 1.8.7 support, 1.9.3+ now
Browse files Browse the repository at this point in the history
Foreman doesn't use the 1.8.7 support, and dropping it will allow for
merging of a 1.9+ specific fix for escaped commas in UIDs.
  • Loading branch information
Dominic Cleal committed Oct 8, 2015
1 parent 5006cf6 commit 42f4c67
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 11 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
sudo: false
language: ruby
rvm:
- '1.8.7'
- '1.9.3'
- '2.0.0'

Expand Down
2 changes: 0 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,3 @@
source 'https://rubygems.org'

gemspec

gem 'rubocop' if RUBY_VERSION !~ /1\.8\.7/
13 changes: 5 additions & 8 deletions ldap_fluff.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,11 @@ Gem::Specification.new do |s|
s.author = ['Jordan O\'Mara', 'Daniel Lobato', 'Petr Chalupa', 'Adam Price', 'Marek Hulan']
s.email = %w(jomara@redhat.com elobatocs@gmail.com pchalupa@redhat.com komidore64@gmail.com mhulan@redhat.com)

if RUBY_VERSION < '1.9'
s.add_dependency('net-ldap', '>= 0.3.1', '< 0.9.0')
s.add_dependency('activesupport', '~> 3.2')
s.add_dependency('i18n', '< 0.7.0')
else
s.add_dependency('net-ldap', '>= 0.3.1')
s.add_dependency('activesupport')
end
s.required_ruby_version = ">= 1.9.3"

s.add_dependency('net-ldap', '>= 0.3.1')
s.add_dependency('activesupport')
s.add_development_dependency('rake')
s.add_development_dependency('minitest')
s.add_development_dependency('rubocop')
end

0 comments on commit 42f4c67

Please sign in to comment.