A summary of data about the Ruby ecosystem.

https://github.com/danger/danger

🚫 Stop saying "you forgot to …" in code review (in Ruby)
https://github.com/danger/danger

Keywords

automation bitbucket ci circle code-review danger github gitlab travis

Keywords from Contributors

deployment apps fastlane screenshots activerecord rubocop code-formatter static-code-analysis activejob mvc

Last synced: about 7 hours ago
JSON representation

Repository metadata

🚫 Stop saying "you forgot to …" in code review (in Ruby)

README.md

Danger 🚫

License
Gem
CI

Formalize your Pull Request etiquette.



What is Danger?

Danger runs during your CI process, and gives teams the chance to automate common code review chores.

This provides another logical step in your process, through this Danger can help lint your rote tasks in daily code review.

You can use Danger to codify your teams norms. Leaving humans to think about harder problems.

For example?

You can:

  • Enforce CHANGELOGs
  • Enforce links to Trello/JIRA in PR/MR bodies
  • Enforce using descriptive labels
  • Look out for common anti-patterns
  • Highlight interesting build artifacts
  • Give specific files extra focus

Danger provides the glue to let you build out the rules specific to your team's culture, offering useful metadata and a comprehensive plugin system to share common issues.

Getting Started

Alright. So, actually, you may be in the wrong place. From here on in, this README is going to be for people who are interested in working on and improving on Danger.

We keep all of the end-user documentation at https://danger.systems.

Some quick links: Guides Index, DSL Reference, Getting Started and What does Danger Do?.

I'm here to help out!

Brilliant. So, let's get you set up.

git clone https://github.com/danger/danger.git
cd danger
bundle install
bundle exec rake spec

This sets everything up and runs all of the tests.

Theory

Danger has a VISION.md file, which sums up the ideas around what Danger is. It is the lower bounds of what Danger means. Orta has written on handling and creating Danger on the Artsy blog, too.

Documentation

The code you write may end up in the public part of the website — the easiest way to tell is that it is vastly overdocumented. If you are working in a space that looks over-documented, please be extra considerate to add documentation. We expect the consumers of that documentation to be non-rubyists, thus you should avoid specific jargon and try to provide duplicate overlapping examples.

Testing

So far, we've not really figured out the right way to make tests for our CLI commands. When we have done so, they've ended up being brittle. So, ideally, try to move any logic that would go into a command into separate classes, and test those. We're okay with the command not having coverage, but ideally the classes that make up what it does will.

I'd strongly recommend using bundle exec guard to run your tests as you work. Any changes you make in the lib, or specs will have corresponding tests run instantly.

Debugging

Ruby is super dynamic. One of the best ways to debug Ruby code is by using pry. We include pry for developers: when you have a problem, copy these two lines just before your problem and follow the instructions from "I Want To Be A Danger Wizard."

require 'pry'
binding.pry

License, Contributor's Guidelines and Code of Conduct

We try to keep as much discussion as possible in GitHub issues, but also have a pretty inactive Slack --- if you'd like an invite, ping @Orta a DM on Twitter with your email. It's mostly interesting if you want to stay on top of Danger without all the emails from GitHub.

This project is open source under the MIT license, which means you have full access to the source code and can modify it to fit your own needs.

This project subscribes to the Moya Contributors Guidelines which TLDR: means we give out push access easily and often.

Contributors subscribe to the Contributor Code of Conduct based on the Contributor Covenant version 1.3.0.


Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 4 days ago

Total Commits: 2,190
Total Committers: 257
Avg Commits per committer: 8.521
Development Distribution Score (DDS): 0.759

Commits in past year: 39
Committers in past year: 7
Avg Commits per committer in past year: 5.571
Development Distribution Score (DDS) in past year: 0.564

Name Email Commits
Orta Therox o****x@g****m 527
KrauseFx K****x@g****m 189
Juanito Fatas k****0@g****m 105
Ryosuke Ito r****5@g****m 77
Hannes Kaeufler h****r@g****m 66
Marcelo Fabri m****f@g****m 61
Telyn Z 1****n 49
ydah t****2@g****m 42
David Grandinetti d****i@y****m 34
Anton Domashnev a****v@g****m 32
Bott Sebastian B****n@J****m 30
Michał Kałużny m****u@j****g 23
Reece Dunham me@r****s 21
Jeroen Visser j****1@g****m 18
Pierre-Marc Airoldi p****i@g****m 18
Hugo Tunius h****s@g****m 18
Mathieu Rul m****e@g****m 17
Damien DANGLARD d****d@c****m 16
Jakub Kaspar k****k@g****m 15
Henryk Ratajczak h****k@a****l 15
RonaldPrithiv 3****v 15
Takuma Homma n****a@g****m 15
Juanito Fatas j****s@c****p 15
Alex Ghiculescu a****x@t****o 14
Samuel Giddins s****s@s****e 14
Lukyanov Fedor l****a@g****m 13
Fahmi Sidik f****6@g****m 13
Juan Pablo Civile j****e@m****m 12
Steffen Matthischke s****e@l****m 12
giginet g****t@g****m 11
and 227 more...

