You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
By zzak on Monday, May 15, 2017 Today, I’m pleased to FINALLY announce that Sinatra 2.0 was released! If you haven’t been following along, the major version bump includes a lot of changes significant to the future of the project. In this post, you will see the full details including what’s new, what’s gone, and everything packed into the two point oh release. Before we begin, I have to thank every
Products Communications Messaging Send and receive multichannel text and media messages in 180+ countries
Build your first Facebook Messenger bot in Ruby with Sinatra and “facebook-messenger” gem (Part… Too Long; Didn't Read<em>This tutorial assumes you already have a usual Ruby environment installed on your machine and you are aware of the brave new world </em><a href="https://rubygems.org/" target="_blank"><em>Ruby gems</em></a><em> give us. Here’s a preview of what we are going to build by the end
#0.はじめに 当記事では、 ・Heroku使ったことない ・Ruby少しは触ったことある ・Sinatraは全く知らない という人向けに、Line Messaging APIを使ったオウム返しのLineBot(hogeって打つとhogeって返してくれるBot)を簡単に作るための手順を説明したいと思います。というか私がそうだったので復習という形でこの記事を投稿しました。間違い等のご指摘、快く承ります! 環境はMacOSX El Capitan 10.11.6です。 当記事を書くにあたって様々な方の記事を参考にさせてもらったので、それぞれの手順で参考になればと思いURLを各所に貼らせていただきました。問題があれば消します。 #1. Herokuの準備をする Heroku公式サイトからSign upしてアカウントを作成します。 https://www.heroku.com/home 次にHer
require "json" require 'rest-client' require 'sinatra' require 'bing-search' require 'faraday' require 'line/bot' require 'date' require 'net/https' require 'yaml' require 'cgi' require 'net/http' get '/' do 'test' end def client @client ||= Line::Bot::Client.new { |config| config.channel_secret = ENV["LINE_CHANNEL_SECRET"] config.channel_token = ENV["AS_TOKEN"] } end post '/line/callback' do body
はじめに プログラミング四ヶ月記念に何か作りたかったので作ってみた 注意点 動かすことだけを考えたコードなので本当に汚いです. そこはご了承ください 利用したサービス ・Line Messaging API ・Ruby ・Heroku ・PostgreSQL 概要 アカウントを登録してメッセージのやりとりだけで人狼ができるbot DataBase設定 Herokuではsqliteは使えないのでPostgreSQL class Orta < ActiveRecord::Migration[5.0] def change create_table :wolf_rooms do |t| t.integer :room_id t.integer :status end create_table :room_users do |s| s.integer :room_id s.text :user_i
Sidekiq is one of the first gems that I install when doing a significant Rails project. If you plan to or already have Redis running, it provides an almost effortless ability to process background jobs. Aside from that, I've always thought that one of the most powerful components of Sidekiq was the web UI that it ships with. Prior to Sidekiq 4.2, the Web UI was implemented as a Sinatra app that yo
[IT研修]注目キーワード Python UiPath(RPA) 最新技術動向 Microsoft Azure Docker Kubernetes 第1回 RailsとSinatraで同じアプリを作るとどちらの作業量が多い? (野田貴子) 2015年6月 ※このコラムはトランスネット社が提供しているコラムです。 みなさんこんにちは!今月から始まったこのコラムでは、海外で話題に挙がったRuby on Railsネタを提供していきます。 今月のネタ元はこちらです。 『Rails vs. Sinatra by Example』 「例から見るRailsとSinatraとの違い」ですね。 Rails以外のフレームワークも見てみると、Railsの特徴を再確認できるのではないでしょうか。 RubyではRuby on Railsが飛びぬけて有名なフレームワークですが、Sinatraという軽量フレームワーク
It is a fantastic time to be a web developer and to use Ruby. Ruby on Rails paved the way for modern Web Development, but in doing so highlighted certain shortcomings. Its “kitchen-sink” approach can sometimes be overkill, particularly for small projects, which led to the proliferation and arguably a golden age of Ruby microframeworks. The success of Sinatra shows that there is a genuine demand fo
Matz も驚く Crystal これ、Rubyでもそのまま動くんじゃないか? Crystalすげーっ。 https://t.co/pO0F0vqTly — Yukihiro Matsumoto (@yukihiro_matz) June 16, 2015 Crystal Language Goals Ruby-inspired syntax. Statically type-checked but without having to specify the type ... http://crystal-lang.org/ ruby と殆ど同じシンタックスが通る様です。 # A very basic HTTP server require "http/server" server = HTTP::Server.new(8080) do |request| HTTP::Response.o
Sinatra Two Point Oh! 火 8月 23 00:19:58 2016 Zachary Scott zzak@ruby-lang.org 2.0.0 was released!!!! Today, I'm pleased to announce that Sinatra 2.0 has it's first pre-release! If you haven't been following along, the major version bump includes a lot of changes significant to the future of the project. In this post, you will see the full details including what's new, what's gone, and everything pa
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く