From d502c7618bd3c7e35b7a69e50d963b90b1ab0a38 Mon Sep 17 00:00:00 2001 From: Shawn Snyder Date: Tue, 18 Nov 2025 14:24:47 -0600 Subject: [PATCH 1/4] master not main --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 460da56..f0f15ff 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,9 +2,9 @@ name: Ruby CI on: push: - branches: [ main ] + branches: [ master ] pull_request: - branches: [ main ] + branches: [ master ] jobs: test: From 507a89edd08da177ed0f0d4d0e39605289535c22 Mon Sep 17 00:00:00 2001 From: Shawn Snyder Date: Tue, 18 Nov 2025 14:26:59 -0600 Subject: [PATCH 2/4] There are no dependencies right now --- .github/workflows/ci.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f0f15ff..edc193f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,5 @@ jobs: with: ruby-version: '2.7.6' bundler-cache: true - - name: Install dependencies - run: bundle install - name: Run calculator tests run: rspec ./spec/option_calculator_spec.rb \ No newline at end of file From c689793f6c4e623b650706be12e1379a8e1ca382 Mon Sep 17 00:00:00 2001 From: Shawn Snyder Date: Tue, 18 Nov 2025 14:31:34 -0600 Subject: [PATCH 3/4] version bump --- .github/workflows/ci.yml | 2 ++ Gemfile | 3 +++ options_library.gemspec | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 Gemfile diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index edc193f..f0f15ff 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,5 +17,7 @@ jobs: with: ruby-version: '2.7.6' bundler-cache: true + - name: Install dependencies + run: bundle install - name: Run calculator tests run: rspec ./spec/option_calculator_spec.rb \ No newline at end of file diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..896d547 --- /dev/null +++ b/Gemfile @@ -0,0 +1,3 @@ +source "https://rubygems.org" + +gemspec \ No newline at end of file diff --git a/options_library.gemspec b/options_library.gemspec index c1a989e..5aa8dd9 100644 --- a/options_library.gemspec +++ b/options_library.gemspec @@ -2,7 +2,7 @@ Gem::Specification.new do |s| s.name = %q{options_library} - s.version = "1.0.3" + s.version = "2.0.0" s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version= s.authors = ["Dan Tylenda-Emmons"] From 4d496ab1187ac4eab6ef42db9d6431688a4037d0 Mon Sep 17 00:00:00 2001 From: Shawn Snyder Date: Tue, 18 Nov 2025 16:31:09 -0600 Subject: [PATCH 4/4] This time --- .github/workflows/ci.yml | 2 +- Gemfile | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f0f15ff..d254139 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,4 +20,4 @@ jobs: - name: Install dependencies run: bundle install - name: Run calculator tests - run: rspec ./spec/option_calculator_spec.rb \ No newline at end of file + run: bundle exec rspec ./spec/option_calculator_spec.rb \ No newline at end of file diff --git a/Gemfile b/Gemfile index 896d547..7528e48 100644 --- a/Gemfile +++ b/Gemfile @@ -1,3 +1,7 @@ source "https://rubygems.org" -gemspec \ No newline at end of file +gemspec + +group :test do + gem 'rspec' +end \ No newline at end of file