chatroom 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/.gitignore +18 -0
- data/Gemfile +10 -0
- data/LICENSE.txt +22 -0
- data/README.md +54 -0
- data/Rakefile +1 -0
- data/app/assets/images/chatroom-icons/default.png +0 -0
- data/app/assets/images/emotions/0.gif +0 -0
- data/app/assets/images/emotions/1.gif +0 -0
- data/app/assets/images/emotions/10.gif +0 -0
- data/app/assets/images/emotions/100.gif +0 -0
- data/app/assets/images/emotions/101.gif +0 -0
- data/app/assets/images/emotions/102.gif +0 -0
- data/app/assets/images/emotions/103.gif +0 -0
- data/app/assets/images/emotions/104.gif +0 -0
- data/app/assets/images/emotions/105.gif +0 -0
- data/app/assets/images/emotions/106.gif +0 -0
- data/app/assets/images/emotions/107.gif +0 -0
- data/app/assets/images/emotions/108.gif +0 -0
- data/app/assets/images/emotions/109.gif +0 -0
- data/app/assets/images/emotions/11.gif +0 -0
- data/app/assets/images/emotions/110.gif +0 -0
- data/app/assets/images/emotions/111.gif +0 -0
- data/app/assets/images/emotions/112.gif +0 -0
- data/app/assets/images/emotions/113.gif +0 -0
- data/app/assets/images/emotions/114.gif +0 -0
- data/app/assets/images/emotions/115.gif +0 -0
- data/app/assets/images/emotions/116.gif +0 -0
- data/app/assets/images/emotions/117.gif +0 -0
- data/app/assets/images/emotions/118.gif +0 -0
- data/app/assets/images/emotions/119.gif +0 -0
- data/app/assets/images/emotions/12.gif +0 -0
- data/app/assets/images/emotions/120.gif +0 -0
- data/app/assets/images/emotions/121.gif +0 -0
- data/app/assets/images/emotions/122.gif +0 -0
- data/app/assets/images/emotions/123.gif +0 -0
- data/app/assets/images/emotions/124.gif +0 -0
- data/app/assets/images/emotions/125.gif +0 -0
- data/app/assets/images/emotions/126.gif +0 -0
- data/app/assets/images/emotions/127.gif +0 -0
- data/app/assets/images/emotions/128.gif +0 -0
- data/app/assets/images/emotions/129.gif +0 -0
- data/app/assets/images/emotions/13.gif +0 -0
- data/app/assets/images/emotions/130.gif +0 -0
- data/app/assets/images/emotions/131.gif +0 -0
- data/app/assets/images/emotions/132.gif +0 -0
- data/app/assets/images/emotions/133.gif +0 -0
- data/app/assets/images/emotions/134.gif +0 -0
- data/app/assets/images/emotions/14.gif +0 -0
- data/app/assets/images/emotions/15.gif +0 -0
- data/app/assets/images/emotions/16.gif +0 -0
- data/app/assets/images/emotions/17.gif +0 -0
- data/app/assets/images/emotions/18.gif +0 -0
- data/app/assets/images/emotions/19.gif +0 -0
- data/app/assets/images/emotions/2.gif +0 -0
- data/app/assets/images/emotions/20.gif +0 -0
- data/app/assets/images/emotions/21.gif +0 -0
- data/app/assets/images/emotions/22.gif +0 -0
- data/app/assets/images/emotions/23.gif +0 -0
- data/app/assets/images/emotions/24.gif +0 -0
- data/app/assets/images/emotions/25.gif +0 -0
- data/app/assets/images/emotions/26.gif +0 -0
- data/app/assets/images/emotions/27.gif +0 -0
- data/app/assets/images/emotions/28.gif +0 -0
- data/app/assets/images/emotions/29.gif +0 -0
- data/app/assets/images/emotions/3.gif +0 -0
- data/app/assets/images/emotions/30.gif +0 -0
- data/app/assets/images/emotions/31.gif +0 -0
- data/app/assets/images/emotions/32.gif +0 -0
- data/app/assets/images/emotions/33.gif +0 -0
- data/app/assets/images/emotions/34.gif +0 -0
- data/app/assets/images/emotions/35.gif +0 -0
- data/app/assets/images/emotions/36.gif +0 -0
- data/app/assets/images/emotions/37.gif +0 -0
- data/app/assets/images/emotions/38.gif +0 -0
- data/app/assets/images/emotions/39.gif +0 -0
- data/app/assets/images/emotions/4.gif +0 -0
- data/app/assets/images/emotions/40.gif +0 -0
- data/app/assets/images/emotions/41.gif +0 -0
- data/app/assets/images/emotions/42.gif +0 -0
- data/app/assets/images/emotions/43.gif +0 -0
- data/app/assets/images/emotions/44.gif +0 -0
- data/app/assets/images/emotions/45.gif +0 -0
- data/app/assets/images/emotions/46.gif +0 -0
- data/app/assets/images/emotions/47.gif +0 -0
- data/app/assets/images/emotions/48.gif +0 -0
- data/app/assets/images/emotions/49.gif +0 -0
- data/app/assets/images/emotions/5.gif +0 -0
- data/app/assets/images/emotions/50.gif +0 -0
- data/app/assets/images/emotions/51.gif +0 -0
- data/app/assets/images/emotions/52.gif +0 -0
- data/app/assets/images/emotions/53.gif +0 -0
- data/app/assets/images/emotions/54.gif +0 -0
- data/app/assets/images/emotions/55.gif +0 -0
- data/app/assets/images/emotions/56.gif +0 -0
- data/app/assets/images/emotions/57.gif +0 -0
- data/app/assets/images/emotions/58.gif +0 -0
- data/app/assets/images/emotions/59.gif +0 -0
- data/app/assets/images/emotions/6.gif +0 -0
- data/app/assets/images/emotions/60.gif +0 -0
- data/app/assets/images/emotions/61.gif +0 -0
- data/app/assets/images/emotions/62.gif +0 -0
- data/app/assets/images/emotions/63.gif +0 -0
- data/app/assets/images/emotions/64.gif +0 -0
- data/app/assets/images/emotions/65.gif +0 -0
- data/app/assets/images/emotions/66.gif +0 -0
- data/app/assets/images/emotions/67.gif +0 -0
- data/app/assets/images/emotions/68.gif +0 -0
- data/app/assets/images/emotions/69.gif +0 -0
- data/app/assets/images/emotions/7.gif +0 -0
- data/app/assets/images/emotions/70.gif +0 -0
- data/app/assets/images/emotions/71.gif +0 -0
- data/app/assets/images/emotions/72.gif +0 -0
- data/app/assets/images/emotions/73.gif +0 -0
- data/app/assets/images/emotions/74.gif +0 -0
- data/app/assets/images/emotions/75.gif +0 -0
- data/app/assets/images/emotions/76.gif +0 -0
- data/app/assets/images/emotions/77.gif +0 -0
- data/app/assets/images/emotions/78.gif +0 -0
- data/app/assets/images/emotions/79.gif +0 -0
- data/app/assets/images/emotions/8.gif +0 -0
- data/app/assets/images/emotions/80.gif +0 -0
- data/app/assets/images/emotions/81.gif +0 -0
- data/app/assets/images/emotions/82.gif +0 -0
- data/app/assets/images/emotions/83.gif +0 -0
- data/app/assets/images/emotions/84.gif +0 -0
- data/app/assets/images/emotions/85.gif +0 -0
- data/app/assets/images/emotions/86.gif +0 -0
- data/app/assets/images/emotions/87.gif +0 -0
- data/app/assets/images/emotions/88.gif +0 -0
- data/app/assets/images/emotions/89.gif +0 -0
- data/app/assets/images/emotions/9.gif +0 -0
- data/app/assets/images/emotions/90.gif +0 -0
- data/app/assets/images/emotions/91.gif +0 -0
- data/app/assets/images/emotions/92.gif +0 -0
- data/app/assets/images/emotions/93.gif +0 -0
- data/app/assets/images/emotions/94.gif +0 -0
- data/app/assets/images/emotions/95.gif +0 -0
- data/app/assets/images/emotions/96.gif +0 -0
- data/app/assets/images/emotions/97.gif +0 -0
- data/app/assets/images/emotions/98.gif +0 -0
- data/app/assets/images/emotions/99.gif +0 -0
- data/app/assets/images/emotions/static.gif +0 -0
- data/app/assets/javascripts/chatroom/marks.js +34 -0
- data/app/assets/javascripts/chatroom/messages.js.coffee +145 -0
- data/app/assets/stylesheets/chatroom/messages.css.scss +300 -0
- data/app/controllers/chatroom/messages_controller.rb +20 -0
- data/app/helpers/chatroom/message_helper.rb +26 -0
- data/app/views/chatroom/messages/_chatroom.html.erb +15 -0
- data/app/views/chatroom/messages/_form.html.erb +35 -0
- data/app/views/chatroom/messages/create.js.erb +6 -0
- data/chatroom.gemspec +26 -0
- data/lib/chatroom.rb +12 -0
- data/lib/chatroom/engine.rb +14 -0
- data/lib/chatroom/version.rb +3 -0
- data/lib/generators/active_record/chatroom_generator.rb +43 -0
- data/lib/generators/active_record/templates/migration.rb +14 -0
- data/lib/generators/chatroom/assets_generator.rb +40 -0
- data/lib/generators/chatroom/chatroom_generator.rb +40 -0
- data/lib/generators/chatroom/controllers_generator.rb +24 -0
- data/lib/generators/chatroom/helpers_generator.rb +24 -0
- data/lib/generators/chatroom/install_generator.rb +19 -0
- data/lib/generators/chatroom/orm_helpers.rb +59 -0
- data/lib/generators/chatroom/views_generator.rb +38 -0
- data/lib/generators/templates/chatroom.rb +3 -0
- metadata +278 -0
metadata
ADDED
@@ -0,0 +1,278 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: chatroom
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.8
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- TsaiKoga
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2013-11-26 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ~>
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.3'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.3'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ! '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ! '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: faye
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ~>
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 1.0.0
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ~>
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 1.0.0
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: private_pub
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 1.0.3
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ~>
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 1.0.3
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: thin
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ~>
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 1.5.1
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ~>
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 1.5.1
|
83
|
+
description: This gem can help you create a chatroom.
|
84
|
+
email:
|
85
|
+
- 969024089@qq.com
|
86
|
+
executables: []
|
87
|
+
extensions: []
|
88
|
+
extra_rdoc_files: []
|
89
|
+
files:
|
90
|
+
- .gitignore
|
91
|
+
- Gemfile
|
92
|
+
- LICENSE.txt
|
93
|
+
- README.md
|
94
|
+
- Rakefile
|
95
|
+
- app/assets/images/chatroom-icons/default.png
|
96
|
+
- app/assets/images/emotions/0.gif
|
97
|
+
- app/assets/images/emotions/1.gif
|
98
|
+
- app/assets/images/emotions/10.gif
|
99
|
+
- app/assets/images/emotions/100.gif
|
100
|
+
- app/assets/images/emotions/101.gif
|
101
|
+
- app/assets/images/emotions/102.gif
|
102
|
+
- app/assets/images/emotions/103.gif
|
103
|
+
- app/assets/images/emotions/104.gif
|
104
|
+
- app/assets/images/emotions/105.gif
|
105
|
+
- app/assets/images/emotions/106.gif
|
106
|
+
- app/assets/images/emotions/107.gif
|
107
|
+
- app/assets/images/emotions/108.gif
|
108
|
+
- app/assets/images/emotions/109.gif
|
109
|
+
- app/assets/images/emotions/11.gif
|
110
|
+
- app/assets/images/emotions/110.gif
|
111
|
+
- app/assets/images/emotions/111.gif
|
112
|
+
- app/assets/images/emotions/112.gif
|
113
|
+
- app/assets/images/emotions/113.gif
|
114
|
+
- app/assets/images/emotions/114.gif
|
115
|
+
- app/assets/images/emotions/115.gif
|
116
|
+
- app/assets/images/emotions/116.gif
|
117
|
+
- app/assets/images/emotions/117.gif
|
118
|
+
- app/assets/images/emotions/118.gif
|
119
|
+
- app/assets/images/emotions/119.gif
|
120
|
+
- app/assets/images/emotions/12.gif
|
121
|
+
- app/assets/images/emotions/120.gif
|
122
|
+
- app/assets/images/emotions/121.gif
|
123
|
+
- app/assets/images/emotions/122.gif
|
124
|
+
- app/assets/images/emotions/123.gif
|
125
|
+
- app/assets/images/emotions/124.gif
|
126
|
+
- app/assets/images/emotions/125.gif
|
127
|
+
- app/assets/images/emotions/126.gif
|
128
|
+
- app/assets/images/emotions/127.gif
|
129
|
+
- app/assets/images/emotions/128.gif
|
130
|
+
- app/assets/images/emotions/129.gif
|
131
|
+
- app/assets/images/emotions/13.gif
|
132
|
+
- app/assets/images/emotions/130.gif
|
133
|
+
- app/assets/images/emotions/131.gif
|
134
|
+
- app/assets/images/emotions/132.gif
|
135
|
+
- app/assets/images/emotions/133.gif
|
136
|
+
- app/assets/images/emotions/134.gif
|
137
|
+
- app/assets/images/emotions/14.gif
|
138
|
+
- app/assets/images/emotions/15.gif
|
139
|
+
- app/assets/images/emotions/16.gif
|
140
|
+
- app/assets/images/emotions/17.gif
|
141
|
+
- app/assets/images/emotions/18.gif
|
142
|
+
- app/assets/images/emotions/19.gif
|
143
|
+
- app/assets/images/emotions/2.gif
|
144
|
+
- app/assets/images/emotions/20.gif
|
145
|
+
- app/assets/images/emotions/21.gif
|
146
|
+
- app/assets/images/emotions/22.gif
|
147
|
+
- app/assets/images/emotions/23.gif
|
148
|
+
- app/assets/images/emotions/24.gif
|
149
|
+
- app/assets/images/emotions/25.gif
|
150
|
+
- app/assets/images/emotions/26.gif
|
151
|
+
- app/assets/images/emotions/27.gif
|
152
|
+
- app/assets/images/emotions/28.gif
|
153
|
+
- app/assets/images/emotions/29.gif
|
154
|
+
- app/assets/images/emotions/3.gif
|
155
|
+
- app/assets/images/emotions/30.gif
|
156
|
+
- app/assets/images/emotions/31.gif
|
157
|
+
- app/assets/images/emotions/32.gif
|
158
|
+
- app/assets/images/emotions/33.gif
|
159
|
+
- app/assets/images/emotions/34.gif
|
160
|
+
- app/assets/images/emotions/35.gif
|
161
|
+
- app/assets/images/emotions/36.gif
|
162
|
+
- app/assets/images/emotions/37.gif
|
163
|
+
- app/assets/images/emotions/38.gif
|
164
|
+
- app/assets/images/emotions/39.gif
|
165
|
+
- app/assets/images/emotions/4.gif
|
166
|
+
- app/assets/images/emotions/40.gif
|
167
|
+
- app/assets/images/emotions/41.gif
|
168
|
+
- app/assets/images/emotions/42.gif
|
169
|
+
- app/assets/images/emotions/43.gif
|
170
|
+
- app/assets/images/emotions/44.gif
|
171
|
+
- app/assets/images/emotions/45.gif
|
172
|
+
- app/assets/images/emotions/46.gif
|
173
|
+
- app/assets/images/emotions/47.gif
|
174
|
+
- app/assets/images/emotions/48.gif
|
175
|
+
- app/assets/images/emotions/49.gif
|
176
|
+
- app/assets/images/emotions/5.gif
|
177
|
+
- app/assets/images/emotions/50.gif
|
178
|
+
- app/assets/images/emotions/51.gif
|
179
|
+
- app/assets/images/emotions/52.gif
|
180
|
+
- app/assets/images/emotions/53.gif
|
181
|
+
- app/assets/images/emotions/54.gif
|
182
|
+
- app/assets/images/emotions/55.gif
|
183
|
+
- app/assets/images/emotions/56.gif
|
184
|
+
- app/assets/images/emotions/57.gif
|
185
|
+
- app/assets/images/emotions/58.gif
|
186
|
+
- app/assets/images/emotions/59.gif
|
187
|
+
- app/assets/images/emotions/6.gif
|
188
|
+
- app/assets/images/emotions/60.gif
|
189
|
+
- app/assets/images/emotions/61.gif
|
190
|
+
- app/assets/images/emotions/62.gif
|
191
|
+
- app/assets/images/emotions/63.gif
|
192
|
+
- app/assets/images/emotions/64.gif
|
193
|
+
- app/assets/images/emotions/65.gif
|
194
|
+
- app/assets/images/emotions/66.gif
|
195
|
+
- app/assets/images/emotions/67.gif
|
196
|
+
- app/assets/images/emotions/68.gif
|
197
|
+
- app/assets/images/emotions/69.gif
|
198
|
+
- app/assets/images/emotions/7.gif
|
199
|
+
- app/assets/images/emotions/70.gif
|
200
|
+
- app/assets/images/emotions/71.gif
|
201
|
+
- app/assets/images/emotions/72.gif
|
202
|
+
- app/assets/images/emotions/73.gif
|
203
|
+
- app/assets/images/emotions/74.gif
|
204
|
+
- app/assets/images/emotions/75.gif
|
205
|
+
- app/assets/images/emotions/76.gif
|
206
|
+
- app/assets/images/emotions/77.gif
|
207
|
+
- app/assets/images/emotions/78.gif
|
208
|
+
- app/assets/images/emotions/79.gif
|
209
|
+
- app/assets/images/emotions/8.gif
|
210
|
+
- app/assets/images/emotions/80.gif
|
211
|
+
- app/assets/images/emotions/81.gif
|
212
|
+
- app/assets/images/emotions/82.gif
|
213
|
+
- app/assets/images/emotions/83.gif
|
214
|
+
- app/assets/images/emotions/84.gif
|
215
|
+
- app/assets/images/emotions/85.gif
|
216
|
+
- app/assets/images/emotions/86.gif
|
217
|
+
- app/assets/images/emotions/87.gif
|
218
|
+
- app/assets/images/emotions/88.gif
|
219
|
+
- app/assets/images/emotions/89.gif
|
220
|
+
- app/assets/images/emotions/9.gif
|
221
|
+
- app/assets/images/emotions/90.gif
|
222
|
+
- app/assets/images/emotions/91.gif
|
223
|
+
- app/assets/images/emotions/92.gif
|
224
|
+
- app/assets/images/emotions/93.gif
|
225
|
+
- app/assets/images/emotions/94.gif
|
226
|
+
- app/assets/images/emotions/95.gif
|
227
|
+
- app/assets/images/emotions/96.gif
|
228
|
+
- app/assets/images/emotions/97.gif
|
229
|
+
- app/assets/images/emotions/98.gif
|
230
|
+
- app/assets/images/emotions/99.gif
|
231
|
+
- app/assets/images/emotions/static.gif
|
232
|
+
- app/assets/javascripts/chatroom/marks.js
|
233
|
+
- app/assets/javascripts/chatroom/messages.js.coffee
|
234
|
+
- app/assets/stylesheets/chatroom/messages.css.scss
|
235
|
+
- app/controllers/chatroom/messages_controller.rb
|
236
|
+
- app/helpers/chatroom/message_helper.rb
|
237
|
+
- app/views/chatroom/messages/_chatroom.html.erb
|
238
|
+
- app/views/chatroom/messages/_form.html.erb
|
239
|
+
- app/views/chatroom/messages/create.js.erb
|
240
|
+
- chatroom.gemspec
|
241
|
+
- lib/chatroom.rb
|
242
|
+
- lib/chatroom/engine.rb
|
243
|
+
- lib/chatroom/version.rb
|
244
|
+
- lib/generators/active_record/chatroom_generator.rb
|
245
|
+
- lib/generators/active_record/templates/migration.rb
|
246
|
+
- lib/generators/chatroom/assets_generator.rb
|
247
|
+
- lib/generators/chatroom/chatroom_generator.rb
|
248
|
+
- lib/generators/chatroom/controllers_generator.rb
|
249
|
+
- lib/generators/chatroom/helpers_generator.rb
|
250
|
+
- lib/generators/chatroom/install_generator.rb
|
251
|
+
- lib/generators/chatroom/orm_helpers.rb
|
252
|
+
- lib/generators/chatroom/views_generator.rb
|
253
|
+
- lib/generators/templates/chatroom.rb
|
254
|
+
homepage: http://github.com/TsaiKoga/
|
255
|
+
licenses:
|
256
|
+
- MIT
|
257
|
+
metadata: {}
|
258
|
+
post_install_message:
|
259
|
+
rdoc_options: []
|
260
|
+
require_paths:
|
261
|
+
- lib
|
262
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
263
|
+
requirements:
|
264
|
+
- - ! '>='
|
265
|
+
- !ruby/object:Gem::Version
|
266
|
+
version: '0'
|
267
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
268
|
+
requirements:
|
269
|
+
- - ! '>='
|
270
|
+
- !ruby/object:Gem::Version
|
271
|
+
version: '0'
|
272
|
+
requirements: []
|
273
|
+
rubyforge_project:
|
274
|
+
rubygems_version: 2.0.5
|
275
|
+
signing_key:
|
276
|
+
specification_version: 4
|
277
|
+
summary: Chatroom provides functions, like adding emotions or changing text pattern.
|
278
|
+
test_files: []
|