social_stream-events 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/app/assets/javascripts/0_init.js +4 -0
- data/app/assets/javascripts/events.js.coffee +66 -0
- data/app/assets/stylesheets/events.css.scss +37 -0
- data/app/controllers/events_controller.rb +40 -0
- data/app/controllers/rooms_controller.rb +7 -0
- data/app/models/event.rb +53 -0
- data/app/models/room.rb +8 -0
- data/app/views/events/_event.html.erb +1 -0
- data/app/views/events/_new.html.erb +40 -0
- data/app/views/events/_sidebar_calendar.html.erb +26 -0
- data/app/views/events/create.js.erb +21 -0
- data/app/views/events/destroy.js.erb +1 -0
- data/app/views/events/index.html.erb +96 -0
- data/app/views/rooms/_form.html.erb +31 -0
- data/app/views/rooms/_index.html.erb +10 -0
- data/app/views/rooms/_settings.html.erb +23 -0
- data/app/views/rooms/create.js.erb +7 -0
- data/app/views/rooms/destroy.js.erb +1 -0
- data/config/locales/en.yml +34 -4
- data/config/locales/es.yml +34 -4
- data/config/routes.rb +1 -0
- data/db/migrate/20111101193523_create_events.rb +13 -0
- data/db/migrate/20111120104349_create_rooms.rb +26 -0
- data/db/migrate/20111204155637_add_scheduler.rb +33 -0
- data/db/migrate/20111218203314_change_scheduler.rb +11 -0
- data/lib/social_stream-events.rb +15 -0
- data/lib/social_stream/events/ability.rb +13 -0
- data/lib/social_stream/events/engine.rb +17 -0
- data/lib/social_stream/events/models/actor.rb +13 -0
- data/lib/social_stream/events/version.rb +1 -1
- data/lib/social_stream/views/settings/events.rb +18 -0
- data/social_stream-events.gemspec +6 -10
- data/vendor/assets/images/boxy-ne.png +0 -0
- data/vendor/assets/images/boxy-nw.png +0 -0
- data/vendor/assets/images/boxy-se.png +0 -0
- data/vendor/assets/images/boxy-sw.png +0 -0
- data/vendor/assets/javascripts/fullcalendar.js +12 -10
- data/vendor/assets/javascripts/gcal.js +2 -2
- data/vendor/assets/javascripts/jquery.boxy.js +570 -0
- data/vendor/assets/javascripts/sprintf.js +183 -0
- data/vendor/assets/stylesheets/boxy.css +49 -0
- data/vendor/assets/stylesheets/fullcalendar.css +7 -10
- data/vendor/assets/stylesheets/fullcalendar.print.css +4 -4
- metadata +81 -175
- data/db/migrate/20110910161707_create_social_stream_events.rb +0 -54
- data/db/migrate/20111102145626_add_more_fields_to_events.rb +0 -20
- data/db/migrate/20111104165944_add_more_fields_to_sessions.rb +0 -13
- data/db/migrate/20111104182420_add_details_to_events.rb +0 -18
- data/db/migrate/20111209120019_reset_events.rb +0 -18
- data/vendor/assets/javascripts/jquery.ad-gallery.js +0 -850
- data/vendor/assets/javascripts/jquery.ad-gallery.pack.js +0 -10
- data/vendor/assets/stylesheets/ad_next.png +0 -0
- data/vendor/assets/stylesheets/ad_prev.png +0 -0
- data/vendor/assets/stylesheets/ad_scroll_back.png +0 -0
- data/vendor/assets/stylesheets/ad_scroll_forward.png +0 -0
- data/vendor/assets/stylesheets/jquery.ad-gallery.css +0 -171
- data/vendor/assets/stylesheets/loader.gif +0 -0
- data/vendor/assets/stylesheets/social_stream-events.css +0 -273
@@ -0,0 +1,183 @@
|
|
1
|
+
/**
|
2
|
+
sprintf() for JavaScript 0.7-beta1
|
3
|
+
http://www.diveintojavascript.com/projects/javascript-sprintf
|
4
|
+
|
5
|
+
Copyright (c) Alexandru Marasteanu <alexaholic [at) gmail (dot] com>
|
6
|
+
All rights reserved.
|
7
|
+
|
8
|
+
Redistribution and use in source and binary forms, with or without
|
9
|
+
modification, are permitted provided that the following conditions are met:
|
10
|
+
* Redistributions of source code must retain the above copyright
|
11
|
+
notice, this list of conditions and the following disclaimer.
|
12
|
+
* Redistributions in binary form must reproduce the above copyright
|
13
|
+
notice, this list of conditions and the following disclaimer in the
|
14
|
+
documentation and/or other materials provided with the distribution.
|
15
|
+
* Neither the name of sprintf() for JavaScript nor the
|
16
|
+
names of its contributors may be used to endorse or promote products
|
17
|
+
derived from this software without specific prior written permission.
|
18
|
+
|
19
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
20
|
+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
21
|
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
22
|
+
DISCLAIMED. IN NO EVENT SHALL Alexandru Marasteanu BE LIABLE FOR ANY
|
23
|
+
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
24
|
+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
25
|
+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
26
|
+
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
27
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
28
|
+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
29
|
+
|
30
|
+
|
31
|
+
Changelog:
|
32
|
+
2010.09.06 - 0.7-beta1
|
33
|
+
- features: vsprintf, support for named placeholders
|
34
|
+
- enhancements: format cache, reduced global namespace pollution
|
35
|
+
|
36
|
+
2010.05.22 - 0.6:
|
37
|
+
- reverted to 0.4 and fixed the bug regarding the sign of the number 0
|
38
|
+
Note:
|
39
|
+
Thanks to Raphael Pigulla <raph (at] n3rd [dot) org> (http://www.n3rd.org/)
|
40
|
+
who warned me about a bug in 0.5, I discovered that the last update was
|
41
|
+
a regress. I appologize for that.
|
42
|
+
|
43
|
+
2010.05.09 - 0.5:
|
44
|
+
- bug fix: 0 is now preceeded with a + sign
|
45
|
+
- bug fix: the sign was not at the right position on padded results (Kamal Abdali)
|
46
|
+
- switched from GPL to BSD license
|
47
|
+
|
48
|
+
2007.10.21 - 0.4:
|
49
|
+
- unit test and patch (David Baird)
|
50
|
+
|
51
|
+
2007.09.17 - 0.3:
|
52
|
+
- bug fix: no longer throws exception on empty paramenters (Hans Pufal)
|
53
|
+
|
54
|
+
2007.09.11 - 0.2:
|
55
|
+
- feature: added argument swapping
|
56
|
+
|
57
|
+
2007.04.03 - 0.1:
|
58
|
+
- initial release
|
59
|
+
**/
|
60
|
+
|
61
|
+
var sprintf = (function() {
|
62
|
+
function get_type(variable) {
|
63
|
+
return Object.prototype.toString.call(variable).slice(8, -1).toLowerCase();
|
64
|
+
}
|
65
|
+
function str_repeat(input, multiplier) {
|
66
|
+
for (var output = []; multiplier > 0; output[--multiplier] = input) {/* do nothing */}
|
67
|
+
return output.join('');
|
68
|
+
}
|
69
|
+
|
70
|
+
var str_format = function() {
|
71
|
+
if (!str_format.cache.hasOwnProperty(arguments[0])) {
|
72
|
+
str_format.cache[arguments[0]] = str_format.parse(arguments[0]);
|
73
|
+
}
|
74
|
+
return str_format.format.call(null, str_format.cache[arguments[0]], arguments);
|
75
|
+
};
|
76
|
+
|
77
|
+
str_format.format = function(parse_tree, argv) {
|
78
|
+
var cursor = 1, tree_length = parse_tree.length, node_type = '', arg, output = [], i, k, match, pad, pad_character, pad_length;
|
79
|
+
for (i = 0; i < tree_length; i++) {
|
80
|
+
node_type = get_type(parse_tree[i]);
|
81
|
+
if (node_type === 'string') {
|
82
|
+
output.push(parse_tree[i]);
|
83
|
+
}
|
84
|
+
else if (node_type === 'array') {
|
85
|
+
match = parse_tree[i]; // convenience purposes only
|
86
|
+
if (match[2]) { // keyword argument
|
87
|
+
arg = argv[cursor];
|
88
|
+
for (k = 0; k < match[2].length; k++) {
|
89
|
+
if (!arg.hasOwnProperty(match[2][k])) {
|
90
|
+
throw(sprintf('[sprintf] property "%s" does not exist', match[2][k]));
|
91
|
+
}
|
92
|
+
arg = arg[match[2][k]];
|
93
|
+
}
|
94
|
+
}
|
95
|
+
else if (match[1]) { // positional argument (explicit)
|
96
|
+
arg = argv[match[1]];
|
97
|
+
}
|
98
|
+
else { // positional argument (implicit)
|
99
|
+
arg = argv[cursor++];
|
100
|
+
}
|
101
|
+
|
102
|
+
if (/[^s]/.test(match[8]) && (get_type(arg) != 'number')) {
|
103
|
+
throw(sprintf('[sprintf] expecting number but found %s', get_type(arg)));
|
104
|
+
}
|
105
|
+
switch (match[8]) {
|
106
|
+
case 'b': arg = arg.toString(2); break;
|
107
|
+
case 'c': arg = String.fromCharCode(arg); break;
|
108
|
+
case 'd': arg = parseInt(arg, 10); break;
|
109
|
+
case 'e': arg = match[7] ? arg.toExponential(match[7]) : arg.toExponential(); break;
|
110
|
+
case 'f': arg = match[7] ? parseFloat(arg).toFixed(match[7]) : parseFloat(arg); break;
|
111
|
+
case 'o': arg = arg.toString(8); break;
|
112
|
+
case 's': arg = ((arg = String(arg)) && match[7] ? arg.substring(0, match[7]) : arg); break;
|
113
|
+
case 'u': arg = Math.abs(arg); break;
|
114
|
+
case 'x': arg = arg.toString(16); break;
|
115
|
+
case 'X': arg = arg.toString(16).toUpperCase(); break;
|
116
|
+
}
|
117
|
+
arg = (/[def]/.test(match[8]) && match[3] && arg >= 0 ? '+'+ arg : arg);
|
118
|
+
pad_character = match[4] ? match[4] == '0' ? '0' : match[4].charAt(1) : ' ';
|
119
|
+
pad_length = match[6] - String(arg).length;
|
120
|
+
pad = match[6] ? str_repeat(pad_character, pad_length) : '';
|
121
|
+
output.push(match[5] ? arg + pad : pad + arg);
|
122
|
+
}
|
123
|
+
}
|
124
|
+
return output.join('');
|
125
|
+
};
|
126
|
+
|
127
|
+
str_format.cache = {};
|
128
|
+
|
129
|
+
str_format.parse = function(fmt) {
|
130
|
+
var _fmt = fmt, match = [], parse_tree = [], arg_names = 0;
|
131
|
+
while (_fmt) {
|
132
|
+
if ((match = /^[^\x25]+/.exec(_fmt)) !== null) {
|
133
|
+
parse_tree.push(match[0]);
|
134
|
+
}
|
135
|
+
else if ((match = /^\x25{2}/.exec(_fmt)) !== null) {
|
136
|
+
parse_tree.push('%');
|
137
|
+
}
|
138
|
+
else if ((match = /^\x25(?:([1-9]\d*)\$|\(([^\)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-fosuxX])/.exec(_fmt)) !== null) {
|
139
|
+
if (match[2]) {
|
140
|
+
arg_names |= 1;
|
141
|
+
var field_list = [], replacement_field = match[2], field_match = [];
|
142
|
+
if ((field_match = /^([a-z_][a-z_\d]*)/i.exec(replacement_field)) !== null) {
|
143
|
+
field_list.push(field_match[1]);
|
144
|
+
while ((replacement_field = replacement_field.substring(field_match[0].length)) !== '') {
|
145
|
+
if ((field_match = /^\.([a-z_][a-z_\d]*)/i.exec(replacement_field)) !== null) {
|
146
|
+
field_list.push(field_match[1]);
|
147
|
+
}
|
148
|
+
else if ((field_match = /^\[(\d+)\]/.exec(replacement_field)) !== null) {
|
149
|
+
field_list.push(field_match[1]);
|
150
|
+
}
|
151
|
+
else {
|
152
|
+
throw('[sprintf] huh?');
|
153
|
+
}
|
154
|
+
}
|
155
|
+
}
|
156
|
+
else {
|
157
|
+
throw('[sprintf] huh?');
|
158
|
+
}
|
159
|
+
match[2] = field_list;
|
160
|
+
}
|
161
|
+
else {
|
162
|
+
arg_names |= 2;
|
163
|
+
}
|
164
|
+
if (arg_names === 3) {
|
165
|
+
throw('[sprintf] mixing positional and named placeholders is not (yet) supported');
|
166
|
+
}
|
167
|
+
parse_tree.push(match);
|
168
|
+
}
|
169
|
+
else {
|
170
|
+
throw('[sprintf] huh?');
|
171
|
+
}
|
172
|
+
_fmt = _fmt.substring(match[0].length);
|
173
|
+
}
|
174
|
+
return parse_tree;
|
175
|
+
};
|
176
|
+
|
177
|
+
return str_format;
|
178
|
+
})();
|
179
|
+
|
180
|
+
var vsprintf = function(fmt, argv) {
|
181
|
+
argv.unshift(fmt);
|
182
|
+
return sprintf.apply(null, argv);
|
183
|
+
};
|
@@ -0,0 +1,49 @@
|
|
1
|
+
.boxy-wrapper { position: absolute; }
|
2
|
+
.boxy-wrapper.fixed { position: fixed; }
|
3
|
+
|
4
|
+
/* Modal */
|
5
|
+
|
6
|
+
.boxy-modal-blackout { position: absolute; background-color: black; left: 0; top: 0; }
|
7
|
+
|
8
|
+
/* Border */
|
9
|
+
|
10
|
+
.boxy-wrapper { empty-cells: show; }
|
11
|
+
.boxy-wrapper .top-left,
|
12
|
+
.boxy-wrapper .top-right,
|
13
|
+
.boxy-wrapper .bottom-right,
|
14
|
+
.boxy-wrapper .bottom-left { width: 10px; height: 10px; padding: 0 }
|
15
|
+
|
16
|
+
.boxy-wrapper .top-left { background: url('boxy-nw.png'); }
|
17
|
+
.boxy-wrapper .top-right { background: url('boxy-ne.png'); }
|
18
|
+
.boxy-wrapper .bottom-right { background: url('boxy-se.png'); }
|
19
|
+
.boxy-wrapper .bottom-left { background: url('boxy-sw.png'); }
|
20
|
+
|
21
|
+
/* IE6+7 hacks for the border. IE7 should support this natively but fails in conjuction with modal blackout bg. */
|
22
|
+
/* NB: these must be absolute paths or URLs to your images */
|
23
|
+
.boxy-wrapper .top-left { #background: none; #filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='boxy-nw.png'); }
|
24
|
+
.boxy-wrapper .top-right { #background: none; #filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='boxy-ne.png'); }
|
25
|
+
.boxy-wrapper .bottom-right { #background: none; #filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='boxy-se.png'); }
|
26
|
+
.boxy-wrapper .bottom-left { #background: none; #filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='boxy-sw.png'); }
|
27
|
+
|
28
|
+
.boxy-wrapper .top,
|
29
|
+
.boxy-wrapper .bottom { height: 10px; background-color: black; opacity: 0.6; filter: alpha(opacity=60); padding: 0 }
|
30
|
+
|
31
|
+
.boxy-wrapper .left,
|
32
|
+
.boxy-wrapper .right { width: 10px; background-color: black; opacity: 0.6; filter: alpha(opacity=60); padding: 0 }
|
33
|
+
|
34
|
+
/* Title bar */
|
35
|
+
|
36
|
+
.boxy-wrapper .title-bar { background-color: black; padding: 6px; position: relative; }
|
37
|
+
.boxy-wrapper .title-bar.dragging { cursor: move; }
|
38
|
+
.boxy-wrapper .title-bar h2 { font-size: 12px; color: white; line-height: 1; margin: 0; padding: 0; font-weight: normal; }
|
39
|
+
.boxy-wrapper .title-bar .close { color: white; position: absolute; top: 6px; right: 6px; font-size: 90%; line-height: 1; }
|
40
|
+
|
41
|
+
/* Content Region */
|
42
|
+
|
43
|
+
.boxy-inner { background-color: white; padding: 0 }
|
44
|
+
.boxy-content { padding: 15px; }
|
45
|
+
|
46
|
+
/* Question Boxes */
|
47
|
+
|
48
|
+
.boxy-wrapper .question { width: 350px; min-height: 80px; }
|
49
|
+
.boxy-wrapper .answers { text-align: right; }
|
@@ -1,11 +1,11 @@
|
|
1
1
|
/*
|
2
|
-
* FullCalendar v1.5.
|
2
|
+
* FullCalendar v1.5.2 Stylesheet
|
3
3
|
*
|
4
4
|
* Copyright (c) 2011 Adam Shaw
|
5
5
|
* Dual licensed under the MIT and GPL licenses, located in
|
6
6
|
* MIT-LICENSE.txt and GPL-LICENSE.txt respectively.
|
7
7
|
*
|
8
|
-
* Date:
|
8
|
+
* Date: Sun Aug 21 22:06:09 2011 -0700
|
9
9
|
*
|
10
10
|
*/
|
11
11
|
|
@@ -133,8 +133,8 @@ html .fc,
|
|
133
133
|
|
134
134
|
.fc-cell-overlay { /* semi-transparent rectangle while dragging */
|
135
135
|
background: #9cf;
|
136
|
-
|
137
|
-
|
136
|
+
opacity: .2;
|
137
|
+
filter: alpha(opacity=20); /* for IE */
|
138
138
|
}
|
139
139
|
|
140
140
|
|
@@ -279,10 +279,9 @@ a.fc-event {
|
|
279
279
|
}
|
280
280
|
|
281
281
|
.fc-event-skin {
|
282
|
-
border-color: #
|
283
|
-
background-color: #
|
282
|
+
border-color: #36c; /* default BORDER color */
|
283
|
+
background-color: #36c; /* default BACKGROUND color */
|
284
284
|
color: #fff; /* default TEXT color */
|
285
|
-
|
286
285
|
}
|
287
286
|
|
288
287
|
.fc-event-inner {
|
@@ -297,7 +296,6 @@ a.fc-event {
|
|
297
296
|
.fc-event-time,
|
298
297
|
.fc-event-title {
|
299
298
|
padding: 0 1px;
|
300
|
-
color:#fff;
|
301
299
|
}
|
302
300
|
|
303
301
|
.fc .ui-resizable-handle { /*** TODO: don't use ui-resizable anymore, change class ***/
|
@@ -591,8 +589,7 @@ table.fc-border-separate {
|
|
591
589
|
height: 100%;
|
592
590
|
background: #fff;
|
593
591
|
opacity: .3;
|
594
|
-
|
595
|
-
|
592
|
+
filter: alpha(opacity=30);
|
596
593
|
}
|
597
594
|
|
598
595
|
.fc .ui-draggable-dragging .fc-event-bg, /* TODO: something nicer like .fc-opacity */
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*
|
2
|
-
* FullCalendar v1.5.
|
2
|
+
* FullCalendar v1.5.2 Print Stylesheet
|
3
3
|
*
|
4
4
|
* Include this stylesheet on your page to get a more printer-friendly calendar.
|
5
5
|
* When including this stylesheet, use the media='print' attribute of the <link> tag.
|
@@ -9,7 +9,7 @@
|
|
9
9
|
* Dual licensed under the MIT and GPL licenses, located in
|
10
10
|
* MIT-LICENSE.txt and GPL-LICENSE.txt respectively.
|
11
11
|
*
|
12
|
-
* Date:
|
12
|
+
* Date: Sun Aug 21 22:06:09 2011 -0700
|
13
13
|
*
|
14
14
|
*/
|
15
15
|
|
@@ -18,8 +18,8 @@
|
|
18
18
|
-----------------------------------------------------*/
|
19
19
|
|
20
20
|
.fc-event-skin {
|
21
|
-
|
22
|
-
color: #000 !important;
|
21
|
+
background: none !important;
|
22
|
+
color: #000 !important;
|
23
23
|
}
|
24
24
|
|
25
25
|
/* horizontal events */
|
metadata
CHANGED
@@ -1,230 +1,136 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: social_stream-events
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.3.0
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 2
|
9
|
-
- 0
|
10
|
-
version: 0.2.0
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
13
|
-
- Diego Carrera
|
7
|
+
authors:
|
14
8
|
- Antonio Tapiador
|
15
9
|
- GING - DIT - UPM
|
16
10
|
autorequire:
|
17
11
|
bindir: bin
|
18
12
|
cert_chain: []
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
dependencies:
|
23
|
-
- !ruby/object:Gem::Dependency
|
13
|
+
date: 2011-12-21 00:00:00.000000000Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
24
16
|
name: social_stream-base
|
25
|
-
|
26
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
17
|
+
requirement: &77019770 !ruby/object:Gem::Requirement
|
27
18
|
none: false
|
28
|
-
requirements:
|
19
|
+
requirements:
|
29
20
|
- - ~>
|
30
|
-
- !ruby/object:Gem::Version
|
31
|
-
|
32
|
-
segments:
|
33
|
-
- 0
|
34
|
-
- 10
|
35
|
-
- 6
|
36
|
-
version: 0.10.6
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 0.11.0
|
37
23
|
type: :runtime
|
38
|
-
version_requirements: *id001
|
39
|
-
- !ruby/object:Gem::Dependency
|
40
|
-
name: conference_manager-ruby
|
41
24
|
prerelease: false
|
42
|
-
|
25
|
+
version_requirements: *77019770
|
26
|
+
- !ruby/object:Gem::Dependency
|
27
|
+
name: rails-scheduler
|
28
|
+
requirement: &77019500 !ruby/object:Gem::Requirement
|
43
29
|
none: false
|
44
|
-
requirements:
|
30
|
+
requirements:
|
45
31
|
- - ~>
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
|
48
|
-
segments:
|
49
|
-
- 0
|
50
|
-
- 0
|
51
|
-
- 3
|
52
|
-
version: 0.0.3
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 0.0.4
|
53
34
|
type: :runtime
|
54
|
-
version_requirements: *id002
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: sqlite3-ruby
|
57
|
-
prerelease: false
|
58
|
-
requirement: &id003 !ruby/object:Gem::Requirement
|
59
|
-
none: false
|
60
|
-
requirements:
|
61
|
-
- - ">="
|
62
|
-
- !ruby/object:Gem::Version
|
63
|
-
hash: 3
|
64
|
-
segments:
|
65
|
-
- 0
|
66
|
-
version: "0"
|
67
|
-
type: :development
|
68
|
-
version_requirements: *id003
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: ruby-debug
|
71
|
-
prerelease: false
|
72
|
-
requirement: &id004 !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
|
-
requirements:
|
75
|
-
- - ~>
|
76
|
-
- !ruby/object:Gem::Version
|
77
|
-
hash: 49
|
78
|
-
segments:
|
79
|
-
- 0
|
80
|
-
- 10
|
81
|
-
- 3
|
82
|
-
version: 0.10.3
|
83
|
-
type: :development
|
84
|
-
version_requirements: *id004
|
85
|
-
- !ruby/object:Gem::Dependency
|
86
|
-
name: rspec-rails
|
87
|
-
prerelease: false
|
88
|
-
requirement: &id005 !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
|
-
requirements:
|
91
|
-
- - ~>
|
92
|
-
- !ruby/object:Gem::Version
|
93
|
-
hash: 23
|
94
|
-
segments:
|
95
|
-
- 2
|
96
|
-
- 6
|
97
|
-
- 0
|
98
|
-
version: 2.6.0
|
99
|
-
type: :development
|
100
|
-
version_requirements: *id005
|
101
|
-
- !ruby/object:Gem::Dependency
|
102
|
-
name: factory_girl
|
103
|
-
prerelease: false
|
104
|
-
requirement: &id006 !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
|
-
requirements:
|
107
|
-
- - ~>
|
108
|
-
- !ruby/object:Gem::Version
|
109
|
-
hash: 31
|
110
|
-
segments:
|
111
|
-
- 1
|
112
|
-
- 3
|
113
|
-
- 2
|
114
|
-
version: 1.3.2
|
115
|
-
type: :development
|
116
|
-
version_requirements: *id006
|
117
|
-
- !ruby/object:Gem::Dependency
|
118
|
-
name: forgery
|
119
35
|
prerelease: false
|
120
|
-
|
36
|
+
version_requirements: *77019500
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
|
+
name: sqlite3-ruby
|
39
|
+
requirement: &77019200 !ruby/object:Gem::Requirement
|
121
40
|
none: false
|
122
|
-
requirements:
|
123
|
-
- -
|
124
|
-
- !ruby/object:Gem::Version
|
125
|
-
|
126
|
-
segments:
|
127
|
-
- 0
|
128
|
-
- 3
|
129
|
-
- 6
|
130
|
-
version: 0.3.6
|
41
|
+
requirements:
|
42
|
+
- - ! '>='
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: '0'
|
131
45
|
type: :development
|
132
|
-
version_requirements: *id007
|
133
|
-
- !ruby/object:Gem::Dependency
|
134
|
-
name: capybara
|
135
46
|
prerelease: false
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
- - ~>
|
140
|
-
- !ruby/object:Gem::Version
|
141
|
-
hash: 1
|
142
|
-
segments:
|
143
|
-
- 0
|
144
|
-
- 3
|
145
|
-
- 9
|
146
|
-
version: 0.3.9
|
147
|
-
type: :development
|
148
|
-
version_requirements: *id008
|
149
|
-
description: |-
|
150
|
-
Social Stream is a Ruby on Rails engine providing your application with social networking features and activity streams.
|
151
|
-
|
152
|
-
This gem allow you to add events and videoconferences as new social stream activity.
|
153
|
-
email: social-stream.dit.upm.es
|
154
|
-
executables: []
|
47
|
+
version_requirements: *77019200
|
48
|
+
description: ! 'Social Stream is a Ruby on Rails engine providing your application
|
49
|
+
with social networking features and activity streams.
|
155
50
|
|
156
|
-
extensions: []
|
157
51
|
|
52
|
+
This gem allow you to add events as a new social stream activity, with a calendar-supported
|
53
|
+
management'
|
54
|
+
email: social-stream@dit.upm.es
|
55
|
+
executables: []
|
56
|
+
extensions: []
|
158
57
|
extra_rdoc_files: []
|
159
|
-
|
160
|
-
files:
|
58
|
+
files:
|
161
59
|
- .gitignore
|
162
60
|
- Gemfile
|
163
61
|
- README.rdoc
|
164
62
|
- Rakefile
|
63
|
+
- app/assets/javascripts/0_init.js
|
64
|
+
- app/assets/javascripts/events.js.coffee
|
165
65
|
- app/assets/javascripts/social_stream-events.js
|
66
|
+
- app/assets/stylesheets/events.css.scss
|
166
67
|
- app/assets/stylesheets/social_stream-events.css
|
68
|
+
- app/controllers/events_controller.rb
|
69
|
+
- app/controllers/rooms_controller.rb
|
70
|
+
- app/models/event.rb
|
71
|
+
- app/models/room.rb
|
72
|
+
- app/views/events/_event.html.erb
|
73
|
+
- app/views/events/_new.html.erb
|
74
|
+
- app/views/events/_sidebar_calendar.html.erb
|
75
|
+
- app/views/events/create.js.erb
|
76
|
+
- app/views/events/destroy.js.erb
|
77
|
+
- app/views/events/index.html.erb
|
78
|
+
- app/views/rooms/_form.html.erb
|
79
|
+
- app/views/rooms/_index.html.erb
|
80
|
+
- app/views/rooms/_settings.html.erb
|
81
|
+
- app/views/rooms/create.js.erb
|
82
|
+
- app/views/rooms/destroy.js.erb
|
167
83
|
- config/locales/en.yml
|
168
84
|
- config/locales/es.yml
|
169
85
|
- config/routes.rb
|
170
|
-
- db/migrate/
|
171
|
-
- db/migrate/
|
172
|
-
- db/migrate/
|
173
|
-
- db/migrate/
|
174
|
-
- db/migrate/20111209120019_reset_events.rb
|
86
|
+
- db/migrate/20111101193523_create_events.rb
|
87
|
+
- db/migrate/20111120104349_create_rooms.rb
|
88
|
+
- db/migrate/20111204155637_add_scheduler.rb
|
89
|
+
- db/migrate/20111218203314_change_scheduler.rb
|
175
90
|
- lib/generators/social_stream/events/install_generator.rb
|
176
91
|
- lib/social_stream-events.rb
|
92
|
+
- lib/social_stream/events/ability.rb
|
177
93
|
- lib/social_stream/events/engine.rb
|
94
|
+
- lib/social_stream/events/models/actor.rb
|
178
95
|
- lib/social_stream/events/version.rb
|
179
96
|
- lib/social_stream/migrations/events.rb
|
180
97
|
- lib/social_stream/toolbar_config/events.rb
|
98
|
+
- lib/social_stream/views/settings/events.rb
|
181
99
|
- social_stream-events.gemspec
|
100
|
+
- vendor/assets/images/boxy-ne.png
|
101
|
+
- vendor/assets/images/boxy-nw.png
|
102
|
+
- vendor/assets/images/boxy-se.png
|
103
|
+
- vendor/assets/images/boxy-sw.png
|
182
104
|
- vendor/assets/javascripts/fullcalendar.js
|
183
105
|
- vendor/assets/javascripts/gcal.js
|
184
|
-
- vendor/assets/javascripts/jquery.
|
185
|
-
- vendor/assets/javascripts/
|
186
|
-
- vendor/assets/stylesheets/
|
187
|
-
- vendor/assets/stylesheets/ad_prev.png
|
188
|
-
- vendor/assets/stylesheets/ad_scroll_back.png
|
189
|
-
- vendor/assets/stylesheets/ad_scroll_forward.png
|
106
|
+
- vendor/assets/javascripts/jquery.boxy.js
|
107
|
+
- vendor/assets/javascripts/sprintf.js
|
108
|
+
- vendor/assets/stylesheets/boxy.css
|
190
109
|
- vendor/assets/stylesheets/fullcalendar.css
|
191
110
|
- vendor/assets/stylesheets/fullcalendar.print.css
|
192
|
-
- vendor/assets/stylesheets/jquery.ad-gallery.css
|
193
|
-
- vendor/assets/stylesheets/loader.gif
|
194
|
-
- vendor/assets/stylesheets/social_stream-events.css
|
195
|
-
has_rdoc: true
|
196
111
|
homepage: http://github.com/ging/social_stream-events
|
197
112
|
licenses: []
|
198
|
-
|
199
113
|
post_install_message:
|
200
114
|
rdoc_options: []
|
201
|
-
|
202
|
-
require_paths:
|
115
|
+
require_paths:
|
203
116
|
- lib
|
204
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
117
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
205
118
|
none: false
|
206
|
-
requirements:
|
207
|
-
- -
|
208
|
-
- !ruby/object:Gem::Version
|
209
|
-
|
210
|
-
|
211
|
-
- 0
|
212
|
-
version: "0"
|
213
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
119
|
+
requirements:
|
120
|
+
- - ! '>='
|
121
|
+
- !ruby/object:Gem::Version
|
122
|
+
version: '0'
|
123
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
214
124
|
none: false
|
215
|
-
requirements:
|
216
|
-
- -
|
217
|
-
- !ruby/object:Gem::Version
|
218
|
-
|
219
|
-
segments:
|
220
|
-
- 0
|
221
|
-
version: "0"
|
125
|
+
requirements:
|
126
|
+
- - ! '>='
|
127
|
+
- !ruby/object:Gem::Version
|
128
|
+
version: '0'
|
222
129
|
requirements: []
|
223
|
-
|
224
130
|
rubyforge_project:
|
225
|
-
rubygems_version: 1.
|
131
|
+
rubygems_version: 1.8.10
|
226
132
|
signing_key:
|
227
133
|
specification_version: 3
|
228
|
-
summary:
|
134
|
+
summary: Scheduled events support for Social Stream, the core for building social
|
135
|
+
network websites
|
229
136
|
test_files: []
|
230
|
-
|