Committer domains:


Issue and Pull Request metadata

Last synced: 5 days ago

Total issues: 101
Total pull requests: 131
Average time to close issues: 11 months
Average time to close pull requests: 2 months
Total issue authors: 90
Total pull request authors: 45
Average comments per issue: 3.46
Average comments per pull request: 1.25
Merged pull request: 97
Bot issues: 0
Bot pull requests: 7

Past year issues: 9
Past year pull requests: 34
Past year average time to close issues: 8 days
Past year average time to close pull requests: 17 days
Past year issue authors: 9
Past year pull request authors: 8
Past year average comments per issue: 1.0
Past year average comments per pull request: 0.65
Past year merged pull request: 25
Past year bot issues: 0
Past year bot pull requests: 1

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/danger/danger

Top Issue Authors

  • manicmaniac (4)
  • rogerluan (2)
  • mcoe-git (2)
  • jkmathew (2)
  • rymai (2)
  • lukeredpath (2)
  • Ernest0-Production (2)
  • Vacxe (2)
  • jaymzh (2)
  • etherz10 (1)
  • apps4everyone (1)
  • okatatuki (1)
  • josete89 (1)
  • gbero (1)
  • AlexandreOkita (1)

Top Pull Request Authors

  • manicmaniac (36)
  • ydah (26)
  • dependabot[bot] (7)
  • mathroule (4)
  • eiskrenkov (3)
  • kemchenj (2)
  • okatatuki (2)
  • dirtyhabits97 (2)
  • jguttman94 (2)
  • iangmaia (2)
  • murilooon (2)
  • simonfelding (2)
  • tomhughes (2)
  • koic (2)
  • ojab (2)

Top Issue Labels

  • Enhancement (11)
  • Bug (11)
  • You Can Do This (9)
  • GitLab (5)
  • BitBucket (4)
  • Question (3)
  • GitHub (3)
  • Breaking Change (1)
  • Help Wanted (1)
  • Drone (1)
  • Invalid (1)
  • GitLab CI (1)
  • Wontfix (1)
  • Duplicate (1)

Top Pull Request Labels

  • dependencies (7)
  • Breaking Change (3)
  • GitHub (2)
  • github_actions (1)

Package metadata

gem.coop: danger

Stop Saying 'You Forgot To…' in Code Review

  • Homepage: https://github.com/danger/danger
  • Documentation: http://www.rubydoc.info/gems/danger/
  • Licenses: MIT
  • Latest release: 9.5.3 (published 5 months ago)
  • Last Synced: 2025-12-08T23:01:23.557Z (1 day ago)
  • Versions: 188
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 110,740,337 Total
  • Docker Downloads: 449,699,449
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 0.119%
    • Downloads: 0.228%
    • Docker downloads count: 0.247%
  • Maintainers (5)
gem.coop: danger-gitlab

Stop Saying 'You Forgot To…' in Code Review with GitLab

  • Homepage: http://github.com/danger/danger
  • Documentation: http://www.rubydoc.info/gems/danger-gitlab/
  • Licenses: MIT
  • Latest release: 10.0.0 (published 5 months ago)
  • Last Synced: 2025-12-07T21:32:04.245Z (2 days ago)
  • Versions: 11
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 40,696,163 Total
  • Docker Downloads: 435,108,842
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 0.217%
    • Docker downloads count: 0.283%
    • Downloads: 0.584%
  • Maintainers (2)
rubygems.org: danger

Stop Saying 'You Forgot To…' in Code Review

  • Homepage: https://github.com/danger/danger
  • Documentation: http://www.rubydoc.info/gems/danger/
  • Licenses: MIT
  • Latest release: 9.5.3 (published 5 months ago)
  • Last Synced: 2025-12-08T13:33:18.636Z (1 day ago)
  • Versions: 188
  • Dependent Packages: 70
  • Dependent Repositories: 2,931
  • Downloads: 110,706,120 Total
  • Docker Downloads: 449,699,449
  • Rankings:
    • Stargazers count: 0.232%
    • Downloads: 0.284%
    • Docker downloads count: 0.343%
    • Dependent packages count: 0.417%
    • Average: 0.513%
    • Dependent repos count: 0.582%
    • Forks count: 1.222%
  • Maintainers (5)
rubygems.org: danger-gitlab

