Skip to content

Commit

Permalink
Merge pull request #2 from benSlaughter/vun-update
Browse files Browse the repository at this point in the history
Venerability update - Version 1.0.0
  • Loading branch information
benSlaughter authored Feb 19, 2018
2 parents 4f431c8 + 4f17cc1 commit f95502f
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 84 deletions.
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ build/

# for a library or gem, you might want to ignore these files since the code is
# intended to run in multiple environments; otherwise, check them in:
# Gemfile.lock
# .ruby-version
# .ruby-gemset
Gemfile.lock
.ruby-version
.ruby-gemset

# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
.rvmrc
8 changes: 5 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
language: ruby
rvm:
- ruby-head
- 2.1.3
- 2.1.0
- 2.0.0
- 2.4.3
- 2.3.6
- 2.2.8
- 2.1.10
- 2.0.0-p648
matrix:
allow_failures:
- rvm: ruby-head
Expand Down
3 changes: 1 addition & 2 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
source 'http://rubygems.org'

gem 'coveralls', '~> 0.6.7', require: false
gem 'codeclimate-test-reporter', group: :test, require: nil
gem 'coveralls', '~> 0.8.21', require: false
gemspec
65 changes: 0 additions & 65 deletions Gemfile.lock

This file was deleted.

14 changes: 7 additions & 7 deletions faraday_middleware-parse_csv.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ Gem::Specification.new do |spec|
spec.summary = 'Faraday middleware for parsing CSV'
spec.description = 'Faraday middleware for parsing CSV using tempfile to include encoding'
spec.homepage = 'http://benslaughter.github.io/faraday_middleware-parse_csv/'
spec.version = '0.1.0'
spec.version = '1.0.0'
spec.version = "#{spec.version}-#{ENV['TRAVIS_BUILD_NUMBER']}" if ENV['TRAVIS']
spec.date = '2014-11-05'
spec.date = '2018-02-19'
spec.license = 'MIT'

spec.author = 'Ben Slaughter'
spec.email = '[email protected]'

spec.files = ['README.md', 'LICENSE']
spec.files = %w(README.md LICENSE)
spec.files += Dir.glob('lib/**/*.rb')
spec.files += Dir.glob('spec/**/*')
spec.test_files = Dir.glob('spec/**/*')
Expand All @@ -23,8 +23,8 @@ Gem::Specification.new do |spec|
spec.add_runtime_dependency 'faraday', '~> 0.9'
spec.add_runtime_dependency 'faraday_middleware', '~> 0.9'

spec.add_development_dependency 'coveralls', '~> 0.6'
spec.add_development_dependency 'rake', '~> 10.3'
spec.add_development_dependency 'rspec', '~> 3.1'
spec.add_development_dependency 'yard', '~> 0.8'
spec.add_development_dependency 'coveralls', '~> 0.8'
spec.add_development_dependency 'rake', '~> 12.3'
spec.add_development_dependency 'rspec', '~> 3.7'
spec.add_development_dependency 'yard', '~> 0.9'
end
4 changes: 2 additions & 2 deletions spec/faraday_middleware/parse_csv_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
end

it 'parses the response of a csv string' do
expect(@connection.get('/normal').body).to eq [%w(one two three)]
expect(@connection.get('/normal').body).to eq [%w[one two three]]
end

it 'parses the response of a utf-8 bom string' do
expect(@connection.get('/utf8').body).to eq [%w(one two three)]
expect(@connection.get('/utf8').body).to eq [%w[one two three]]
end
end
2 changes: 0 additions & 2 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))

require 'codeclimate-test-reporter'
require 'coveralls'
require 'rspec'

CodeClimate::TestReporter.start
Coveralls.wear!

require 'faraday_middleware/parse_csv'
Expand Down

0 comments on commit f95502f

Please sign in to comment.