From 150bf96b58b849e96978ca16f92f38a06382da0a Mon Sep 17 00:00:00 2001 From: Mehmet Cetin Date: Fri, 9 Sep 2016 11:57:42 +0300 Subject: [PATCH 1/3] update gems and ruby support --- .travis.yml | 5 +++-- Gemfile | 4 ++-- README.md | 7 ++++--- textoken.gemspec | 4 ++-- 4 files changed, 11 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index 117af03..ac57322 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,8 @@ rvm: - 1.9.3 - 2.0.0 - 2.1 - - 2.2 + - 2.2.5 + - 2.3.1 - ruby-head # uncomment this line if your project needs to run something other than `rake`: -# script: bundle exec rspec spec \ No newline at end of file +# script: bundle exec rspec spec diff --git a/Gemfile b/Gemfile index 7ecc376..fa28342 100644 --- a/Gemfile +++ b/Gemfile @@ -1,5 +1,5 @@ source 'https://rubygems.org' -gem 'coveralls', '~> 0.7' +gem 'coveralls', '0.8.15' -gemspec \ No newline at end of file +gemspec diff --git a/README.md b/README.md index e327013..6686e80 100644 --- a/README.md +++ b/README.md @@ -46,11 +46,11 @@ You can combine all options. 'Only' and 'Exclude' Options support multiple optio Public interface of Textoken presents two methods, **tokens** & **words** ```ruby -Textoken('Alfa.').tokens +Textoken('Alfa.').tokens # => ["Alfa", "."] # => splits punctuations by default whereas, -Textoken('Alfa.').words +Textoken('Alfa.').words # => ["Alfa."] # => does not split punctuations. ``` @@ -107,7 +107,8 @@ implementations: * Ruby 1.9.3 * Ruby 2.0.0 * Ruby 2.1 -* Ruby 2.2 +* Ruby 2.2.5 +* Ruby 2.3.1 * [JRuby](http://jruby.org/) If something doesn't work on one of these versions, it's a bug. diff --git a/textoken.gemspec b/textoken.gemspec index 05c61ce..9692f2a 100644 --- a/textoken.gemspec +++ b/textoken.gemspec @@ -16,6 +16,6 @@ Gem::Specification.new do |s| s.files = Dir["{app,config,db,lib}/**/*", "MIT-LICENSE", "Rakefile", "README.rdoc"] - s.add_development_dependency 'rspec', '~> 3.3.0', '>= 3.3.0' - s.add_development_dependency 'rake', '~> 10.0' + s.add_development_dependency 'rspec', '3.5.0' + s.add_development_dependency 'rake', '11.2.2' end From db178d59cc9bf688ba979432e418658729bfbd37 Mon Sep 17 00:00:00 2001 From: Mehmet Cetin Date: Fri, 9 Sep 2016 12:00:22 +0300 Subject: [PATCH 2/3] drop ruby 1.9.3 support --- .travis.yml | 1 - README.md | 1 - 2 files changed, 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index ac57322..afdc916 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,6 @@ language: ruby cache: bundler sudo: false rvm: - - 1.9.3 - 2.0.0 - 2.1 - 2.2.5 diff --git a/README.md b/README.md index 6686e80..8f0655c 100644 --- a/README.md +++ b/README.md @@ -104,7 +104,6 @@ Or install it yourself as: This library aims to support and is tested against the following Ruby implementations: -* Ruby 1.9.3 * Ruby 2.0.0 * Ruby 2.1 * Ruby 2.2.5 From cbf954e105eeb7fefe9a221e45352f3b6c52e95b Mon Sep 17 00:00:00 2001 From: Mehmet Cetin Date: Fri, 9 Sep 2016 12:04:42 +0300 Subject: [PATCH 3/3] minor version update --- lib/textoken/version.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/textoken/version.rb b/lib/textoken/version.rb index c006fee..f95f3ac 100644 --- a/lib/textoken/version.rb +++ b/lib/textoken/version.rb @@ -1,3 +1,3 @@ module Textoken - VERSION = "1.1.1" + VERSION = "1.1.2" end