Rgversion
This library allow you to copy latest semantic versions of specified gems from terminal to your clipboard.
Versions will be taken from rubygems.org. Then you can past them in your Gemfile
or whatever you want.

Installation
gem install rgversion
macOS / OS X
No further actions required.=
Ubuntu / Debian
You may need to install xclip for clipboard feature:
sudo apt-get install xclip
Usage
Open terminal and execute rgversion with list of needed gems. E.g:
rgversion rails puma pg
After that semantic version of gem(s) will be copied to your clipboard.
License
Rgversion is released under the MIT License.