Stop Saying 'You Forgot To…' in Code Review with GitLab

  • Homepage: http://github.com/danger/danger
  • Documentation: http://www.rubydoc.info/gems/danger-gitlab/
  • Licenses: MIT
  • Latest release: 10.0.0 (published 5 months ago)
  • Last Synced: 2025-12-08T16:01:16.899Z (1 day ago)
  • Versions: 11
  • Dependent Packages: 7
  • Dependent Repositories: 680
  • Downloads: 40,708,383 Total
  • Docker Downloads: 435,108,842
  • Rankings:
    • Stargazers count: 0.233%
    • Docker downloads count: 0.349%
    • Downloads: 0.74%
    • Average: 1.059%
    • Forks count: 1.205%
    • Dependent repos count: 1.366%
    • Dependent packages count: 2.46%
  • Maintainers (2)
proxy.golang.org: github.com/danger/danger

  • Homepage:
  • Documentation: https://pkg.go.dev/github.com/danger/danger#section-documentation
  • Licenses: mit
  • Latest release: v9.5.3+incompatible (published 5 months ago)
  • Last Synced: 2025-12-06T23:02:32.517Z (3 days ago)
  • Versions: 188
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent packages count: 6.472%
    • Average: 6.69%
    • Dependent repos count: 6.908%
gem.coop: danger-additional-logging

Just debugging for myself

  • Homepage: https://github.com/danger/danger
  • Documentation: http://www.rubydoc.info/gems/danger-additional-logging/
  • Licenses: MIT
  • Latest release: 0.0.36 (published over 2 years ago)
  • Last Synced: 2025-12-06T23:02:31.040Z (3 days ago)
  • Versions: 36
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 16,660 Total
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 11.694%
    • Downloads: 35.083%
  • Maintainers (1)
gem.coop: danger-js

Stop Saying 'You Forgot To…' in Code Review, in JavaScript

  • Homepage: http://github.com/danger/danger
  • Documentation: http://www.rubydoc.info/gems/danger-js/
  • Licenses: MIT
  • Latest release: 1.0.0 (published over 9 years ago)
  • Last Synced: 2025-12-06T23:02:30.844Z (3 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 4,367 Total
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 24.863%
    • Downloads: 74.59%
  • Maintainers (1)
rubygems.org: danger-js

Stop Saying 'You Forgot To…' in Code Review, in JavaScript

  • Homepage: http://github.com/danger/danger
  • Documentation: http://www.rubydoc.info/gems/danger-js/
  • Licenses: MIT
  • Latest release: 1.0.0 (published over 9 years ago)
  • Last Synced: 2025-12-06T23:02:30.005Z (3 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 4,367 Total
  • Rankings:
    • Stargazers count: 0.209%
    • Forks count: 1.131%
    • Dependent packages count: 15.706%
    • Average: 28.124%
    • Dependent repos count: 46.782%
    • Downloads: 76.79%
  • Maintainers (1)
rubygems.org: danger-additional-logging

Just debugging for myself

  • Homepage: https://github.com/danger/danger
  • Documentation: http://www.rubydoc.info/gems/danger-additional-logging/
  • Licenses: MIT
  • Latest release: 0.0.36 (published over 2 years ago)
  • Last Synced: 2025-12-06T23:02:30.704Z (3 days ago)
  • Versions: 36
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 16,660 Total
  • Rankings:
    • Stargazers count: 0.233%
    • Forks count: 1.194%
    • Dependent packages count: 15.617%
    • Average: 33.069%
    • Dependent repos count: 48.873%
    • Downloads: 99.43%
  • Maintainers (1)

Dependencies

Gemfile rubygems
  • bundler >= 0
  • chandler >= 0
  • danger-gitlab >= 0
  • danger-junit ~> 0.5
  • faraday-http-cache >= 0
  • fuubar ~> 2.5
  • gitlab < 4.14.1
  • guard ~> 2.16
  • guard-rspec ~> 4.7
  • guard-rubocop ~> 1.2
  • listen = 3.0.7
  • pry ~> 0.13
  • pry-byebug >= 0
  • rake ~> 13.0
  • rspec ~> 3.9
  • rspec_junit_formatter ~> 0.4
  • rubocop ~> 0.82
  • simplecov ~> 0.18
  • webmock ~> 2.1
  • yard ~> 0.9.11
danger.gemspec rubygems
  • claide ~> 1.0
  • claide-plugins >= 0.9.2
  • colored2 ~> 3.1
  • cork ~> 0.1
  • faraday >= 0.9.0, < 2.0
  • faraday-http-cache ~> 2.0
  • git ~> 1.7
  • kramdown ~> 2.3
  • kramdown-parser-gfm ~> 1.0
  • no_proxy_fix >= 0
  • octokit ~> 4.7
  • terminal-table >= 1, < 4

Score: 35.66378215760618