Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Ruby

on:
push:
branches:
- main
- master

pull_request:

jobs:
build:
runs-on: ubuntu-latest
name: Ruby ${{ matrix.ruby }}
strategy:
matrix:
ruby:
- '4.0'
- '3.4'

steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run the default task
run: bundle exec rspec
7 changes: 7 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,10 @@ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }

# Specify your gem's dependencies in fmcache.gemspec
gemspec

gem "bundler", "~> 2.7"
gem "rake", "~> 13.3"
gem "rspec", "~> 3.13"
gem "mock_redis", "~> 0.53"
gem "redis", "~> 5.4"
gem "activerecord"
95 changes: 56 additions & 39 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,60 +7,77 @@ PATH
GEM
remote: https://rubygems.org/
specs:
activemodel (6.1.3)
activesupport (= 6.1.3)
activerecord (6.1.3)
activemodel (= 6.1.3)
activesupport (= 6.1.3)
activesupport (6.1.3)
concurrent-ruby (~> 1.0, >= 1.0.2)
activemodel (8.1.2)
activesupport (= 8.1.2)
activerecord (8.1.2)
activemodel (= 8.1.2)
activesupport (= 8.1.2)
timeout (>= 0.4.0)
activesupport (8.1.2)
base64
bigdecimal
concurrent-ruby (~> 1.0, >= 1.3.1)
connection_pool (>= 2.2.5)
drb
i18n (>= 1.6, < 2)
json
logger (>= 1.4.2)
minitest (>= 5.1)
tzinfo (~> 2.0)
zeitwerk (~> 2.3)
coderay (1.1.2)
concurrent-ruby (1.1.8)
securerandom (>= 0.3)
tzinfo (~> 2.0, >= 2.0.5)
uri (>= 0.13.1)
base64 (0.3.0)
bigdecimal (4.0.1)
concurrent-ruby (1.3.6)
connection_pool (3.0.2)
diff-lcs (1.3)
drb (2.2.3)
field_mask_parser (0.4.3)
i18n (1.8.9)
concurrent-ruby (~> 1.0)
method_source (0.9.2)
minitest (5.14.4)
mock_redis (0.19.0)
pry (0.12.2)
coderay (~> 1.1.0)
method_source (~> 0.9.0)
rake (13.0.1)
redis (4.0.3)
rspec (3.8.0)
rspec-core (~> 3.8.0)
rspec-expectations (~> 3.8.0)
rspec-mocks (~> 3.8.0)
rspec-core (3.8.0)
rspec-support (~> 3.8.0)
rspec-expectations (3.8.2)
json (2.18.1)
logger (1.7.0)
minitest (6.0.2)
drb (~> 2.0)
prism (~> 1.5)
mock_redis (0.53.0)
redis (~> 5)
prism (1.9.0)
rake (13.3.1)
redis (5.4.1)
redis-client (>= 0.22.0)
redis-client (0.26.4)
connection_pool
rspec (3.13.2)
rspec-core (~> 3.13.0)
rspec-expectations (~> 3.13.0)
rspec-mocks (~> 3.13.0)
rspec-core (3.13.6)
rspec-support (~> 3.13.0)
rspec-expectations (3.13.5)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.8.0)
rspec-mocks (3.8.0)
rspec-support (~> 3.13.0)
rspec-mocks (3.13.7)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.8.0)
rspec-support (3.8.0)
tzinfo (2.0.4)
rspec-support (~> 3.13.0)
rspec-support (3.13.7)
securerandom (0.4.1)
timeout (0.6.0)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
zeitwerk (2.4.2)
uri (1.1.1)

PLATFORMS
ruby

DEPENDENCIES
activerecord
bundler (~> 1.16)
bundler (~> 2.7)
fmcache!
mock_redis (~> 0.19)
pry (~> 0.11)
rake (~> 13.0)
redis (~> 4.0)
rspec (~> 3.8)
mock_redis (~> 0.53)
rake (~> 13.3)
redis (~> 5.4)
rspec (~> 3.13)

BUNDLED WITH
1.17.3
2.7.2
7 changes: 0 additions & 7 deletions fmcache.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,5 @@ Gem::Specification.new do |spec|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]

spec.add_development_dependency "bundler", "~> 1.16"
spec.add_development_dependency "rake", "~> 13.0"
spec.add_development_dependency "rspec", "~> 3.8"
spec.add_development_dependency "pry", "~> 0.11"
spec.add_development_dependency "mock_redis", "~> 0.19"
spec.add_development_dependency "redis", "~> 4.0"
spec.add_development_dependency "activerecord"
spec.add_dependency "field_mask_parser", "~> 0.4.3"
end