From cf3abb3a984c30dc7772b234eaeba3915171bcf9 Mon Sep 17 00:00:00 2001 From: Tom Chipchase Date: Wed, 7 Sep 2022 10:00:42 +0100 Subject: [PATCH 1/2] Add Rakefile to manage gem tasks This is the standard Rakefile that gets generated when you run `bundle gem xxx` It gives us the following tasks: $ rake -T rake build # Build easol-canvas-2.2.0.gem into the pkg directory rake build:checksum # Generate SHA512 checksum if easol-canvas-2.2.0.gem into the checksums directory rake clean # Remove any temporary products rake clobber # Remove any generated files rake install # Build and install easol-canvas-2.2.0.gem into system gems rake install:local # Build and install easol-canvas-2.2.0.gem into system gems without network access rake release[remote] # Create tag v2.2.0 and build and push easol-canvas-2.2.0.gem to rubygems.org rake spec # Run RSpec code examples --- Rakefile | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 Rakefile diff --git a/Rakefile b/Rakefile new file mode 100644 index 0000000..b6ae734 --- /dev/null +++ b/Rakefile @@ -0,0 +1,8 @@ +# frozen_string_literal: true + +require "bundler/gem_tasks" +require "rspec/core/rake_task" + +RSpec::Core::RakeTask.new(:spec) + +task default: :spec From ec302fb79be5333c404e286eb47578e08df9ba82 Mon Sep 17 00:00:00 2001 From: Tom Chipchase Date: Wed, 7 Sep 2022 10:02:56 +0100 Subject: [PATCH 2/2] Bump version to 3.0.0 No additional functionality, but switching out our sass dependency seems like it merits a major version upgrade. --- lib/canvas/version.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/canvas/version.rb b/lib/canvas/version.rb index 4b43e18..7780603 100644 --- a/lib/canvas/version.rb +++ b/lib/canvas/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Canvas - VERSION = "2.2.0" + VERSION = "3.0.0" end