GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - cypher/git-ruby-syntax-check: Checks the syntax of all changed ruby files is valid before allowing a commit

This repository was archived by the owner on Oct 19, 2023. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

32 Commits
32 Commits

Folders and files

NameName
Last commit message
Last commit date
LICENSE
LICENSE
 
 
README.md
README.md
 
 
pre-commit
pre-commit
 
 

Repository files navigation

DESCRIPTION

A hook script to verify that only syntactically valid ruby code is commited.

INSTALLATION

Put this code into a file called "pre-commit" inside your .git/hooks directory, and make sure it is executable ("chmod +x .git/hooks/pre-commit")

REQUIREMENTS

Requires Ruby 1.8.6 or better, Git 1.7 or better

If Rubinius is installed and available via rbx, the hook will use it to test the Ruby files for warnings and errors.

SIMILAR PROJECTS

  • Code Beautifier.tmbundle by Joel Chippindale (mocoso) does something similar for TextMate.

LICENSE

Licensed under the MIT License. See LICENSE file for details.

AUTHORS

Written by Markus Prinz, with contributions by Jérémy Lecour

About

Checks the syntax of all changed ruby files is valid before allowing a commit

Resources

Readme
MIT license
Activity

Stars

70 stars

Watchers

1 watching

Forks

14 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.