Skip to content

Commit

Permalink
lib: fix compatibility with libressl (macos) and openssl 1.1.1k (#66)
Browse files Browse the repository at this point in the history
* 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 <muhammadabdullahkhalil@gmail.com>
  • Loading branch information
q9f and mabdullahkhalil authored Jan 4, 2022
1 parent 7752afb commit 0f2629e
Show file tree
Hide file tree
Showing 5 changed files with 319 additions and 174 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,26 @@ on:

jobs:
build:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
ruby: ['2.7', '3.0']
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Brew Automake
run: |
brew install automake
if: startsWith(matrix.os, 'macOS')
- name: Install Dependencies
run: |
git submodule update --init
bundle install
- name: Run Tests
run: |
rspec
bundle exec rspec
3 changes: 2 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# frozen_string_literal: true

source 'https://rubygems.org'

gem 'money-tree', git: 'https://github.com/GemHQ/money-tree.git'
source 'https://rubygems.org'
# Specify your gem's dependencies in eth.gemspec
gemspec
5 changes: 3 additions & 2 deletions eth.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,13 @@ Gem::Specification.new do |spec|

spec.add_dependency 'keccak', '~> 1.3'
spec.add_dependency 'ffi', '~> 1.15'
spec.add_dependency 'money-tree', '~> 0.10'
spec.add_dependency 'money-tree', '~> 0.11'
spec.add_dependency 'openssl', '~> 3.0'
spec.add_dependency 'rlp', '~> 0.7'
spec.add_dependency 'scrypt', '~> 3.0'

spec.platform = Gem::Platform::RUBY
spec.required_ruby_version = ">= 2.2", "< 4.0"
spec.required_ruby_version = ">= 2.6", "< 4.0"

spec.add_development_dependency 'bundler', '~> 2.2'
spec.add_development_dependency 'pry', '~> 0.14'
Expand Down
Loading

0 comments on commit 0f2629e

Please sign in to comment.