0.0
No commit activity in last 3 years
No release in over 3 years
Gem for ruby on rails projects that wants register your author in code.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies
 Project Readme

CopyrightAuthor

Gem for ruby on rails projects that wants register your author in code.

Installation

Add this line to your application's Gemfile:

gem 'copyright_author'

And then execute:

$ bundle

Or install it yourself as:

$ gem install copyright_author

Usage

In your shell inside project folder

copyright_author "Your Name" "Base year" "directory"
  • If directory was blank, all files of all directories will update

This will add all files (.rb .rake .haml) the following markup (recursively):

# Author - YOUR NAME | Copyright(c) from BASE_YEAR until CURRENT_YEAR. All rights reserved.

If already existing copyright comments will be replaced

Rubygems

Screenshot from 2023-01-26 21-06-39

I needed to change the name on rubygems because I lost the custom email for old account. So, I changed the name on rubygems:

since 2012: copyright_author

started in 2023: copyright_text