Note
The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.
Difference between revisions of "Funtoo:Programming Languages/Ruby"
Jump to navigation
Jump to search
(v1 of the Programming Language Project Ruby sub page) |
(adding important sub project migration note) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{important|This sub-project has migrated to a new Funtoo Project: [[Funtoo:Ruby]]}} | |||
== About == | == About == | ||
Line 46: | Line 48: | ||
Project = FuntooRuby.new | Project = FuntooRuby.new | ||
%w[start release mission].each do {{ | %w[start release mission].each do {{!}}action{{!}} | ||
Project.take_action(action.to_s) | Project.take_action(action.to_s) | ||
end | end | ||
Line 71: | Line 73: | ||
* [https://www.ruby-lang.org/en/downloads/ Official Listing of Ruby Stable Releases] | * [https://www.ruby-lang.org/en/downloads/ Official Listing of Ruby Stable Releases] | ||
* [https://guides.rubygems.org/rubygems-org-api/ RubyGems Official API Documentation] | * [https://guides.rubygems.org/rubygems-org-api/ RubyGems Official API Documentation] | ||
* [https://wiki.gentoo.org/wiki/Ruby Gentoo Ruby eselect Docs] | |||
* [https://wiki.gentoo.org/wiki/Project:Ruby/Packaging_RubyGems Gentoo Ruby Packaging_RubyGems] |
Latest revision as of 07:25, July 6, 2022
Important
This sub-project has migrated to a new Funtoo Project: Funtoo:Ruby
About
Welcome to the official component of the Funtoo Programming Languages Project dedicated to the Ruby Programming Language.
This aspect of the Funtoo Programming Languages Project will track the efforts to modernize the Ruby Programming Language on Funtoo Linux.
Mission
What better way to define the mission of this Project than to do it Ruby:
funtoo_ruby.rb
(Ruby source code) - Funtoo Ruby project in Ruby#!/usr/bin/env ruby
# frozen_string_literal: true
require 'date'
# Funtoo Ruby Project
class FuntooRuby
def initialize
@date = DateTime.now
@release = 'next'
@delimiter = '------------------------------'
end
def start
puts "The Funtoo Programming Languages Project for the Ruby Programming language starts now: #{@date}"
puts @delimiter
end
def release
puts "Funtoo Ruby Project Funtoo release target: #{@release}"
puts @delimiter
end
def mission
puts 'Project Mission:'
puts '1. Convert all Funtoo ruby-kit packages into funtoo-metatools autogenerated ebuilds including core language and Ruby'
puts '2. Ensure at least two stable and latest Ruby versions are supported in the Funtoo Portage Tree: 2.7.5 and 3.1.1'
end
def take_action(method_name)
send(method_name)
end
end
Project = FuntooRuby.new
%w[start release mission].each do |action|
Project.take_action(action.to_s)
end
Now let's get this Project started and have some fun with Ruby:
funtoo-ruby # ./funtoo_ruby.rb The Funtoo Programming Languages Project for the Ruby Programming language starts now: 2022-03-05T23:20:19-08:00 ------------------------------ Funtoo Ruby Project Funtoo release target: next ------------------------------ Project Mission: 1. Convert all Funtoo ruby-kit packages into funtoo-metatools autogenerated ebuilds including core language and Ruby 2. Ensure at least two stable and latest Ruby versions are supported in the Funtoo Portage Tree: 2.7.5 and 3.1.1
Reference
Some internal and external references that are critical for this project:
- Ruby-kit -- User:Drobbins write-up on the current state of ruby-kit in Funtoo with lots of technical details
- Official Listing of Ruby Stable Releases
- RubyGems Official API Documentation
- Gentoo Ruby eselect Docs
- Gentoo Ruby Packaging_RubyGems