Sha256: 20b5ecdbcffaa6cf76f03f730d51c1e8ccb4024ce10cd5081834503ccf3f1e91

Contents?: true

Size: 438 Bytes

Versions: 5

Compression:

Stored size: 438 Bytes

Contents

# frozen_string_literal: true

module Unwrappr
  module Researchers
    # Obtains information about the gem from https://rubygems.org/
    #
    # Implements the `gem_researcher` interface required by the
    # LockFileAnnotator.
    class RubyGemsInfo
      def research(gem_change, gem_change_info)
        gem_change_info.merge(
          ruby_gems: ::Unwrappr::RubyGems.gem_info(gem_change.name)
        )
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
unwrappr-0.3.4 lib/unwrappr/researchers/ruby_gems_info.rb
unwrappr-0.3.3 lib/unwrappr/researchers/ruby_gems_info.rb
unwrappr-0.3.2 lib/unwrappr/researchers/ruby_gems_info.rb
unwrappr-0.3.1 lib/unwrappr/researchers/ruby_gems_info.rb
unwrappr-0.3.0 lib/unwrappr/researchers/ruby_gems_info.rb