Skip to content

Commit

Permalink
Merge pull request #19 from stanhu/sh-update-nokogiri
Browse files Browse the repository at this point in the history
Upgrade Nokogiri and Ruby versions
  • Loading branch information
jorgemanrubia committed Jan 4, 2019
2 parents c32a46e + 32ccfd3 commit c3d094a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.3.1
2.5.3
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@ env:
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
rvm:
- 2.3.1
- 2.4.4
- 2.5.3
- 2.6.0

10 changes: 5 additions & 5 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ PATH
specs:
truncato (0.7.10)
htmlentities (~> 4.3.1)
nokogiri (~> 1.8.0, >= 1.7.0)
nokogiri (>= 1.7.0, <= 2.0)

GEM
remote: https://rubygems.org/
Expand All @@ -12,9 +12,9 @@ GEM
html_truncator (0.4.1)
nokogiri (~> 1.5)
htmlentities (4.3.4)
mini_portile2 (2.2.0)
nokogiri (1.8.0)
mini_portile2 (~> 2.2.0)
mini_portile2 (2.4.0)
nokogiri (1.9.1)
mini_portile2 (~> 2.4.0)
peppercorn (0.0.3)
nokogiri (~> 1.5)
rake (10.1.1)
Expand All @@ -39,4 +39,4 @@ DEPENDENCIES
truncato!

BUNDLED WITH
1.13.7
1.17.3
2 changes: 1 addition & 1 deletion truncato.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Gem::Specification.new do |s|
s.rubygems_version = "2.0.2"
s.summary = "A tool for truncating HTML strings efficiently"

s.add_dependency "nokogiri", ">= 1.7.0", "~> 1.8.0"
s.add_dependency "nokogiri", ">= 1.7.0", "<= 2.0"
s.add_dependency "htmlentities", "~> 4.3.1"

s.add_development_dependency "rspec", '~> 2.14.1'
Expand Down

0 comments on commit c3d094a

Please sign in to comment.