atig 0.4.5 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (129) hide show
  1. checksums.yaml +4 -4
  2. data/.rspec +1 -0
  3. data/.travis.yml +3 -2
  4. data/Gemfile +2 -0
  5. data/README.mkdn +2 -0
  6. data/Rakefile +0 -6
  7. data/atig.gemspec +21 -20
  8. data/bin/console +14 -0
  9. data/bin/setup +7 -0
  10. data/{bin → exe}/atig +0 -0
  11. data/lib/atig/agent/agent.rb +4 -4
  12. data/lib/atig/agent/dm.rb +4 -4
  13. data/lib/atig/agent/following.rb +3 -3
  14. data/lib/atig/agent/list.rb +2 -2
  15. data/lib/atig/agent/list_status.rb +6 -6
  16. data/lib/atig/agent/stream_follow.rb +2 -2
  17. data/lib/atig/agent/user_stream.rb +3 -3
  18. data/lib/atig/basic_twitter.rb +1 -3
  19. data/lib/atig/bitly.rb +1 -1
  20. data/lib/atig/channel/channel.rb +1 -1
  21. data/lib/atig/channel/list.rb +3 -3
  22. data/lib/atig/channel/retweet.rb +1 -1
  23. data/lib/atig/channel/timeline.rb +1 -1
  24. data/lib/atig/command/autofix.rb +4 -4
  25. data/lib/atig/command/destroy.rb +1 -1
  26. data/lib/atig/command/dm.rb +2 -2
  27. data/lib/atig/command/favorite.rb +1 -1
  28. data/lib/atig/command/info.rb +2 -2
  29. data/lib/atig/command/reply.rb +2 -2
  30. data/lib/atig/command/retweet.rb +2 -2
  31. data/lib/atig/command/search.rb +2 -2
  32. data/lib/atig/command/status.rb +3 -3
  33. data/lib/atig/command/user.rb +3 -3
  34. data/lib/atig/command/version.rb +3 -3
  35. data/lib/atig/db/followings.rb +5 -6
  36. data/lib/atig/db/statuses.rb +12 -10
  37. data/lib/atig/db/transaction.rb +1 -1
  38. data/lib/atig/gateway/channel.rb +1 -2
  39. data/lib/atig/gateway/session.rb +13 -13
  40. data/lib/atig/http.rb +4 -4
  41. data/lib/atig/ifilter/expand_url.rb +1 -1
  42. data/lib/atig/ifilter/retweet.rb +1 -1
  43. data/lib/atig/ifilter/retweet_time.rb +1 -1
  44. data/lib/atig/ifilter/sanitize.rb +1 -1
  45. data/lib/atig/ifilter/strip.rb +1 -1
  46. data/lib/atig/ifilter/xid.rb +1 -1
  47. data/lib/atig/oauth.rb +3 -3
  48. data/lib/atig/ofilter/escape_url.rb +1 -1
  49. data/lib/atig/ofilter/footer.rb +1 -1
  50. data/lib/atig/ofilter/geo.rb +1 -1
  51. data/lib/atig/ofilter/short_url.rb +1 -1
  52. data/lib/atig/option.rb +1 -1
  53. data/lib/atig/optparse.rb +22 -11
  54. data/lib/atig/search.rb +4 -2
  55. data/lib/atig/stream.rb +1 -1
  56. data/lib/atig/twitter.rb +5 -4
  57. data/lib/atig/update_checker.rb +2 -2
  58. data/lib/atig/url_escape.rb +1 -1
  59. data/lib/atig/version.rb +1 -1
  60. data/lib/memory_profiler.rb +1 -1
  61. data/spec/command/autofix_spec.rb +7 -8
  62. data/spec/command/destroy_spec.rb +12 -13
  63. data/spec/command/dm_spec.rb +5 -6
  64. data/spec/command/favorite_spec.rb +11 -12
  65. data/spec/command/limit_spec.rb +6 -7
  66. data/spec/command/location_spec.rb +4 -5
  67. data/spec/command/name_spec.rb +2 -3
  68. data/spec/command/option_spec.rb +28 -29
  69. data/spec/command/refresh_spec.rb +3 -4
  70. data/spec/command/reply_spec.rb +22 -23
  71. data/spec/command/retweet_spec.rb +17 -18
  72. data/spec/command/spam_spec.rb +4 -5
  73. data/spec/command/status_spec.rb +19 -20
  74. data/spec/command/thread_spec.rb +20 -21
  75. data/spec/command/time_spec.rb +18 -21
  76. data/spec/command/uptime_spec.rb +17 -18
  77. data/spec/command/user_info_spec.rb +13 -16
  78. data/spec/command/user_spec.rb +13 -14
  79. data/spec/command/version_spec.rb +25 -29
  80. data/spec/command/whois_spec.rb +25 -26
  81. data/spec/command_helper.rb +2 -2
  82. data/spec/db/followings_spec.rb +22 -23
  83. data/spec/db/listenable_spec.rb +2 -3
  84. data/spec/db/lists_spec.rb +16 -17
  85. data/spec/db/roman_spec.rb +3 -5
  86. data/spec/db/sized_uniq_array_spec.rb +13 -14
  87. data/spec/db/statuses_spec.rb +69 -70
  88. data/spec/ifilter/expand_url_spec.rb +18 -20
  89. data/spec/ifilter/retweet_spec.rb +4 -5
  90. data/spec/ifilter/retweet_time_spec.rb +4 -5
  91. data/spec/ifilter/sanitize_spec.rb +5 -6
  92. data/spec/ifilter/sid_spec.rb +6 -7
  93. data/spec/ifilter/strip_spec.rb +3 -4
  94. data/spec/ifilter/tid_spec.rb +6 -7
  95. data/spec/levenshtein_spec.rb +2 -3
  96. data/spec/ofilter/escape_url_spec.rb +13 -14
  97. data/spec/ofilter/footer_spec.rb +10 -11
  98. data/spec/ofilter/geo_spec.rb +12 -13
  99. data/spec/ofilter/short_url_spec.rb +28 -29
  100. data/spec/option_spec.rb +23 -24
  101. data/spec/sized_hash_spec.rb +5 -6
  102. data/spec/spec_helper.rb +8 -6
  103. data/spec/update_checker_spec.rb +14 -15
  104. metadata +9 -32
  105. data/docs/_static/allow.png +0 -0
  106. data/docs/_static/emacs.png +0 -0
  107. data/docs/_static/irc_setting.png +0 -0
  108. data/docs/_static/irssi.png +0 -0
  109. data/docs/_static/limechat.png +0 -0
  110. data/docs/_static/limechat_s.png +0 -0
  111. data/docs/_static/oauth_channel.png +0 -0
  112. data/docs/_static/screenshot.png +0 -0
  113. data/docs/_static/structure.png +0 -0
  114. data/docs/_static/verify.png +0 -0
  115. data/docs/changelog.rst +0 -233
  116. data/docs/commandline_options.rst +0 -21
  117. data/docs/commands.rst +0 -84
  118. data/docs/conf.py +0 -194
  119. data/docs/config.rst +0 -159
  120. data/docs/feature.rst +0 -41
  121. data/docs/hacking_guide.rst +0 -43
  122. data/docs/index.rst +0 -102
  123. data/docs/irc.rst +0 -31
  124. data/docs/options.rst +0 -76
  125. data/docs/quickstart.rst +0 -96
  126. data/docs/resize.sh +0 -7
  127. data/docs/tiarra.rst +0 -2
  128. data/docs/tig.rst +0 -21
  129. data/requirements.txt +0 -5
