From 7dcea1704edb1a89e9fb9603b753b47ee11aebc6 Mon Sep 17 00:00:00 2001 From: Mike Bijon Date: Mon, 14 Jan 2019 14:42:59 -0800 Subject: [PATCH 1/3] Using `require_relative` in vpim.gemspec. Prevents path/not found errors in low-perm rvm --- vpim.gemspec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vpim.gemspec b/vpim.gemspec index e2b0cbb..533a829 100644 --- a/vpim.gemspec +++ b/vpim.gemspec @@ -1,8 +1,8 @@ require 'ubygems' require 'pp' require 'rake' -require './gemspec' -require './lib/vpim/version' +require_relative 'gemspec' +require_relative 'lib/vpim/version' Gem::Specification.new do |s| info(s) From 1400d7f4b20f1fce9a064034f78a87bf4dfdc9ca Mon Sep 17 00:00:00 2001 From: Mike Bijon Date: Mon, 14 Jan 2019 15:14:55 -0800 Subject: [PATCH 2/3] Amend previous ...typo during commit review --- vpim.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vpim.gemspec b/vpim.gemspec index 533a829..cc9291f 100644 --- a/vpim.gemspec +++ b/vpim.gemspec @@ -1,4 +1,4 @@ -require 'ubygems' +require 'rubygems' require 'pp' require 'rake' require_relative 'gemspec' From 2aa4982ff78c0f2b9028cf1b4d7b5742d192a152 Mon Sep 17 00:00:00 2001 From: Mike Bijon Date: Mon, 14 Jan 2019 15:30:14 -0800 Subject: [PATCH 3/3] Fix Rubygems deprecation warning for #has_rdoc --- vpim.gemspec | 1 - 1 file changed, 1 deletion(-) diff --git a/vpim.gemspec b/vpim.gemspec index cc9291f..d118a9e 100644 --- a/vpim.gemspec +++ b/vpim.gemspec @@ -13,7 +13,6 @@ Gem::Specification.new do |s| This is a pure-ruby library for decoding and encoding vCard and iCalendar data ("personal information") called vPim. --- - s.has_rdoc = true s.extra_rdoc_files = ["README.rdoc", "CHANGES", "COPYING", "samples/README.mutt" ] candidates = FileList[