- 2025/10/22にRails8.1がリリースされましたね
- Ruby on Rails 8.1 Release Notes — Ruby on Rails Guidesにリリースノートが書かれている
- 上記メジャーフィーチャーに含まれなかったマイナーフィーチャーのうち、気になったものをざっくりまとめています
- 間違いの指摘や、これも追加してくれ〜という物があればコメントお願いします
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| eval$s= | |
| %w(e="e val$s=% w("+$s+")*'' ";a=0;" | |
| >KIZOaz(( *EHO1M< nz[MPb.~qirzBv0n'q T;lIup | |
| oz6kZqF3{G pD+PSaA F1zJEw/,kBa>3f H_/D7+pAYH'O>NQ$g=JH6 E=C|Di | |
| &~<2lBiHLV=r k+KjOcz )Bb~qVa1X)G2`[tb,& ".bytes {a=a*9 1+_1%9 | |
| 2-1};$ ><<"\e [2J";d= (1..7). map{"\e [3#{_1 | |
| }m"};3 20.times{|k|h ="\e[1;1H";b=0;(0 ...10). each{| | |
| v|h<<3 2.chr*(Math .sin(k /99.0) .abs*(10 -v));89 .time | |
| s{h<<d [k*7/320, 3].samp le;h<<(a [v*89+_1]==1?(c=e[b] ;b+=1 | |
| ;c):32) };h<<10} ;$><<h+"\e[ 0m";sl eep(0.01)};2001- 2023)*'' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Show covered files from SimpleCov result html | |
| # | |
| # Usage: | |
| # | |
| # ruby covered-files-from-simplecov.rb index.html | |
| # | |
| require 'nokogiri' | |
| THRESHOLD = 100 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # GitHub Organization に存在する全 GitHub repo を git clone するやつ | |
| # 自分が Read 以上のアクセス権を持っている GitHub repo に限られる | |
| # 組織名を指定する | |
| GH_ORG=$1 | |
| # ページングしてくれないので欲しいだけ全部が収まる数を指定する | |
| GH_LIMIT=$2 | |
| # 並列数 | |
| XARGS_P=$3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'bundler/inline' | |
| gemfile do | |
| source 'https://rubygems.org' | |
| gem 'activesupport' | |
| gem 'rubocop', '0.84.0' | |
| gem 'rubocop-performance', '1.6.0' | |
| gem 'rubocop-rails', '2.5.2' |
特に何もやってあげてないのに他人(法人だけどさ)から何百万何千万のお金が何年もとめどなく注ぎ込まれてきたら、怖くないですか?
オープンソース・ソフトウェアの開発者だけで給料をもらうというのは、まさにこの現象が発生してくるわけ。それまでもこれからも、ずっとオープンソース・ソフトウェアの開発者はやってきたし、やっていくわけでしょう。そんなの会社があってもなくても、別にやることなんて変わらないじゃない。じゃあなんで、ある時から急にかなりの金額が振り込まれてきてしまうんだ?しかもあからさまに物価上昇を上回る結構なハイペースで昇給していく。やっていることは一切何も変わってないのに!
この状況に適応するまでにはいささかの時間を要しました。根が小心者なので。
製品お問い合わせメールアドレスに送ってくるのは本当に迷惑なのでやめてください。
迷惑メールとは? | 迷惑メール対策 | 迷惑メール相談センター
迷惑メールの種類を大きく分類すると、商品やサービス、サイトの宣伝などの「広告宣伝メール」、お金や情報をだまし取ろうとする詐欺目的の「架空請求メール」、法外なサイト利用料を要求する「不当請求メール」、ウイルス感染を目的とする「ウイルスメール」、かんたんな副業で高額収入が得られるとか、相談者から悩みを聞くだけの仕事など詐欺の「お金儲けのメール」、誰かに転送させようとする「チェーンメール」などがあります。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| drb.rb | |
| #!/usr/local/bin/ruby | |
| =begin | |
| Tiny distributed Ruby --- dRuby | |
| DRb --- dRuby module. | |
| DRbProtocol --- Mixin class. | |
| DRbObject --- dRuby remote object. | |
| DRbConn --- | |
| DRbServer --- dRuby message handler. | |
| =end |
NewerOlder