RubyGems Navigation menu

beautiful_url 1.1.92

This is a medium-sized gem allowing you to map symbols and strings to URLs. It is quite useful to use shortcuts that way. Currently however, it is mostly just used by myself so this will probably be utterly useless for you. Unfortunately I am also now experiencing "Run out of memory" so ... this has really become way too massive. :-) I plan to extend it to allow custom loading of yaml files for a later release, but for now, I do not think that this will be useful to anyone else. Please note that for most people this project is not too useful - it is rather small and was never intended to become really large. It is more of a basic building block I use in other projects, especially in Cyberweb or DiamondShell. The basic point of this project is to make it possible to convert the given input, either a string or a symbol, to a corresponding URL in these projects. This then allows me to treat input such as :ruby_tutorial as a linker to the real location of my ruby tutorial. If I ever re-shuffle this page on my local filesystem, and put it somewher else, then all I need to change is that single pointer in this project here, and all autogenerated links will continue to work just fine. A simple Usage example is this: require 'beautiful_url' BeautifulUrl['diacgi'] # => "/Users/x/DATA/PROGRAMMING_LANGUAGES/RUBY/src/diamond_shell/doc/DIAMOND_SHELL_TUTORIAL.cgi" You can also load your own dataset into the class, but as of yet I am unsure how this should be best done. There also is a bin/beautiful_url script which you can use. If you have specific suggestions to make this gem more useful for others, please drop me an email at: shevegen@gmail.com Thank you.

Versions:

  1. 1.1.92 - January 13, 2018 (122 KB)
  2. 1.1.91 - January 09, 2018 (122 KB)
  3. 1.1.90 - January 03, 2018 (122 KB)
  4. 1.1.89 - January 02, 2018 (122 KB)
  5. 1.1.88 - January 02, 2018 (122 KB)
Show all versions (659 total)

Authors:

  • Robert A. Heiler

Owners:

A14d1bca90d7ebeda50dca99aab381b9

SHA 256 checksum:

4970b027365213c4db8e0f7211442d40b8a3c07e853015fda7f3289a45b756a9

Total downloads 168,916

For this version 181

Gemfile:
= Copy to clipboard Copied!

install:
=

License:

GPL-2.0

Required Ruby Version: >= 2.5.0

Required Rubygems Version: >= 2.7.4

Links: