No commit activity in last 3 years
No release in over 3 years
A Danger plugin to check whether version lockfile is committed or not
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
>= 0
~> 10.0
~> 3.4

Runtime

 Project Readme

Build Status

danger-lock_dependency_versions

A Danger plugin for managing dependency files.

Check files which should be committed together to version control (e.g., Gemfile and Gemfile.lock, Cartfile and Cartfile.resolved).

Installation

Add this line to your Gemfile:

gem danger-lock_dependency_versions

Usage

First, create .lock_list.yml and add key-value pair to check.

Gemfile: Gemfile.lock
Cartfile: Cartfile.resolved

Add to Dangerfile.

# Optional: you can specify yml file path (default: ./lock_list.yml)
# lock_dependency_versions.lock_list_file = './scripts/file.yml'
lock_dependency_versions.check

If lockfile has not committed to version control, post a failure comment by Danger.

Methods

check(warning: boolean)

if specify warning: true, set comment status to warning. (default: false)