TwitRuby 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +11 -0
  3. data/LICENSE.txt +674 -0
  4. data/README.md +29 -0
  5. data/Rakefile +1 -0
  6. data/doc/README_rdoc.html +185 -0
  7. data/doc/TwitRuby.html +1189 -0
  8. data/doc/created.rid +2 -0
  9. data/doc/images/add.png +0 -0
  10. data/doc/images/arrow_up.png +0 -0
  11. data/doc/images/brick.png +0 -0
  12. data/doc/images/brick_link.png +0 -0
  13. data/doc/images/bug.png +0 -0
  14. data/doc/images/bullet_black.png +0 -0
  15. data/doc/images/bullet_toggle_minus.png +0 -0
  16. data/doc/images/bullet_toggle_plus.png +0 -0
  17. data/doc/images/date.png +0 -0
  18. data/doc/images/delete.png +0 -0
  19. data/doc/images/find.png +0 -0
  20. data/doc/images/loadingAnimation.gif +0 -0
  21. data/doc/images/macFFBgHack.png +0 -0
  22. data/doc/images/package.png +0 -0
  23. data/doc/images/page_green.png +0 -0
  24. data/doc/images/page_white_text.png +0 -0
  25. data/doc/images/page_white_width.png +0 -0
  26. data/doc/images/plugin.png +0 -0
  27. data/doc/images/ruby.png +0 -0
  28. data/doc/images/tag_blue.png +0 -0
  29. data/doc/images/tag_green.png +0 -0
  30. data/doc/images/transparent.png +0 -0
  31. data/doc/images/wrench.png +0 -0
  32. data/doc/images/wrench_orange.png +0 -0
  33. data/doc/images/zoom.png +0 -0
  34. data/doc/index.html +71 -0
  35. data/doc/js/darkfish.js +155 -0
  36. data/doc/js/jquery.js +18 -0
  37. data/doc/js/navigation.js +142 -0
  38. data/doc/js/search.js +94 -0
  39. data/doc/js/search_index.js +1 -0
  40. data/doc/js/searcher.js +228 -0
  41. data/doc/rdoc.css +595 -0
  42. data/doc/table_of_contents.html +94 -0
  43. data/lib/func_sample.rb +34 -0
  44. data/lib/twitruby/version.rb +4 -0
  45. data/lib/twitruby/version.rb~ +2 -0
  46. data/lib/twitruby.rb +370 -0
  47. data/lib/twitruby.rb~ +371 -0
  48. data/twitruby.gemspec +23 -0
  49. metadata +119 -0
