From 29396dd84f1ae918fb4c00da788e894c8daeaf75 Mon Sep 17 00:00:00 2001 From: Rodrigo Martins Date: Tue, 28 Mar 2023 15:30:58 +0100 Subject: [PATCH 1/5] feat: update version --- lib/yomu/version.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/yomu/version.rb b/lib/yomu/version.rb index 9c68582..0fac5ff 100644 --- a/lib/yomu/version.rb +++ b/lib/yomu/version.rb @@ -1,3 +1,3 @@ class Yomu - VERSION = '0.2.4' + VERSION = '2.0.0' end From b746ccf6e70c1b5c3de995056e5bb01db4938537 Mon Sep 17 00:00:00 2001 From: Rodrigo Martins Date: Tue, 28 Mar 2023 15:31:20 +0100 Subject: [PATCH 2/5] feat: update gems versions --- yomu.gemspec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yomu.gemspec b/yomu.gemspec index 43d75e2..3117020 100644 --- a/yomu.gemspec +++ b/yomu.gemspec @@ -19,9 +19,9 @@ Gem::Specification.new do |spec| spec.require_paths = ['lib'] spec.add_runtime_dependency 'mime-types', '~> 1.23' - spec.add_runtime_dependency 'json', '~> 1.8' + spec.add_runtime_dependency 'json', '~> 2.6' - spec.add_development_dependency 'bundler', '~> 1.3' + spec.add_development_dependency 'bundler', '~> 2.4.10' spec.add_development_dependency 'rake' - spec.add_development_dependency 'rspec', '~> 2.14' + spec.add_development_dependency 'rspec', '~> 3.12.0' end From c2aa9be24ce8b49bf2b1f8ff13dc828158dbd5c4 Mon Sep 17 00:00:00 2001 From: Rodrigo Martins Date: Tue, 28 Mar 2023 15:45:16 +0100 Subject: [PATCH 3/5] feat: add require time --- lib/yomu.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/yomu.rb b/lib/yomu.rb index e039861..16f52e5 100644 --- a/lib/yomu.rb +++ b/lib/yomu.rb @@ -3,6 +3,7 @@ require 'net/http' require 'mime/types' require 'json' +require 'time' require 'socket' require 'stringio' From 6b9816a675663e9ccde243d56b42b2fd3977293b Mon Sep 17 00:00:00 2001 From: Rodrigo Martins Date: Tue, 28 Mar 2023 15:48:58 +0100 Subject: [PATCH 4/5] feat: update gem and ruby versions --- yomu.gemspec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/yomu.gemspec b/yomu.gemspec index 3117020..2d2375c 100644 --- a/yomu.gemspec +++ b/yomu.gemspec @@ -18,10 +18,12 @@ Gem::Specification.new do |spec| spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) spec.require_paths = ['lib'] - spec.add_runtime_dependency 'mime-types', '~> 1.23' + spec.add_runtime_dependency 'mime-types', '~> 3.4.1' spec.add_runtime_dependency 'json', '~> 2.6' spec.add_development_dependency 'bundler', '~> 2.4.10' spec.add_development_dependency 'rake' spec.add_development_dependency 'rspec', '~> 3.12.0' + + spec.required_ruby_version = '>= 2.7.3' end From 172dc65aec8283841700ffcecda96b8c6da04242 Mon Sep 17 00:00:00 2001 From: Rodrigo Martins Date: Tue, 28 Mar 2023 15:49:15 +0100 Subject: [PATCH 5/5] feat: add gems to use in test --- Gemfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Gemfile b/Gemfile index 4214d92..1bed8aa 100644 --- a/Gemfile +++ b/Gemfile @@ -2,3 +2,8 @@ source 'https://rubygems.org' # Specify your gem's dependencies in readen.gemspec gemspec + +group :development, :test do + gem "pry" + gem "rake" +end