youroom_api 0.0.13 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.autotest +23 -0
- data/.gitignore +1 -0
- data/.rspec +2 -0
- data/connect_sample.rb +48 -0
- data/doc/classes/YouroomApi.html +124 -0
- data/doc/created.rid +1 -0
- data/doc/files/History_txt.html +115 -0
- data/doc/files/Manifest_txt.html +108 -0
- data/doc/files/README_txt.html +177 -0
- data/doc/files/lib/youroom_api_rb.html +101 -0
- data/doc/fr_class_index.html +27 -0
- data/doc/fr_file_index.html +30 -0
- data/doc/fr_method_index.html +26 -0
- data/doc/index.html +24 -0
- data/doc/rdoc-style.css +208 -0
- data/lib/youroom_api/request/mark.rb +21 -0
- data/lib/youroom_api/request/mark_read.rb +9 -0
- data/lib/youroom_api/request/mark_unread.rb +9 -0
- data/lib/youroom_api/request.rb +8 -0
- data/lib/youroom_api/version.rb +1 -1
- data/lib/youroom_api.rb +5 -0
- data/spec/spec_helper.rb +8 -0
- data/spec/youroom_api/mark_read_spec.rb +39 -0
- data/spec/youroom_api/request_spec.rb +16 -0
- data/spec/youroom_api/unmark_read_spec.rb +39 -0
- data/youroom_api.gemspec +16 -0
- metadata +56 -35
@@ -0,0 +1,27 @@
|
|
1
|
+
|
2
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
3
|
+
<!DOCTYPE html
|
4
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
5
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
6
|
+
|
7
|
+
<!--
|
8
|
+
|
9
|
+
Classes
|
10
|
+
|
11
|
+
-->
|
12
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
13
|
+
<head>
|
14
|
+
<title>Classes</title>
|
15
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
16
|
+
<link rel="stylesheet" href="rdoc-style.css" type="text/css" />
|
17
|
+
<base target="docwin" />
|
18
|
+
</head>
|
19
|
+
<body>
|
20
|
+
<div id="index">
|
21
|
+
<h1 class="section-bar">Classes</h1>
|
22
|
+
<div id="index-entries">
|
23
|
+
<a href="classes/YouroomApi.html">YouroomApi</a><br />
|
24
|
+
</div>
|
25
|
+
</div>
|
26
|
+
</body>
|
27
|
+
</html>
|
@@ -0,0 +1,30 @@
|
|
1
|
+
|
2
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
3
|
+
<!DOCTYPE html
|
4
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
5
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
6
|
+
|
7
|
+
<!--
|
8
|
+
|
9
|
+
Files
|
10
|
+
|
11
|
+
-->
|
12
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
13
|
+
<head>
|
14
|
+
<title>Files</title>
|
15
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
16
|
+
<link rel="stylesheet" href="rdoc-style.css" type="text/css" />
|
17
|
+
<base target="docwin" />
|
18
|
+
</head>
|
19
|
+
<body>
|
20
|
+
<div id="index">
|
21
|
+
<h1 class="section-bar">Files</h1>
|
22
|
+
<div id="index-entries">
|
23
|
+
<a href="files/History_txt.html">History.txt</a><br />
|
24
|
+
<a href="files/Manifest_txt.html">Manifest.txt</a><br />
|
25
|
+
<a href="files/README_txt.html">README.txt</a><br />
|
26
|
+
<a href="files/lib/youroom_api_rb.html">lib/youroom_api.rb</a><br />
|
27
|
+
</div>
|
28
|
+
</div>
|
29
|
+
</body>
|
30
|
+
</html>
|
@@ -0,0 +1,26 @@
|
|
1
|
+
|
2
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
3
|
+
<!DOCTYPE html
|
4
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
5
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
6
|
+
|
7
|
+
<!--
|
8
|
+
|
9
|
+
Methods
|
10
|
+
|
11
|
+
-->
|
12
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
13
|
+
<head>
|
14
|
+
<title>Methods</title>
|
15
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
16
|
+
<link rel="stylesheet" href="rdoc-style.css" type="text/css" />
|
17
|
+
<base target="docwin" />
|
18
|
+
</head>
|
19
|
+
<body>
|
20
|
+
<div id="index">
|
21
|
+
<h1 class="section-bar">Methods</h1>
|
22
|
+
<div id="index-entries">
|
23
|
+
</div>
|
24
|
+
</div>
|
25
|
+
</body>
|
26
|
+
</html>
|
data/doc/index.html
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
|
5
|
+
|
6
|
+
<!--
|
7
|
+
|
8
|
+
youroom_api-0.0.1 Documentation
|
9
|
+
|
10
|
+
-->
|
11
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
12
|
+
<head>
|
13
|
+
<title>youroom_api-0.0.1 Documentation</title>
|
14
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
15
|
+
</head>
|
16
|
+
<frameset rows="20%, 80%">
|
17
|
+
<frameset cols="25%,35%,45%">
|
18
|
+
<frame src="fr_file_index.html" title="Files" name="Files" />
|
19
|
+
<frame src="fr_class_index.html" name="Classes" />
|
20
|
+
<frame src="fr_method_index.html" name="Methods" />
|
21
|
+
</frameset>
|
22
|
+
<frame src="files/README_txt.html" name="docwin" />
|
23
|
+
</frameset>
|
24
|
+
</html>
|
data/doc/rdoc-style.css
ADDED
@@ -0,0 +1,208 @@
|
|
1
|
+
|
2
|
+
body {
|
3
|
+
font-family: Verdana,Arial,Helvetica,sans-serif;
|
4
|
+
font-size: 90%;
|
5
|
+
margin: 0;
|
6
|
+
margin-left: 40px;
|
7
|
+
padding: 0;
|
8
|
+
background: white;
|
9
|
+
}
|
10
|
+
|
11
|
+
h1,h2,h3,h4 { margin: 0; color: #efefef; background: transparent; }
|
12
|
+
h1 { font-size: 150%; }
|
13
|
+
h2,h3,h4 { margin-top: 1em; }
|
14
|
+
|
15
|
+
a { background: #eef; color: #039; text-decoration: none; }
|
16
|
+
a:hover { background: #039; color: #eef; }
|
17
|
+
|
18
|
+
/* Override the base stylesheet's Anchor inside a table cell */
|
19
|
+
td > a {
|
20
|
+
background: transparent;
|
21
|
+
color: #039;
|
22
|
+
text-decoration: none;
|
23
|
+
}
|
24
|
+
|
25
|
+
/* and inside a section title */
|
26
|
+
.section-title > a {
|
27
|
+
background: transparent;
|
28
|
+
color: #eee;
|
29
|
+
text-decoration: none;
|
30
|
+
}
|
31
|
+
|
32
|
+
/* === Structural elements =================================== */
|
33
|
+
|
34
|
+
div#index {
|
35
|
+
margin: 0;
|
36
|
+
margin-left: -40px;
|
37
|
+
padding: 0;
|
38
|
+
font-size: 90%;
|
39
|
+
}
|
40
|
+
|
41
|
+
|
42
|
+
div#index a {
|
43
|
+
margin-left: 0.7em;
|
44
|
+
}
|
45
|
+
|
46
|
+
div#index .section-bar {
|
47
|
+
margin-left: 0px;
|
48
|
+
padding-left: 0.7em;
|
49
|
+
background: #ccc;
|
50
|
+
font-size: small;
|
51
|
+
}
|
52
|
+
|
53
|
+
|
54
|
+
div#classHeader, div#fileHeader {
|
55
|
+
width: auto;
|
56
|
+
color: white;
|
57
|
+
padding: 0.5em 1.5em 0.5em 1.5em;
|
58
|
+
margin: 0;
|
59
|
+
margin-left: -40px;
|
60
|
+
border-bottom: 3px solid #006;
|
61
|
+
}
|
62
|
+
|
63
|
+
div#classHeader a, div#fileHeader a {
|
64
|
+
background: inherit;
|
65
|
+
color: white;
|
66
|
+
}
|
67
|
+
|
68
|
+
div#classHeader td, div#fileHeader td {
|
69
|
+
background: inherit;
|
70
|
+
color: white;
|
71
|
+
}
|
72
|
+
|
73
|
+
|
74
|
+
div#fileHeader {
|
75
|
+
background: #057;
|
76
|
+
}
|
77
|
+
|
78
|
+
div#classHeader {
|
79
|
+
background: #048;
|
80
|
+
}
|
81
|
+
|
82
|
+
|
83
|
+
.class-name-in-header {
|
84
|
+
font-size: 180%;
|
85
|
+
font-weight: bold;
|
86
|
+
}
|
87
|
+
|
88
|
+
|
89
|
+
div#bodyContent {
|
90
|
+
padding: 0 1.5em 0 1.5em;
|
91
|
+
}
|
92
|
+
|
93
|
+
div#description {
|
94
|
+
padding: 0.5em 1.5em;
|
95
|
+
background: #efefef;
|
96
|
+
border: 1px dotted #999;
|
97
|
+
}
|
98
|
+
|
99
|
+
div#description h1,h2,h3,h4,h5,h6 {
|
100
|
+
color: #125;;
|
101
|
+
background: transparent;
|
102
|
+
}
|
103
|
+
|
104
|
+
div#validator-badges {
|
105
|
+
text-align: center;
|
106
|
+
}
|
107
|
+
div#validator-badges img { border: 0; }
|
108
|
+
|
109
|
+
div#copyright {
|
110
|
+
color: #333;
|
111
|
+
background: #efefef;
|
112
|
+
font: 0.75em sans-serif;
|
113
|
+
margin-top: 5em;
|
114
|
+
margin-bottom: 0;
|
115
|
+
padding: 0.5em 2em;
|
116
|
+
}
|
117
|
+
|
118
|
+
|
119
|
+
/* === Classes =================================== */
|
120
|
+
|
121
|
+
table.header-table {
|
122
|
+
color: white;
|
123
|
+
font-size: small;
|
124
|
+
}
|
125
|
+
|
126
|
+
.type-note {
|
127
|
+
font-size: small;
|
128
|
+
color: #DEDEDE;
|
129
|
+
}
|
130
|
+
|
131
|
+
.xxsection-bar {
|
132
|
+
background: #eee;
|
133
|
+
color: #333;
|
134
|
+
padding: 3px;
|
135
|
+
}
|
136
|
+
|
137
|
+
.section-bar {
|
138
|
+
color: #333;
|
139
|
+
border-bottom: 1px solid #999;
|
140
|
+
margin-left: -20px;
|
141
|
+
}
|
142
|
+
|
143
|
+
|
144
|
+
.section-title {
|
145
|
+
background: #79a;
|
146
|
+
color: #eee;
|
147
|
+
padding: 3px;
|
148
|
+
margin-top: 2em;
|
149
|
+
margin-left: -30px;
|
150
|
+
border: 1px solid #999;
|
151
|
+
}
|
152
|
+
|
153
|
+
.top-aligned-row { vertical-align: top }
|
154
|
+
.bottom-aligned-row { vertical-align: bottom }
|
155
|
+
|
156
|
+
/* --- Context section classes ----------------------- */
|
157
|
+
|
158
|
+
.context-row { }
|
159
|
+
.context-item-name { font-family: monospace; font-weight: bold; color: black; }
|
160
|
+
.context-item-value { font-size: small; color: #448; }
|
161
|
+
.context-item-desc { color: #333; padding-left: 2em; }
|
162
|
+
|
163
|
+
/* --- Method classes -------------------------- */
|
164
|
+
.method-detail {
|
165
|
+
background: #efefef;
|
166
|
+
padding: 0;
|
167
|
+
margin-top: 0.5em;
|
168
|
+
margin-bottom: 1em;
|
169
|
+
border: 1px dotted #ccc;
|
170
|
+
}
|
171
|
+
.method-heading {
|
172
|
+
color: black;
|
173
|
+
background: #ccc;
|
174
|
+
border-bottom: 1px solid #666;
|
175
|
+
padding: 0.2em 0.5em 0 0.5em;
|
176
|
+
}
|
177
|
+
.method-signature { color: black; background: inherit; }
|
178
|
+
.method-name { font-weight: bold; }
|
179
|
+
.method-args { font-style: italic; }
|
180
|
+
.method-description { padding: 0 0.5em 0 0.5em; }
|
181
|
+
|
182
|
+
/* --- Source code sections -------------------- */
|
183
|
+
|
184
|
+
a.source-toggle { font-size: 90%; }
|
185
|
+
div.method-source-code {
|
186
|
+
background: #262626;
|
187
|
+
color: #ffdead;
|
188
|
+
margin: 1em;
|
189
|
+
padding: 0.5em;
|
190
|
+
border: 1px dashed #999;
|
191
|
+
overflow: hidden;
|
192
|
+
}
|
193
|
+
|
194
|
+
div.method-source-code pre { color: #ffdead; overflow: hidden; }
|
195
|
+
|
196
|
+
/* --- Ruby keyword styles --------------------- */
|
197
|
+
|
198
|
+
.standalone-code { background: #221111; color: #ffdead; overflow: hidden; }
|
199
|
+
|
200
|
+
.ruby-constant { color: #7fffd4; background: transparent; }
|
201
|
+
.ruby-keyword { color: #00ffff; background: transparent; }
|
202
|
+
.ruby-ivar { color: #eedd82; background: transparent; }
|
203
|
+
.ruby-operator { color: #00ffee; background: transparent; }
|
204
|
+
.ruby-identifier { color: #ffdead; background: transparent; }
|
205
|
+
.ruby-node { color: #ffa07a; background: transparent; }
|
206
|
+
.ruby-comment { color: #b22222; font-weight: bold; background: transparent; }
|
207
|
+
.ruby-regexp { color: #ffa07a; background: transparent; }
|
208
|
+
.ruby-value { color: #7fffd4; background: transparent; }
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
module Youroom
|
4
|
+
class Mark < Request
|
5
|
+
attr_reader :ids
|
6
|
+
|
7
|
+
def initialize(access_token, ids, url=BASE_URL)
|
8
|
+
required_structure(ids, Array, String, Fixnum)
|
9
|
+
@ids = if ids.is_a?(Array)
|
10
|
+
ids.map { |id| id.to_s }
|
11
|
+
else
|
12
|
+
[ids.to_s]
|
13
|
+
end
|
14
|
+
super(access_token, url)
|
15
|
+
end
|
16
|
+
|
17
|
+
def params
|
18
|
+
{ :ids => ids.join(",") }
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
data/lib/youroom_api/request.rb
CHANGED
@@ -44,6 +44,14 @@ module Youroom
|
|
44
44
|
MyGroup.new(access_token, url).get
|
45
45
|
end
|
46
46
|
|
47
|
+
def mark_read(ids=[])
|
48
|
+
MarkRead.new(access_token, ids, url).post
|
49
|
+
end
|
50
|
+
|
51
|
+
def mark_unread(ids=[])
|
52
|
+
MarkUnread.new(access_token, ids, url).post
|
53
|
+
end
|
54
|
+
|
47
55
|
def get
|
48
56
|
JSON.parse(access_token.get(path).body)
|
49
57
|
end
|
data/lib/youroom_api/version.rb
CHANGED
data/lib/youroom_api.rb
CHANGED
@@ -28,6 +28,11 @@ module Youroom
|
|
28
28
|
autoload :PostEntry, 'youroom_api/request/post_entry'
|
29
29
|
autoload :DestroyEntry, 'youroom_api/request/destroy_entry'
|
30
30
|
|
31
|
+
# relation of read/unread
|
32
|
+
autoload :Mark, 'youroom_api/request/mark'
|
33
|
+
autoload :MarkRead, 'youroom_api/request/mark_read'
|
34
|
+
autoload :MarkUnread, 'youroom_api/request/mark_unread'
|
35
|
+
|
31
36
|
# relation room
|
32
37
|
autoload :AddRoom, 'youroom_api/request/add_room' # enterprise only
|
33
38
|
autoload :GetRoomList, 'youroom_api/request/get_room_list' # enterprise only
|
data/spec/spec_helper.rb
CHANGED
@@ -125,6 +125,14 @@ RSpec.configure do |config|
|
|
125
125
|
@picture ||= mock(Youroom::Picture)
|
126
126
|
end
|
127
127
|
|
128
|
+
def mark_read
|
129
|
+
@mark_read ||= mock(Youroom::MarkRead)
|
130
|
+
end
|
131
|
+
|
132
|
+
def mark_unread
|
133
|
+
@mark_unread ||= mock(Youroom::MarkUnread)
|
134
|
+
end
|
135
|
+
|
128
136
|
def user_params
|
129
137
|
{ :name => 'new user',
|
130
138
|
:email => 'pochi.black@gmail.com',
|
@@ -0,0 +1,39 @@
|
|
1
|
+
require File.expand_path("../spec_helper", File.dirname(__FILE__))
|
2
|
+
|
3
|
+
describe Youroom::MarkRead do
|
4
|
+
let :mark_read do
|
5
|
+
Youroom::MarkRead.new(access_token, [1,2,3])
|
6
|
+
end
|
7
|
+
|
8
|
+
describe "#initialize" do
|
9
|
+
describe "when can create instance" do
|
10
|
+
context "ids are Array class" do
|
11
|
+
subject { mark_read }
|
12
|
+
it { should be_a(Youroom::MarkRead) }
|
13
|
+
its(:url) { should == Youroom::BASE_URL }
|
14
|
+
its(:ids) { should == ["1","2","3"] }
|
15
|
+
its(:access_token) { should == access_token }
|
16
|
+
end
|
17
|
+
|
18
|
+
context "ids are String instance" do
|
19
|
+
subject { Youroom::MarkRead.new(access_token, "1") }
|
20
|
+
its(:ids) { should == ["1"] }
|
21
|
+
end
|
22
|
+
|
23
|
+
context "ids are Integer instance" do
|
24
|
+
subject { Youroom::MarkRead.new(access_token, 1) }
|
25
|
+
its(:ids) { should == ["1"] }
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
context "#path" do
|
31
|
+
subject { mark_read }
|
32
|
+
its(:path) { should == File.join(mark_read.url, 'mark_read') }
|
33
|
+
end
|
34
|
+
|
35
|
+
context "#params" do
|
36
|
+
subject { mark_read }
|
37
|
+
its(:params) { should == { :ids => '1,2,3' } }
|
38
|
+
end
|
39
|
+
end
|
@@ -149,5 +149,21 @@ describe Youroom::Request do
|
|
149
149
|
Youroom::Request.new(access_token).get_picture("room_id", "participation_id")
|
150
150
|
end
|
151
151
|
end
|
152
|
+
|
153
|
+
describe "#mark_read(ids)" do
|
154
|
+
it "should post MarkRead.new" do
|
155
|
+
Youroom::MarkRead.should_receive(:new).and_return(mark_read)
|
156
|
+
mark_read.should_receive(:post)
|
157
|
+
Youroom::Request.new(access_token).mark_read([1,2,3])
|
158
|
+
end
|
159
|
+
end
|
160
|
+
|
161
|
+
describe "#mark_unread(ids)" do
|
162
|
+
it "should post MarkUnread.new" do
|
163
|
+
Youroom::MarkUnread.should_receive(:new).and_return(mark_unread)
|
164
|
+
mark_unread.should_receive(:post)
|
165
|
+
Youroom::Request.new(access_token).mark_unread([1,2,3])
|
166
|
+
end
|
167
|
+
end
|
152
168
|
end
|
153
169
|
|
@@ -0,0 +1,39 @@
|
|
1
|
+
require File.expand_path("../spec_helper", File.dirname(__FILE__))
|
2
|
+
|
3
|
+
describe Youroom::MarkUnread do
|
4
|
+
let :mark_read do
|
5
|
+
Youroom::MarkUnread.new(access_token, [1,2,3])
|
6
|
+
end
|
7
|
+
|
8
|
+
describe "#initialize" do
|
9
|
+
describe "when can create instance" do
|
10
|
+
context "ids are Array class" do
|
11
|
+
subject { mark_read }
|
12
|
+
it { should be_a(Youroom::MarkUnread) }
|
13
|
+
its(:url) { should == Youroom::BASE_URL }
|
14
|
+
its(:ids) { should == ["1","2","3"] }
|
15
|
+
its(:access_token) { should == access_token }
|
16
|
+
end
|
17
|
+
|
18
|
+
context "ids are String instance" do
|
19
|
+
subject { Youroom::MarkUnread.new(access_token, "1") }
|
20
|
+
its(:ids) { should == ["1"] }
|
21
|
+
end
|
22
|
+
|
23
|
+
context "ids are Integer instance" do
|
24
|
+
subject { Youroom::MarkUnread.new(access_token, 1) }
|
25
|
+
its(:ids) { should == ["1"] }
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
context "#path" do
|
31
|
+
subject { mark_read }
|
32
|
+
its(:path) { should == File.join(mark_read.url, 'unmark_read') }
|
33
|
+
end
|
34
|
+
|
35
|
+
context "#params" do
|
36
|
+
subject { mark_read }
|
37
|
+
its(:params) { should == { :ids => '1,2,3' } }
|
38
|
+
end
|
39
|
+
end
|
data/youroom_api.gemspec
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
Gem::Specification.new do |s|
|
2
|
+
s.name = 'youroom_api'
|
3
|
+
s.version = '0.1.0'
|
4
|
+
|
5
|
+
s.authors = ['pochi']
|
6
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
7
|
+
s.date = %q{2010-05-19}
|
8
|
+
s.description = %q{Wrapper for youroom api}
|
9
|
+
s.email = %q{pochi.black@gmail.com}
|
10
|
+
s.files = `git ls-files`.split("\n")
|
11
|
+
s.homepage = "https://home.youroom.in/"
|
12
|
+
s.rdoc_options = ["--title", "ww documentation", "--charset", "utf-8", "--opname", "index.html", "--line-numbers", "--main", "README.rdoc", "--inline-source", "--exclude", "^(examples|extras)/"]
|
13
|
+
s.require_paths = ["lib"]
|
14
|
+
s.rubygems_version = %q{1.3.5}
|
15
|
+
s.summary = %q{Double Web, framework to build double Web server.}
|
16
|
+
end
|
metadata
CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease: false
|
5
5
|
segments:
|
6
6
|
- 0
|
7
|
+
- 1
|
7
8
|
- 0
|
8
|
-
|
9
|
-
version: 0.0.13
|
9
|
+
version: 0.1.0
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- pochi
|
@@ -27,59 +27,80 @@ extensions: []
|
|
27
27
|
extra_rdoc_files: []
|
28
28
|
|
29
29
|
files:
|
30
|
+
- .autotest
|
31
|
+
- .gitignore
|
32
|
+
- .rspec
|
30
33
|
- History.txt
|
31
|
-
- README.txt
|
32
34
|
- Manifest.txt
|
35
|
+
- README.txt
|
33
36
|
- Rakefile
|
37
|
+
- connect_sample.rb
|
38
|
+
- doc/classes/YouroomApi.html
|
39
|
+
- doc/created.rid
|
40
|
+
- doc/files/History_txt.html
|
41
|
+
- doc/files/Manifest_txt.html
|
42
|
+
- doc/files/README_txt.html
|
43
|
+
- doc/files/lib/youroom_api_rb.html
|
44
|
+
- doc/fr_class_index.html
|
45
|
+
- doc/fr_file_index.html
|
46
|
+
- doc/fr_method_index.html
|
47
|
+
- doc/index.html
|
48
|
+
- doc/rdoc-style.css
|
34
49
|
- lib/object_extention.rb
|
35
50
|
- lib/youroom_api.rb
|
36
51
|
- lib/youroom_api/base.rb
|
37
52
|
- lib/youroom_api/base_url.rb
|
53
|
+
- lib/youroom_api/request.rb
|
54
|
+
- lib/youroom_api/request/add_participation.rb
|
55
|
+
- lib/youroom_api/request/add_room.rb
|
56
|
+
- lib/youroom_api/request/add_user.rb
|
57
|
+
- lib/youroom_api/request/destroy_entry.rb
|
58
|
+
- lib/youroom_api/request/destroy_participation.rb
|
38
59
|
- lib/youroom_api/request/entry.rb
|
60
|
+
- lib/youroom_api/request/get_entry.rb
|
61
|
+
- lib/youroom_api/request/get_picture.rb
|
62
|
+
- lib/youroom_api/request/get_room_list.rb
|
63
|
+
- lib/youroom_api/request/get_user_list.rb
|
64
|
+
- lib/youroom_api/request/mark.rb
|
65
|
+
- lib/youroom_api/request/mark_read.rb
|
66
|
+
- lib/youroom_api/request/mark_unread.rb
|
67
|
+
- lib/youroom_api/request/my_group.rb
|
39
68
|
- lib/youroom_api/request/participation.rb
|
40
|
-
- lib/youroom_api/request.rb
|
69
|
+
- lib/youroom_api/request/post_entry.rb
|
70
|
+
- lib/youroom_api/request/room_timeline.rb
|
71
|
+
- lib/youroom_api/request/show_attachment.rb
|
72
|
+
- lib/youroom_api/request/timeline.rb
|
73
|
+
- lib/youroom_api/request/unread_timeline.rb
|
74
|
+
- lib/youroom_api/request/verify_credentials.rb
|
41
75
|
- lib/youroom_api/version.rb
|
42
76
|
- lib/youroom_api/youroom.rb
|
43
77
|
- spec/setup_test_model.rb
|
44
78
|
- spec/spec.opts
|
45
79
|
- spec/spec_helper.rb
|
80
|
+
- spec/youroom_api/add_participation_spec.rb
|
81
|
+
- spec/youroom_api/add_room_spec.rb
|
82
|
+
- spec/youroom_api/add_user_spec.rb
|
83
|
+
- spec/youroom_api/destroy_entry_spec.rb
|
84
|
+
- spec/youroom_api/destroy_participation_spec.rb
|
46
85
|
- spec/youroom_api/entry_spec.rb
|
86
|
+
- spec/youroom_api/get_entry_spec.rb
|
87
|
+
- spec/youroom_api/get_room_list_spec.rb
|
88
|
+
- spec/youroom_api/get_user_list_spec.rb
|
89
|
+
- spec/youroom_api/mark_read_spec.rb
|
90
|
+
- spec/youroom_api/my_group_spec.rb
|
47
91
|
- spec/youroom_api/object_extention_spec.rb
|
48
92
|
- spec/youroom_api/participation_spec.rb
|
93
|
+
- spec/youroom_api/picture_spec.rb
|
94
|
+
- spec/youroom_api/post_entry_spec.rb
|
49
95
|
- spec/youroom_api/request_spec.rb
|
50
|
-
- spec/youroom_api/youroom_spec.rb
|
51
|
-
- spec/youroom_api/timeline_spec.rb
|
52
|
-
- lib/youroom_api/request/timeline.rb
|
53
|
-
- spec/youroom_api/verify_credentials_spec.rb
|
54
|
-
- lib/youroom_api/request/verify_credentials.rb
|
55
|
-
- spec/youroom_api/show_attachment_spec.rb
|
56
|
-
- lib/youroom_api/request/show_attachment.rb
|
57
96
|
- spec/youroom_api/room_timeline_spec.rb
|
58
|
-
-
|
97
|
+
- spec/youroom_api/show_attachment_spec.rb
|
98
|
+
- spec/youroom_api/timeline_spec.rb
|
99
|
+
- spec/youroom_api/unmark_read_spec.rb
|
59
100
|
- spec/youroom_api/unread_timeline_spec.rb
|
60
|
-
-
|
61
|
-
- spec/youroom_api/
|
62
|
-
-
|
63
|
-
- lib/youroom_api/request/my_group.rb
|
64
|
-
- spec/youroom_api/my_group_spec.rb
|
65
|
-
- spec/youroom_api/get_entry_spec.rb
|
66
|
-
- lib/youroom_api/request/get_entry.rb
|
67
|
-
- lib/youroom_api/request/destroy_entry.rb
|
68
|
-
- spec/youroom_api/destroy_entry_spec.rb
|
69
|
-
- lib/youroom_api/request/add_room.rb
|
70
|
-
- spec/youroom_api/add_room_spec.rb
|
71
|
-
- lib/youroom_api/request/add_user.rb
|
72
|
-
- spec/youroom_api/add_user_spec.rb
|
73
|
-
- lib/youroom_api/request/get_room_list.rb
|
74
|
-
- spec/youroom_api/get_room_list_spec.rb
|
75
|
-
- lib/youroom_api/request/get_user_list.rb
|
76
|
-
- spec/youroom_api/get_user_list_spec.rb
|
77
|
-
- lib/youroom_api/request/add_participation.rb
|
78
|
-
- spec/youroom_api/add_participation_spec.rb
|
79
|
-
- lib/youroom_api/request/destroy_participation.rb
|
80
|
-
- spec/youroom_api/destroy_participation_spec.rb
|
81
|
-
- lib/youroom_api/request/get_picture.rb
|
82
|
-
- spec/youroom_api/picture_spec.rb
|
101
|
+
- spec/youroom_api/verify_credentials_spec.rb
|
102
|
+
- spec/youroom_api/youroom_spec.rb
|
103
|
+
- youroom_api.gemspec
|
83
104
|
has_rdoc: true
|
84
105
|
homepage: https://home.youroom.in/
|
85
106
|
licenses: []
|