ãç±³Googleã¯9æ26æ¥ï¼ç¾å°æéï¼ããGemini 1.5 Proãæè¼ã®ã¡ã¢ã¢ããªãNotebookLMãã®ã½ã¼ã¹ï¼æ å ±æºï¼ã¨ãã¦ãYouTubeã®URLã¨ãªã¼ãã£ãªãã¡ã¤ã«ï¼MP3ãWAVãªã©ï¼ã追å ã§ããããã«ããã¨çºè¡¨ããã
Googleã®ãNotebookMLããYouTubeåç»ã®æ¦è¦çæãå¯è½ã« - ITmedia NEWS
ãNotebookLMã¯ãã¦ã¼ã¶ã¼ãé¸æããã½ã¼ã¹ã ãã«åºã¥ãã¦ãäºå®ã®è¦ç´ãè¤éãªã¢ã¤ãã¢ã®èª¬æãæ°ããã¤ãªããã®ãã¬ã¤ã³ã¹ãã¼ãã³ã°ãè¡ããã¨ãã§ãããä»®æ³ãªãµã¼ãã¢ã·ã¹ã¿ã³ãããæ¥æ¬ã§ãæ¥æ¬èªã§å©ç¨ã§ããã
Googleã®ãNotebookMLããYouTubeåç»ã®æ¦è¦çæãå¯è½ã« - ITmedia NEWS
⧠åç»ã®åæã¨ããã§ããã£ã¦ãã¨ãªãã§ãããï¼
ç©èªã®ãæ骨奪èããæããã¨ã«ãªã£ãããããã§ãããï¼
Rubyã®ããã°ã©ã ããã¹ããããããã«å¿ è¦ãªæ å ±
ã¾ãã¯ãRubyã®ããã°ã©ã ããã¹ãããã«ããããå¿ è¦ãªæ å ±ãåããã¾ããã¨ã
ãããã®æ å ±ãæ¼ã£ãæãã§ã¯ã
⧠ä¸è¨ãµã¤ãæ§ã«ããã¾ãã¨ãRubyã®ããã°ã©ã ã«å¯¾ãããã¹ãç¨ã®ã©ã¤ãã©ãªã®æ°ãããªãå¤ãã®ã§ãããChatGPTã«åé¡ãã¦ããã£ãã¨ããã
No | ã©ã¤ãã©ãª | åé¡ | Ruby ãã¼ã¸ã§ã³ | æ¨æºã«å«ã¾ããææ | ãã¹ãç¨®é¡ |
---|---|---|---|---|---|
1 | RubyUnit | å¤é¨ | Ruby 1.0ï¼2000å¹´ï¼ | ãªã | åä½ãã¹ã |
2 | Lapidary | å¤é¨ | Ruby 1.8ï¼2004å¹´ï¼ | ãªã | åä½ãã¹ã |
3 | test/unit | å¤é¨ | Ruby 1.6ï¼2001å¹´ï¼ | ãªã | åä½ãã¹ã |
4 | æ¨æº | Ruby 1.8ï¼2004å¹´ï¼ | Ruby 1.8ï½Ruby 2.1ï¼2004ï½2013å¹´ï¼ | åä½ãã¹ã | |
5 | test-unit | å¤é¨ | Ruby 1.9ï¼2007å¹´ï¼ | ãªã | åä½ãã¹ã |
6 | miniunit | å¤é¨ | Ruby 1.9ï¼2007å¹´ï¼ | ãªã | åä½ãã¹ã |
7 | minitest | æ¨æº | Ruby 1.9.3ï¼2011å¹´ï¼ | Ruby 1.9.3ï½ç¾å¨ï¼2011å¹´ï½ï¼ | åä½ãã¹ã |
8 | RSpec | å¤é¨ | Ruby 1.8ï¼2004å¹´ï¼ | ãªã | åä½ãã¹ããçµåãã¹ããã¨ã³ããã¼ã¨ã³ããã¹ã |
⧠ä¸è¨ã®ãããªè¡¨ã«ãªãã£ã½ãã
⧠ã¨ãããããããã¸ã§ã¯ãã«ãã£ã¦ç°ãªãããããã
ã¨ãããããªé¸å®ã«ãªããã¨ãå¤ãã£ã¦ãã¨ãªãããï¼
ã¾ããRubyãé¸ãã§ã¢ããªã±ã¼ã·ã§ã³éçºãã¦ãã以ä¸ããRubyã®éçºçµé¨ãè±å¯ããªå±¤ãæå¾ ãã¦ãããããªæ°ãããã®ã§ããRSpecããå©ç¨ãããæãã«ãªããããï¼
ä½ãããã¹ãç¨ã®ã©ã¤ãã©ãªã®æ©è½çã«å·®ç°ããªãã®ã§ããã°ãå©ç¨ããã©ã¤ãã©ãªã¯çµ±ä¸ããæãã«ãã¦æ¬²ããã§ããª...
Rubyã®ããã°ã©ã ã®ãã¹ãã£ã¦ã©ãããã°è¯ãã®ã
ãããã®æ å ±ãæ¼ã£ãæãã§ã¯ã
⧠ä¸è¨ãµã¤ãæ§ã«ããã¾ãã¨ããRSpecãã®å©ç¨è ãå¤ãããªæãã¨ãããã¨ãªãã§ãããããï¼
æµ·å¤ã®Webéçºã«é¢ãããµã¼ãã¹ãæä¾ãã¦ãããCodicaãã¨ããä¼æ¥ã®ããã°è¨äºã§ãã
â§ãRSpecããåãä¸ãã¦ãã£ã½ãã
Rubyã®ããã°ã©ã ããã¹ãããã©ã¤ãã©ãªã¨ãã¦ã¯ããRSpecããå°å ¥ãã¦ããæãã§åé¡ãªãã¨ãããã¨ã§ãããããï¼
RSpecãå©ç¨ã§ããããã«ããã«ã¯
ã¨ããããã§ããRSpecããå©ç¨ã§ããããã«ãããããã§ããã
⧠ã¨ãã£ãæãã§ããRSpecãã«ã¯ã©ã¤ãã©ãªãè¤æ°ããã®ã§ããããrspec-coreããå°å ¥ããã°è¯ããã§ãããï¼
ãRuby on Railsãã¨ãã£ããã¬ã¼ã ã¯ã¼ã¯ãå©ç¨ãã¦ãRubyã¢ããªã±ã¼ã·ã§ã³éçºãã¦ããã®ã§ããã°ããrspec-railsããå梱ããã¦ãã£ã½ãã
GitHubã§å ¬éããã¦ãããrspec-coreãã®ãã¼ã¸ã®ãREDEMEãã¿ãã®å 容ã«ã¯ã
⧠ã¨ããã
gem install rspec # for rspec-core, rspec-expectations, rspec-mocks gem install rspec-core # for rspec-core only rspec --help
⧠ä½ããã
ã®2ã¤ã®Gemãã¤ã³ã¹ãã¼ã«ããå¿ è¦ããããããã
å ¬å¼ã®ããã¥ã¡ã³ãã®ãã¼ã¸ã§ãrspecãã«ã¤ãã¦ã¯ãRDocãã®é¸æè¢ã«åå¨ãã¦ããªããã ãï¼
ã¨ãããããä½ã®Gemãã¤ã³ã¹ãã¼ã«ããã°ãRSpecããå°å ¥ã§ãããã¨ã«ãªãã®ããåãããã®ã ãã©ã
⧠ä¸è¨ã®è¨äºã®æã«è©±ã®åã£ãã
- gem command
ãå©ç¨ã§ããããã«ãªã£ã¦ããªãã¨ãGemã¯ã¤ã³ã¹ãã¼ã«ã§ããªãã®ã§ããRSpecããå°å ¥ããã«ããã£ã¦ã®ãprerequireï¼åæè¦ä»¶ï¼ãã¨ãã¦ã¯ã
- Ruby
- gem command
ãäºåã«ã¤ã³ã¹ãã¼ã«ããã¦ããå¿ è¦ãããã¾ãã¨ã
Rubyã®ãã¼ã¸ã§ã³ã®æå®ã¨ãã¯ããrspec-coreãã®ãã¼ã¸ã®READMEã«è¨è¼ãç¡ãã¨ãããè¦ãã¨ãã©ããªãã¼ã¸ã§ã³ã§ãæ§ããªãã£ã¦ãã¨ã«ãªãã®ãããããªãã®ã§ããã
⧠Ruby 1.9 以ä¸ã®ãã¼ã¸ã§ã³ãå©ç¨ããããã«ããæ¹ãè¯ãããã
Rubyã®ãã¼ã¸ã§ã³ã1.9æªæºã ã¨ãgem commandãå¥éã¤ã³ã¹ãã¼ã«ããå¿ è¦ããããã¨ã«ãªãããã§ããã
ã¨ããããã§ãä¸è¬çãªRubyã®ããã°ã©ã ã®ãã¹ããããå ´åã¯ããRSpecãã¨ããRubyã®ããã°ã©ã ããã¹ãããç¨ã®ã©ã¤ãã©ãªãæ´»ç¨ãã¦ããæãã«ãªãã¾ãã¨ã
VS Codeï¼Visual Studio Codeï¼ã®æ¡å¼µæ©è½ãRuby Test Explorerã
ãVS Codeï¼Visual Studio Code ï¼ããå©ç¨ãã¦ããå ´åã¯ããRuby Test Explorerãã¨ããæ¡å¼µæ©è½ãå°å ¥ããæãã«ãªããããã
ãããã®æ å ±ãæ¼ã£ãæãã§ã¯ã
⧠.vscode/settings.jsonã¸è¨å®ã追å ããå¿ è¦ãããã£ã½ãã
ã«ãã¬ãã¸ã表示ããã«ã¯ããSimpleCovããã¤ã³ã¹ãã¼ã«ãã
Javaã®éçºã§Eclipseã¨ãå©ç¨ãã¦ããå ´åã¯ãã«ãã¬ãã¸ã«ã¤ãã¦ã®æ©è½ã¯å梱ããã¦ããã®ã ãã©ãRubyã®å ´åã¯ãGemãã¤ã³ã¹ãã¼ã«ããæãã«ãªããããã
⧠å°å ¥æ¹æ³ãè¼ã£ã¦ã¯ããã®ã ãã©ãã«ãã¬ãã¸å¯¾è±¡ã®ãã¡ã¤ã«ã«ã¤ãã¦ã¯ãèªåã§è¨å®ãã¦ãããå¿ è¦ãããããRSpecããå©ç¨ãã¦ããå ´åã¯ã
â spec/spec_helper.rb
require 'simplecov' SimpleCov.start do # ä¸æ¦ããã£ã«ã¿ã¼ãã¯ãªã¢ã¼ãã filters.clear # /vendoré ä¸ã¯ã«ãã¬ãã¸åºåã®å¯¾è±¡å¤ã¨ãã add_filter "/vendor/" # ã«ãã¬ãã¸ã®åºåã®å¯¾è±¡ã«ãããRubyãã¡ã¤ã«ãé ç½®ããã¦ãããã£ã¬ã¯ããªãæå®ãã track_files "[ã«ãã¬ãã¸ãåºåãã対象ã®Rubyãã¡ã¤ã«ãé ç½®ããã¦ãããã£ã¬ã¯ããª]/*.rb" end
⧠ã®ããã«ããspec/spec_helper.rbãã®å é ã«è¿½è¨ãã¦ãããå¿ è¦ãããã
ä¸å¿ã
â§ å ¬å¼ã®APIããã¥ã¡ã³ãã¯åå¨ããã£ã½ãã
ãã¨ã¯ãã«ãã¬ãã¸ã確èªããã«ã¯ããRSPecãã®ãã¹ãå®è¡ãå®äºããã¨ãSimpleCovãã«ãã£ã¦åºåãããHTMLãã¡ã¤ã«ï¼coverage/index.htmlï¼ãã¬ã³ããªã³ã°ããå¿ è¦ãããã®ã ãã©ããVS Codeï¼Visual Studio Code ï¼ãã®æ¡å¼µæ©è½ãRemote Developmentããªã©ã§éçºãã¦ããå ´åã¯ãæ¡å¼µæ©è½ãLive Previewããªã©ãã¤ã³ã¹ãã¼ã«ãã¦ãããæ¹ãè¯ãããã
Rubyã¯ãéçºç°å¢ãä½ãã®ãé¢åã§ããª...
æåã®ãRubyMineãã¨ãå©ç¨ã§ããã®ã§ããã°ãé¢åãªéçºç°å¢æ§ç¯ã«æéãåãããã«æ¸ãã®ããããã¾ããã...
æ¯åº¦ã¢ã¤ã¢ã¤æãå端ãªãâ¦
ä»åã¯ãã®ã¸ãã§ã
Â
Â