0.0
The project is in a healthy, maintained state
Library to generate, parse and manipulate PLATEAU PubID.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Runtime

= 1.15.0
 Project Readme

PLATEAU publication identifiers ("Plateau PubID")

Purpose

This gem implements a mechanism to parse and utilize Plateau publication identifiers.

Use cases to support

  1. generate updated PubID

Usage

Identifier creation

Basic usage of the pubid-plateau gem starts with the Identifier#create method.

require "pubid-plateau"

pubid = Pubid::Plateau::Identifier.create(type: :handbook, number: 1, annex: 1, edition: 1.2, )
pubid.to_s

=> "PLATEAU Handbook #01-1 第1.2版"

Handbook 11 update

Handbook 11 has 2 parts for edition 1 to 3:

(民間活用編)used to be Handbook 06 edition 1 to 3 (公共活用編)used to be Handbook 04 edition 1 to 3 Only from edition 4 they are combined into Handbook 11.

In case when provided Handbook #11 edition 1 to 3 we convert it to Handbook #4 or #6

Example: "PLATEAU Handbook #11 第1.0版(民間活用編)PLATEAU Handbook #06 第1.0版