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
5 changes: 5 additions & 0 deletions .changeset/crisp-cats-listen.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"evervault-ruby": minor
---

Add nix support
5 changes: 5 additions & 0 deletions .changeset/sparkly-roses-follow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"evervault-ruby": major
---

Update to support current versions of Ruby, minimum 3.3.0
1 change: 1 addition & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
use flake
2 changes: 1 addition & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu]
ruby: [3.0, 3.1, 3.2]
ruby: ['3.3', '3.4', '4.0']
runs-on: ${{ matrix.os }}-latest
continue-on-error: ${{ endsWith(matrix.ruby, 'head') || matrix.ruby == 'debug' }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu]
ruby: [3.0, 3.1, 3.2]
ruby: ['3.3', '3.4', '4.0']
runs-on: ${{ matrix.os }}-latest
continue-on-error:
${{ endsWith(matrix.ruby, 'head') || matrix.ruby == 'debug' }}
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
/spec/reports/
/tmp/
Gemfile.lock
.direnv

# rspec failure tracking
.rspec_status
Expand Down
2 changes: 1 addition & 1 deletion evervault.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
spec.summary = 'Ruby SDK to run Evervault'
spec.homepage = 'https://evervault.com'
spec.license = 'MIT'
spec.required_ruby_version = '>= 3.0.0'
spec.required_ruby_version = '>= 3.3.0'

spec.metadata['homepage_uri'] = spec.homepage
spec.metadata['source_code_uri'] = 'https://github.com/evervault/evervault-ruby'
Expand Down
25 changes: 25 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 32 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
inputs = {
# Latest stable Nixpkgs
nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/0";
};

outputs = { self, nixpkgs }:
let
# Systems supported
allSystems = [
"x86_64-linux" # 64-bit Intel/AMD Linux
"aarch64-linux" # 64-bit ARM Linux
"x86_64-darwin" # 64-bit Intel macOS
"aarch64-darwin" # 64-bit ARM macOS
];

forAllSystems = f: nixpkgs.lib.genAttrs allSystems (system: f {
pkgs = import nixpkgs { inherit system; };
});
in
{
devShells = forAllSystems ({ pkgs }: {
default = pkgs.mkShell {
packages = with pkgs; [
nodejs_24
corepack_24
ruby
];
};
});
};
}
Loading