Project

hanreki

0.0
No release in over 3 years
Low commit activity in last 3 years
Simple schedule manager for CAMPHOR-
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 3.0
~> 2.1
~> 13.0

Runtime

~> 2.3
>= 0.19, < 2.0
 Project Readme

Hanreki

Gem Version

Simple schedule manager for CAMPHOR-

Features

  • Manage public & private schedules
  • Manage events using simple CSV master files
  • Convert master files to iCal and JSON files

Installation

Gem

Install hanreki with gem command:

$ gem install hanreki
$ hanreki

Bundler

You can also install hanreki with bundler. Add this line to your Gemfile:

gem 'hanreki'

And then execute:

$ bundle
$ bundle exec hanreki

Usage

Run hanreki help or bundle exec hanreki help.

Create a master file

hanreki blank generates a master file for the next month.

Sync

hanreki sync generates iCal and JSON files from master files.

Edit

hanreki edit opens a editor and validates master files. Hanreki chooses the editor in the following order:

  1. Editor specified by the environment variable: CAMPHOR_SCHEDULE_EDITOR
  2. Editor specified by the environment variable: EDITOR
  3. vi

Validation

hanreki validate validates master files.

Development

After checking out the repo, run bin/setup to install dependencies. Then, run bundle exec rake spec to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/camphor-/hanreki.

Why "hanreki"?

This application is named after a Japanese word "頒暦".