Skip to content

Commit

Permalink
End of line 1.8.x
Browse files Browse the repository at this point in the history
  • Loading branch information
joeyates committed Oct 12, 2015
1 parent 67b4bea commit a89035a
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 26 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
@@ -1,7 +1,5 @@
language: ruby
rvm:
- 1.8.7
- 1.9.3
- 2.0.0
- 2.2.0
script: "bundle exec rake spec"

1 change: 0 additions & 1 deletion README.md
Expand Up @@ -19,7 +19,6 @@ Usage
=====

```ruby
require 'rubygems' if RUBY_VERSION < '1.9'
require 'metar'
```

Expand Down
11 changes: 0 additions & 11 deletions Rakefile
Expand Up @@ -8,14 +8,3 @@ task :default => :spec
RSpec::Core::RakeTask.new do | t |
t.pattern = 'spec/**/*_spec.rb'
end

if RUBY_VERSION < '1.9'

RSpec::Core::RakeTask.new( 'spec:rcov' ) do |t|
t.pattern = 'spec/**/*_spec.rb'
t.rcov = true
t.rcov_opts = [ '--exclude', 'spec/,/gems/' ]
end

end

1 change: 0 additions & 1 deletion bin/parse_raw.rb
Expand Up @@ -6,7 +6,6 @@
=end

require 'rubygems' if RUBY_VERSION < '1.9'
require 'yaml'
require File.join(File.expand_path(File.dirname(__FILE__) + '/../lib'), 'metar')

Expand Down
12 changes: 2 additions & 10 deletions metar-parser.gemspec
Expand Up @@ -28,19 +28,11 @@ Gem::Specification.new do |s|

s.add_runtime_dependency 'rake'
s.add_runtime_dependency 'rdoc'
if RUBY_VERSION < '1.9'
s.add_runtime_dependency 'i18n', ['>= 0.3.5', '< 0.7.0']
else
s.add_runtime_dependency 'i18n', '>= 0.3.5'
end
s.add_runtime_dependency 'i18n', '~> 0.7.0'
s.add_runtime_dependency 'm9t', '~> 0.3.1'

s.add_development_dependency 'rspec', '~> 3.2.0'
if RUBY_VERSION < '1.9'
s.add_development_dependency 'rcov'
else
s.add_development_dependency 'simplecov'
end
s.add_development_dependency 'simplecov'
s.add_development_dependency 'pry'
s.add_development_dependency 'pry-doc'

Expand Down

0 comments on commit a89035a

Please sign in to comment.