zusaar 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 258b5b091ba9599efdcd191bbc7de4a5aefc0575
4
+ data.tar.gz: 9c96e0366e2c64a846031da4ce62d8fba5cabfc9
5
+ SHA512:
6
+ metadata.gz: a0846c56b83cafba0b2f519d0c45f83a76fef45448e8e954a638f9d8bd325121a9b98db2f6c4e106819173d8588365979d0502d365d0350f3a3f9e415c4bdf36
7
+ data.tar.gz: 0cab7c718d513f1357a386e4055ea613929dbc13ac1d2e1126c27cf4b64733a8764bf2f0b75de6903e578d21b15475b2f6dc57cccfaf4ddff859c681059a94af
data/.gitignore ADDED
@@ -0,0 +1,17 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
data/Gemfile ADDED
@@ -0,0 +1,17 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gem 'rake'
4
+
5
+ group :development do
6
+ gem 'guard-rspec'
7
+ gem 'rb-fsevent', '~> 0.9'
8
+ gem 'terminal-notifier-guard'
9
+ gem 'pry'
10
+ end
11
+
12
+ group :test do
13
+ gem 'rspec', '>= 2.11'
14
+ gem 'webmock'
15
+ end
16
+
17
+ gemspec
data/Guardfile ADDED
@@ -0,0 +1,8 @@
1
+ # More info at https://github.com/guard/guard#readme
2
+
3
+ guard 'rspec', :notification => true do
4
+ watch(%r{^spec/.+_spec\.rb$})
5
+ watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
6
+ watch('spec/spec_helper.rb') { "spec" }
7
+ end
8
+
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2013 fukayatsu
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,36 @@
1
+ # Zusaar
2
+
3
+ A Ruby interface to the Zusaar API. Inspired by Twitter gem.
4
+
5
+ [Zusaar API doc](http://www.zusaar.com/doc/api.html)
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ gem 'zusaar'
12
+
13
+ And then execute:
14
+
15
+ $ bundle
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install zusaar
20
+
21
+ ## Usage
22
+
23
+ ```
24
+ Zusaar.search_events(keyword: 'ruby')
25
+
26
+ Zusaar.search_users(nickname: 'fukayatsu')
27
+ ```
28
+
29
+ ## Contributing
30
+
31
+ 1. Fork it
32
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
33
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
34
+ 4. Add test for it
35
+ 5. Push to the branch (`git push origin my-new-feature`)
36
+ 6. Create new Pull Request
data/Rakefile ADDED
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
@@ -0,0 +1,19 @@
1
+ require 'zusaar/search_results'
2
+
3
+ module Zusaar
4
+ module API
5
+ module Search
6
+ def search_events(query = {})
7
+ path = '/api/event/'
8
+ body = send(:get, path, query).body
9
+ SearchResults.new(body)
10
+ end
11
+
12
+ def search_users(query = {})
13
+ path = '/api/event/user/'
14
+ body = send(:get, path, query).body
15
+ SearchResults.new(body)
16
+ end
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,17 @@
1
+ module Zusaar
2
+ class Base
3
+ def initialize(attrs = {})
4
+ @attrs = attrs
5
+ end
6
+
7
+ class << self
8
+ def attr_reader(*attrs)
9
+ attrs.each do |attribute|
10
+ define_method attribute do
11
+ @attrs[attribute.to_sym] || @attrs[attribute.to_s]
12
+ end
13
+ end
14
+ end
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,41 @@
1
+ require 'faraday'
2
+ require 'faraday_middleware'
3
+ require 'zusaar/api/search'
4
+ require 'zusaar/version'
5
+
6
+ module Zusaar
7
+ class Client
8
+ include Zusaar::API::Search
9
+
10
+ def get(path, params = {})
11
+ request(:get, path, params)
12
+ end
13
+
14
+ private
15
+
16
+ def request(method, path, params = {})
17
+ connection.send(method.to_sym, path, params)
18
+ end
19
+
20
+ def connection
21
+ @connection ||= begin
22
+ endpoint = 'http://www.zusaar.com'
23
+ connection_options = {
24
+ :headers => {
25
+ :accept => 'application/json',
26
+ :user_agent => "Zusaar Ruby Gem #{Zusaar::VERSION}",
27
+ },
28
+ :request => {
29
+ :open_timeout => 5,
30
+ :timeout => 10,
31
+ }
32
+ }
33
+ Faraday.new(endpoint, connection_options) { |conn|
34
+ conn.adapter Faraday.default_adapter
35
+ conn.request :url_encoded
36
+ conn.use FaradayMiddleware::ParseJson
37
+ }
38
+ end
39
+ end
40
+ end
41
+ end
@@ -0,0 +1,27 @@
1
+ require 'zusaar/identity'
2
+
3
+ module Zusaar
4
+ class Event < Zusaar::Identity
5
+ attr_reader :event_id, :title, :catch, :description, :event_url,
6
+ :started_at, :ended_at, :pay_type, :url, :limit,
7
+ :address, :place, :lat, :lon, :owner_id, :owner_profile_url,
8
+ :owner_nickname, :accepted, :waiting, :updated_at
9
+
10
+ alias_method :id, :event_id
11
+
12
+ def initialize(attrs = {})
13
+
14
+ if attrs['users']
15
+ @users = attrs['users'].map { |user|
16
+ Zusaar::User.new(user)
17
+ }
18
+ end
19
+
20
+ super(attrs)
21
+ end
22
+
23
+ def users
24
+ @users
25
+ end
26
+ end
27
+ end
@@ -0,0 +1,11 @@
1
+ require 'zusaar/base'
2
+
3
+ module Zusaar
4
+ class Identity < Zusaar::Base
5
+ attr_reader :id
6
+
7
+ def ==(other)
8
+ other.is_a?(self.class) && (self.id == other.id)
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,21 @@
1
+ require 'zusaar/base'
2
+ require 'zusaar/event'
3
+
4
+ module Zusaar
5
+ class SearchResults < Zusaar::Base
6
+ attr_reader :results_returned, :results_start
7
+
8
+ def initialize(attrs = {})
9
+ @events = attrs['event'].map { |event|
10
+ Zusaar::Event.new(event)
11
+ }
12
+
13
+ super(attrs)
14
+ end
15
+
16
+ def events
17
+ @events
18
+ end
19
+
20
+ end
21
+ end
@@ -0,0 +1,23 @@
1
+ module Zusaar
2
+ class User < Zusaar::Identity
3
+ attr_reader :user_id, :profile_url, :nickname, :status
4
+
5
+ alias_method :id, :user_id
6
+
7
+ def initialize(attrs = {})
8
+ if attrs['profile_url']
9
+ # zusaar apiのバグ対応
10
+ attrs['profile_url'] = fix_url(attrs['profile_url'])
11
+ end
12
+
13
+ super(attrs)
14
+ end
15
+
16
+ private
17
+
18
+ def fix_url(url)
19
+ return nil if url.nil?
20
+ url.gsub("http//", "http://").gsub("https//", "https://")
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,3 @@
1
+ module Zusaar
2
+ VERSION = "0.0.1"
3
+ end
data/lib/zusaar.rb ADDED
@@ -0,0 +1,25 @@
1
+ require "zusaar/version"
2
+ require 'zusaar/client'
3
+ require 'zusaar/identity'
4
+ require 'zusaar/user'
5
+
6
+ module Zusaar
7
+ class << self
8
+ def client
9
+ return @client if defined?(@client)
10
+ @client = Zusaar::Client.new
11
+ end
12
+
13
+ def respond_to_missing?(method_name, include_private = false)
14
+ client.respond_to?(method_name, include_private);
15
+ end
16
+
17
+ private
18
+
19
+ def method_missing(method_name, *args, &block)
20
+ return client.send(method_name, *args, &block) if client.respond_to?(method_name)
21
+ super
22
+ end
23
+
24
+ end
25
+ end
@@ -0,0 +1,3 @@
1
+ require 'zusaar'
2
+ require 'rspec'
3
+ require 'webmock/rspec'
File without changes
@@ -0,0 +1,69 @@
1
+ require 'spec_helper'
2
+
3
+ describe Zusaar::Client do
4
+ describe '#event_search' do
5
+ context "search with no query" do
6
+ before do
7
+ stub_request(:get, "http://www.zusaar.com/api/event/").
8
+ to_return(:status => 200, :body => EVENT_SEARCH_WITH_NO_QUERY_BODY, :headers => {})
9
+ end
10
+
11
+ it "returns 10 events" do
12
+ client = Zusaar::Client.new
13
+ result = client.search_events()
14
+ events = result.events
15
+ events.size.should == 10
16
+ end
17
+ end
18
+
19
+ context "search with {event_id: 545003}" do
20
+ before do
21
+ stub_request(:get, "http://www.zusaar.com/api/event/?event_id=545003").
22
+ to_return(:status => 200, :body => EVENT_SEARCH_WITH_EVENT_ID_545003, :headers => {})
23
+ end
24
+
25
+ it "returns 1 event" do
26
+ client = Zusaar::Client.new
27
+ result = client.search_events(event_id: 545003) # http://www.zusaar.com/event/545003
28
+ events = result.events
29
+ events.size.should == 1
30
+ events.first.event_id.should == "545003"
31
+ end
32
+ end
33
+ end
34
+
35
+ describe '#user_search' do
36
+ context "search with no query" do
37
+ before do
38
+ stub_request(:get, "http://www.zusaar.com/api/event/user/").
39
+ to_return(:status => 200, :body => USER_SEARCH_WITH_NO_QUERY, :headers => {})
40
+ end
41
+
42
+ it "returns 10 events" do
43
+ client = Zusaar::Client.new
44
+ result = client.search_users()
45
+ events = result.events
46
+ events.size.should == 10
47
+ end
48
+
49
+ it "has users for each event" do
50
+ client = Zusaar::Client.new
51
+ result = client.search_users()
52
+ events = result.events
53
+ events.first.users.class.should == Array
54
+ end
55
+ end
56
+ end
57
+ end
58
+
59
+ EVENT_SEARCH_WITH_NO_QUERY_BODY = <<'EOT'
60
+ {"results_start":1,"event":[{"limit":15,"lon":139.769031,"owner_nickname":"Shigeaki Kurimoto","waiting":0,"catch":"HTMLの作り方、HTML5の構造、Javascriptの呼び出し方、JQueryの使い方など、Web作成の基礎の勉強会です。未経験者、初心者向けの勉強会です。","event_id":"603003","url":"http:\/\/www.prgear.jp","owner_profile_url":"http:\/\/www.facebook.com\/shigeaki.kurimoto","title":"初心者向けHTML5とJavascriptと少しだけJQuery","updated_at":"2013-03-23T06:48:32Z","accepted":0,"event_url":"http:\/\/www.zusaar.com\/event\/603003","pay_type":"0","address":"東京都中央区銀座3-13-10","description":"<b style=\"line-height: normal;\"><font size=\"4\">持ち物<\/font><\/b><div><font size=\"4\"><span style=\"line-height: 18px;\"><b><br><\/b><\/span><\/font><\/div><div><font size=\"2\"><span style=\"line-height: 13px;\">パソコンを持っている方はあるとよいかも。<\/span><\/font><\/div><div><font size=\"2\"><span style=\"line-height: 13px;\"><br><\/span><\/font><\/div><div><font size=\"2\"><span style=\"line-height: 13px;\"><br><\/span><\/font><\/div><div><b style=\"line-height: normal;\"><font size=\"4\" style=\"line-height: 18px;\">スケジュール<\/font><\/b><\/div><div><div><font size=\"2\" style=\"line-height: 13px;\"><br><\/font><\/div><div><font size=\"2\"><span style=\"line-height: 13px;\">1、講演者自己紹介<\/span><\/font><\/div><\/div><div><font size=\"2\"><span style=\"line-height: 13px;\">2、HTMLファイルの作り方<\/span><\/font><\/div><div><font size=\"2\"><span style=\"line-height: 13px;\">3、HTML5の基本構造<\/span><\/font><\/div><div><font size=\"2\"><span style=\"line-height: 13px;\">4、Javascriptの説明<\/span><\/font><\/div><div><font size=\"2\"><span style=\"line-height: 13px;\">5<\/span><\/font><span style=\"font-size: small; line-height: 13px;\">、JQueryの使い方<\/span><\/div><div><span style=\"font-size: small; line-height: 13px;\">6、最近の開発環境について<\/span><\/div><div><span style=\"font-size: small; line-height: 13px;\">7、告知<\/span><\/div><div><span style=\"font-size: small; line-height: 13px;\">8、懇親会<\/span><\/div><div><span style=\"font-size: small; line-height: 13px;\"><br><\/span><\/div><div><span style=\"font-size: small; line-height: 13px;\"><br><\/span><\/div><div><span style=\"font-size: small; line-height: 13px;\">質疑応答や実演を交えながら、<\/span><\/div><div><span style=\"font-size: small; line-height: 13px;\">一方通行にならない勉強会の予定です。<\/span><\/div><div><span style=\"font-size: small; line-height: 13px;\"><br><\/span><\/div><div><font size=\"2\"><span style=\"line-height: 13px;\">勉強会終了後、少しだけ懇親会の時間を設けております。<\/span><\/font><\/div><div><font size=\"2\"><span style=\"line-height: 13px;\">お時間の都合のよい方はご参加下ください。<\/span><\/font><\/div><div><font size=\"2\"><span style=\"line-height: 13px;\"><br><\/span><\/font><\/div>","ended_at":"2013-04-03T21:00:00+09:00","owner_id":"agxzfnp1c2Fhci1ocmRyHAsSBFVzZXIiEjEwMDAwMTczMzI5NTg4Ml9mYgw","started_at":"2013-04-03T19:30:00+09:00","place":"東銀座313-3F 株式会社enjin 会議室","lat":35.6702533},{"limit":20,"lon":"","owner_nickname":"eaglesakura","waiting":0,"catch":"弊社恒例の花見を今年も行います。","event_id":"602003","url":"","owner_profile_url":"http:\/\/twitter.com\/eaglesakura","title":"TG社花見 2013 in 上野公園","updated_at":"2013-03-22T14:23:48Z","accepted":9,"event_url":"http:\/\/www.zusaar.com\/event\/602003","pay_type":"1","address":"","description":"場所取りがどこになるかわからないので、当日に弊社社員(@eaglesakura、@vvakameあたり)がGPS座標付きでつぶやきます。<div><br><\/div><div>料金は当日500円、もしくは自分の酒を持ってくれば無料です。<\/div><div><br><\/div><div>途中参加・途中退場も自由です。<\/div>","ended_at":"2013-03-26T22:00:00+09:00","owner_id":"agxzfnp1c2Fhci1ocmRyFgsSBFVzZXIiDDE0NTg3NjM1M190dww","started_at":"2013-03-26T17:00:00+09:00","place":"上野公園のどこか","lat":""},{"limit":0,"lon":139.6602167,"owner_nickname":"__hage__","waiting":0,"catch":"花見しる","event_id":"599003","url":"","owner_profile_url":"http:\/\/twitter.com\/__hage__","title":"極道の花道","updated_at":"2013-03-23T10:12:40Z","accepted":2,"event_url":"http:\/\/www.zusaar.com\/event\/599003","pay_type":"0","address":"東京都世田谷区駒沢公園1-1","description":"花見しましょう。<div><br><\/div><div>砧公園が遠いという意見が多かったので駒沢公園にしました。<\/div><div><br><div>時間は適当なのでふらっときてくれて構いません<\/div><div><br><\/div><div>僕がお弁当作って持って行きますが参加者1人1品くらいなんか持ってきてくれるとおなか減らずに済むと思います。<\/div><div><br><\/div><div>唐揚げとラザニア、他何かを作って持っていく予定です。<\/div><div><br><\/div><div>お酒は無限にあるといいと思います。&nbsp;<\/div><div><br><\/div><div>レジャーシート、4人くらい座れるやつはありますが人が<\/div><div>増えるようなら持ってる人は持ってきてください。\r\n\r\n\r\n<\/div><\/div>","ended_at":"2013-03-31T22:00:00+09:00","owner_id":"agxzfnp1c2Fhci1ocmRyFgsSBFVzZXIiDDE2MjY2NTIzOF90dww","started_at":"2013-03-31T10:00:00+09:00","place":"駒沢公園","lat":35.6264719},{"limit":10,"lon":130.3976602,"owner_nickname":"ayakomuro","waiting":0,"catch":"福岡、また周辺各地にいるDebian利用検討者、実利用者、開発者を集め、DebianやDebian周辺のパッケージや環境に対しての理解を深める勉強会です。","event_id":"598006","url":"http:\/\/fukuoka-debian.github.com\/web\/","owner_profile_url":"http:\/\/twitter.com\/ayakomuro","title":"第03回 福岡Debian勉強会","updated_at":"2013-03-21T04:09:31Z","accepted":8,"event_url":"http:\/\/www.zusaar.com\/event\/598006","pay_type":"0","address":"福岡県福岡市中央区天神1-10-24 天神セントラルプレイス 2F OnRamp内","description":"<font face=\"Arial, Verdana\" style=\"line-height: normal; font-size: 10pt;\"><font size=\"5\" color=\"#cc0000\" style=\"line-height: 23.636363983154297px;\"><b>Debian<\/b><\/font><font size=\"2\" style=\"line-height: 12.727272033691406px;\">を使ってみようかな〜という人から、実利用者、開発者、さらには<\/font><font size=\"4\" color=\"#009900\" style=\"line-height: 18.18181800842285px;\"><b>Linux Mint<\/b><\/font><font size=\"2\" style=\"line-height: 12.727272033691406px;\">や<\/font><font size=\"4\" color=\"#ff9900\" style=\"line-height: 18.18181800842285px;\"><b>Ubuntu<\/b><\/font><font size=\"2\" style=\"line-height: 12.727272033691406px;\">まで使っている人まで、<\/font><\/font><span style=\"font-size: 10pt;\">Debianに関する勉強会を開催いたします。<\/span><div style=\"font-size: 10pt;\"><br><\/div><div style=\"font-size: 10pt;\">次期リリースのWheezyが気になって眠れない!という方や、他のディストリビューションとDebianてどう違うの?という疑問をお持ちの方でも大歓迎です!<\/div><div style=\"font-size: 10pt;\"><br><\/div><div style=\"font-size: 10pt;\"><br><\/div><div style=\"font-size: 10pt;\"><br><\/div><div style=\"font-size: 10pt;\"><table cellpadding=\"2\" cellspacing=\"2\" border=\"1\" style=\"width: 480.9090881347656px;\"><tbody><tr><td><span style=\"font-size: small; line-height: 13px;\">対象者<\/span><\/td><td><span style=\"font-size: small; line-height: 13px;\">福岡、福岡周辺、九州全般、さらに山口の方まで!?<\/span><\/td><\/tr><tr><td><span style=\"font-size: small; line-height: 13px;\">日時<\/span><\/td><td><span style=\"font-size: large; line-height: 18px;\">2013\/3\/28 木曜日 19時〜21時ぐらい<\/span><\/td><\/tr><tr><td><span style=\"font-size: small;\">場所<\/span><\/td><td><font size=\"2\">OnRamp<\/font><br><div><font size=\"2\"><span style=\"line-height: 12.997159004211426px;\">福岡県福岡市中央区天神1-10-24 天神セントラルプレイス 2F OnRamp内<\/span><\/font><\/div><\/td><\/tr><tr><td>費用<\/td><td>勉強会の費用はなし(資料はウェブで配布します)<br>乾燥系お菓子を一つ持ってくる事。<br>持ってこない人は100~500円程度気持ち払う事。<\/td><\/tr><\/tbody><\/table><div><br><\/div><\/div><div style=\"font-size: 10pt;\"><br><\/div><div style=\"font-size: 10pt;\"><font size=\"5\" style=\"line-height: 23.636363983154297px;\"><b>内容<\/b><\/font><\/div><div style=\"font-size: 10pt;\"><font size=\"3\" style=\"line-height: 16.363636016845703px;\">・小室:Wheezyで搭載されるカーネルの新機能とかとか<\/font><\/div><div style=\"font-size: 10pt;\"><font size=\"3\" style=\"line-height: 16.363636016845703px;\">・山田:未定<\/font><\/div><div style=\"font-size: 10pt;\"><span style=\"font-size: medium; line-height: 16px;\">・会場掃除<\/span><\/div><div style=\"font-size: 10pt;\"><br><\/div><div style=\"font-size: 10pt;\"><font face=\"Arial, Verdana\" size=\"3\" style=\"line-height: 16.363636016845703px;\"><span style=\"line-height: 16px;\"><br><\/span><\/font><\/div><div style=\"font-size: 10pt;\"><font face=\"Arial, Verdana\" size=\"3\" style=\"line-height: 16.363636016845703px;\"><span style=\"line-height: 16px;\">∩(´∀`∩)<\/span><\/font><\/div><div style=\"font-size: 10pt;\"><font face=\"Arial, Verdana\" size=\"3\" style=\"line-height: 16.363636016845703px;\"><span style=\"line-height: 16px;\"><br><\/span><\/font><\/div><div style=\"font-size: 10pt;\"><br><\/div><div style=\"font-size: 10pt;\"><font size=\"5\" color=\"#000099\" style=\"line-height: 23.636363983154297px;\">皆さんの参加をお待ちしております!<\/font><\/div><div><font size=\"5\" color=\"#000099\" style=\"line-height: 23.636363983154297px;\"><br><\/font><\/div>","ended_at":"2013-03-28T21:00:00+09:00","owner_id":"agxzfnp1c2Fhci1ocmRyFQsSBFVzZXIiCzE2NDA0MzE1X3R3DA","started_at":"2013-03-28T19:00:00+09:00","place":"OnRamp","lat":33.5902074},{"limit":10,"lon":139.7077527,"owner_nickname":"Kaori Takehana","waiting":0,"catch":"ビジュアル素材販売の老舗「iStockphoto」によるイラストレーターの情報交換&交流会","event_id":"598005","url":"","owner_profile_url":"http:\/\/www.facebook.com\/kaori.takehana","title":"iStockphotoイラストレーターズ プチ・フォーラム","updated_at":"2013-03-21T03:15:38Z","accepted":0,"event_url":"http:\/\/www.zusaar.com\/event\/598005","pay_type":"0","address":"東京都渋谷区神宮前1-3-12 ジブラルタ生命原宿ビル2F ","description":"<p style=\"margin: 1em 0px; padding: 0px; font-family: Arial, Verdana, sans-serif; font-size: 14px; line-height: 21px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);\">デザイナーから企業まで、写真やイラスト、動画素材を提供する「マイクロストック」の老舗「iStockphoto(アイストックフォト)」が、本社カナダ以外では世界初!のイラストレーター コントリビューター(出品者)さんを中心としたプチ・フォーラムを開催!<\/p><p style=\"margin: 1em 0px; padding: 0px; font-family: Arial, Verdana, sans-serif; font-size: 14px; line-height: 21px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);\">普段、イラストを描くことは非常に孤独な作業です。<br style=\"font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit;\">そんな経験の中での工夫、苦労話しや、作品をつくる熱い思いなどを話し合える\u201Cディスカッション・タイム\u201Dも用意。ゆる~いゲームも混ぜながら、オンラインでは味わえない、クリエイティブな刺激を受けられる時間をお届けします。&nbsp;<br style=\"font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit;\"><br style=\"font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit;\">★軽食・アルコール付き!★のカジュアルな情報交換&交流会ですので、ぜひ、この機会にご参加くださいね!<br style=\"font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit;\">&nbsp;<\/p><h3 style=\"font-size: 14px; font-weight: inherit; font-family: Arial, Verdana, sans-serif; line-height: 21px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);\"><strong style=\"font-style: inherit; font-weight: bolder; font-size: inherit; font-variant: inherit; line-height: inherit;\">《開催概要》<\/strong><\/h3><ul style=\"padding-right: 40px; padding-left: 40px; font-family: Arial, Verdana, sans-serif; font-size: 14px; font-weight: normal; line-height: 21px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);\"><li style=\"margin: 0px; padding: 0px; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; list-style: disc inside !important;\"><div style=\"margin: 0px; padding: 0px; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit;\">&nbsp;2013年4月5日(金) 18:30開場、19:00開始<\/div><div style=\"margin: 0px; padding: 0px; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit;\">\u200B場所:ゲッティイメージズジャパン(株) プレゼンテーションルーム&nbsp;<\/div><div style=\"margin: 0px; padding: 0px; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit;\">〒150-0001 東京都渋谷区神宮前1-3-12 ジブラルタ生命原宿ビル2F&nbsp;<\/div><div style=\"margin: 0px; padding: 0px; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit;\">最寄り駅: JR原宿駅 竹下通り出口、 地下鉄千代田線 明治神宮前駅 5番出口、 地下鉄副都心線 北参道駅 2番出口&nbsp;<\/div><div style=\"margin: 0px; padding: 0px; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit;\">&nbsp;<\/div><\/li><\/ul><p style=\"margin: 1em 0px; padding: 0px; font-family: Arial, Verdana, sans-serif; font-size: 14px; line-height: 21px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);\">&nbsp;<\/p><h3 style=\"font-size: 14px; font-weight: inherit; font-family: Arial, Verdana, sans-serif; line-height: 21px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);\"><strong style=\"font-style: inherit; font-weight: bolder; font-size: inherit; font-variant: inherit; line-height: inherit;\">《参加対象・資格》<\/strong><\/h3><ul style=\"padding-right: 40px; padding-left: 40px; font-family: Arial, Verdana, sans-serif; font-size: 14px; font-weight: normal; line-height: 21px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);\"><li style=\"margin: 0px; padding: 0px; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; list-style: disc inside !important;\">iStockphoto イラストレーターコントリビューター(出品者)<\/li><li style=\"margin: 0px; padding: 0px; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; list-style: disc inside !important;\">イラストに興味がある、イラストを描いている、今後、ストックフォトに参加したいと考えている方(一般の方)<\/li><\/ul><p style=\"margin: 1em 0px; padding: 0px; font-family: Arial, Verdana, sans-serif; font-size: 14px; line-height: 21px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);\"><span style=\"font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; color: rgb(255, 0, 0);\">(\u203B招待制のため、一般の方はこのイベントフォームからお申し込みいただいた方のみになります。自由参加ではありませんのでご注意ください。)<\/span><\/p><p style=\"margin: 1em 0px; padding: 0px; font-family: Arial, Verdana, sans-serif; font-size: 14px; line-height: 21px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);\">&nbsp;<\/p><p style=\"margin: 1em 0px; padding: 0px; font-family: Arial, Verdana, sans-serif; font-size: 14px; line-height: 21px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);\">《メニュー(変更になる場合があります)》<\/p><ul style=\"padding-right: 40px; padding-left: 40px; font-family: Arial, Verdana, sans-serif; font-size: 14px; font-weight: normal; line-height: 21px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);\"><li style=\"margin: 0px; padding: 0px; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; list-style: disc inside !important;\"><span style=\"font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit;\">&nbsp;<\/span><span style=\"font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit;\">iStockphoto<\/span>カナダ本社のイラスト・エキスパートによる「最近の市場トレンド」<\/li><li style=\"margin: 0px; padding: 0px; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; list-style: disc inside !important;\"><span style=\"font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit;\">gettyimages<\/span>東京オフィスのアート・ディレクターより「ビジュアル・コミュニケーションの社会背景」<\/li><li style=\"margin: 0px; padding: 0px; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; list-style: disc inside !important;\">ディスカッション<\/li><li style=\"margin: 0px; padding: 0px; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; list-style: disc inside !important;\">ゲーム<\/li><li style=\"margin: 0px; padding: 0px; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; list-style: disc inside !important;\">交流タイム<\/li><\/ul>","ended_at":"2013-04-05T21:00:00+09:00","owner_id":"agxzfnp1c2Fhci1ocmRyHAsSBFVzZXIiEjEwMDAwMDEzNzE4MjMzNF9mYgw","started_at":"2013-04-05T19:00:00+09:00","place":"ゲッティイメージズジャパン(株) プレゼンテーションルーム ","lat":35.6727011},{"limit":5,"lon":"","owner_nickname":"apxn1","waiting":0,"catch":"次世代コミュニケーションツール「Team Space」バーチャルオフィスを体験してみませんか?","event_id":"598004","url":"","owner_profile_url":"http:\/\/twitter.com\/apxn1","title":"Sococo Team Space バーチャルオフィス早わかり体験セミナー #16","updated_at":"2013-03-21T03:01:45Z","accepted":1,"event_url":"http:\/\/www.zusaar.com\/event\/598004","pay_type":"0","address":"","description":"<span class=\"Apple-style-span\" style=\"margin-left: 0px; font-family: 'ヒラギノ丸ゴ Pro W4', 'Hiragino Maru Gothic Pro W4', 'ヒラギノ角ゴ Pro W3', 'MS Pゴシック', verdana, arial, sans-serif; line-height: 21px; background-color: rgb(252, 251, 251);\"><font color=\"#ff0000\" size=\"4\" style=\"line-height: 19px;\">■弊社は日本初のSococo Team Space販売代理店です。<\/font><br><br><b><font size=\"3\" style=\"line-height: 16px;\">次世代のコミュニケーションツールを体験してみませんか?<\/font><\/b><br><br>Sococo Team Spaceの一通りの使い方を簡単にご説明します。<br>参加するには、下記のものをご用意するだけ!<br>・ネットワーク環境<br>・ヘッドセット(マイク&スピーカー)<br>・Team Spaceのインストール<\/span><span class=\"Apple-style-span\" style=\"margin-left: 0px; font-family: 'ヒラギノ丸ゴ Pro W4', 'Hiragino Maru Gothic Pro W4', 'ヒラギノ角ゴ Pro W3', 'MS Pゴシック', verdana, arial, sans-serif; line-height: 21px; background-color: rgb(252, 251, 251);\"><br><br>参加ご希望の方はアカウントを発行致しますので、お名前とメールアドレスを別途ご送付ください。<br>Mail : apxn@arche1.co.jp<div>\u203Bライセンス代は無償で提供いたします。<br><br>開催日時の時間以外でも、<b>毎日AM10:00 ~ 11:00<\/b>は常設の「早わかりガイド」担当者がいます。<br>お気軽にオフィスに来てください。<\/div><\/span>","ended_at":"2013-03-22T11:00:00+09:00","owner_id":"agxzfnp1c2Fhci1ocmRyFgsSBFVzZXIiDDgxMzA2MDk5Nl90dww","started_at":"2013-03-22T10:00:00+09:00","place":"Team Space「アルケー情報 バーチャルオフィス」 ","lat":""},{"limit":12,"lon":139.7636719,"owner_nickname":"vvakame","waiting":0,"catch":"こいつはドエライ大APIやでぇ\u2026","event_id":"598003","url":"https:\/\/developers.google.com\/drive\/realtime\/","owner_profile_url":"http:\/\/twitter.com\/vvakame","title":"Google Drive Realtime API ハッカソン","updated_at":"2013-03-21T03:19:13Z","accepted":6,"event_url":"http:\/\/www.zusaar.com\/event\/598003","pay_type":"0","address":"東京都文京区本郷3-40-11 柏屋ビル7F","description":"<font face=\"Arial, Verdana\" style=\"font-family: Arial, Verdana; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;\"><span style=\"line-height: normal;\">http:\/\/jp.techcrunch.com\/2013\/03\/20\/20130319google-launches-drive-realtime-api-to-let-developers-build-apps-with-real-time-collaboration\/<\/span><\/font><div style=\"font-family: Arial, Verdana; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;\"><font face=\"Arial, Verdana\"><span style=\"line-height: normal;\"><br><\/span><\/font><\/div><div style=\"font-family: Arial, Verdana; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;\"><font face=\"Arial, Verdana\"><span style=\"line-height: normal;\">Google Driveに1つのドキュメントを共同編集するためのアプリを作れるリアルタイムAPIが追加されました。<\/span><\/font><\/div><div style=\"font-family: Arial, Verdana; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;\"><font face=\"Arial, Verdana\"><span style=\"line-height: normal;\">こいつを利用してひとつ、何か作ってみましょう!という趣旨の会です。<\/span><\/font><\/div><div style=\"font-family: Arial, Verdana; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;\"><font face=\"Arial, Verdana\"><span style=\"line-height: normal;\">エディタよし!ゲームよし!その他何かカッコイイものよし!<\/span><\/font><\/div><div style=\"font-family: Arial, Verdana; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;\"><span style=\"line-height: normal; font-family: Arial, Verdana; font-size: 10pt;\">当日集まった人で適当に2〜4人くらいでチームを作るといいかな、と思っています。<\/span><\/div><div style=\"font-family: Arial, Verdana; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;\"><font face=\"Arial, Verdana\"><span style=\"line-height: normal;\">参加条件は以下の通り<\/span><\/font><\/div><div style=\"font-family: Arial, Verdana; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;\"><font face=\"Arial, Verdana\"><span style=\"line-height: normal;\">・JavaScriptやHTMLなどによる開発を他人の補助なく行える事<\/span><\/font><\/div><div style=\"font-family: Arial, Verdana; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;\"><div><font face=\"Arial, Verdana\" style=\"line-height: 13px;\"><span style=\"line-height: normal;\">別に賞品とかも出ないしですし、発表も簡素な感じを予定しています。<\/span><\/font><\/div><\/div><div style=\"font-family: Arial, Verdana; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;\"><font face=\"Arial, Verdana\"><span style=\"line-height: normal;\"><br><\/span><\/font><\/div><div style=\"font-family: Arial, Verdana; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;\"><font face=\"Arial, Verdana\"><span style=\"line-height: normal;\">予定タイムテーブル<\/span><\/font><\/div><div style=\"font-family: Arial, Verdana; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;\"><font face=\"Arial, Verdana\"><span style=\"line-height: normal;\">12:00〜 カレーを食べに行く(食べない人は13時から参加)<\/span><\/font><\/div><div style=\"font-family: Arial, Verdana; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;\"><font face=\"Arial, Verdana\"><span style=\"line-height: normal;\">13:00〜 集合(休日は人力じゃないと1Fの玄関開かないので遅刻厳禁)<\/span><\/font><\/div><div style=\"font-family: Arial, Verdana; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;\"><font face=\"Arial, Verdana\"><span style=\"line-height: normal;\">13:10〜 自己紹介&チーム分け<\/span><\/font><\/div><div style=\"font-family: Arial, Verdana; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;\"><font face=\"Arial, Verdana\"><span style=\"line-height: normal;\">13:30〜 ハッカソン開始<\/span><\/font><\/div><div style=\"font-family: Arial, Verdana; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;\"><font face=\"Arial, Verdana\"><span style=\"line-height: normal;\">18:30〜 各チームのデモ<\/span><\/font><\/div><div style=\"font-family: Arial, Verdana; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;\"><font face=\"Arial, Verdana\"><span style=\"line-height: normal;\">19:00〜 適当に何か食いに行ったり続きやったりする<\/span><\/font><\/div><div style=\"font-family: Arial, Verdana; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;\"><font face=\"Arial, Verdana\"><span style=\"line-height: normal;\"><br><\/span><\/font><\/div><div style=\"font-family: Arial, Verdana; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;\">参考<\/div><div><font face=\"Arial, Verdana\"><span style=\"line-height: normal;\">Playground 用意されているAPIはこの通りっぽい https:\/\/realtimeplayground.appspot.com\/<\/span><\/font><\/div>","ended_at":"2013-03-24T19:00:00+09:00","owner_id":"agxzfnp1c2Fhci1ocmRyFQsSBFVzZXIiCzkzODcyMjU1X3R3DA","started_at":"2013-03-24T12:00:00+09:00","place":"トップゲート社会議室","lat":35.7067404},{"limit":20,"lon":130.3948605,"owner_nickname":"Daichi Shimoyama","waiting":8,"catch":"超初心者向けのマークアップやwebの事色々な勉強会","event_id":"597006","url":"","owner_profile_url":"http:\/\/www.facebook.com\/dublich","title":"福岡マークアップ勉強会 vol4","updated_at":"2013-03-21T05:25:06Z","accepted":20,"event_url":"http:\/\/www.zusaar.com\/event\/597006","pay_type":"1","address":"福岡市中央区大名1丁目14-28 紺屋2023 第一松村ビル302号室 ","description":"<font style=\"font-family: Arial, Verdana; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;\" face=\"Arial, Verdana\" size=\"2\"><span style=\"line-height: normal;\">「webの事もっと勉強したいけど勉強会に参加するの不安だなー」<\/span><\/font><div style=\"font-family: Arial, Verdana; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;\">そんなアナタ!<br><br><\/div><div style=\"font-family: Arial, Verdana; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;\">「勉強会はたまに行くけど、内容が難しい・・・。もっと初心者向けのヤツないかな〜」<\/div><div style=\"font-family: Arial, Verdana; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;\">そんなアナタ!!<br><br>「色んな話を聞いてみたい!なんなら話したい!突っ込みたい!」<br><\/div><div style=\"font-family: Arial, Verdana; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;\">そんなア・ナ・タ!!!<\/div><div style=\"font-family: Arial, Verdana; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;\"><font face=\"Arial, Verdana\"><span style=\"line-height: normal;\"><br><\/span><\/font><\/div><div style=\"font-family: Arial, Verdana; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;\"><div style=\"font-size: 10pt; background-color: rgb(252, 251, 251); font-family: Arial, Verdana; line-height: normal;\">第4回やっちゃいます!<br>今回も変わらず初心者向けの福岡マークアップ勉強会。<\/div><div style=\"font-size: 10pt; background-color: rgb(252, 251, 251); font-family: Arial, Verdana; line-height: normal;\">わいわいガヤガヤゆるーくやります!<\/div><div style=\"font-size: 10pt; background-color: rgb(252, 251, 251); font-family: Arial, Verdana; line-height: normal;\">勉強会に参加したことない方、同業種のお友達を増やしたい方大歓迎!<\/div><div style=\"font-size: 10pt; background-color: rgb(252, 251, 251); font-family: Arial, Verdana; line-height: normal;\">お気軽にどぞーーーー!<br><br>▼前回の様子はこちらから<br>http:\/\/kanapple.net\/other\/archives\/4<br><\/div><\/div><div style=\"font-family: Arial, Verdana; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;\"><span style=\"font-family: Arial, Verdana; line-height: normal; background-color: rgb(252, 251, 251);\"><br><\/span><\/div><div style=\"font-family: Arial, Verdana; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;\"><span style=\"font-family: Arial, Verdana; line-height: normal; background-color: rgb(252, 251, 251);\"><b>\u203B 懇親会は18時から<\/b><\/span><b style=\"font-size: 10pt; font-family: Arial, Verdana; line-height: normal;\">そのままAIPカフェで行ないます。<\/b><\/div><div style=\"font-family: Arial, Verdana; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;\"><font face=\"Arial, Verdana\"><span style=\"line-height: normal;\"><b>懇親会費:1000円<\/b><\/span><\/font><\/div><div style=\"font-family: Arial, Verdana; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;\"><span style=\"font-family: Arial, Verdana; line-height: normal; background-color: rgb(252, 251, 251);\"><br><\/span><\/div><div style=\"font-family: Arial, Verdana; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;\"><span style=\"font-family: Arial, Verdana; line-height: normal; background-color: rgb(252, 251, 251);\"><br><\/span><\/div><div><div style=\"background-color: rgb(252, 251, 251);\"><div style=\"font-family: Arial, Verdana; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;\">■内容<\/div><div><div style=\"font-family: Arial, Verdana; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;\"><font face=\"Arial, Verdana\"><span style=\"line-height: normal;\">13:00 自己紹介とか<\/span><\/font><\/div><div style=\"font-family: Arial, Verdana; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;\"><font face=\"Arial, Verdana\"><span style=\"line-height: normal;\">13:10 続・プログラムの話 〜formの中身を大公開〜:@kecy_さん<\/span><\/font><\/div><div style=\"font-family: Arial, Verdana; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;\"><font face=\"Arial, Verdana\"><span style=\"line-height: normal;\">13:55 LPデザインの話 〜作成のセオリーとコツ〜:のりじさん<\/span><\/font><\/div><div style=\"font-family: Arial, Verdana; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;\"><font face=\"Arial, Verdana\"><span style=\"line-height: normal;\">14:40 休憩<\/span><\/font><\/div><div style=\"font-family: Arial, Verdana; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;\"><font face=\"Arial, Verdana\"><span style=\"line-height: normal;\">14:50 バージョン管理の話<\/span><\/font><span style=\"font-size: 10pt;\"> 〜git大丈夫〜<\/span><span style=\"font-size: 10pt;\">:@dublichさん<\/span><\/div><div style=\"font-family: Arial, Verdana; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;\"><font face=\"Arial, Verdana\"><span style=\"line-height: normal;\">15:35 Sassの話 〜Sassって何よ?〜:@kanapple73さん<\/span><\/font><\/div><div style=\"font-family: Arial, Verdana; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;\"><font face=\"Arial, Verdana\"><span style=\"line-height: normal;\">16:20 休憩<\/span><\/font><\/div><div style=\"font-family: Arial, Verdana; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;\"><font face=\"Arial, Verdana\"><span style=\"line-height: normal;\">16:30 テキストエディタの話 〜<\/span><\/font><font face=\"Arial, Verdana\"><span style=\"line-height: normal;\">SublimeText2 &amp; Emmetで制作効率アップ〜:@ksmzdskさん<\/span><\/font><\/div><div><font face=\"Arial, Verdana\" style=\"font-family: Arial, Verdana; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;\"><span style=\"line-height: normal;\">17:15 <\/span><\/font><span style=\"background-color: rgb(255, 255, 255); font-family: 'lucida grande', tahoma, verdana, arial, 'hiragino kaku gothic pro', meiryo, 'ms pgothic', sans-serif; line-height: 17px; font-size: 10pt;\">プログレッシブ・エンハンスメントの話<\/span><span style=\"font-size: 10pt;\">&nbsp;<\/span><span style=\"font-size: 10pt;\">〜<\/span><span style=\"font-size: 10pt; background-color: rgb(255, 255, 255); font-family: 'lucida grande', tahoma, verdana, arial, 'hiragino kaku gothic pro', meiryo, 'ms pgothic', sans-serif; line-height: 17px;\">その思想は 仕様か?逃げか?<\/span><span style=\"font-size: 10pt;\">〜<\/span><span style=\"font-size: 10pt;\">:<\/span><span style=\"font-size: 10pt; background-color: rgb(255, 255, 255); font-family: 'lucida grande', tahoma, verdana, arial, 'hiragino kaku gothic pro', meiryo, 'ms pgothic', sans-serif; line-height: 17px;\">@nippeiさん<\/span><\/div><div style=\"font-family: Arial, Verdana; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;\"><font face=\"Arial, Verdana\"><span style=\"line-height: normal;\">17:45 <\/span><\/font><span style=\"font-size: 10pt;\">次回の話・雑談・<\/span><span style=\"font-size: 10pt;\">終わり<\/span><\/div><div style=\"font-family: Arial, Verdana; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;\"><font face=\"Arial, Verdana\"><span style=\"line-height: normal;\">18:10〜懇親会<\/span><\/font><\/div><\/div><\/div><\/div>","ended_at":"2013-04-14T18:00:00+09:00","owner_id":"agxzfnp1c2Fhci1ocmRyHAsSBFVzZXIiEjEwMDAwMTc2NTc0MzQ3MF9mYgw","started_at":"2013-04-14T13:00:00+09:00","place":"AIP cafe","lat":33.5869355},{"limit":5,"lon":"","owner_nickname":"GDGChugoku","waiting":0,"catch":"","event_id":"597005","url":"","owner_profile_url":"http:\/\/twitter.com\/GDGChugoku","title":"HTML5を業務アプリで使うための勉強会 #2","updated_at":"2013-03-20T13:25:00Z","accepted":2,"event_url":"http:\/\/www.zusaar.com\/event\/597005","pay_type":"0","address":"","description":"<div id=\"event_detail\" class=\"spaceA\" style=\"margin-bottom: 40px; word-break: break-all; word-wrap: break-word; line-height: 20px; font-family: 'ヒラギノ丸ゴ Pro W4', 'Hiragino Maru Gothic Pro W4', 'ヒラギノ角ゴ Pro W3', 'MS Pゴシック', verdana, arial, sans-serif; background-color: rgb(252, 251, 251);\">HTML5がいろいろな所で使われるようになってきました。<div><br><\/div><div>実際に使ってみるために、実際のソースコードを読んだり、<\/div><div>サンプルを入力したりすることで、HTML5の使い方を理解する会です。<\/div><div><span style=\"font-size: 10pt;\">また、ソースコードを読んだりすることもあるので、基本的に少人数で<\/span><\/div><div>行います。<\/div><div><br><div>目標は日常の仕事で開発している、「業務アプリに対して<\/div><div>どのように適用するか」を勉強できたらいいなー。と思ってます。<\/div><div><br><\/div><\/div><div>第2回目のテーマは決まり次第、告知します。<\/div><div><br><\/div><div>ご興味があればご参加ください。<\/div><div><br><\/div><\/div>","ended_at":"2013-03-27T21:00:00+09:00","owner_id":"agxzfnp1c2Fhci1ocmRyFgsSBFVzZXIiDDcyNzU1ODM5NF90dww","started_at":"2013-03-27T19:00:00+09:00","place":"岡山市のどこか","lat":""},{"limit":15,"lon":136.7025699,"owner_nickname":"junichim","waiting":0,"catch":"三重県伊勢市を中心としたIT交流会を立ち上げてみました","event_id":"597004","url":"","owner_profile_url":"http:\/\/twitter.com\/junichim","title":"第2回伊勢IT交流会","updated_at":"2013-03-20T13:00:44Z","accepted":0,"event_url":"http:\/\/www.zusaar.com\/event\/597004","pay_type":"0","address":"三重県伊勢市大世古2丁目2-18 ","description":"三重県伊勢市でIT交流会を開催します。<br><br>三重県内でIT系の勉強会・交流会を探してみたところ、絶対数が少ないなと感じています。そこで、広くIT系の技術者同士で情報交換ができる場が欲しいと思い交流会を立ち上げました。<br><br>web製作、プログラマ、SE、デザイナー、マネージャー、営業、その他ITにかかわる仕事をされている方やITに興味がある方など、気軽に参加していただければと思います。<br><br><b>目的<\/b><br>IT系の仕事をしている方同士の情報交換の場を作りたいと思っています。<br><br><b>内容<\/b><br>・自己紹介<br>・希望者がいればライトニングトーク(短いプレゼン)などやってください<br>・雑談(情報交換)<br>という感じですが、特に固定していませんので、参加された方々次第になると思います。<br>また、入退場自由ですのでお気軽にお立ち寄りください。<br><br><b>費用<\/b><br>無料です。<br>お車でお越しの場合は、駐車場代は自己負担でお願いします。<br><br><b>場所<\/b><br>ユメビトハウス内のスペースで行います。<br>詳しい場所は地図をご参考にしてください。<br><br>お車で来られる方は近くに新道商店街の駐車場があります(有料、30分100円)のでそちらをご利用ください。なお、こちらでは商店街スタンプのサービスは行いませんのでご注意ください。<br><br><b>その他<\/b><br>・電源、無線LANあります<br>・飲み物等のサービスはありませんので、ご自分でご用意ください。","ended_at":"2013-04-20T15:00:00+09:00","owner_id":"agxzfnp1c2Fhci1ocmRyFQsSBFVzZXIiCzg5OTEyMzM4X3R3DA","started_at":"2013-04-20T13:00:00+09:00","place":"ユメビトハウス","lat":34.495027}],"results_returned":10}
61
+ EOT
62
+
63
+ EVENT_SEARCH_WITH_EVENT_ID_545003 = <<'EOT'
64
+ {"results_start":1,"event":[{"limit":60,"lon":139.6937795,"owner_nickname":"tyabe","waiting":0,"catch":"3月のShibuya.rbの集まりです","event_id":"545003","url":"","owner_profile_url":"http:\/\/twitter.com\/tyabe","title":"渋谷.rb[:20130320](拡大版)","updated_at":"2013-03-18T17:50:08Z","accepted":52,"event_url":"http:\/\/www.zusaar.com\/event\/545003","pay_type":"0","address":"東京都渋谷区神泉町8-16 渋谷ファーストプレイス8F","description":"<div style=\"font-family: Arial, Verdana; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; \">Shibuya.rbは、渋谷近郊のRubyが好きだったり、&nbsp;<\/div><div style=\"font-family: Arial, Verdana; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; \">Rubyの周辺技術が気になっている人のための地域Rubyistコミュニティです<\/div><div style=\"font-family: Arial, Verdana; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; \"><br><\/div><span style=\"background-color: rgb(255, 204, 204);\"><font color=\"#000000\"><b>祝日開催の為、通常とは異なる時間帯で開催します。<\/b><\/font><\/span><br><br>ランチセッションとして #shibuyarblunch も開催します。<br>参加される方はこちらにコメントをお願いします。<br>http:\/\/shibuyarblunch.heroku.com\/67<br><br><h4 style=\"font-family: Arial, Verdana; font-size: 21px; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; \">スケジュール<br><\/h4>12:30 - 13:30 セッション0 #shibuyarblunch<br><br>13:30 - 14:00 開場<br><br>14:00 - 14:15 会場説明・諸注意、セッション決め<br>14:15 - 15:30 セッション1(調整中)<div>15:30 - 15:45 休憩<br>15:45 - 17:00 セッション2(調整中)<\/div><div>17:00 - 17:15 休憩<br>17:15 - 18:15 セッション3(調整中)<\/div><div>18:15 - 18:30 撤収作業<br><br>18:30 -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 懇親会(会場 : VOYAGE GROUP BAR AJITO)<br><br><h4 style=\"font-family: Arial, Verdana; font-size: 21px; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; \">内容<\/h4>興味のあるテーマ毎に小グループを作って色々やりたいと思います。<br>前回のミートアップでは以下の様なネタが挙がりました。<br><br>- ワークショップ<br>&nbsp; &nbsp; -&nbsp; gemつくりたい<br>- おすすめの技術書を語る会<br>&nbsp;&nbsp;&nbsp; - 積読の紹介<br>- 相談会<br>&nbsp; &nbsp; - テストコードの書き方<br>&nbsp;&nbsp;&nbsp; - テストコードにまつわる失敗事例<br>&nbsp;&nbsp;&nbsp; - TDD<br>- 移行<br>&nbsp;&nbsp;&nbsp; - Ruby2.0 へ<br>&nbsp;&nbsp;&nbsp; - Ruby1.8.xからの移行<br>- Padrino勉強会@東京<br><br>エントリーの際、コメントでやりたいこと表明したりしてください。<div style=\"font-family: Arial, Verdana; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; \"><span style=\"font-size: 10pt; \">「こういうのやりたい」や「こういう風にやろうよ」など、<\/span><\/div><div style=\"font-family: Arial, Verdana; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; \"><span style=\"font-size: 10pt; \">ぜひネタやご意見をお持ちください。<br><br><\/span><\/div><span style=\"font-family: Arial, Verdana; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; \">ご意見がありましたらコメントお願いします。<\/span><br><div style=\"font-family: Arial, Verdana; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; \"><br><\/div><h4 style=\"font-family: Arial, Verdana; font-size: 21px; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; \">持ち物<br><\/h4>・PC<br><div><span style=\"font-size: 10pt;\">・<\/span>興味のあるテーマ<\/div><div>・誰かに相談したい悩み事<\/div><div>・LTで話したいこと<br><\/div><\/div><div>・他の人と読んでみたいコード<br>・他の人と共有したい本(ジャンル不問)<\/div><div><br><\/div><div><h4 style=\"font-family: Arial, Verdana; font-size: 21px; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; \">注意事項<\/h4><div style=\"font-family: Arial, Verdana; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; \"><ul><li>名札をお持ちの方は是非ご持参ください<\/li><li>ビルの正面入り口は19:20頃に閉まります<\/li><li>閉まっている場合は間逆に通用口があるのでそこからビルに入ってください<\/li><li>電源はありますが、タップを持参して頂ける方はご用意をお願いします<\/li><li>無線LANもありますが、持参して頂ける方はご用意をお願いします<\/li><\/ul><\/div><div style=\"font-family: Arial, Verdana; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; \"><br><\/div><h4 style=\"font-family: Arial, Verdana; font-size: 21px; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; \">その他<\/h4><div style=\"font-family: Arial, Verdana; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; \"><div>twitterハッシュタグ:#shibuyarb<\/div><div>facebookグループ:https:\/\/www.facebook.com\/groups\/shibuya.rb\/<\/div><div>googleグループ:https:\/\/groups.google.com\/group\/shibuya_rb?hl=ja<\/div><\/div><\/div>","ended_at":"2013-03-20T18:00:00+09:00","owner_id":"agxzfnp1c2Fhci1ocmRyFQsSBFVzZXIiCzE4ODkzNjY1X3R3DA","started_at":"2013-03-20T14:00:00+09:00","place":"VOYAGE GROUP パンゲア","lat":35.6553195}],"results_returned":1}
65
+ EOT
66
+
67
+ USER_SEARCH_WITH_NO_QUERY = <<'EOT'
68
+ {"results_start":1,"event":[{"limit":15,"users":[],"title":"初心者向けHTML5とJavascriptと少しだけJQuery","updated_at":"2013-03-23T06:48:32Z","accepted":0,"pay_type":"0","event_url":"http:\/\/www.zusaar.com\/event\/603003","waiting":0,"event_id":"603003"},{"limit":20,"users":[{"profile_url":"http\/\/twitter.com\/eaglesakura","status":"1","nickname":"eaglesakura","user_id":"agxzfnp1c2Fhci1ocmRyFgsSBFVzZXIiDDE0NTg3NjM1M190dww"},{"profile_url":"http\/\/twitter.com\/meyskld","status":"1","nickname":"meyskld","user_id":"agxzfnp1c2Fhci1ocmRyFQsSBFVzZXIiCzQyMDAxNzk0X3R3DA"},{"profile_url":"http\/\/twitter.com\/mstssk","status":"1","nickname":"mstssk","user_id":"agxzfnp1c2Fhci1ocmRyFAsSBFVzZXIiCjU2MjEwNzJfdHcM"},{"profile_url":"http\/\/twitter.com\/vvakame","status":"1","nickname":"vvakame","user_id":"agxzfnp1c2Fhci1ocmRyFQsSBFVzZXIiCzkzODcyMjU1X3R3DA"},{"profile_url":"http\/\/twitter.com\/opaopa6969","status":"1","nickname":"opaopa6969","user_id":"agxzfnp1c2Fhci1ocmRyFQsSBFVzZXIiCzYzNjU2MzgyX3R3DA"},{"profile_url":"http\/\/twitter.com\/R246","status":"1","nickname":"R246","user_id":"agxzfnp1c2Fhci1ocmRyFAsSBFVzZXIiCjY2MDc1MDJfdHcM"},{"profile_url":"http\/\/twitter.com\/shin1ogawa","status":"1","nickname":"shin1ogawa","user_id":"agxzfnp1c2Fhci1ocmRyFAsSBFVzZXIiCjg5NjQ2NDJfdHcM"},{"profile_url":"http\/\/twitter.com\/kakenavi","status":"1","nickname":"kakenavi","user_id":"agxzfnp1c2Fhci1ocmRyFQsSBFVzZXIiCzQ4MzgxMzk0X3R3DA"},{"profile_url":"http\/\/twitter.com\/kyusyukeigo","status":"1","nickname":"kyusyukeigo","user_id":"agxzfnp1c2Fhci1ocmRyFgsSBFVzZXIiDDE2MzQxMjg2MF90dww"}],"title":"TG社花見 2013 in 上野公園","updated_at":"2013-03-22T14:23:48Z","accepted":9,"pay_type":"1","event_url":"http:\/\/www.zusaar.com\/event\/602003","waiting":0,"event_id":"602003"},{"limit":"0","users":[{"profile_url":"http\/\/twitter.com\/__hage__","status":"1","nickname":"__hage__","user_id":"agxzfnp1c2Fhci1ocmRyFgsSBFVzZXIiDDE2MjY2NTIzOF90dww"},{"profile_url":"http\/\/twitter.com\/matsumos","status":"1","nickname":"matsumos","user_id":"agxzfnp1c2Fhci1ocmRyFAsSBFVzZXIiCjQ4ODExMzFfdHcM"}],"title":"極道の花道","updated_at":"2013-03-23T10:12:40Z","accepted":2,"pay_type":"0","event_url":"http:\/\/www.zusaar.com\/event\/599003","waiting":0,"event_id":"599003"},{"limit":10,"users":[{"profile_url":"http\/\/twitter.com\/ayakomuro","status":"1","nickname":"ayakomuro","user_id":"agxzfnp1c2Fhci1ocmRyFQsSBFVzZXIiCzE2NDA0MzE1X3R3DA"},{"profile_url":"http\/\/www.facebook.com\/yuki.uchikoba","status":"1","nickname":"Yuki Uchikoba","user_id":"agxzfnp1c2Fhci1ocmRyFwsSBFVzZXIiDTEyOTYwNTc0MzJfZmIM"},{"profile_url":"http\/\/twitter.com\/minimum2scp","status":"1","nickname":"minimum2scp","user_id":"agxzfnp1c2Fhci1ocmRyFAsSBFVzZXIiCjcwNDcxNTJfdHcM"},{"profile_url":"http\/\/twitter.com\/falconws","status":"1","nickname":"falconws","user_id":"agxzfnp1c2Fhci1ocmRyFgsSBFVzZXIiDDEwNTk0ODE3NF90dww"},{"profile_url":"http\/\/www.facebook.com\/taisuke","status":"1","nickname":"Taisuke Jotaki","user_id":"agxzfnp1c2Fhci1ocmRyFgsSBFVzZXIiDDcwODgxNDc5NF9mYgw"},{"profile_url":"http\/\/www.facebook.com\/you.ukkari","status":"1","nickname":"Yutaka Fujisaki","user_id":"agxzfnp1c2Fhci1ocmRyHAsSBFVzZXIiEjEwMDAwMDU0ODk0NTQ0NF9mYgw"},{"profile_url":"http\/\/www.facebook.com\/shise460","status":"1","nickname":"Shirou Seike","user_id":"agxzfnp1c2Fhci1ocmRyHAsSBFVzZXIiEjEwMDAwMzE0OTM0NjQ2OV9mYgw"},{"profile_url":"http\/\/twitter.com\/kwrsin","status":"1","nickname":"kwrsin","user_id":"agxzfnp1c2Fhci1ocmRyFQsSBFVzZXIiCzE0NzI0NzMyX3R3DA"}],"title":"第03回 福岡Debian勉強会","updated_at":"2013-03-21T04:09:31Z","accepted":8,"pay_type":"0","event_url":"http:\/\/www.zusaar.com\/event\/598006","waiting":0,"event_id":"598006"},{"limit":10,"users":[],"title":"iStockphotoイラストレーターズ プチ・フォーラム","updated_at":"2013-03-21T03:15:38Z","accepted":0,"pay_type":"0","event_url":"http:\/\/www.zusaar.com\/event\/598005","waiting":0,"event_id":"598005"},{"limit":5,"users":[{"profile_url":"http\/\/twitter.com\/apxn1","status":"1","nickname":"apxn1","user_id":"agxzfnp1c2Fhci1ocmRyFgsSBFVzZXIiDDgxMzA2MDk5Nl90dww"}],"title":"Sococo Team Space バーチャルオフィス早わかり体験セミナー #16","updated_at":"2013-03-21T03:01:45Z","accepted":1,"pay_type":"0","event_url":"http:\/\/www.zusaar.com\/event\/598004","waiting":0,"event_id":"598004"},{"limit":12,"users":[{"profile_url":"http\/\/twitter.com\/vvakame","status":"1","nickname":"vvakame","user_id":"agxzfnp1c2Fhci1ocmRyFQsSBFVzZXIiCzkzODcyMjU1X3R3DA"},{"profile_url":"http\/\/twitter.com\/mainyaa","status":"1","nickname":"mainyaa","user_id":"agxzfnp1c2Fhci1ocmRyFAsSBFVzZXIiCjM4NjgyMzFfdHcM"},{"profile_url":"http\/\/twitter.com\/kimukou2628","status":"1","nickname":"kimukou2628","user_id":"agxzfnp1c2Fhci1ocmRyFgsSBFVzZXIiDDEyNzM4NTUwMl90dww"},{"profile_url":"http\/\/twitter.com\/soundTricker318","status":"1","nickname":"soundTricker318","user_id":"agxzfnp1c2Fhci1ocmRyFgsSBFVzZXIiDDIwMjQ2ODI4M190dww"},{"profile_url":"http\/\/twitter.com\/kazu_at_jp","status":"1","nickname":"kazu_at_jp","user_id":"agxzfnp1c2Fhci1ocmRyFgsSBFVzZXIiDDEyNjY0ODYxNF90dww"},{"profile_url":"http\/\/twitter.com\/atusi","status":"1","nickname":"atusi","user_id":"agxzfnp1c2Fhci1ocmRyFAsSBFVzZXIiCjM5MzMzMzFfdHcM"}],"title":"Google Drive Realtime API ハッカソン","updated_at":"2013-03-21T03:19:13Z","accepted":6,"pay_type":"0","event_url":"http:\/\/www.zusaar.com\/event\/598003","waiting":0,"event_id":"598003"},{"limit":20,"users":[{"profile_url":"http\/\/www.facebook.com\/kanapple73","status":"1","nickname":"Kanako Urabe","user_id":"agxzfnp1c2Fhci1ocmRyHAsSBFVzZXIiEjEwMDAwMjQ3NDA4ODQyMV9mYgw"},{"profile_url":"http\/\/www.facebook.com\/noriji822","status":"1","nickname":"Matsumoto Noriko","user_id":"agxzfnp1c2Fhci1ocmRyHAsSBFVzZXIiEjEwMDAwMjYzNzkyNTkyOF9mYgw"},{"profile_url":"http\/\/www.facebook.com\/munerin","status":"1","nickname":"Munenori Nishimura","user_id":"agxzfnp1c2Fhci1ocmRyHAsSBFVzZXIiEjEwMDAwMjAzMDEwNzQ1OV9mYgw"},{"profile_url":"http\/\/twitter.com\/andante0727","status":"1","nickname":"andante0727","user_id":"agxzfnp1c2Fhci1ocmRyFgsSBFVzZXIiDDE1ODYwNDI0OF90dww"},{"profile_url":"http\/\/twitter.com\/kordycloud0214","status":"1","nickname":"kordycloud0214","user_id":"agxzfnp1c2Fhci1ocmRyFgsSBFVzZXIiDDIyMzc0MDU5M190dww"},{"profile_url":"http\/\/twitter.com\/ksmzdsk","status":"1","nickname":"ksmzdsk","user_id":"agxzfnp1c2Fhci1ocmRyFQsSBFVzZXIiCzcwNDE0MDYxX3R3DA"},{"profile_url":"http\/\/twitter.com\/evian","status":"1","nickname":"evian","user_id":"agxzfnp1c2Fhci1ocmRyFAsSBFVzZXIiCjQwOTc3OTFfdHcM"},{"profile_url":"http\/\/www.facebook.com\/tomonori.ota.35","status":"1","nickname":"Tomonori Ota","user_id":"agxzfnp1c2Fhci1ocmRyHAsSBFVzZXIiEjEwMDAwMTYxNjA5ODI1NF9mYgw"},{"profile_url":"http\/\/twitter.com\/wakakame","status":"1","nickname":"wakakame","user_id":"agxzfnp1c2Fhci1ocmRyFQsSBFVzZXIiCzE2ODA3MTM4X3R3DA"},{"profile_url":"http\/\/www.facebook.com\/nami.yamasaki.9","status":"1","nickname":"Nami Yamasaki","user_id":"agxzfnp1c2Fhci1ocmRyHAsSBFVzZXIiEjEwMDAwMjI1MDI3NDM4Nl9mYgw"},{"profile_url":"http\/\/twitter.com\/rainyswift","status":"1","nickname":"rainyswift","user_id":"agxzfnp1c2Fhci1ocmRyFQsSBFVzZXIiCzQwODE5MTg4X3R3DA"},{"profile_url":"http\/\/www.facebook.com\/watarukashii","status":"1","nickname":"Wataru Kashii","user_id":"agxzfnp1c2Fhci1ocmRyHAsSBFVzZXIiEjEwMDAwMjU2ODI0MTM3OF9mYgw"},{"profile_url":"http\/\/twitter.com\/ina_ryu","status":"1","nickname":"ina_ryu","user_id":"agxzfnp1c2Fhci1ocmRyFgsSBFVzZXIiDDI2ODgzMjE2NF90dww"},{"profile_url":"http\/\/www.facebook.com\/syumpeimieno","status":"1","nickname":"Syumpei Mieno","user_id":"agxzfnp1c2Fhci1ocmRyHAsSBFVzZXIiEjEwMDAwMjEyMDIwODkwNV9mYgw"},{"profile_url":"http\/\/www.facebook.com\/erillly","status":"1","nickname":"Eri Sawada","user_id":"agxzfnp1c2Fhci1ocmRyFgsSBFVzZXIiDDczNTc0OTE5OV9mYgw"},{"profile_url":"http\/\/twitter.com\/ta2kick","status":"1","nickname":"ta2kick","user_id":"agxzfnp1c2Fhci1ocmRyFQsSBFVzZXIiCzkzMTU2NjkwX3R3DA"},{"profile_url":"http\/\/www.facebook.com\/nozomi.china","status":"1","nickname":"Nozomi China","user_id":"agxzfnp1c2Fhci1ocmRyHAsSBFVzZXIiEjEwMDAwMjA1Mjk4MDQ4NV9mYgw"},{"profile_url":"http\/\/www.facebook.com\/profile.php?id=100000276661055","status":"1","nickname":"川口享志","user_id":"agxzfnp1c2Fhci1ocmRyHAsSBFVzZXIiEjEwMDAwMDI3NjY2MTA1NV9mYgw"},{"profile_url":"http\/\/www.facebook.com\/nippei","status":"1","nickname":"西 洋平","user_id":"agxzfnp1c2Fhci1ocmRyFwsSBFVzZXIiDTEzMjI2NjI0MDNfZmIM"},{"profile_url":"http\/\/twitter.com\/mushinchi","status":"1","nickname":"mushinchi","user_id":"agxzfnp1c2Fhci1ocmRyFgsSBFVzZXIiDDEwMzE2NDA5OV90dww"},{"profile_url":"http\/\/www.facebook.com\/yasutakemasahiro","status":"0","nickname":"Masahiro Yasutake","user_id":"agxzfnp1c2Fhci1ocmRyHAsSBFVzZXIiEjEwMDAwMTkzODAxNjMxMF9mYgw"},{"profile_url":"http\/\/www.facebook.com\/toshihiko.shimokawa","status":"0","nickname":"Toshihiko Shimokawa","user_id":"agxzfnp1c2Fhci1ocmRyFgsSBFVzZXIiDDY5MDM4NDIzN19mYgw"},{"profile_url":"http\/\/www.facebook.com\/yoko.amano.37","status":"0","nickname":"Yoko Amano","user_id":"agxzfnp1c2Fhci1ocmRyHAsSBFVzZXIiEjEwMDAwMjMzODkxNzQ5N19mYgw"},{"profile_url":"http\/\/www.facebook.com\/kenji.matsumoto.3158","status":"0","nickname":"Kenji Matsumoto","user_id":"agxzfnp1c2Fhci1ocmRyHAsSBFVzZXIiEjEwMDAwMjI0NzAxNzE1Ml9mYgw"},{"profile_url":"http\/\/www.facebook.com\/kyohei.hataji","status":"0","nickname":"Kyohei Hataji","user_id":"agxzfnp1c2Fhci1ocmRyHAsSBFVzZXIiEjEwMDAwMTc4MjQzMTk1M19mYgw"},{"profile_url":"http\/\/www.facebook.com\/nadaslope","status":"0","nickname":"Yoko Sakata","user_id":"agxzfnp1c2Fhci1ocmRyHAsSBFVzZXIiEjEwMDAwMTkyNzczMzQ0MF9mYgw"},{"profile_url":"http\/\/www.facebook.com\/kumi.takachi","status":"0","nickname":"Kumi Takachi","user_id":"agxzfnp1c2Fhci1ocmRyHAsSBFVzZXIiEjEwMDAwMDg4MzAwNDczNV9mYgw"},{"profile_url":"http\/\/www.facebook.com\/arata.doggie.okubo","status":"0","nickname":"Arata Okubo","user_id":"agxzfnp1c2Fhci1ocmRyHAsSBFVzZXIiEjEwMDAwMjM3Mjc0MTg5Ml9mYgw"}],"title":"福岡マークアップ勉強会 vol4","updated_at":"2013-03-21T05:25:06Z","accepted":20,"pay_type":"1","event_url":"http:\/\/www.zusaar.com\/event\/597006","waiting":8,"event_id":"597006"},{"limit":5,"users":[{"profile_url":"http\/\/twitter.com\/ttyokoyama","status":"1","nickname":"ttyokoyama","user_id":"agxzfnp1c2Fhci1ocmRyFQsSBFVzZXIiCzE2MDg4NjY2X3R3DA"},{"profile_url":"http\/\/twitter.com\/taknb2nch","status":"1","nickname":"taknb2nch","user_id":"agxzfnp1c2Fhci1ocmRyFQsSBFVzZXIiCzQzMDgyMDc3X3R3DA"}],"title":"HTML5を業務アプリで使うための勉強会 #2","updated_at":"2013-03-20T13:25:00Z","accepted":2,"pay_type":"0","event_url":"http:\/\/www.zusaar.com\/event\/597005","waiting":0,"event_id":"597005"},{"limit":15,"users":[],"title":"第2回伊勢IT交流会","updated_at":"2013-03-20T13:00:44Z","accepted":0,"pay_type":"0","event_url":"http:\/\/www.zusaar.com\/event\/597004","waiting":0,"event_id":"597004"}],"results_returned":10}
69
+ EOT
@@ -0,0 +1,10 @@
1
+ require 'spec_helper'
2
+
3
+ describe Zusaar::Event do
4
+ describe "#id" do
5
+ it 'is alias of event_id' do
6
+ event = Zusaar::Event.new(event_id: 123)
7
+ event.id.should == 123
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,11 @@
1
+ require 'spec_helper'
2
+
3
+ describe Zusaar::Identity do
4
+ describe "#==" do
5
+ it "return true when their ids are same" do
6
+ me = Zusaar::Identity.new(id: 1, nickname: 'foo')
7
+ other = Zusaar::Identity.new(id: 1, nickname: 'bar')
8
+ expect(me == other).to be_true
9
+ end
10
+ end
11
+ end
File without changes
@@ -0,0 +1,13 @@
1
+ require 'spec_helper'
2
+
3
+ describe Zusaar do
4
+ describe "#method_missing" do
5
+ it "respond to search_events" do
6
+ Zusaar.respond_to?(:search_events).should == true
7
+ end
8
+
9
+ it "respond to search_users" do
10
+ Zusaar.respond_to?(:search_users).should == true
11
+ end
12
+ end
13
+ end
data/zusaar.gemspec ADDED
@@ -0,0 +1,26 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'zusaar/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "zusaar"
8
+ spec.version = Zusaar::VERSION
9
+ spec.authors = ["fukayatsu"]
10
+ spec.email = ["fukayatsu@gmail.com"]
11
+ spec.description = %q{A Ruby interface to the Zusaar API.}
12
+ spec.summary = spec.description
13
+ spec.homepage = "https://github.com/fukayatsu/zusaar"
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files`.split($/)
17
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_dependency 'faraday', ['~> 0.8', '< 0.10']
22
+ spec.add_dependency "faraday_middleware", "~> 0.9.0"
23
+
24
+ spec.add_development_dependency "bundler", "~> 1.3"
25
+ spec.add_development_dependency "rake"
26
+ end
metadata ADDED
@@ -0,0 +1,136 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: zusaar
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - fukayatsu
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-03-24 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: faraday
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: '0.8'
20
+ - - <
21
+ - !ruby/object:Gem::Version
22
+ version: '0.10'
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: '0.8'
30
+ - - <
31
+ - !ruby/object:Gem::Version
32
+ version: '0.10'
33
+ - !ruby/object:Gem::Dependency
34
+ name: faraday_middleware
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - ~>
38
+ - !ruby/object:Gem::Version
39
+ version: 0.9.0
40
+ type: :runtime
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - ~>
45
+ - !ruby/object:Gem::Version
46
+ version: 0.9.0
47
+ - !ruby/object:Gem::Dependency
48
+ name: bundler
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ~>
52
+ - !ruby/object:Gem::Version
53
+ version: '1.3'
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ~>
59
+ - !ruby/object:Gem::Version
60
+ version: '1.3'
61
+ - !ruby/object:Gem::Dependency
62
+ name: rake
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - '>='
66
+ - !ruby/object:Gem::Version
67
+ version: '0'
68
+ type: :development
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - '>='
73
+ - !ruby/object:Gem::Version
74
+ version: '0'
75
+ description: A Ruby interface to the Zusaar API.
76
+ email:
77
+ - fukayatsu@gmail.com
78
+ executables: []
79
+ extensions: []
80
+ extra_rdoc_files: []
81
+ files:
82
+ - .gitignore
83
+ - Gemfile
84
+ - Guardfile
85
+ - LICENSE.txt
86
+ - README.md
87
+ - Rakefile
88
+ - lib/zusaar.rb
89
+ - lib/zusaar/api/search.rb
90
+ - lib/zusaar/base.rb
91
+ - lib/zusaar/client.rb
92
+ - lib/zusaar/event.rb
93
+ - lib/zusaar/identity.rb
94
+ - lib/zusaar/search_results.rb
95
+ - lib/zusaar/user.rb
96
+ - lib/zusaar/version.rb
97
+ - spec/spec_helper.rb
98
+ - spec/zusaar/api/search_spec.rb
99
+ - spec/zusaar/client_spec.rb
100
+ - spec/zusaar/event_spec.rb
101
+ - spec/zusaar/identity_spec.rb
102
+ - spec/zusaar/user_spec.rb
103
+ - spec/zusaar_spec.rb
104
+ - zusaar.gemspec
105
+ homepage: https://github.com/fukayatsu/zusaar
106
+ licenses:
107
+ - MIT
108
+ metadata: {}
109
+ post_install_message:
110
+ rdoc_options: []
111
+ require_paths:
112
+ - lib
113
+ required_ruby_version: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - '>='
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ required_rubygems_version: !ruby/object:Gem::Requirement
119
+ requirements:
120
+ - - '>='
121
+ - !ruby/object:Gem::Version
122
+ version: '0'
123
+ requirements: []
124
+ rubyforge_project:
125
+ rubygems_version: 2.0.0
126
+ signing_key:
127
+ specification_version: 4
128
+ summary: A Ruby interface to the Zusaar API.
129
+ test_files:
130
+ - spec/spec_helper.rb
131
+ - spec/zusaar/api/search_spec.rb
132
+ - spec/zusaar/client_spec.rb
133
+ - spec/zusaar/event_spec.rb
134
+ - spec/zusaar/identity_spec.rb
135
+ - spec/zusaar/user_spec.rb
136
+ - spec/zusaar_spec.rb