Sha256: 249b3fce0808e848bd9f66ac21cb54638f3b1cc83ae2fd8ab61adf6c33685b42

Contents?: true

Size: 487 Bytes

Versions: 8

Compression:

Stored size: 487 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, gem_change.head_version
          )
        )
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
unwrappr-0.8.2 lib/unwrappr/researchers/ruby_gems_info.rb
unwrappr-0.8.1 lib/unwrappr/researchers/ruby_gems_info.rb
unwrappr-0.8.0 lib/unwrappr/researchers/ruby_gems_info.rb
unwrappr-0.7.0 lib/unwrappr/researchers/ruby_gems_info.rb
unwrappr-0.6.0 lib/unwrappr/researchers/ruby_gems_info.rb
unwrappr-0.5.0 lib/unwrappr/researchers/ruby_gems_info.rb
unwrappr-0.4.0 lib/unwrappr/researchers/ruby_gems_info.rb
unwrappr-0.3.5 lib/unwrappr/researchers/ruby_gems_info.rb