From 4a13da952b2fcd713bce4d0eb5123ca6c7fd3bbe Mon Sep 17 00:00:00 2001 From: Gregg Kellogg Date: Mon, 17 Jul 2023 13:50:50 -0700 Subject: [PATCH] Don't check `simple` when comparing term definitions. Relates to w3c/json-ld-api#570. --- .github/workflows/ci.yml | 4 ++-- lib/json/ld/context.rb | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a5767f0..8b90266 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,7 +32,7 @@ jobs: - name: Run tests run: ruby --version; bundle exec rspec spec || $ALLOW_FAILURES - name: Coveralls GitHub Action - uses: coverallsapp/github-action@v1.1.2 + uses: coverallsapp/github-action@v2 if: "matrix.ruby == '3.0'" with: github-token: ${{ secrets.GITHUB_TOKEN }} @@ -59,7 +59,7 @@ jobs: - name: Run tests run: ruby --version; bundle exec rspec spec || $ALLOW_FAILURES - name: Coveralls GitHub Action - uses: coverallsapp/github-action@v1.1.2 + uses: coverallsapp/github-action@v2 if: "matrix.ruby == '3.0'" with: github-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/lib/json/ld/context.rb b/lib/json/ld/context.rb index db3329b..3334974 100644 --- a/lib/json/ld/context.rb +++ b/lib/json/ld/context.rb @@ -2322,7 +2322,6 @@ def ==(other) language_mapping == other.language_mapping && direction_mapping == other.direction_mapping && reverse_property == other.reverse_property && - simple == other.simple && index == other.index && context == other.context && prefix? == other.prefix? &&