0.0
No commit activity in last 3 years
No release in over 3 years
Useful Ruby gem for digital nomads for keeping under the 180 day rule by working out how long was spent in each country that was visited in the last XXX days
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

Gem Version Build Status

What

This is a simple base gem for calculating number of days stayed in a country (for nomads).

Resident status (for tax purposes), revolves around being in a country for more than 180 calendar days.

The way this script looks at it, as it monitors the last checkin.

Disclaimer

This is ALPHA quality software

Installing

gem install dont-overstay

Code

require 'dont-overstay'

d = Daytracker.new
# This accepts timestamps, otherwise it will by default return the last years
# before (check before a date or current date)
# after (check after a date or exactly 1 year ago)
puts d.query

Building

gem build dont-overstay.gemspec
gem install dont-overstay-0.0.1.gem