Git Cop 1.0.0 released

New Ruby gem released
19 June 2017   2742

According to the developer, this tool will help ensure good Git behavior on your feature branches so undesired commits never make it to master. 

Ruby

A dynamic, open source programming language with a focus on simplicity and productivity

Git Cop can be wired in as a Git Hook or be added as part of your build process so feature branch builds fail if commits are bad. Branch code reviews be focused on architecture and high level discussions while Git Cop takes care of reviewing Git commit behavior. All Git Cop checks are completely customizable.

Features

  • Enforces a Git Rebase Workflow.
  • Enforces a consistent Git Commit Style.
  • Enforces good commit subjects with consistent prefixes, suffixes, and lengths.
  • Enforces good commit messages where subject and body are properly separated.

Requieres Ruby 2.4.1

You can have more information here.

Ruby/RoR News Digest 8 - 14.02

Guide on Ruby concurrency, understanding Rails secrets\credentails, system tests in Rails with Minitest and other interesting things
14 February 2020   231

Greetings! I hope your week went great! Here's new Ruby news digest.

Learn about automatic image moderation with Amazon Rekognition, the easy way of configurating Kubernetes for Ruby, how to migrate from Rails API to Crystal and AWS Lambda and check more intesting stuff. 

Guides

  • Opening The Ruby Concurrency Toolbox

This guide covers threads, fibers, guilds with some practical comparisons

  • Automatic image moderation using Amazon Rekognition

Amazon Rekognition detects inappropriate content in images and it can be used in Ruby with ActiveStorage

  • Understanding Rails secrets/credentials

Basic guide about storing secrets and credentials that don't need to be stored in plaintext

  • Rubynetes: Kubernetes config the easy way

Learn how to use Ruby with Kubernetes without YAML

  • Getting Started With System Tests in Rails With Minitest

Beginners tutorial on testing in Rails using popular solution

  • My Experience Migrating a Rails API to Crystal and AWS Lambda – Part I

A story, which can be used as a tutorial for migrating from Rails API to Crystal and AWS Lambda

Articles

  • Rails introduces disallowed deprecations in ActiveSupport

A newspost with detailed code example on new ActiveSupport feature

Updates

  • GitHub CLI is now in beta

New GitHub command line tool is now available in beta 

  • The Twitter Ruby Gem

A Ruby interface for the Twitter API

  • httplog

This solution will help for networks working - allows to log outgoing HTTP request with Ruby