From bb25794bbab7eff546d5900f10ddb9b9affbdccf Mon Sep 17 00:00:00 2001 From: Maxim Abramchuk <MaximAbramchuck@gmail.com> Date: Mon, 7 Dec 2015 12:02:43 +0300 Subject: [PATCH 1/2] Fix incomplete sentence --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5344b4e..991d798 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ HasSecureToken provides an easy way to generate uniques random tokens for any model in ruby on rails. **SecureRandom::base58** is used to generate the 24-character unique tokens, so collisions are highly unlikely. -**Note** If you're worried about possible collissions, there's a way to generate a race condition in the database in the same way that [validates_uniqueness_of](http://api.rubyonrails.org/classes/ActiveRecord/Validations/ClassMethods.html) can. You're encouraged to add an unique index in the database to deal +**Note** If you're worried about possible collissions, there's a way to generate a race condition in the database in the same way that [validates_uniqueness_of](http://api.rubyonrails.org/classes/ActiveRecord/Validations/ClassMethods.html) can. You're encouraged to add an unique index in the database to deal with this even more unlikely scenario. ## Installation From 57216bf6a653ffbd685a5d95f8b458138a4c5962 Mon Sep 17 00:00:00 2001 From: Maxim Abramchuk <maximabramchuck@gmail.com> Date: Mon, 7 Dec 2015 16:28:12 +0300 Subject: [PATCH 2/2] Use latest bundler version in CI --- .travis.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.travis.yml b/.travis.yml index f7cc851..b1decc1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,5 +9,13 @@ gemfile: - gemfiles/rails4_0.gemfile - gemfiles/rails4_1.gemfile - gemfiles/rails4_2.gemfile +before_install: +- gem update --system +- gem install bundler +install: bundle install +script: bundle exec rake build +env: + global: + secure: 0dc92adb26454f7a8fcf0639f9f85150fd82b08cabfe8a66e0c5dc85a9cdddbc83b38468f863048af3e7dec3dd3e354e0a50c1b327a1a9f556357897e13e8bc6 notifications: email: false