data/README.md ADDED
@@ -0,0 +1,29 @@
1
+ # Twitruby
2
+
3
+ TODO: Write a gem description
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ gem 'twitruby'
10
+
11
+ And then execute:
12
+
13
+ $ bundle
14
+
15
+ Or install it yourself as:
16
+
17
+ $ gem install twitruby
18
+
19
+ ## Usage
20
+
21
+ TODO: Write usage instructions here
22
+
23
+ ## Contributing
24
+
25
+ 1. Fork it
26
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
27
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
28
+ 4. Push to the branch (`git push origin my-new-feature`)
29
+ 5. Create new Pull Request
data/Rakefile ADDED
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
@@ -0,0 +1,185 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
6
+
7
+ <title>README - RDoc Documentation</title>
8
+
9
+ <link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
10
+
11
+ <script type="text/javascript">
12
+ var rdoc_rel_prefix = "./";
13
+ </script>
14
+
15
+ <script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
16
+ <script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
17
+ <script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
18
+ <script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
19
+ <script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
20
+ <script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
21
+
22
+
23
+ <body class="file">
24
+ <nav id="metadata">
25
+ <nav id="home-section" class="section">
26
+ <h3 class="section-header">
27
+ <a href="./index.html">Home</a>
28
+ <a href="./table_of_contents.html#classes">Classes</a>
29
+ <a href="./table_of_contents.html#methods">Methods</a>
30
+ </h3>
31
+ </nav>
32
+
33
+
34
+ <nav id="search-section" class="section project-section" class="initially-hidden">
35
+ <form action="#" method="get" accept-charset="utf-8">
36
+ <h3 class="section-header">
37
+ <input type="text" name="search" placeholder="Search" id="search-field"
38
+ title="Type to search, Up and Down to navigate, Enter to load">
39
+ </h3>
40
+ </form>
41
+
42
+ <ul id="search-results" class="initially-hidden"></ul>
43
+ </nav>
44
+
45
+
46
+
47
+ <div id="table-of-contents">
48
+ <nav class="section">
49
+ <h3 class="section-header">Table of Contents</h3>
50
+ <ul>
51
+ <li><a href="#label-TwitRuby">TwitRuby</a>
52
+ <li><a href="#label-Usage">Usage</a>
53
+ <li><a href="#label-APIs">APIs</a>
54
+ <li><a href="#label-RESET+API%28POST%2FGET%29">RESET API(POST/GET)</a>
55
+ <li><a href="#label-Streaming+API">Streaming API</a>
56
+ <li><a href="#label-Copyright">Copyright</a>
57
+ </ul>
58
+ </nav>
59
+ </div>
60
+
61
+
62
+ <div id="project-metadata">
63
+ <nav id="fileindex-section" class="section project-section">
64
+ <h3 class="section-header">Pages</h3>
65
+
66
+ <ul>
67
+
68
+ <li class="file"><a href="./README_rdoc.html">README</a>
69
+
70
+ </ul>
71
+ </nav>
72
+
73
+ <nav id="classindex-section" class="section project-section">
74
+ <h3 class="section-header">Class and Module Index</h3>
75
+
76
+ <ul class="link-list">
77
+
78
+ </ul>
79
+ </nav>
80
+
81
+ </div>
82
+ </nav>
83
+
84
+ <div id="documentation" class="description">
85
+
86
+ <h1 id="label-TwitRuby">TwitRuby<span><a href="#label-TwitRuby">&para;</a> <a href="#documentation">&uarr;</a></span></h1>
87
+
88
+ <p>This is one of the Twitter Library Copyright (C) alphaKAI @alpha_kai_NET
89
+ 2013 <a href="http://alpha-kai-net.info">alpha-kai-net.info</a> GPLv3
90
+ LICENSE Current Version:0.0.1_alpha FIX05 This is one of the Twitter
91
+ Library This is development version. So very unstable. You must accept it
92
+ when you use this.</p>
93
+
94
+ <h2 id="label-Usage">Usage<span><a href="#label-Usage">&para;</a> <a href="#documentation">&uarr;</a></span></h2>
95
+
96
+ <p>Please require this liblary.</p>
97
+
98
+ <pre>#code
99
+ #define
100
+ consumer_key = &quot;&quot;
101
+ consumer_secret = &quot;&quot;
102
+ access_token = &quot;&quot;
103
+ access_token_secret = &quot;&quot;
104
+ #Authentication
105
+ cunsmer_array=[]
106
+ cunsmer_array &lt;&lt; consumer_key &lt;&lt; consumer_secret &lt;&lt; access_token &lt;&lt; access_token_secret
107
+ twi=TwitRuby.new
108
+ twi.initalize_connection(cunsmer_array)
109
+ #example
110
+ twi.update(&quot;sample&quot;)#example, update tweet.</pre>
111
+
112
+ <h2 id="label-APIs">APIs<span><a href="#label-APIs">&para;</a> <a href="#documentation">&uarr;</a></span></h2>
113
+
114
+ <h3 id="label-RESET+API%28POST%2FGET%29">RESET API(POST/GET)<span><a href="#label-RESET+API%28POST%2FGET%29">&para;</a> <a href="#documentation">&uarr;</a></span></h3>
115
+
116
+ <p>If you call “GET” function you get json parsed data.So, you get array.</p>
117
+ <ul><li>
118
+ <p>POST statuses/update</p>
119
+ </li><li>
120
+ <p>POST favorites/create</p>
121
+ </li><li>
122
+ <p>POST favotites/destroy</p>
123
+ </li><li>
124
+ <p>POST statuses/retweet</p>
125
+ </li><li>
126
+ <p>POST statuses/destroy</p>
127
+ </li><li>
128
+ <p>GET account/verify_credentials</p>
129
+ </li><li>
130
+ <p>POST friendships/create</p>
131
+ </li><li>
132
+ <p>POST friendships/destroy</p>
133
+ </li><li>
134
+ <p>GET statuses/mentions_timeline</p>
135
+ </li><li>
136
+ <p>GET statuses/home_timeline</p>
137
+ </li><li>
138
+ <p>GET statuses/user_timeline</p>
139
+ </li><li>
140
+ <p>GET statuses/retweets_of_me</p>
141
+ </li><li>
142
+ <p>POST direct_messages/new</p>
143
+ </li><li>
144
+ <p>GET direct_messages/sent</p>
145
+ </li><li>
146
+ <p>GET direct_messages</p>
147
+ </li><li>
148
+ <p>POST direct_messages/destroy</p>
149
+ </li><li>
150
+ <p>GET followers/ids</p>
151
+ </li><li>
152
+ <p>GET username_available?(may be unofficial api)</p>
153
+
154
+ <pre>Check exist user of argument id.
155
+ So,reverse of return real status (true false), because this for check exist.
156
+ Sorry... I can&#39;t write english well.</pre>
157
+ </li><li>
158
+ <p>GET account/rate_limit_status</p>
159
+ </li><li>
160
+ <p>GET friendships/show</p>
161
+ </li></ul>
162
+
163
+ <h3 id="label-Streaming+API">Streaming API<span><a href="#label-Streaming+API">&para;</a> <a href="#documentation">&uarr;</a></span></h3>
164
+ <ul><li>
165
+ <p>UserStream</p>
166
+ </li><li>
167
+ <p>public Sample</p>
168
+ </li></ul>
169
+
170
+ <h2 id="label-Copyright">Copyright<span><a href="#label-Copyright">&para;</a> <a href="#documentation">&uarr;</a></span></h2>
171
+
172
+ <p>Copyright © alphaKAI @alpha_ka_NET 2012-2013 <a
173
+ href="http://alpha-kai-net.info">alpha-kai-net.info</a> GPLv3 LICENSE See
174
+ LICENSE.txt</p>
175
+
176
+ </div>
177
+
178
+
179
+
180
+ <footer id="validator-badges">
181
+ <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
182
+ <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 4.0.0.
183
+ <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
184
+ </footer>
185
+