@@ -1,21 +0,0 @@
1
- コマンドラインオプション
2
- ==============================
3
-
4
- 書式
5
- ------------------------------
6
- ::
7
-
8
- bin/atig [opts]
9
-
10
- オプション
11
- ------------------------------
12
- `-p`, `--port` ``PORT``
13
- 起動するポート番号を指定します。デフォルトは16668です。
14
- `-h`, `--host` ``HOST``
15
- 起動するホスト名、またはIPアドレスを指定します。デフォルトはlocalhostです。
16
- `-l`, `--log` ``LOG``
17
- ログを記録するファイル名を指定します。
18
- `-d`, `--debug`
19
- デバッグモードを有効にします。
20
- `-c`, `--conf` ``filename``
21
- ロードする設定ファイルを指定します。詳しくは doc:`conf` を参照してください。
@@ -1,84 +0,0 @@
1
- CTCP ACTION
2
- ==================================
3
-
4
- 概要
5
- ------------------------------
6
-
7
- CTCP ACTIONによって、特定の発言への返信などが行なえます。
8
-
9
- CTCP ACTIONの送り方はクライアントによって異なりますが、LimeChatやirssi
10
- では ``/me`` です。 例えば、replyコマンド送信する場合は ``/me reply a`` のようになります。
11
-
12
- 発言関係
13
- ------------------------------
14
- 発言の指定方法について
15
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
16
-
17
- 以下で ``tweet`` と書かれている部分では、次の書式が利用できます。
18
-
19
- - `a`: 一致するtidを持つ発言を指します。
20
- - `nick:a`: 一致するsidを持つ発言を指します。
21
- - `nick`: @nickの最新の発言を指します。
22
- - `@nick`: @nickの最新の発言を指します。
23
-
24
- コマンド
25
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
26
- reply ``tweet`` ``comment`` (別名: mention, re, rp)
27
- ``tweet`` に対して返信します。
28
- retweet ``tweet`` [``comment``] (別名: rt, ort)
29
- ``tweet`` をリツイートします。
30
- コメントが省略された場合は、公式リツイートになります。
31
- destroy ``tweet`` (別名: remove, rm)
32
- ``tweet`` を削除する。 ``tweet`` の発言が自分のものでない場合はエラーになります。
33
- fav ``tweet``
34
- ``tweet`` をお気に入りに追加します。
35
- unfav ``tweet``
36
- ``tweet`` をお気に入りから削除します。
37
- thread ``tweet`` [``count``]
38
- ``tweet`` のin_reply_toを辿って、最大 ``count`` 件の会話を表示します。
39
- ``count`` が省略された場合は10件になります。 ``count`` は20件以上を指定しても無視されます。
40
- autofix ``comment`` (別名: topic)
41
- 最新の発言が ``comment`` と類似している場合はその発言を削除し、 ``comment`` を発言として投稿します。
42
- autofix! ``tweet`` (別名: topic!)
43
- 最新の発言を削除し、 ``comment`` を発言として投稿します。
44
- search [ ``option`` ] ``text`` (別名: s)
45
- ``text`` を含む発言を検索します。
46
- オプションは ``:lang=<国コード>`` のみサポートしています。``/me s :lang=ja hoge`` だと日本人のツイートのみを検索します。
47
-
48
-
49
- ユーザ関係
50
- ------------------------------
51
- userinfo ``screen_name`` (別名: bio)
52
- ``screen_name`` のユーザのプロフィールを表示します。
53
- version ``screen_name``
54
- ``screen_name`` のクライアントの情報を表示します。最新の発言に用いたクライアント名を表示します。
55
- time ``screen_name``
56
- ``screen_name`` のタイムゾーン情報を表示します。
57
- user ``screen_name`` [``count``] (別名: u)
58
- ``screen_name`` のユーザの最新の発言 ``count`` 件を表示します。
59
- ``count`` が省略された場合は20件になります。 ``count`` は
60
- 200件以上を指定しても無視されます。
61
- spam ``screen_name``
62
- ``screen_name`` のユーザをスパムアカウントとして通報します。
63
-
64
- プロフィール関連
65
- ------------------------------
66
- location ``place`` (別名: in, location)
67
- 自分の現在地を ``place`` に更新します。
68
- name ``name``
69
- 自分の名前を ``name`` に更新します。
70
-
71
- システム関係
72
- ------------------------------
73
- uptime
74
- atig.rbの連続起動時間を表示します。
75
- limit (別名: limits, rls)
76
- 残りのAPIへのアクセス可能回数を表示します。
77
- opt (別名: opts, option, options)
78
- 設定された :doc:`options` 一覧を表示します。
79
- opt ``name`` (別名: opts, option, options)
80
- 名前 ``name`` の :doc:`options` が持つ値を表示します。
81
- opt ``name`` ``value`` (別名: opts, option, options)
82
- 名前 ``name`` の :doc:`options` が持つ値を ``value`` に更新します。
83
- refresh
84
- フォローしているユーザ一覧を再読み込みさせます。
@@ -1,194 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
- #
3
- # atig documentation build configuration file, created by
4
- # sphinx-quickstart on Mon Mar 15 15:36:01 2010.
5
- #
6
- # This file is execfile()d with the current directory set to its containing dir.
7
- #
8
- # Note that not all possible configuration values are present in this
9
- # autogenerated file.
10
- #
11
- # All configuration values have a default; values that are commented out
12
- # serve to show the default.
13
-
14
- import sys, os
15
-
16
- # If extensions (or modules to document with autodoc) are in another directory,
17
- # add these directories to sys.path here. If the directory is relative to the
18
- # documentation root, use os.path.abspath to make it absolute, like shown here.
19
- #sys.path.append(os.path.abspath('.'))
20
-
21
- # -- General configuration -----------------------------------------------------
22
-
23
- # Add any Sphinx extension module names here, as strings. They can be extensions
24
- # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
25
- extensions = ['sphinx.ext.ifconfig']
26
-
27
- # Add any paths that contain templates here, relative to this directory.
28
- templates_path = ['_templates']
29
-
30
- # The suffix of source filenames.
31
- source_suffix = '.rst'
32
-
33
- # The encoding of source files.
34
- #source_encoding = 'utf-8'
35
-
36
- # The master toctree document.
37
- master_doc = 'index'
38
-
39
- # General information about the project.
40
- project = u'atig.rb'
41
- copyright = u'2010-2013, mzp'
42
-
43
- # The version info for the project you're documenting, acts as replacement for
44
- # |version| and |release|, also used in various other places throughout the
45
- # built documents.
46
- #
47
- # The short X.Y version.
48
- version = '0.4'
49
- # The full version, including alpha/beta/rc tags.
50
- release = '0.4.3'
51
-
52
- # The language for content autogenerated by Sphinx. Refer to documentation
53
- # for a list of supported languages.
54
- #language = None
55
-
56
- # There are two options for replacing |today|: either, you set today to some
57
- # non-false value, then it is used:
58
- #today = ''
59
- # Else, today_fmt is used as the format for a strftime call.
60
- #today_fmt = '%B %d, %Y'
61
-
62
- # List of documents that shouldn't be included in the build.
63
- #unused_docs = []
64
-
65
- # List of directories, relative to source directory, that shouldn't be searched
66
- # for source files.
67
- exclude_trees = ['_build']
68
-
69
- # The reST default role (used for this markup: `text`) to use for all documents.
70
- #default_role = None
71
-
72
- # If true, '()' will be appended to :func: etc. cross-reference text.
73
- #add_function_parentheses = True
74
-
75
- # If true, the current module name will be prepended to all description
76
- # unit titles (such as .. function::).
77
- #add_module_names = True
78
-
79
- # If true, sectionauthor and moduleauthor directives will be shown in the
80
- # output. They are ignored by default.
81
- #show_authors = False
82
-
83
- # The name of the Pygments (syntax highlighting) style to use.
84
- pygments_style = 'sphinx'
85
-
86
- # A list of ignored prefixes for module index sorting.
87
- #modindex_common_prefix = []
88
-
89
-
90
- # -- Options for HTML output ---------------------------------------------------
91
-
92
- # The theme to use for HTML and HTML Help pages. Major themes that come with
93
- # Sphinx are currently 'default' and 'sphinxdoc'.
94
- html_theme = 'sphinxdoc'
95
-
96
- # Theme options are theme-specific and customize the look and feel of a theme
97
- # further. For a list of options available for each theme, see the
98
- # documentation.
99
- #html_theme_options = {}
100
-
101
- # Add any paths that contain custom themes here, relative to this directory.
102
- #html_theme_path = []
103
-
104
- # The name for this set of Sphinx documents. If None, it defaults to
105
- # "<project> v<release> documentation".
106
- #html_title = None
107
-
108
- # A shorter title for the navigation bar. Default is the same as html_title.
109
- #html_short_title = None
110
-
111
- # The name of an image file (relative to this directory) to place at the top
112
- # of the sidebar.
113
- #html_logo = None
114
-
115
- # The name of an image file (within the static path) to use as favicon of the
116
- # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
117
- # pixels large.
118
- #html_favicon = None
119
-
120
- # Add any paths that contain custom static files (such as style sheets) here,
121
- # relative to this directory. They are copied after the builtin static files,
122
- # so a file named "default.css" will overwrite the builtin "default.css".
123
- html_static_path = ['_static']
124
-
125
- # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
126
- # using the given strftime format.
127
- #html_last_updated_fmt = '%b %d, %Y'
128
-
129
- # If true, SmartyPants will be used to convert quotes and dashes to
130
- # typographically correct entities.
131
- #html_use_smartypants = True
132
-
133
- # Custom sidebar templates, maps document names to template names.
134
- #html_sidebars = {}
135
-
136
- # Additional templates that should be rendered to pages, maps page names to
137
- # template names.
138
- #html_additional_pages = {}
139
-
140
- # If false, no module index is generated.
141
- #html_use_modindex = True
142
-
143
- # If false, no index is generated.
144
- #html_use_index = True
145
-
146
- # If true, the index is split into individual pages for each letter.
147
- #html_split_index = False
148
-
149
- # If true, links to the reST sources are added to the pages.
150
- #html_show_sourcelink = True
151
-
152
- # If true, an OpenSearch description file will be output, and all pages will
153
- # contain a <link> tag referring to it. The value of this option must be the
154
- # base URL from which the finished HTML is served.
155
- #html_use_opensearch = ''
156
-
157
- # If nonempty, this is the file name suffix for HTML files (e.g. ".xhtml").
158
- #html_file_suffix = ''
159
-
160
- # Output file base name for HTML help builder.
161
- htmlhelp_basename = 'atigdoc'
162
-
163
-
164
- # -- Options for LaTeX output --------------------------------------------------
165
-
166
- # The paper size ('letter' or 'a4').
167
- #latex_paper_size = 'letter'
168
-
169
- # The font size ('10pt', '11pt' or '12pt').
170
- #latex_font_size = '10pt'
171
-
172
- # Grouping the document tree into LaTeX files. List of tuples
173
- # (source start file, target name, title, author, documentclass [howto/manual]).
174
- latex_documents = [
175
- ('index', 'atig.tex', u'atig.rb Documentation',
176
- u'mzp', 'manual'),
177
- ]
178
-
179
- # The name of an image file (relative to this directory) to place at the top of
180
- # the title page.
181
- #latex_logo = None
182
-
183
- # For "manual" documents, if this is true, then toplevel headings are parts,
184
- # not chapters.
185
- #latex_use_parts = False
186
-
187
- # Additional stuff for the LaTeX preamble.
188
- #latex_preamble = ''
189
-
190
- # Documents to append as an appendix to all manuals.
191
- #latex_appendices = []
192
-
193
- # If false, no module index is generated.
194
- #latex_use_modindex = True
@@ -1,159 +0,0 @@
1
- 設定
2
- ==============================
3
-
4
- 概要
5
- ------------------------------
6
- - atig.rbは起動時に `~/.atig/config` を読み込みます。
7
- - `~/.atig/config` はRubyのコードが記述可能です。
8
- - `Atig::Gateway::Session.<some_field>` を変更すると、atig.rbの動作をカスタマイズできます。
9
-
10
- 利用可能なコマンドの変更
11
- ------------------------------
12
- `Atig::Gateway::Session.commands` を変更すれば、利用可能な :doc:`commands` を変更できます::
13
-
14
- Atig::Gateway::Session.commands = [
15
- Atig::Command::Retweet,
16
- Atig::Command::Reply,
17
- ..
18
- ]
19
-
20
- 標準で次のコマンドが用意されています。
21
-
22
- Atig::Command::Retweet
23
- ``/me retweet ...`` を提供するクラス
24
- Atig::Command::Reply
25
- ``/me reply ...`` を提供するクラス
26
- Atig::Command::User
27
- ``/me user ...`` を提供するクラス
28
- Atig::Command::Favorite
29
- ``/me fav, unfav ...`` を提供するクラス
30
- Atig::Command::Uptime
31
- ``/me uptime ...`` を提供するクラス
32
- Atig::Command::Destroy
33
- ``/me destory ...`` を提供するクラス
34
- Atig::Command::Status
35
- 通常の発言時に使われる内部コマンド
36
- Atig::Command::Thread
37
- ``/me thread ...`` を提供するクラス
38
- Atig::Command::Time
39
- ``/me time ...`` を提供するクラス
40
- Atig::Command::Version
41
- ``/me verison ...`` を提供するクラス
42
- Atig::Command::UserInfo
43
- ``/me userinfo ...`` を提供するクラス
44
- Atig::Command::Whois
45
- ``/whois ...`` を提供するクラス
46
- Atig::Command::Option
47
- ``/me opt ...`` を提供するクラス
48
- Atig::Command::Limit
49
- ``/me limit`` を提供するクラス
50
- Atig::Command::Search
51
- ``/me search`` を提供するクラス
52
- Atig::Command::Refresh
53
- ``/me refresh`` を提供するクラス
54
- Atig::Command::Spam,
55
-
56
- 取得するAPIの変更
57
- ------------------------------
58
- `Atig::Gateway::Session.agents` を変更すると、発言やFollowingを取得するのに利用するAPIを変更できます。::
59
-
60
- Atig::Gateway::Session.agents = [
61
- Atig::Agent::List,
62
- Atig::Agent::Following,
63
- ...
64
- ]
65
-
66
- 標準で次のAgentが用意されています。
67
-
68
- Atig::Agent::OwnList
69
- 自分のリストのfollowingを取得します。FullListと同時に指定できません。
70
- Atig::Agent::FullList
71
- 自分のリストと自分がフォローしているリストのfollowingを取得します。OwnListと同時に指定できません。
72
- Atig::Agent::Following
73
- 自分のfollowingを取得します。
74
- Atig::Agent::ListStatus
75
- リスト内の発言を取得します。フォローせずに、Listでだけfollowしている人の発言を取得するために必要です。
76
- Atig::Agent::Mention
77
- 自分への言及(mention)を取得します。
78
- Atig::Agent::Dm
79
- 自分へのダイレクトメッセージを取得します。
80
- Atig::Agent::Timeline
81
- 自分のタイムラインを取得します。
82
- Atig::Agent::Cleanup
83
- 定期的にキャッシュのうち、古い内容を削除します。
84
-
85
- 取得した発言の加工方法の変更
86
- ------------------------------
87
- `Atig::Gateway::Session.ifilters` を変更すると、取得した発言の加工方法を変更できます。::
88
-
89
- Atig::Gateway::Session.ifilters = [
90
- Atig::IFilter::Utf7,
91
- Atig::IFilter::Sanitize,
92
- ...
93
- ]
94
-
95
- 標準で次のIFilterが用意されています。
96
-
97
- Atig::IFilter::Utf7
98
- utf7をデコードします。
99
- Atig::IFilter::Sanitize
100
- &gt; などを置き換えます。
101
- Atig::IFilter::ExpandUrl
102
- 短縮URLを展開します。
103
- Atig::IFilter::Strip.new([``footer1``, ``footer2``, ...])
104
- 指定したフッタを除去します。
105
- Atig::IFilter::Retweet
106
- 公式RTの先頭に♺ をつけます。
107
- Atig::IFilter::RetweetTime
108
- 公式RTの末尾に元発言の日時を表示します。
109
- Atig::IFilter::Tid
110
- 発言の末尾に、tidをつけます。 :doc:`options` も参照してください。
111
- Atig::IFilter::Sid
112
- 発言の末尾に、sidをつけます。 :doc:`options` も参照してください。
113
-
114
- 自分の発言の加工
115
- ------------------------------
116
- `Atig::Gateway::Session.ofilters` を変更すると、自分の発言の加工方法を変更できます。::
117
-
118
- Atig::Gateway::Session.ofilters = [
119
- Atig::OFilter::EscapeUrl,
120
- Atig::OFilter::ShortUrl,
121
- Atig::OFilter::Geo,
122
- Atig::OFilter::Footer,
123
- ]
124
-
125
- 標準で次のOFilterが用意されています。
126
-
127
- Atig::OFilter::EscapeUrl
128
- URLエスケープを行ないます。
129
- Atig::OFilter::ShortUrl
130
- URLを短縮します。 :doc:`options` も参照してください。
131
- Atig::OFilter::Geo
132
- 位置情報を付加します。 :doc:`options` も参照してください。
133
- Atig::OFilter::Footer
134
- フッターを付加します。 :doc:`options` も参照してください。
135
-
136
- チャンネルの変更
137
- ------------------------------
138
- `Atig::Gateway::Session.channels` を変更すると、作成するチャンネルを変更できます。::
139
-
140
- Atig::Gateway::Session.channels = [
141
- Atig::Channel::Timeline,
142
- Atig::Channel::Mention,
143
- Atig::Channel::Dm,
144
- Atig::Channel::List,
145
- Atig::Channel::Retweet
146
- ]
147
-
148
- 標準で次のChannelが用意されています。
149
-
150
- Atig::Channel::Timeline
151
- フォローしている人全員の発言を表示する `#twitter` を作成します。
152
- Atig::Channel::Mention
153
- 自分への言及を表示する `#mention` を作成します。
154
- Atig::Channel::Retweet
155
- 自分のフォローしている人の公式RTを表示する `#retweet` を作成します。
156
- Atig::Channel::Dm
157
- DMの受信時にチャンネルを作成します。
158
- Atig::Channel::List
159
- リストごとにチャンネルを作成します。