social_stream 0.17.1 → 0.18.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +6 -6
- data/base/app/assets/images/flags/en.png +0 -0
- data/base/app/assets/images/flags/es.png +0 -0
- data/base/app/assets/javascripts/toolbar.js +22 -1
- data/base/app/assets/stylesheets/activities.css.scss +1 -1
- data/base/app/assets/stylesheets/cheesecake.css.scss +46 -4
- data/base/app/assets/stylesheets/settings.css +11 -0
- data/base/app/controllers/cheesecake_controller.rb +15 -3
- data/base/app/controllers/contacts_controller.rb +2 -0
- data/base/app/controllers/conversations_controller.rb +5 -5
- data/base/app/controllers/likes_controller.rb +1 -1
- data/base/app/helpers/notifications_helper.rb +10 -0
- data/base/app/models/activity.rb +55 -36
- data/base/app/models/activity_object.rb +3 -23
- data/base/app/models/actor.rb +20 -4
- data/base/app/models/channel.rb +13 -1
- data/base/app/models/comment.rb +4 -0
- data/base/app/models/contact.rb +55 -19
- data/base/app/models/group.rb +5 -2
- data/base/app/models/like.rb +2 -2
- data/base/app/models/relation/custom.rb +1 -1
- data/base/app/models/tie.rb +4 -3
- data/base/app/views/cheesecake/_cheesecake.html.erb +63 -0
- data/base/app/views/cheesecake/_index.html.erb +43 -86
- data/base/app/views/cheesecake/index.html.erb +2 -0
- data/base/app/views/cheesecake/update.js.erb +3 -0
- data/base/app/views/devise/passwords/new.html.erb +1 -1
- data/base/app/views/devise/registrations/new.html.erb +1 -1
- data/base/app/views/devise/sessions/new.html.erb +1 -1
- data/base/app/{assets/stylesheets/0_devise_sign.css → views/layouts/_devise_style.html.erb} +3 -1
- data/base/app/views/layouts/_header_signed_in.erb +1 -1
- data/base/app/views/message_mailer/new_message_email.html.erb +2 -1
- data/base/app/views/message_mailer/new_message_email.text.erb +2 -1
- data/base/app/views/message_mailer/reply_message_email.html.erb +2 -1
- data/base/app/views/message_mailer/reply_message_email.text.erb +2 -1
- data/base/app/views/notification_mailer/new_notification_email.html.erb +2 -1
- data/base/app/views/notification_mailer/new_notification_email.text.erb +2 -1
- data/base/app/views/notifications/activities/_post.html.erb +24 -1
- data/base/app/views/notifications/activities/_post.text.erb +22 -3
- data/base/app/views/settings/_language.html.erb +1 -1
- data/base/config/locales/en.yml +3 -2
- data/base/config/locales/es.yml +4 -3
- data/base/config/routes.rb +1 -0
- data/base/db/migrate/20120111141717_activity_channels.rb +74 -0
- data/base/lib/social_stream-base.rb +1 -0
- data/base/lib/social_stream/base/engine.rb +2 -1
- data/base/lib/social_stream/base/version.rb +1 -1
- data/base/lib/social_stream/models/channeled.rb +50 -0
- data/base/lib/social_stream/models/object.rb +4 -13
- data/base/lib/social_stream/toolbar_config/base.rb +1 -1
- data/base/lib/tasks/db/populate.rake +1 -1
- data/base/social_stream-base.gemspec +2 -2
- data/base/spec/controllers/comments_controller_spec.rb +3 -3
- data/base/spec/factories/activity.rb +3 -3
- data/base/spec/factories/contact.rb +2 -0
- data/base/spec/models/activity_authorization_spec.rb +5 -1
- data/base/spec/models/like_spec.rb +3 -3
- data/base/spec/models/tie_spec.rb +4 -4
- data/documents/app/assets/stylesheets/documents.css.scss +30 -5
- data/documents/app/helpers/documents_helper.rb +1 -1
- data/documents/app/models/picture.rb +9 -6
- data/documents/app/models/video.rb +2 -2
- data/documents/app/views/pictures/_picture.html.erb +16 -21
- data/documents/app/views/pictures/_picture_show.html.erb +2 -3
- data/documents/app/views/videos/_video_processed.html.erb +2 -2
- data/documents/config/locales/en.yml +1 -1
- data/documents/config/locales/es.yml +1 -1
- data/documents/lib/social_stream/documents/version.rb +1 -1
- data/documents/social_stream-documents.gemspec +1 -1
- data/events/app/models/event.rb +1 -12
- data/events/app/views/events/_sidebar_calendar.html.erb +37 -4
- data/events/app/views/events/index.html.erb +1 -0
- data/events/lib/social_stream/events/version.rb +1 -1
- data/events/social_stream-events.gemspec +1 -1
- data/lib/social_stream/release.rb +14 -2
- data/lib/social_stream/release/component/release.rb +1 -1
- data/lib/social_stream/version.rb +1 -1
- data/linkser/app/assets/stylesheets/linkser.css.scss +3 -3
- data/linkser/lib/social_stream/linkser/version.rb +1 -1
- data/linkser/social_stream-linkser.gemspec +1 -1
- data/presence/lib/social_stream/presence/version.rb +1 -1
- data/presence/social_stream-presence.gemspec +1 -1
- data/social_stream.gemspec +5 -5
- data/social_stream.thor +7 -1
- metadata +37 -32
- data/base/vendor/assets/javascripts/menu.js +0 -25
- data/events/app/helpers/events_helper.rb +0 -26
@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
|
|
12
12
|
s.files = `git ls-files`.split("\n")
|
13
13
|
|
14
14
|
# Gem dependencies
|
15
|
-
s.add_runtime_dependency('social_stream-base', '~> 0.
|
15
|
+
s.add_runtime_dependency('social_stream-base', '~> 0.13.0')
|
16
16
|
s.add_runtime_dependency('rails-scheduler', '~> 0.0.5')
|
17
17
|
s.add_runtime_dependency('coffee-rails', '> 3.1.0')
|
18
18
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
module SocialStream
|
2
2
|
module Release
|
3
3
|
class << self
|
4
|
-
def
|
4
|
+
def update(*args)
|
5
5
|
# First of all, update gems
|
6
6
|
system "bundle"
|
7
7
|
|
@@ -13,10 +13,18 @@ module SocialStream
|
|
13
13
|
|
14
14
|
system("git commit #{ all.map(&:commit_files).join(" ") } -m #{ @global.version }") ||
|
15
15
|
raise(RuntimeError.new)
|
16
|
+
end
|
16
17
|
|
18
|
+
def release
|
17
19
|
all.each(&:rake_release)
|
18
20
|
end
|
19
21
|
|
22
|
+
def create(*args)
|
23
|
+
update *args
|
24
|
+
|
25
|
+
release
|
26
|
+
end
|
27
|
+
|
20
28
|
def dependencies
|
21
29
|
@dependencies ||=
|
22
30
|
Global::Release.new.dependencies
|
@@ -39,7 +47,11 @@ module SocialStream
|
|
39
47
|
end
|
40
48
|
|
41
49
|
def all
|
42
|
-
|
50
|
+
components + [ @global ]
|
51
|
+
end
|
52
|
+
|
53
|
+
def components
|
54
|
+
@components ||= dependencies.map{ |d| Component::Release.new(d) }
|
43
55
|
end
|
44
56
|
end
|
45
57
|
end
|
@@ -30,8 +30,8 @@
|
|
30
30
|
.link .thumbnail, .link .thumbnail img{
|
31
31
|
position: relative;
|
32
32
|
float: left;
|
33
|
-
max-height:
|
34
|
-
max-width:
|
33
|
+
max-height: 97px;
|
34
|
+
max-width: 130px;
|
35
35
|
margin-right:10px;
|
36
36
|
}
|
37
37
|
.link .thumbnail img.play_button{
|
@@ -51,7 +51,7 @@
|
|
51
51
|
text-align: left;
|
52
52
|
}
|
53
53
|
.activity_objects .link .info{
|
54
|
-
width:
|
54
|
+
width: 310px;
|
55
55
|
}
|
56
56
|
.link .info .title{
|
57
57
|
font-weight: bold;
|
@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
|
|
12
12
|
s.files = `git ls-files`.split("\n")
|
13
13
|
|
14
14
|
# Gem dependencies
|
15
|
-
s.add_runtime_dependency('social_stream-base', '~> 0.
|
15
|
+
s.add_runtime_dependency('social_stream-base', '~> 0.13.0')
|
16
16
|
s.add_runtime_dependency('linkser', '~> 0.0.10')
|
17
17
|
# Development Gem dependencies
|
18
18
|
s.add_development_dependency('sqlite3-ruby')
|
data/social_stream.gemspec
CHANGED
@@ -11,11 +11,11 @@ Gem::Specification.new do |s|
|
|
11
11
|
s.files = `git ls-files`.split("\n")
|
12
12
|
|
13
13
|
# Gem dependencies
|
14
|
-
s.add_runtime_dependency('social_stream-base', '~> 0.
|
15
|
-
s.add_runtime_dependency('social_stream-documents', '~> 0.
|
16
|
-
s.add_runtime_dependency('social_stream-events', '~> 0.
|
17
|
-
s.add_runtime_dependency('social_stream-linkser', '~> 0.
|
18
|
-
s.add_runtime_dependency('social_stream-presence', '~> 0.
|
14
|
+
s.add_runtime_dependency('social_stream-base', '~> 0.13.0')
|
15
|
+
s.add_runtime_dependency('social_stream-documents', '~> 0.8.0')
|
16
|
+
s.add_runtime_dependency('social_stream-events', '~> 0.5.0')
|
17
|
+
s.add_runtime_dependency('social_stream-linkser', '~> 0.3.0')
|
18
|
+
s.add_runtime_dependency('social_stream-presence', '~> 0.4.0')
|
19
19
|
|
20
20
|
# Development Gem dependencies
|
21
21
|
#
|
data/social_stream.thor
CHANGED
@@ -5,6 +5,12 @@ class SocialStream < Thor
|
|
5
5
|
|
6
6
|
desc "release", "release SocialStream's gems"
|
7
7
|
def release(*args)
|
8
|
-
::SocialStream::Release.
|
8
|
+
::SocialStream::Release.release
|
9
9
|
end
|
10
|
+
|
11
|
+
desc "update", "set SocialStream's dependencies"
|
12
|
+
def update(*args)
|
13
|
+
::SocialStream::Release.update *args
|
14
|
+
end
|
15
|
+
|
10
16
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: social_stream
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.18.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,66 +10,66 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2012-01-
|
13
|
+
date: 2012-01-23 00:00:00.000000000Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: social_stream-base
|
17
|
-
requirement: &
|
17
|
+
requirement: &86262010 !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
19
|
requirements:
|
20
20
|
- - ~>
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 0.
|
22
|
+
version: 0.13.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
|
-
version_requirements: *
|
25
|
+
version_requirements: *86262010
|
26
26
|
- !ruby/object:Gem::Dependency
|
27
27
|
name: social_stream-documents
|
28
|
-
requirement: &
|
28
|
+
requirement: &86261700 !ruby/object:Gem::Requirement
|
29
29
|
none: false
|
30
30
|
requirements:
|
31
31
|
- - ~>
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.
|
33
|
+
version: 0.8.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
|
-
version_requirements: *
|
36
|
+
version_requirements: *86261700
|
37
37
|
- !ruby/object:Gem::Dependency
|
38
38
|
name: social_stream-events
|
39
|
-
requirement: &
|
39
|
+
requirement: &86261400 !ruby/object:Gem::Requirement
|
40
40
|
none: false
|
41
41
|
requirements:
|
42
42
|
- - ~>
|
43
43
|
- !ruby/object:Gem::Version
|
44
|
-
version: 0.
|
44
|
+
version: 0.5.0
|
45
45
|
type: :runtime
|
46
46
|
prerelease: false
|
47
|
-
version_requirements: *
|
47
|
+
version_requirements: *86261400
|
48
48
|
- !ruby/object:Gem::Dependency
|
49
49
|
name: social_stream-linkser
|
50
|
-
requirement: &
|
50
|
+
requirement: &86260980 !ruby/object:Gem::Requirement
|
51
51
|
none: false
|
52
52
|
requirements:
|
53
53
|
- - ~>
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version: 0.
|
55
|
+
version: 0.3.0
|
56
56
|
type: :runtime
|
57
57
|
prerelease: false
|
58
|
-
version_requirements: *
|
58
|
+
version_requirements: *86260980
|
59
59
|
- !ruby/object:Gem::Dependency
|
60
60
|
name: social_stream-presence
|
61
|
-
requirement: &
|
61
|
+
requirement: &86260180 !ruby/object:Gem::Requirement
|
62
62
|
none: false
|
63
63
|
requirements:
|
64
64
|
- - ~>
|
65
65
|
- !ruby/object:Gem::Version
|
66
|
-
version: 0.
|
66
|
+
version: 0.4.0
|
67
67
|
type: :runtime
|
68
68
|
prerelease: false
|
69
|
-
version_requirements: *
|
69
|
+
version_requirements: *86260180
|
70
70
|
- !ruby/object:Gem::Dependency
|
71
71
|
name: capybara
|
72
|
-
requirement: &
|
72
|
+
requirement: &86259520 !ruby/object:Gem::Requirement
|
73
73
|
none: false
|
74
74
|
requirements:
|
75
75
|
- - ~>
|
@@ -77,10 +77,10 @@ dependencies:
|
|
77
77
|
version: 0.3.9
|
78
78
|
type: :development
|
79
79
|
prerelease: false
|
80
|
-
version_requirements: *
|
80
|
+
version_requirements: *86259520
|
81
81
|
- !ruby/object:Gem::Dependency
|
82
82
|
name: sqlite3
|
83
|
-
requirement: &
|
83
|
+
requirement: &86258730 !ruby/object:Gem::Requirement
|
84
84
|
none: false
|
85
85
|
requirements:
|
86
86
|
- - ! '>='
|
@@ -88,10 +88,10 @@ dependencies:
|
|
88
88
|
version: '0'
|
89
89
|
type: :development
|
90
90
|
prerelease: false
|
91
|
-
version_requirements: *
|
91
|
+
version_requirements: *86258730
|
92
92
|
- !ruby/object:Gem::Dependency
|
93
93
|
name: rspec-rails
|
94
|
-
requirement: &
|
94
|
+
requirement: &86258330 !ruby/object:Gem::Requirement
|
95
95
|
none: false
|
96
96
|
requirements:
|
97
97
|
- - ~>
|
@@ -99,10 +99,10 @@ dependencies:
|
|
99
99
|
version: 2.5.0
|
100
100
|
type: :development
|
101
101
|
prerelease: false
|
102
|
-
version_requirements: *
|
102
|
+
version_requirements: *86258330
|
103
103
|
- !ruby/object:Gem::Dependency
|
104
104
|
name: factory_girl
|
105
|
-
requirement: &
|
105
|
+
requirement: &86257640 !ruby/object:Gem::Requirement
|
106
106
|
none: false
|
107
107
|
requirements:
|
108
108
|
- - ~>
|
@@ -110,10 +110,10 @@ dependencies:
|
|
110
110
|
version: 1.3.2
|
111
111
|
type: :development
|
112
112
|
prerelease: false
|
113
|
-
version_requirements: *
|
113
|
+
version_requirements: *86257640
|
114
114
|
- !ruby/object:Gem::Dependency
|
115
115
|
name: forgery
|
116
|
-
requirement: &
|
116
|
+
requirement: &86257150 !ruby/object:Gem::Requirement
|
117
117
|
none: false
|
118
118
|
requirements:
|
119
119
|
- - ~>
|
@@ -121,10 +121,10 @@ dependencies:
|
|
121
121
|
version: 0.4.2
|
122
122
|
type: :development
|
123
123
|
prerelease: false
|
124
|
-
version_requirements: *
|
124
|
+
version_requirements: *86257150
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: ci_reporter
|
127
|
-
requirement: &
|
127
|
+
requirement: &86256680 !ruby/object:Gem::Requirement
|
128
128
|
none: false
|
129
129
|
requirements:
|
130
130
|
- - ~>
|
@@ -132,7 +132,7 @@ dependencies:
|
|
132
132
|
version: 1.6.4
|
133
133
|
type: :development
|
134
134
|
prerelease: false
|
135
|
-
version_requirements: *
|
135
|
+
version_requirements: *86256680
|
136
136
|
description: Social Stream is a Ruby on Rails engine for building social network websites.
|
137
137
|
It supports contacts, posts, file uploads, private messages and many more.
|
138
138
|
email:
|
@@ -260,6 +260,8 @@ files:
|
|
260
260
|
- base/app/assets/images/cancel.png
|
261
261
|
- base/app/assets/images/cleditor/buttons.gif
|
262
262
|
- base/app/assets/images/cleditor/toolbar.gif
|
263
|
+
- base/app/assets/images/flags/en.png
|
264
|
+
- base/app/assets/images/flags/es.png
|
263
265
|
- base/app/assets/images/frontpage/collaborate.png
|
264
266
|
- base/app/assets/images/frontpage/comments.png
|
265
267
|
- base/app/assets/images/frontpage/green_sq.png
|
@@ -325,7 +327,6 @@ files:
|
|
325
327
|
- base/app/assets/javascripts/ties.js
|
326
328
|
- base/app/assets/javascripts/toolbar.js
|
327
329
|
- base/app/assets/javascripts/users.js
|
328
|
-
- base/app/assets/stylesheets/0_devise_sign.css
|
329
330
|
- base/app/assets/stylesheets/_colors.scss
|
330
331
|
- base/app/assets/stylesheets/activities.css.scss
|
331
332
|
- base/app/assets/stylesheets/base.css.scss
|
@@ -395,6 +396,7 @@ files:
|
|
395
396
|
- base/app/helpers/contacts_helper.rb
|
396
397
|
- base/app/helpers/groups_helper.rb
|
397
398
|
- base/app/helpers/location_helper.rb
|
399
|
+
- base/app/helpers/notifications_helper.rb
|
398
400
|
- base/app/helpers/permissions_helper.rb
|
399
401
|
- base/app/helpers/profiles_helper.rb
|
400
402
|
- base/app/helpers/search_helper.rb
|
@@ -445,8 +447,10 @@ files:
|
|
445
447
|
- base/app/views/api/activity_atom_feed.atom.builder
|
446
448
|
- base/app/views/avatars/index.html.erb
|
447
449
|
- base/app/views/avatars/update.js.erb
|
450
|
+
- base/app/views/cheesecake/_cheesecake.html.erb
|
448
451
|
- base/app/views/cheesecake/_index.html.erb
|
449
452
|
- base/app/views/cheesecake/index.html.erb
|
453
|
+
- base/app/views/cheesecake/update.js.erb
|
450
454
|
- base/app/views/comments/_comment.html.erb
|
451
455
|
- base/app/views/comments/_new.html.erb
|
452
456
|
- base/app/views/comments/create.js.erb
|
@@ -510,6 +514,7 @@ files:
|
|
510
514
|
- base/app/views/invitations/new.html.erb
|
511
515
|
- base/app/views/invitations/new.js.erb
|
512
516
|
- base/app/views/layouts/_account.html.erb
|
517
|
+
- base/app/views/layouts/_devise_style.html.erb
|
513
518
|
- base/app/views/layouts/_flash.html.erb
|
514
519
|
- base/app/views/layouts/_footer.html.erb
|
515
520
|
- base/app/views/layouts/_header.erb
|
@@ -628,6 +633,7 @@ files:
|
|
628
633
|
- base/db/migrate/20120103103125_add_channels.rb
|
629
634
|
- base/db/migrate/20120109081509_update_notify_permissions.rb
|
630
635
|
- base/db/migrate/20120111120920_remove_language_default.rb
|
636
|
+
- base/db/migrate/20120111141717_activity_channels.rb
|
631
637
|
- base/lib/acts_as_taggable_on/acts_as_taggable_on/dirty.rb
|
632
638
|
- base/lib/acts_as_taggable_on/social_stream.rb
|
633
639
|
- base/lib/generators/social_stream/base/install_generator.rb
|
@@ -650,6 +656,7 @@ files:
|
|
650
656
|
- base/lib/social_stream/d3.rb
|
651
657
|
- base/lib/social_stream/migrations/base.rb
|
652
658
|
- base/lib/social_stream/migrations/components.rb
|
659
|
+
- base/lib/social_stream/models/channeled.rb
|
653
660
|
- base/lib/social_stream/models/object.rb
|
654
661
|
- base/lib/social_stream/models/subject.rb
|
655
662
|
- base/lib/social_stream/models/subtype.rb
|
@@ -758,7 +765,6 @@ files:
|
|
758
765
|
- base/vendor/assets/javascripts/jquery.validate.js
|
759
766
|
- base/vendor/assets/javascripts/jquery.validate.old.js
|
760
767
|
- base/vendor/assets/javascripts/jquery.watermarkinput.js
|
761
|
-
- base/vendor/assets/javascripts/menu.js
|
762
768
|
- base/vendor/assets/javascripts/superfish.js
|
763
769
|
- base/vendor/assets/stylesheets/carousel.css
|
764
770
|
- base/vendor/assets/stylesheets/chosen-sprite.png
|
@@ -974,7 +980,6 @@ files:
|
|
974
980
|
- events/app/assets/stylesheets/social_stream-events.css
|
975
981
|
- events/app/controllers/events_controller.rb
|
976
982
|
- events/app/controllers/rooms_controller.rb
|
977
|
-
- events/app/helpers/events_helper.rb
|
978
983
|
- events/app/models/event.rb
|
979
984
|
- events/app/models/room.rb
|
980
985
|
- events/app/views/events/_calendar_month.erb
|
@@ -1,25 +0,0 @@
|
|
1
|
-
function initMenu() {
|
2
|
-
$('.toolbar_menu ul li ul').hide();
|
3
|
-
$('.toolbar_menu li a').click( function() {
|
4
|
-
$(this).next().slideToggle('normal');
|
5
|
-
}
|
6
|
-
);
|
7
|
-
//Logo menu for current subject
|
8
|
-
//Full Caption Sliding (Hidden to Visible)
|
9
|
-
$('.logo_grid.logo_full').hover( function() {
|
10
|
-
$(".logo_menu", this).stop().animate({top:'101px'},{queue:false,duration:160});
|
11
|
-
}, function() {
|
12
|
-
$(".logo_menu", this).stop().animate({top:'1119px'},{queue:false,duration:160});
|
13
|
-
});
|
14
|
-
}
|
15
|
-
|
16
|
-
function expandSubMenu(id) {
|
17
|
-
$('#' + id + '_menu').next().show();
|
18
|
-
}
|
19
|
-
|
20
|
-
$(document).ready(function() {
|
21
|
-
initMenu();
|
22
|
-
});
|
23
|
-
|
24
|
-
|
25
|
-
|
@@ -1,26 +0,0 @@
|
|
1
|
-
module EventsHelper
|
2
|
-
def event_class(day)
|
3
|
-
begin_date = Time.now.beginning_of_week.to_date
|
4
|
-
end_date = begin_date + 28
|
5
|
-
|
6
|
-
busy_dates =
|
7
|
-
profile_or_current_subject.
|
8
|
-
events.
|
9
|
-
ocurrences(begin_date, end_date)
|
10
|
-
|
11
|
-
[].tap { |css|
|
12
|
-
css <<
|
13
|
-
if day < Date.today
|
14
|
-
"past"
|
15
|
-
elsif day == Date.today
|
16
|
-
"today"
|
17
|
-
elsif day.month != Date.today.month
|
18
|
-
"next_month"
|
19
|
-
end
|
20
|
-
|
21
|
-
|
22
|
-
css << "busy" if busy_dates.include?(day)
|
23
|
-
|
24
|
-
}.join(" ")
|
25
|
-
end
|
26
|
-
end
|