From b3a809ab1cd445a3750d104a4ac7f496574b6a22 Mon Sep 17 00:00:00 2001 From: Ricky Barrette Date: Wed, 27 Dec 2023 15:03:08 -0500 Subject: [PATCH] Redmine 5.1 Update --- Gemfile | 2 +- init.rb | 8 ++++---- lib/pdf_patch.rb | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Gemfile b/Gemfile index 9924dce..baf0247 100644 --- a/Gemfile +++ b/Gemfile @@ -1,7 +1,7 @@ source 'https://rubygems.org' gem 'quickbooks-ruby' -gem 'oauth2', '1.4.7' +gem 'oauth2' gem 'roxml' gem 'nhtsa_vin' gem 'will_paginate' diff --git a/init.rb b/init.rb index c79919d..25795c2 100644 --- a/init.rb +++ b/init.rb @@ -1,6 +1,6 @@ #The MIT License (MIT) # -#Copyright (c) 2022 rick barrette +#Copyright (c) 2023 rick barrette # #Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: # @@ -22,11 +22,11 @@ Redmine::Plugin.register :redmine_qbo do name 'Redmine Quickbooks Online plugin' author 'Rick Barrette' description 'This is a plugin for Redmine to intergrate with Quickbooks Online to allow for seamless intergration CRM and invoicing of completed issues' - version '1.1.6' + version '1.2.0' url 'https://github.com/rickbarrette/redmine_qbo' - author_url 'http://rickbarrette.org' + author_url 'https://barrettefabrication.com' settings :default => {'empty' => true}, :partial => 'qbo/settings' - requires_redmine :version_or_higher => '4.0.0' + requires_redmine :version_or_higher => '5.1.0' # Add safe attributes for core models Issue.safe_attributes 'customer_id' diff --git a/lib/pdf_patch.rb b/lib/pdf_patch.rb index ed659b0..803f045 100644 --- a/lib/pdf_patch.rb +++ b/lib/pdf_patch.rb @@ -1,6 +1,6 @@ #The MIT License (MIT) # -#Copyright (c) 2022 rick barrette +#Copyright (c) 2023 rick barrette # #Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: # @@ -11,7 +11,7 @@ require_dependency 'redmine/export/pdf' require_dependency 'redmine/export/pdf/issues_pdf_helper' -module IssuesPdfHelperPatch +module PdfPatch def self.included(base) base.send(:include, InstanceMethods) @@ -256,4 +256,4 @@ module IssuesPdfHelperPatch end end -Redmine::Export::PDF::IssuesPdfHelper.send(:include, IssuesPdfHelperPatch) +Redmine::Export::PDF::IssuesPdfHelper.send(:include, PdfPatch)