Skip to content

Commit

Permalink
Merge pull request #80 from toshimaru/cache-bundler-on-ci
Browse files Browse the repository at this point in the history
Add bundler cache configuration for TravisCI
  • Loading branch information
samg committed Mar 13, 2017
2 parents 75d2923 + 3c74634 commit 6f1d5be
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
language: ruby
sudo: false
cache: bundler
rvm:
- 1.8.7
- 1.9.3-p551
Expand All @@ -16,4 +17,4 @@ matrix:
- rvm: 1.8.7
- rvm: jruby-9.1.5.0
- rvm: rbx
- rvm: rbx-2
- rvm: rbx-2
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ platforms :rbx do
gem 'rubysl', '~> 2.0'
end

gemspec
gemspec
2 changes: 1 addition & 1 deletion diffy.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ Gem::Specification.new do |spec|

spec.add_development_dependency "rake"
spec.add_development_dependency "rspec"
end
end
2 changes: 1 addition & 1 deletion lib/diffy/format.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module Format
# ANSI color output suitable for terminal output
def color
map do |line|
case line
case line
when /^(---|\+\+\+|\\\\)/
"\033[90m#{line.chomp}\033[0m"
when /^\+/
Expand Down

0 comments on commit 6f1d5be

Please sign in to comment.