96288d79cbe8f4591afcb5bdf31a51593f4e8497,.ci/generate_bear_requirements.py,,get_gem_requirements,#Any#,128

Before Change




def get_gem_requirements(requirements):
    gem_dependencies = {}

    for requirement in requirements:
        gem_dependencies[requirement.package] = _to_entry(requirement)

    return gem_dependencies


def get_npm_requirements(requirements):
    npm_dependencies = {}

After Change




def get_gem_requirements(requirements):
    return _get_requirements(requirements, "~>")


def get_npm_requirements(requirements):
    return _get_requirements(requirements, "~")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 10

Instances


Project Name: coala/coala-bears
Commit Name: 96288d79cbe8f4591afcb5bdf31a51593f4e8497
Time: 2018-07-02
Author: jayvdb@gmail.com
File Name: .ci/generate_bear_requirements.py
Class Name:
Method Name: get_gem_requirements


Project Name: coala/coala-bears
Commit Name: 96288d79cbe8f4591afcb5bdf31a51593f4e8497
Time: 2018-07-02
Author: jayvdb@gmail.com
File Name: .ci/generate_bear_requirements.py
Class Name:
Method Name: get_npm_requirements


Project Name: coala/coala-bears
Commit Name: 96288d79cbe8f4591afcb5bdf31a51593f4e8497
Time: 2018-07-02
Author: jayvdb@gmail.com
File Name: .ci/generate_bear_requirements.py
Class Name:
Method Name: get_pip_requirements