meetmermeeting 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Gemfile +5 -0
- data/Gemfile.lock +110 -0
- data/Gemfile.old +10 -0
- data/LICENSE-GPL-v3 +188 -0
- data/README.rdoc +5 -0
- data/Rakefile +3 -0
- data/Rakefile.old +29 -0
- data/app/assets/stylesheets/meeting.css +25 -0
- data/app/controllers/meetings_controller.rb +144 -0
- data/app/models/meeting/meeting.rb +25 -0
- data/app/views/meeting/_accordion.html.haml +82 -0
- data/app/views/meeting/_content.html.haml +5 -0
- data/app/views/meeting/_form.html.haml +34 -0
- data/app/views/meeting/edit.html.haml +26 -0
- data/app/views/meeting/index.html.haml +89 -0
- data/app/views/meeting/show.html.haml +59 -0
- data/config/routes.rb +6 -0
- data/lib/generators/meeting/install/install_generator.rb +90 -0
- data/lib/generators/meeting/install/templates/create_meetings.rb +41 -0
- data/lib/generators/meeting/install/templates/meeting.rb +25 -0
- data/lib/meeting/version.rb +23 -0
- data/meeting.gemspec +21 -0
- data/meeting.gemspec.old +29 -0
- data/test/dummy/Rakefile +7 -0
- data/test/dummy/app/controllers/application_controller.rb +3 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +45 -0
- data/test/dummy/config/boot.rb +10 -0
- data/test/dummy/config/database.yml +22 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +26 -0
- data/test/dummy/config/environments/production.rb +49 -0
- data/test/dummy/config/environments/test.rb +35 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/inflections.rb +10 -0
- data/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/dummy/config/initializers/secret_token.rb +7 -0
- data/test/dummy/config/initializers/session_store.rb +8 -0
- data/test/dummy/config/locales/en.yml +5 -0
- data/test/dummy/config/routes.rb +58 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/log/development.log +27 -0
- data/test/dummy/log/production.log +0 -0
- data/test/dummy/log/server.log +0 -0
- data/test/dummy/log/test.log +0 -0
- data/test/dummy/public/404.html +26 -0
- data/test/dummy/public/422.html +26 -0
- data/test/dummy/public/500.html +26 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/public/javascripts/application.js +2 -0
- data/test/dummy/public/javascripts/controls.js +965 -0
- data/test/dummy/public/javascripts/dragdrop.js +974 -0
- data/test/dummy/public/javascripts/effects.js +1123 -0
- data/test/dummy/public/javascripts/prototype.js +6001 -0
- data/test/dummy/public/javascripts/rails.js +202 -0
- data/test/dummy/public/stylesheets/.gitkeep +0 -0
- data/test/dummy/script/rails +6 -0
- data/test/integration/navigation_test.rb +7 -0
- data/test/meeting_test.rb +7 -0
- data/test/support/integration_case.rb +5 -0
- data/test/test_helper.rb +22 -0
- metadata +149 -0
@@ -0,0 +1,25 @@
|
|
1
|
+
# CURRENT FILE :: app/models/meeting/meeting.rb
|
2
|
+
#############################################################################
|
3
|
+
# Copyright (C) 2012 Jarkko Moilanen
|
4
|
+
#
|
5
|
+
# This program is free software: you can redistribute it and/or modify
|
6
|
+
# it under the terms of the GNU General Public License as published by
|
7
|
+
# the Free Software Foundation, either version 3 of the License, or
|
8
|
+
# (at your option) any later version.
|
9
|
+
#
|
10
|
+
# This program is distributed in the hope that it will be useful,
|
11
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
13
|
+
# GNU General Public License for more details.
|
14
|
+
#
|
15
|
+
# You should have received a copy of the GNU General Public License
|
16
|
+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
17
|
+
#
|
18
|
+
# Contact: jarkko@want3d.fi
|
19
|
+
#############################################################################
|
20
|
+
|
21
|
+
module Meeting
|
22
|
+
class Meeting < ActiveRecord::Base
|
23
|
+
|
24
|
+
end
|
25
|
+
end
|
@@ -0,0 +1,82 @@
|
|
1
|
+
-#############################################################################
|
2
|
+
-# Copyright (C) 2012 Jarkko Moilanen
|
3
|
+
-#
|
4
|
+
-# This program is free software: you can redistribute it and/or modify
|
5
|
+
-# it under the terms of the GNU General Public License as published by
|
6
|
+
-# the Free Software Foundation, either version 3 of the License, or
|
7
|
+
-# (at your option) any later version.
|
8
|
+
-#
|
9
|
+
-# This program is distributed in the hope that it will be useful,
|
10
|
+
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
11
|
+
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
12
|
+
-# GNU General Public License for more details.
|
13
|
+
-#
|
14
|
+
-# You should have received a copy of the GNU General Public License
|
15
|
+
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
16
|
+
-#
|
17
|
+
-# Contact: jarkko@want3d.fi
|
18
|
+
-#############################################################################
|
19
|
+
|
20
|
+
.container
|
21
|
+
%h2.acc_trigger
|
22
|
+
%a{:href=>"#"} Meetings info
|
23
|
+
.acc_container
|
24
|
+
.block
|
25
|
+
%ul.accordion
|
26
|
+
%li In #mer-meeting (irc.freenode.net)
|
27
|
+
%li using the MeetBot
|
28
|
+
.block
|
29
|
+
%h3 Details
|
30
|
+
%ul.accordion
|
31
|
+
%li
|
32
|
+
Meeting count(all):
|
33
|
+
%span.value
|
34
|
+
= @meetingstotal.count
|
35
|
+
%li
|
36
|
+
Meeting count(this year):
|
37
|
+
%span.value
|
38
|
+
= @meetingsall.count
|
39
|
+
- (1..12).each do |i|
|
40
|
+
%h2.acc_trigger
|
41
|
+
%a{:href=>"#"}
|
42
|
+
Meetings
|
43
|
+
= @meetings[0].meetingyear
|
44
|
+
\/
|
45
|
+
= i
|
46
|
+
%span.count
|
47
|
+
(
|
48
|
+
- if i == 1
|
49
|
+
= @meetings1.count
|
50
|
+
- if i == 2
|
51
|
+
= @meetings2.count
|
52
|
+
- if i == 3
|
53
|
+
= @meetings3.count
|
54
|
+
- if i == 4
|
55
|
+
= @meetings4.count
|
56
|
+
- if i == 5
|
57
|
+
= @meetings5.count
|
58
|
+
- if i == 6
|
59
|
+
= @meetings6.count
|
60
|
+
- if i == 7
|
61
|
+
= @meetings7.count
|
62
|
+
- if i == 8
|
63
|
+
= @meetings8.count
|
64
|
+
- if i == 9
|
65
|
+
= @meetings9.count
|
66
|
+
- if i == 10
|
67
|
+
= @meetings10.count
|
68
|
+
- if i == 11
|
69
|
+
= @meetings11.count
|
70
|
+
- if i == 12
|
71
|
+
= @meetings12.count
|
72
|
+
)
|
73
|
+
.acc_container
|
74
|
+
.block
|
75
|
+
%ul.column
|
76
|
+
- @meetingsall.each do |item|
|
77
|
+
- if item.meetingmonth == i.to_s
|
78
|
+
%li
|
79
|
+
%div.date
|
80
|
+
= item.meetingdate
|
81
|
+
%div.title
|
82
|
+
= link_to item.title, item
|
@@ -0,0 +1,34 @@
|
|
1
|
+
-#############################################################################
|
2
|
+
-# Copyright (C) 2012 Jarkko Moilanen
|
3
|
+
-#
|
4
|
+
-# This program is free software: you can redistribute it and/or modify
|
5
|
+
-# it under the terms of the GNU General Public License as published by
|
6
|
+
-# the Free Software Foundation, either version 3 of the License, or
|
7
|
+
-# (at your option) any later version.
|
8
|
+
-#
|
9
|
+
-# This program is distributed in the hope that it will be useful,
|
10
|
+
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
11
|
+
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
12
|
+
-# GNU General Public License for more details.
|
13
|
+
-#
|
14
|
+
-# You should have received a copy of the GNU General Public License
|
15
|
+
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
16
|
+
-#
|
17
|
+
-# Contact: jarkko@want3d.fi
|
18
|
+
-#############################################################################
|
19
|
+
|
20
|
+
= simple_form_for(@meeting) do |f|
|
21
|
+
= f.error_notification
|
22
|
+
|
23
|
+
.form-inputs
|
24
|
+
= f.input :title
|
25
|
+
= f.input :startTime
|
26
|
+
= f.input :endTime
|
27
|
+
= f.input :content
|
28
|
+
= f.input :logsurl
|
29
|
+
= f.input :url
|
30
|
+
= f.input :channel
|
31
|
+
= f.input :meetingyear
|
32
|
+
= f.input :meetingmonth
|
33
|
+
.form-actions
|
34
|
+
= f.button :submit
|
@@ -0,0 +1,26 @@
|
|
1
|
+
-#############################################################################
|
2
|
+
-# Copyright (C) 2012 Jarkko Moilanen
|
3
|
+
-#
|
4
|
+
-# This program is free software: you can redistribute it and/or modify
|
5
|
+
-# it under the terms of the GNU General Public License as published by
|
6
|
+
-# the Free Software Foundation, either version 3 of the License, or
|
7
|
+
-# (at your option) any later version.
|
8
|
+
-#
|
9
|
+
-# This program is distributed in the hope that it will be useful,
|
10
|
+
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
11
|
+
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
12
|
+
-# GNU General Public License for more details.
|
13
|
+
-#
|
14
|
+
-# You should have received a copy of the GNU General Public License
|
15
|
+
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
16
|
+
-#
|
17
|
+
-# Contact: jarkko@want3d.fi
|
18
|
+
-#############################################################################
|
19
|
+
|
20
|
+
%h1 Editing meeting
|
21
|
+
|
22
|
+
= render 'form'
|
23
|
+
|
24
|
+
= link_to 'Show', @meeting
|
25
|
+
\|
|
26
|
+
= link_to 'Back', meetings_path
|
@@ -0,0 +1,89 @@
|
|
1
|
+
-#############################################################################
|
2
|
+
-# Copyright (C) 2012 Jarkko Moilanen
|
3
|
+
-#
|
4
|
+
-# This program is free software: you can redistribute it and/or modify
|
5
|
+
-# it under the terms of the GNU General Public License as published by
|
6
|
+
-# the Free Software Foundation, either version 3 of the License, or
|
7
|
+
-# (at your option) any later version.
|
8
|
+
-#
|
9
|
+
-# This program is distributed in the hope that it will be useful,
|
10
|
+
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
11
|
+
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
12
|
+
-# GNU General Public License for more details.
|
13
|
+
-#
|
14
|
+
-# You should have received a copy of the GNU General Public License
|
15
|
+
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
16
|
+
-#
|
17
|
+
-# Contact: jarkko@want3d.fi
|
18
|
+
-#############################################################################
|
19
|
+
|
20
|
+
- content_for(:head) do
|
21
|
+
%title
|
22
|
+
:escaped
|
23
|
+
#MeetMer: #Mer project meetings
|
24
|
+
(
|
25
|
+
= @meetingsall.length
|
26
|
+
) + Meeting information
|
27
|
+
|
28
|
+
#leftcolumnwrap
|
29
|
+
#leftcolumn
|
30
|
+
= render "accordion"
|
31
|
+
.intro
|
32
|
+
%h2.content
|
33
|
+
About regular meetings
|
34
|
+
= render 'layouts/shared/sharebuttons'
|
35
|
+
%p Mer aims to be a FOSS, inclusive, meritocratically governed and openly developed Core optimised for HTML5/QML/JS, providing a mobile-optimised base distribution for use by device manufacturers. Mer is based upon the work from the Core section of the MeeGo project and aims to share effort and code together with the Tizen project once Tizen tools and code are publicly available.
|
36
|
+
%p.fancy Meetings are held in #mer-meeting on irc.freenode.net, using the MeetBot
|
37
|
+
%p
|
38
|
+
%b Monday
|
39
|
+
%ul
|
40
|
+
%li 08:00 UTC - Nemo Bug Triage
|
41
|
+
%li 12:00 UTC - Mer Bug Triage
|
42
|
+
%p
|
43
|
+
%b Tuesday
|
44
|
+
%ul
|
45
|
+
%li 11:00 UTC - (bi-weekly odd weeks, eg. wk5 onwards) Nemo Steering Group meeting
|
46
|
+
%li 12:00 UTC - Mer Release Management meeting
|
47
|
+
%p
|
48
|
+
%b Thursday
|
49
|
+
%ul
|
50
|
+
%li 12:OO UTC - Mer QA meeting
|
51
|
+
.intro
|
52
|
+
%h2.content
|
53
|
+
Recent meetings
|
54
|
+
%span
|
55
|
+
= @meetings[0].created_at
|
56
|
+
|
57
|
+
%p Below you'll find 10 most recent meetings - latest first.
|
58
|
+
%p If you want to see older meetings, see left column where you can find all meetings sorted by months.
|
59
|
+
%table.bordered
|
60
|
+
%thead
|
61
|
+
%tr
|
62
|
+
%th Title
|
63
|
+
%th Date
|
64
|
+
%th Started
|
65
|
+
%th Ended
|
66
|
+
%th Minutes
|
67
|
+
%th Logs
|
68
|
+
%th Edit
|
69
|
+
%th Delete
|
70
|
+
|
71
|
+
- @meetings.each do |meeting|
|
72
|
+
%tr
|
73
|
+
%td.title
|
74
|
+
= link_to meeting.title, meeting
|
75
|
+
%td.datetime
|
76
|
+
= meeting.meetingdate.strftime("%Y/%m/%d")
|
77
|
+
%td.startTime
|
78
|
+
= meeting.startTime
|
79
|
+
%td.endTime
|
80
|
+
= meeting.endTime
|
81
|
+
%td.url
|
82
|
+
= link_to 'Minutes', meeting.murl, {:rel => 'shadowbox;width=1000;height=600;', :title => [meeting.channel," - " , meeting.title]}
|
83
|
+
%td.logsurl
|
84
|
+
= link_to 'Discussion', meeting.logsurl, {:rel => 'shadowbox;width=1000;height=600;', :title => [meeting.channel," - " , meeting.logsurl]}
|
85
|
+
%td= link_to 'Edit', edit_meeting_path(meeting)
|
86
|
+
%td= link_to 'Destroy', meeting, :confirm => 'Are you sure?', :method => :delete
|
87
|
+
|
88
|
+
%br
|
89
|
+
|
@@ -0,0 +1,59 @@
|
|
1
|
+
-#############################################################################
|
2
|
+
-# Copyright (C) 2012 Jarkko Moilanen
|
3
|
+
-#
|
4
|
+
-# This program is free software: you can redistribute it and/or modify
|
5
|
+
-# it under the terms of the GNU General Public License as published by
|
6
|
+
-# the Free Software Foundation, either version 3 of the License, or
|
7
|
+
-# (at your option) any later version.
|
8
|
+
-#
|
9
|
+
-# This program is distributed in the hope that it will be useful,
|
10
|
+
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
11
|
+
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
12
|
+
-# GNU General Public License for more details.
|
13
|
+
-#
|
14
|
+
-# You should have received a copy of the GNU General Public License
|
15
|
+
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
16
|
+
-#
|
17
|
+
-# Contact: jarkko@want3d.fi
|
18
|
+
-#############################################################################
|
19
|
+
|
20
|
+
- content_for(:head) do
|
21
|
+
%title
|
22
|
+
:escaped
|
23
|
+
#MeetMer: #Mer meeting details:
|
24
|
+
= @meeting.title
|
25
|
+
|
|
26
|
+
= @meeting.meetingdate
|
27
|
+
|
28
|
+
#leftcolumnwrap
|
29
|
+
#leftcolumn
|
30
|
+
= render "accordion"
|
31
|
+
.intro
|
32
|
+
%h2.content
|
33
|
+
= @meeting.title
|
34
|
+
= render 'layouts/shared/sharebuttons'
|
35
|
+
%p
|
36
|
+
%b Date:
|
37
|
+
= @meeting.meetingdate
|
38
|
+
%p
|
39
|
+
%b Started:
|
40
|
+
= @meeting.startTime
|
41
|
+
%p
|
42
|
+
%b Ended:
|
43
|
+
= @meeting.endTime
|
44
|
+
%p
|
45
|
+
%b Meeting discussion:
|
46
|
+
= link_to 'Read discussion', @meeting.logsurl, {:rel => 'shadowbox;width=1000;height=600;', :title => [@meeting.channel," - " ,@meeting.title]}
|
47
|
+
%p
|
48
|
+
%b Meeting Minutes:
|
49
|
+
= link_to 'Read minutes', @meeting.murl, {:rel => 'shadowbox;width=1000;height=600;', :title => [@meeting.channel," - " ,@meeting.title]}
|
50
|
+
%p
|
51
|
+
%b Channel:
|
52
|
+
= @meeting.channel
|
53
|
+
.intro
|
54
|
+
%p
|
55
|
+
= render "content", :locals => { :meeting => @meeting }
|
56
|
+
|
57
|
+
= link_to 'Edit', edit_meeting_path(@meeting)
|
58
|
+
\|
|
59
|
+
= link_to 'Back', meetings_path
|
data/config/routes.rb
ADDED
@@ -0,0 +1,90 @@
|
|
1
|
+
# CURRENT FILE :: lib/generators/meeting/meeting_generator.rb
|
2
|
+
#############################################################################
|
3
|
+
# Copyright (C) 2012 Jarkko Moilanen
|
4
|
+
#
|
5
|
+
# This program is free software: you can redistribute it and/or modify
|
6
|
+
# it under the terms of the GNU General Public License as published by
|
7
|
+
# the Free Software Foundation, either version 3 of the License, or
|
8
|
+
# (at your option) any later version.
|
9
|
+
#
|
10
|
+
# This program is distributed in the hope that it will be useful,
|
11
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
13
|
+
# GNU General Public License for more details.
|
14
|
+
#
|
15
|
+
# You should have received a copy of the GNU General Public License
|
16
|
+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
17
|
+
#
|
18
|
+
# Contact: jarkko@want3d.fi
|
19
|
+
#############################################################################
|
20
|
+
|
21
|
+
# Requires
|
22
|
+
|
23
|
+
require 'rails/generators'
|
24
|
+
require 'rails/generators/migration'
|
25
|
+
module Meeting
|
26
|
+
module Generators
|
27
|
+
class InstallGenerator < Rails::Generators::Base
|
28
|
+
include Rails::Generators::Migration
|
29
|
+
# source_root File.expand_path('../templates', __FILE__)
|
30
|
+
def self.source_root
|
31
|
+
# @source_root ||= File.join(File.dirname(__FILE__), 'templates')
|
32
|
+
@source_root ||= File.expand_path("../templates", __FILE__)
|
33
|
+
desc "Add the migration and model files"
|
34
|
+
end
|
35
|
+
|
36
|
+
def self.next_migration_number(dirname)
|
37
|
+
if ActiveRecord::Base.timestamped_migrations
|
38
|
+
Time.new.utc.strftime("%Y%m%d%H%M%S")
|
39
|
+
else
|
40
|
+
"%.3d" % (current_migration_number(dirname) + 1)
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
def create_model_file
|
45
|
+
template "meeting.rb", "app/models/meeting.rb"
|
46
|
+
end
|
47
|
+
def copy_migrations
|
48
|
+
migration_template "create_meetings.rb", "db/migrate/create_meetings.rb"
|
49
|
+
end
|
50
|
+
|
51
|
+
# def create_migration_file
|
52
|
+
# migration_template 'migration.rb', 'db/migrate/meetings.rb'
|
53
|
+
# end
|
54
|
+
|
55
|
+
# def copy_assets
|
56
|
+
# Copy stylesheet
|
57
|
+
# copy_file '../../../../app/assets/stylesheets/meeting.css',
|
58
|
+
# 'app/assests/stylesheets/meeting.css'
|
59
|
+
# copy model
|
60
|
+
# copy_file '../../../../app/models/meeting/meeting.rb',
|
61
|
+
# 'app/models/meeting/meeting.rb'
|
62
|
+
# copy view files
|
63
|
+
# copy_file '../../../../app/views/meeting/index.html.haml',
|
64
|
+
# 'app/views/meeting/index.html.haml'
|
65
|
+
# copy_file '../../../../app/views/meeting/_accordion.html.haml',
|
66
|
+
# 'app/views/meeting/_accordion.html.haml'
|
67
|
+
# copy_file '../../../../app/views/meeting/show.html.haml',
|
68
|
+
# 'app/views/meeting/show.html.haml'
|
69
|
+
# copy_file '../../../../app/views/meeting/_form.html.haml',
|
70
|
+
# 'app/views/meeting/_form.html.haml'
|
71
|
+
# copy_file '../../../../app/views/meeting/edit.html.haml',
|
72
|
+
# 'app/views/meeting/edit.html.haml'
|
73
|
+
# copy controller
|
74
|
+
# copy_file '../../../../app/controllers/meeting_controller.rb',
|
75
|
+
# 'app/controllers/meeting_controller.rb'
|
76
|
+
# copy routes file. Keep in mind that in main app all route files in folder config/routes are
|
77
|
+
# concatenated to one. Copy this routes.rb as meeting_routes.rb
|
78
|
+
# copy_file '../../../../config/routes.rb',
|
79
|
+
# 'config/routes/meeting_routes.rb'
|
80
|
+
# end
|
81
|
+
# def source_base_path
|
82
|
+
# '../../../../'
|
83
|
+
# end
|
84
|
+
#
|
85
|
+
# def destination_assets_base_path
|
86
|
+
# 'app/assets/'
|
87
|
+
# end
|
88
|
+
end
|
89
|
+
end
|
90
|
+
end
|
@@ -0,0 +1,41 @@
|
|
1
|
+
# CURRENT FILE :: lib/generators/meeting/templates/migration.rb
|
2
|
+
#############################################################################
|
3
|
+
# Copyright (C) 2012 Jarkko Moilanen
|
4
|
+
#
|
5
|
+
# This program is free software: you can redistribute it and/or modify
|
6
|
+
# it under the terms of the GNU General Public License as published by
|
7
|
+
# the Free Software Foundation, either version 3 of the License, or
|
8
|
+
# (at your option) any later version.
|
9
|
+
#
|
10
|
+
# This program is distributed in the hope that it will be useful,
|
11
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
13
|
+
# GNU General Public License for more details.
|
14
|
+
#
|
15
|
+
# You should have received a copy of the GNU General Public License
|
16
|
+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
17
|
+
#
|
18
|
+
# Contact: jarkko@want3d.fi
|
19
|
+
#############################################################################
|
20
|
+
|
21
|
+
class Meetings < ActiveRecord::Migration
|
22
|
+
def self.up
|
23
|
+
create_table :meetings do |t|
|
24
|
+
t.string :title
|
25
|
+
t.string :startTime
|
26
|
+
t.string :endTime
|
27
|
+
t.text :content
|
28
|
+
t.string :logsurl
|
29
|
+
t.string :murl
|
30
|
+
t.string :channel
|
31
|
+
t.datetime :meetingdate
|
32
|
+
t.string :meetingyear
|
33
|
+
t.string :meetingmonth
|
34
|
+
t.timestamps
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
def self.down
|
39
|
+
drop_table :meetings
|
40
|
+
end
|
41
|
+
end
|