Skip to content

Commit 0f2629e

Browse files
q9fmabdullahkhalil
andauthored
lib: fix compatibility with libressl (macos) and openssl 1.1.1k (#66)
* gem: add openssl dependency * gem: bump version for next release * lib: update openssl class to allow for libressl compatibility * lib: allow for hardcoded version bytes of ledger signatures * ci: enable macos-latest * ci: use matrix for os and ruby * ci: use bundler to exec rspec * Mabdullahlkhalil/gemdependacies (#73) * gems: bump keccak to 1.3.0 (#69) * Gems: bump version to 0.4.17 (#70) * Gems: bump version to 0.4.17 * docs: update changelog * Dependancy money tree changed * Adding Money tree dependanccy * mabdullahlkhalil/gemdependacies * Gem dependanct * Gem dependanct * Gem dependacy * mabdullahlkhalil/gemdependacies * Gem dependacy * Money Tree fix * Update eth.gemspec * Update eth.gemspec Co-authored-by: Muhammad Abdullah Khalil <[email protected]>
1 parent 7752afb commit 0f2629e

File tree

5 files changed

+319
-174
lines changed

5 files changed

+319
-174
lines changed

.github/workflows/build.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,26 @@ on:
1111

1212
jobs:
1313
build:
14-
runs-on: ubuntu-latest
14+
runs-on: ${{ matrix.os }}
15+
strategy:
16+
fail-fast: false
17+
matrix:
18+
os: [ubuntu-latest, macos-latest]
19+
ruby: ['2.7', '3.0']
1520
steps:
1621
- uses: actions/checkout@v2
1722
- uses: ruby/setup-ruby@v1
1823
with:
19-
ruby-version: 3.0
24+
ruby-version: ${{ matrix.ruby }}
25+
bundler-cache: true
26+
- name: Brew Automake
27+
run: |
28+
brew install automake
29+
if: startsWith(matrix.os, 'macOS')
2030
- name: Install Dependencies
2131
run: |
2232
git submodule update --init
2333
bundle install
2434
- name: Run Tests
2535
run: |
26-
rspec
36+
bundle exec rspec

Gemfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# frozen_string_literal: true
22

3-
source 'https://rubygems.org'
43

4+
gem 'money-tree', git: 'https://github.com/GemHQ/money-tree.git'
5+
source 'https://rubygems.org'
56
# Specify your gem's dependencies in eth.gemspec
67
gemspec

eth.gemspec

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,13 @@ Gem::Specification.new do |spec|
3232

3333
spec.add_dependency 'keccak', '~> 1.3'
3434
spec.add_dependency 'ffi', '~> 1.15'
35-
spec.add_dependency 'money-tree', '~> 0.10'
35+
spec.add_dependency 'money-tree', '~> 0.11'
36+
spec.add_dependency 'openssl', '~> 3.0'
3637
spec.add_dependency 'rlp', '~> 0.7'
3738
spec.add_dependency 'scrypt', '~> 3.0'
3839

3940
spec.platform = Gem::Platform::RUBY
40-
spec.required_ruby_version = ">= 2.2", "< 4.0"
41+
spec.required_ruby_version = ">= 2.6", "< 4.0"
4142

4243
spec.add_development_dependency 'bundler', '~> 2.2'
4344
spec.add_development_dependency 'pry', '~> 0.14'

0 commit comments

Comments
 (0)