Skip to content

frankhjung/ruby-properties

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ruby-properties

A Ruby example to read and process a Java like properties file.

The build.sh script will prepare the gem set, update bundles and invoke rake. The rake targets are:

  • bundles - Install bundles
  • check - Check project syntax with RuboCop
  • check:auto_correct - Auto-correct RuboCop offenses
  • clean - Remove any temporary products
  • clobber - Remove any generated files
  • clobber_doc - Remove RDoc HTML files
  • doc - Build RDoc HTML files
  • help - Show help
  • info - Show bundle and Gem information
  • redoc - Rebuild RDoc HTML files
  • run - Run script with test XML file (verbose)
  • test - Test classes

The default build target is test.

rubocop

To correct "Missing frozen string literal comment" error run:

bundle exec rubocop --auto-correct --only FrozenStringLiteralComment

or

./build.sh check:autocorrect_all

Overrides are defined in rubocop.yml

About

Ruby example project to show properties file handling

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors