Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ueno/ruby-gpgme
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.0.23
Choose a base ref
...
head repository: ueno/ruby-gpgme
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.0.25
Choose a head ref
  • 18 commits
  • 20 files changed
  • 10 contributors

Commits on Sep 14, 2023

  1. Fix --clean option

    Previously this was not working due to this error:
    
    ```
    ruby/3.1.4/lib/ruby/3.1.0/fileutils.rb:637:in `rm_rf': wrong number of arguments (given 2, expected 1) (ArgumentError)
    	from extconf.rb:33:in `<main>'
    ```
    
    Also update the documentation to reflect that --clean is not enabled
    by default.
    stanhu authored and ueno committed Sep 14, 2023
    Configuration menu
    Copy the full SHA
    0ce6037 View commit details
    Browse the repository at this point in the history
  2. Revert comment about cleaning not being on by default

    Cleaning is on by default; it's just that prior to #168 the cleaning
    was quietly failing:
    
    ```
    Cleaning files only used during build.
    /Users/stanhu/.asdf/installs/ruby/3.1.4/lib/ruby/3.1.0/fileutils.rb:637:in `rm_rf': wrong number of arguments (given 2, expected 1) (ArgumentError)
    	from ./extconf.rb:28:in `block in <main>'
    	from <internal:dir>:220:in `glob'
    	from ./extconf.rb:27:in `glob'
    	from ./extconf.rb:27:in `<main>'
    make: [clean-ports] Error 1 (ignored)
    ```
    stanhu authored and ueno committed Sep 14, 2023
    Configuration menu
    Copy the full SHA
    2cc29d8 View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2023

  1. Don't add gem root to LOAD_PATH

    The comment, "C extension is in the root", is no longer accurate. It's
    in ext/ which will be added to the LOAD_PATH by bundler or rubygems.
    jhawthorn authored and ueno committed Nov 28, 2023
    Configuration menu
    Copy the full SHA
    fb4c588 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2024

  1. Add the ignore_mdc_error flag setter and getter

    Add generic `get_ctx_flag` getter and `set_ctx_flag` setter
    Verseth authored and ueno committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    2ac00ff View commit details
    Browse the repository at this point in the history
  2. Remove duplicated tests

    Verseth authored and ueno committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    7d6dc97 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    238a081 View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2024

  1. Release 2.0.24

    Signed-off-by: Daiki Ueno <[email protected]>
    ueno committed Jan 31, 2024
    Configuration menu
    Copy the full SHA
    72fa6bf View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2024

  1. Add Ruby 3.3 to the CI pipeline matrix

    erichmachado authored and ueno committed Apr 20, 2024
    Configuration menu
    Copy the full SHA
    bae97e2 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2024

  1. Set PKG_CONFIG_PATH to ensure gpgme builds with local libassuan

    We had some build failures on macOS with this error:
    
    ```
    configure: Use gpgrt-config as libassuan-config
    checking for LIBASSUAN - version >= 2.4.2... yes (3.0.1)
    checking LIBASSUAN API version... does not match.  want=2 got=3.
    ```
    
    This occurs when:
    
    1. libassuan v3.0 is installed.
    2. `PKG_CONFIG_PATH` includes the Homebrew path of `/opt/homebrew/lib/pkgconfig`.
    
    https://github.com/gpg/gpgme/blob/5bf3e6d0754a179b316f90a885371af99bc03ea1/m4/libassuan.m4#L32
    attempts to run `gpgrt-config libassuan --exists`. This will return
    the Homebrew version of libassuan if `PKG_CONFIG_PATH` includes it.
    
    To avoid this build failure, preface `PKG_CONFIG_PATH` with the local
    versions of libassuan and libgpg-error.
    stanhu authored and ueno committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    2681cba View commit details
    Browse the repository at this point in the history
  2. Test with --use-system-libraries (#191)

    Relates to #128
    stanhu authored Aug 28, 2024
    Configuration menu
    Copy the full SHA
    c55a80e View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2024

  1. Configuration menu
    Copy the full SHA
    6c22a5b View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2025

  1. Configuration menu
    Copy the full SHA
    3a3a5d5 View commit details
    Browse the repository at this point in the history
  2. Fix ambiguity warning.

    djberg96 authored and ueno committed Apr 8, 2025
    Configuration menu
    Copy the full SHA
    85c16a2 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2025

  1. Add Ruby 3.4 to the CI pipeline matrix

    FredReinink authored and ueno committed Jul 17, 2025
    Configuration menu
    Copy the full SHA
    1ac1d80 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9ba8c15 View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2025

  1. Bump gpgme to 2.0.0 and libassuan to 3.0.2

    - Bumped `gpgme` from `1.21.0` to `2.0.0`
      - https://github.com/gpg/gpgme/blob/master/NEWS
    - Bumped `libassuan` from `2.5.6` to `3.0.2`
      - https://github.com/gpg/libassuan/blob/master/NEWS
    
    Changes I had to account for from `gpgme`:
    - Removed trust item functions
      - `gpgme_op_trustlist_start`, `gpgme_op_tristlist_next`, and `gpgme_op_trustlist_end` were removed
    - Removed `GPGME_ATTR_*` constants
    - Timestamp field type change
      - `gpgme_subkey_t`, `gpgme_key_sig_t`, and `gpgme_new_signature_t` changed from `signed long` to `unsigned long`
    - New functions
      - `gpgme_op_random_bytes` and `gpgme_op_random_value`
    - New constants
      - `GPGME_RANDOM_MODE_NORMAL`, `GPGME_RANDOM_MODE_ZBASE32`, `GPGME_DECRYPT_LISTONLY`, `GPGME_CREATE_GROUP`
    
    Closes #202
    JamieMagee authored and ueno committed Jul 24, 2025
    Configuration menu
    Copy the full SHA
    63f5c63 View commit details
    Browse the repository at this point in the history
  2. Fix test failures in crypto_test.rb for encrypted+signed data verific…

    …ation
    
    Change verify() to decrypt() for encrypted+signed data in two failing tests:
    
    The tests were incorrectly calling verify() on data created with
    crypto.encrypt(text, :sign => true), which produces encrypted+signed data.
    The verify() method expects signed-only data, causing "Bad data" errors.
    
    The decrypt() method properly handles both decryption and signature
    verification for encrypted+signed data by calling ctx.decrypt_verify()
    internally, then processing the embedded signatures.
    
    This aligns with the existing pattern used in other working tests that
    handle signed encrypted data.
    JamieMagee authored and ueno committed Jul 24, 2025
    Configuration menu
    Copy the full SHA
    8695fec View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2025

  1. Release 2.0.25

    Signed-off-by: Daiki Ueno <[email protected]>
    ueno committed Jul 26, 2025
    Configuration menu
    Copy the full SHA
    e15d3fc View commit details
    Browse the repository at this point in the history
Loading