From 2176a58dc9f593bdb88a4e7a2d26ee32fd86125f Mon Sep 17 00:00:00 2001 From: Danilo Grieco <53854308+gridanjbf@users.noreply.github.com> Date: Mon, 3 Jun 2024 11:22:11 +0200 Subject: [PATCH] Bump version v0.2.0 (#44) --- lib/sharepoint/version.rb | 12 ++++++++++++ sharepoint.gemspec | 5 ++++- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 lib/sharepoint/version.rb diff --git a/lib/sharepoint/version.rb b/lib/sharepoint/version.rb new file mode 100644 index 0000000..07eea6e --- /dev/null +++ b/lib/sharepoint/version.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Sharepoint + module Version + MAJOR = 0 + MINOR = 2 + PATCH = 0 + BUILD = nil + + VERSION = [MAJOR, MINOR, PATCH, BUILD].compact.join('.').freeze + end +end diff --git a/sharepoint.gemspec b/sharepoint.gemspec index 0a4f4ff..3855887 100644 --- a/sharepoint.gemspec +++ b/sharepoint.gemspec @@ -1,8 +1,11 @@ # frozen_string_literal: true +$LOAD_PATH.push File.expand_path('lib', __dir__) +require 'sharepoint/version' + Gem::Specification.new do |gem| gem.name = 'sharepoint' - gem.version = '0.1.0' + gem.version = Sharepoint::Version::VERSION gem.authors = ['Antonio Delfin'] gem.email = ['a.delfin@ifad.org'] gem.description = 'Ruby client to consume Sharepoint services'