From 30da68b2b9aa968f27675570574a9e0cebe2c7f5 Mon Sep 17 00:00:00 2001
From: Alessandro Fazzi <alessandro.fazzi@welaika.com>
Date: Fri, 4 Jan 2019 16:24:41 +0100
Subject: [PATCH 1/2] Update bundler dep to ~>2.0

---
 wordmove.gemspec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wordmove.gemspec b/wordmove.gemspec
index 2f0a798..e3f2030 100644
--- a/wordmove.gemspec
+++ b/wordmove.gemspec
@@ -38,7 +38,7 @@ Gem::Specification.new do |spec|
 
   spec.required_ruby_version = ">= 2.4.0"
 
-  spec.add_development_dependency "bundler", "~> 1.14", ">= 1.14.6"
+  spec.add_development_dependency "bundler", "~> 2.0"
   spec.add_development_dependency "priscilla", "~> 1.0"
   spec.add_development_dependency "pry-byebug", "~> 3.1"
   spec.add_development_dependency "rake", "~> 10.0"

From 064e69de03885cf47b95a947db605e0f2fee170d Mon Sep 17 00:00:00 2001
From: Alessandro Fazzi <alessandro.fazzi@welaika.com>
Date: Fri, 4 Jan 2019 16:39:53 +0100
Subject: [PATCH 2/2] Update Travis to use the new bundler

https://docs.travis-ci.com/user/languages/ruby/#bundler-20
---
 .travis.yml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index 341efd1..940948c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -7,6 +7,10 @@ rvm:
 
 cache: bundler
 
+before_install:
+  - gem update --system
+  - gem install bundler
+
 install:
   - curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
   - chmod +x wp-cli.phar