lportal 1.0.18 → 1.0.19
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/ChangeLog +5 -9
- data/Rakefile +12 -1
- data/db_connection.rb +9 -0
- data/lib/country.rb +5 -0
- data/lib/group.rb +2 -1
- data/lib/web/layout.rb +2 -3
- data/lportal.rb +8 -17
- data/rails_gem_chooser.rb +87 -0
- data/test/unit/account_test.rb +7 -4
- data/test/unit/address_test.rb +22 -1
- data/test/unit/announcement/delivery_test.rb +24 -0
- data/test/unit/announcement/entry_test.rb +4 -2
- data/test/unit/blog_post_test.rb +16 -4
- data/test/unit/bookmark/entry_test.rb +11 -2
- data/test/unit/bookmark/folder_test.rb +20 -2
- data/test/unit/calevent_test.rb +9 -2
- data/test/unit/company_test.rb +93 -29
- data/test/unit/contact_test.rb +12 -5
- data/test/unit/country_test.rb +25 -0
- data/test/unit/dl_file_test.rb +12 -6
- data/test/unit/dl_folder_test.rb +33 -4
- data/test/unit/emailaddress_test.rb +28 -0
- data/test/unit/group_test.rb +54 -27
- data/test/unit/ig/folder_test.rb +4 -2
- data/test/unit/ig/image_test.rb +10 -2
- data/test/unit/image_test.rb +12 -4
- data/test/unit/journal/article_image_test.rb +8 -6
- data/test/unit/journal/article_resource_test.rb +9 -5
- data/test/unit/journal/article_test.rb +24 -17
- data/test/unit/journal/feed_test.rb +31 -4
- data/test/unit/journal/structure_test.rb +31 -4
- data/test/unit/journal/template_test.rb +31 -4
- data/test/unit/mb/category_test.rb +44 -8
- data/test/unit/mb/discussion_test.rb +10 -5
- data/test/unit/mb/message_flag_test.rb +28 -0
- data/test/unit/mb/message_test.rb +22 -13
- data/test/unit/mb/stats_user_test.rb +28 -0
- data/test/unit/mb/thread_test.rb +10 -5
- data/test/unit/organization_test.rb +32 -8
- data/test/unit/permission_test.rb +45 -6
- data/test/unit/phone_test.rb +13 -7
- data/test/unit/poll/question_test.rb +30 -4
- data/test/unit/ratings_stats_test.rb +16 -0
- data/test/unit/release_test.rb +5 -3
- data/test/unit/resource_code_test.rb +5 -2
- data/test/unit/resource_test.rb +40 -19
- data/test/unit/role_test.rb +17 -9
- data/test/unit/social_activity_test.rb +35 -0
- data/test/unit/social_relation_test.rb +29 -0
- data/test/unit/tag/asset_test.rb +29 -15
- data/test/unit/tag/entry_test.rb +14 -4
- data/test/unit/tag/property_test.rb +14 -6
- data/test/unit/user_test.rb +86 -57
- data/test/unit/usergroup_test.rb +8 -5
- data/test/unit/web/layout_set_test.rb +21 -6
- data/test/unit/web/layout_test.rb +51 -20
- data/test/unit/web/portlet_preferences_test.rb +10 -2
- data/test/unit/web/portlet_properties_test.rb +10 -2
- data/test/unit/web/portlet_test.rb +12 -3
- data/test/unit/web/typesettings_test.rb +7 -3
- data/test/unit/wiki/node_test.rb +3 -2
- data/test/unit/wiki/page_test.rb +48 -2
- data/version.rb +1 -1
- metadata +186 -105
data/test/unit/usergroup_test.rb
CHANGED
@@ -1,10 +1,13 @@
|
|
1
|
-
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
require 'test/test_helper'
|
2
4
|
|
3
5
|
class UsergroupTest < ActiveSupport::TestCase
|
4
|
-
fixtures :
|
6
|
+
fixtures :Company, :Group_, :UserGroup
|
5
7
|
|
6
8
|
def setup
|
7
9
|
@usergroups = Usergroup.all
|
10
|
+
flunk 'No usergroups to test' unless @usergroups.any?
|
8
11
|
end
|
9
12
|
|
10
13
|
# each usergroup must belong to a company
|
@@ -17,14 +20,14 @@ class UsergroupTest < ActiveSupport::TestCase
|
|
17
20
|
# each usergroup must belong to a company
|
18
21
|
def test_parent
|
19
22
|
@usergroups.each do |x|
|
20
|
-
|
21
|
-
|
22
|
-
end
|
23
|
+
next if x.parentusergroupid == 0
|
24
|
+
assert_not_nil x.parent, "#{x.id} has no parent"
|
23
25
|
end
|
24
26
|
end
|
25
27
|
|
26
28
|
def test_groups
|
27
29
|
@usergroups.each do |x|
|
30
|
+
assert_not_nil x.groups
|
28
31
|
x.groups.each do |group|
|
29
32
|
assert_not_nil group, "#{x.id} has_and_belongs_to an unknown group"
|
30
33
|
end
|
@@ -1,12 +1,16 @@
|
|
1
|
-
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
require 'test/test_helper'
|
2
4
|
|
3
5
|
class Web::LayoutSetTest < ActiveSupport::TestCase
|
4
6
|
fixtures [
|
5
|
-
:
|
6
|
-
|
7
|
-
:
|
8
|
-
:
|
9
|
-
:
|
7
|
+
:Company,
|
8
|
+
# :User_,
|
9
|
+
:Group_,
|
10
|
+
:Layout,
|
11
|
+
:LayoutSet,
|
12
|
+
:Portlet,
|
13
|
+
:ClassName_
|
10
14
|
]
|
11
15
|
|
12
16
|
def setup
|
@@ -52,6 +56,17 @@ class Web::LayoutSetTest < ActiveSupport::TestCase
|
|
52
56
|
end
|
53
57
|
end
|
54
58
|
|
59
|
+
def test_layouts
|
60
|
+
flunk mysql_bug if defined?(mysql_bug)
|
61
|
+
|
62
|
+
@sets.each do |x|
|
63
|
+
next unless x.layouts.any?
|
64
|
+
x.layouts.each do |l|
|
65
|
+
assert_equal x, l.layoutset
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
55
70
|
def test_rigidity
|
56
71
|
@sets.each do |x|
|
57
72
|
assert_not_nil x.is_public?
|
@@ -1,8 +1,18 @@
|
|
1
|
-
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
require 'test/test_helper'
|
2
4
|
|
3
5
|
class Web::LayoutTest < ActiveSupport::TestCase
|
4
6
|
fixtures [
|
5
|
-
:
|
7
|
+
:Company,
|
8
|
+
:User_,
|
9
|
+
:Group_,
|
10
|
+
:Layout,
|
11
|
+
:LayoutSet,
|
12
|
+
:Portlet,
|
13
|
+
:PortletPreferences,
|
14
|
+
:portletproperties,
|
15
|
+
:ResourceCode
|
6
16
|
]
|
7
17
|
|
8
18
|
def setup
|
@@ -17,6 +27,8 @@ class Web::LayoutTest < ActiveSupport::TestCase
|
|
17
27
|
end
|
18
28
|
|
19
29
|
def test_create
|
30
|
+
flunk mysql_bug if defined?(mysql_bug)
|
31
|
+
|
20
32
|
group = Group.first
|
21
33
|
|
22
34
|
# public
|
@@ -85,6 +97,8 @@ class Web::LayoutTest < ActiveSupport::TestCase
|
|
85
97
|
|
86
98
|
# tests .<<()
|
87
99
|
def test_append_to_self
|
100
|
+
flunk mysql_bug if defined?(mysql_bug)
|
101
|
+
|
88
102
|
layout = @clean_layout
|
89
103
|
portlet_name = 'tagged_content'
|
90
104
|
|
@@ -190,6 +204,8 @@ class Web::LayoutTest < ActiveSupport::TestCase
|
|
190
204
|
end
|
191
205
|
|
192
206
|
def test_append_portlets
|
207
|
+
flunk mysql_bug if defined?(mysql_bug)
|
208
|
+
|
193
209
|
layout = @clean_layout
|
194
210
|
|
195
211
|
login_portlet = Web::Portlet.find_by_name 'login'
|
@@ -237,34 +253,45 @@ class Web::LayoutTest < ActiveSupport::TestCase
|
|
237
253
|
# each layout must belong to a company
|
238
254
|
def test_company
|
239
255
|
@layouts.each do |x|
|
240
|
-
|
256
|
+
assert_not_nil x.company
|
241
257
|
end
|
242
258
|
end
|
243
259
|
|
244
|
-
# each layout must belong to a group
|
245
260
|
def test_group
|
246
261
|
@layouts.each do |x|
|
247
|
-
|
262
|
+
assert_not_nil x.group
|
263
|
+
end
|
264
|
+
end
|
265
|
+
|
266
|
+
def test_layoutset
|
267
|
+
@layouts.each do |x|
|
268
|
+
assert_not_nil x.layoutset
|
248
269
|
end
|
249
270
|
end
|
250
271
|
|
251
272
|
def test_rigidity
|
252
273
|
@layouts.each do |x|
|
253
|
-
|
274
|
+
assert_not_nil x.is_public?
|
254
275
|
end
|
255
276
|
|
256
277
|
# each group must exist!
|
257
278
|
groups = @layouts.map{|x| x.group}.uniq
|
258
279
|
groups.each do |group|
|
259
|
-
|
280
|
+
assert_not_nil group, "Reference to non-existing group #{group.inspect}"
|
260
281
|
end
|
261
282
|
end
|
262
283
|
|
284
|
+
def test_resources
|
285
|
+
flunk 'todo'
|
286
|
+
end
|
287
|
+
|
263
288
|
# each layout must have layoutid within the group,
|
264
289
|
# there must be no duplicate layoutids
|
265
290
|
def test_layoutid
|
291
|
+
flunk mysql_bug if defined?(mysql_bug)
|
292
|
+
|
266
293
|
@layouts.each do |x|
|
267
|
-
|
294
|
+
assert_not_nil x.layoutid, "#{x} has no local layout number"
|
268
295
|
end
|
269
296
|
|
270
297
|
groupids = @layouts.map{|x| x.groupid}.uniq
|
@@ -289,43 +316,47 @@ class Web::LayoutTest < ActiveSupport::TestCase
|
|
289
316
|
# each layout must have a name
|
290
317
|
def test_name
|
291
318
|
@layouts.each do |x|
|
292
|
-
|
319
|
+
assert_not_nil x.name, "#{x} has no name"
|
293
320
|
end
|
294
321
|
end
|
295
322
|
|
296
323
|
# each layout must have a typesettings, and the defined portlets exist
|
297
324
|
def test_portlets
|
298
|
-
|
299
|
-
|
325
|
+
flunk mysql_bug if defined?(mysql_bug)
|
326
|
+
|
327
|
+
@layouts.each do |layout|
|
328
|
+
assert_not_nil layout.typesettings, "#{layout} has no typesettings"
|
329
|
+
|
330
|
+
layout.portlets.each do |p|
|
331
|
+
assert_equal layout, p.layout
|
300
332
|
|
301
|
-
x.portlets.each do |p|
|
302
333
|
if p.is_a?(Web::PortletPreferences)
|
303
|
-
assert_equal
|
334
|
+
assert_equal layout, p.layout, 'Layout has a portlet(preferences) (%i) that does not belong there' % p.id
|
304
335
|
if p.portlet
|
305
|
-
assert p.portlet.instanceable
|
336
|
+
assert p.portlet.instanceable?, 'Portlet (%s) is not instanceable' % p.portlet.name
|
306
337
|
end
|
307
338
|
|
308
339
|
else # not instantiated
|
309
|
-
assert_equal
|
340
|
+
assert_equal layout, p.preferences.layout
|
310
341
|
assert !p.instanceable?
|
311
342
|
end
|
312
343
|
end
|
313
344
|
|
314
345
|
# check portlets
|
315
|
-
|
346
|
+
layout.portletids.each do |id|
|
316
347
|
next if id[/INSTANCE/]
|
317
348
|
unless Web::Portlet.find_by_portletid(id)
|
318
|
-
STDERR.puts "WARN: Layout #{
|
349
|
+
STDERR.puts "WARN: Layout #{layout.id} defines portlet #{id} but it is not found in the portlet table"
|
319
350
|
end
|
320
351
|
end
|
321
352
|
|
322
353
|
# check instances
|
323
|
-
|
354
|
+
layout.instances.each do |portlet|
|
324
355
|
portletid = portlet.portletid
|
325
356
|
next unless portletid[/INSTANCE/]
|
326
|
-
assert Web::PortletPreferences.find_by_portletid(portletid), "#{
|
357
|
+
assert Web::PortletPreferences.find_by_portletid(portletid), "#{layout.id} defines portlet instance #{portletid} but it is not found in portletpreferences"
|
327
358
|
end
|
328
359
|
end
|
329
360
|
end
|
330
361
|
|
331
|
-
end
|
362
|
+
end
|
@@ -1,10 +1,18 @@
|
|
1
|
-
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
require 'test/test_helper'
|
2
4
|
|
3
5
|
# Beware, these tests are slow due to the amount of portletpreferences
|
4
6
|
|
5
7
|
class Web::PortletPreferencesTest < ActiveSupport::TestCase
|
6
8
|
fixtures [
|
7
|
-
:
|
9
|
+
:Company,
|
10
|
+
# :User_,
|
11
|
+
# :Group_,
|
12
|
+
:Portlet,
|
13
|
+
:PortletPreferences,
|
14
|
+
:portletproperties,
|
15
|
+
:Layout
|
8
16
|
]
|
9
17
|
|
10
18
|
def setup
|
@@ -1,10 +1,18 @@
|
|
1
|
-
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
require 'test/test_helper'
|
2
4
|
|
3
5
|
# Beware, these tests are slow due to the amount of portletpreferences
|
4
6
|
|
5
7
|
class Web::PortletPropertiesTest < ActiveSupport::TestCase
|
6
8
|
fixtures [
|
7
|
-
:
|
9
|
+
:Company,
|
10
|
+
# :User_,
|
11
|
+
# :Group_,
|
12
|
+
:Portlet,
|
13
|
+
:PortletPreferences,
|
14
|
+
:portletproperties,
|
15
|
+
:Layout
|
8
16
|
]
|
9
17
|
|
10
18
|
def setup
|
@@ -1,8 +1,17 @@
|
|
1
|
-
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
require 'test/test_helper'
|
2
4
|
|
3
5
|
class Web::PortletTest < ActiveSupport::TestCase
|
4
6
|
fixtures [
|
5
|
-
:
|
7
|
+
:Company,
|
8
|
+
# :User_,
|
9
|
+
:Portlet,
|
10
|
+
:PortletPreferences,
|
11
|
+
:portletproperties,
|
12
|
+
:Layout,
|
13
|
+
:Group_,
|
14
|
+
:TagsAsset
|
6
15
|
]
|
7
16
|
|
8
17
|
def setup
|
@@ -78,7 +87,7 @@ class Web::PortletTest < ActiveSupport::TestCase
|
|
78
87
|
next unless p.name
|
79
88
|
portlet_by_name = Web::Portlet.find_by_name(p.name)
|
80
89
|
assert_not_nil portlet_by_name
|
81
|
-
assert_equal
|
90
|
+
assert_equal p, portlet_by_name
|
82
91
|
end
|
83
92
|
end
|
84
93
|
|
@@ -1,9 +1,11 @@
|
|
1
|
-
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
require 'test/test_helper'
|
2
4
|
|
3
5
|
class TypesettingsTest < ActiveSupport::TestCase
|
4
6
|
fixtures [
|
5
|
-
:
|
6
|
-
:
|
7
|
+
:Layout,
|
8
|
+
:Portlet, :PortletPreferences, :portletproperties
|
7
9
|
]
|
8
10
|
|
9
11
|
def setup
|
@@ -26,6 +28,8 @@ class TypesettingsTest < ActiveSupport::TestCase
|
|
26
28
|
end
|
27
29
|
|
28
30
|
def test_include_noninstantiated
|
31
|
+
flunk mysql_bug if defined?(mysql_bug)
|
32
|
+
|
29
33
|
ts = Web::Typesettings.new.message_boards(:column => 2)
|
30
34
|
assert ts.include?(Web::Portlet.find_by_name('message_boards'))
|
31
35
|
assert !ts.include?(Web::Portlet.find_by_name('translator'))
|
data/test/unit/wiki/node_test.rb
CHANGED
data/test/unit/wiki/page_test.rb
CHANGED
@@ -1,5 +1,51 @@
|
|
1
|
-
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
require 'test/test_helper'
|
2
4
|
|
3
5
|
class Wiki::PageTest < ActiveSupport::TestCase
|
4
|
-
fixtures
|
6
|
+
fixtures [
|
7
|
+
:Company,
|
8
|
+
:User_,
|
9
|
+
:WikiPage,
|
10
|
+
:WikiNode,
|
11
|
+
:WikiPageResource,
|
12
|
+
:TagsAsset,
|
13
|
+
:ClassName_
|
14
|
+
]
|
15
|
+
|
16
|
+
def setup
|
17
|
+
@pages = Wiki::Page.all
|
18
|
+
flunk 'No wiki pages to test' unless @pages.any?
|
19
|
+
end
|
20
|
+
|
21
|
+
def test_company
|
22
|
+
@pages.each do |x|
|
23
|
+
assert_not_nil x.company
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
def test_node
|
28
|
+
@pages.each do |x|
|
29
|
+
assert_not_nil x.node
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
def test_user
|
34
|
+
@pages.each do |x|
|
35
|
+
assert_not_nil x.user
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
def test_resource
|
40
|
+
@pages.each do |x|
|
41
|
+
assert_not_nil x.resource
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
def test_asset
|
46
|
+
@pages.each do |x|
|
47
|
+
assert_not_nil x.asset
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
5
51
|
end
|
data/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lportal
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
hash: 49
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 1
|
8
|
+
- 0
|
9
|
+
- 19
|
10
|
+
version: 1.0.19
|
5
11
|
platform: ruby
|
6
12
|
authors:
|
7
13
|
- Mikael Lammentausta
|
@@ -9,29 +15,41 @@ autorequire: init
|
|
9
15
|
bindir: bin
|
10
16
|
cert_chain: []
|
11
17
|
|
12
|
-
date:
|
18
|
+
date: 2010-06-24 00:00:00 +03:00
|
13
19
|
default_executable:
|
14
20
|
dependencies:
|
15
21
|
- !ruby/object:Gem::Dependency
|
16
22
|
name: activerecord
|
17
|
-
|
18
|
-
|
19
|
-
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
20
26
|
requirements:
|
21
27
|
- - ">="
|
22
28
|
- !ruby/object:Gem::Version
|
29
|
+
hash: 19
|
30
|
+
segments:
|
31
|
+
- 1
|
32
|
+
- 2
|
33
|
+
- 6
|
23
34
|
version: 1.2.6
|
24
|
-
|
35
|
+
type: :runtime
|
36
|
+
version_requirements: *id001
|
25
37
|
- !ruby/object:Gem::Dependency
|
26
38
|
name: uuidtools
|
27
|
-
|
28
|
-
|
29
|
-
|
39
|
+
prerelease: false
|
40
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
30
42
|
requirements:
|
31
43
|
- - "="
|
32
44
|
- !ruby/object:Gem::Version
|
45
|
+
hash: 17
|
46
|
+
segments:
|
47
|
+
- 1
|
48
|
+
- 0
|
49
|
+
- 3
|
33
50
|
version: 1.0.3
|
34
|
-
|
51
|
+
type: :runtime
|
52
|
+
version_requirements: *id002
|
35
53
|
description:
|
36
54
|
email: mikael.lammentausta@gmail.com
|
37
55
|
executables: []
|
@@ -43,155 +61,218 @@ extra_rdoc_files:
|
|
43
61
|
- ChangeLog
|
44
62
|
- MIT-LICENSE
|
45
63
|
files:
|
46
|
-
- lib/
|
64
|
+
- lib/account.rb
|
65
|
+
- lib/acts/resourceful.rb
|
66
|
+
- lib/address.rb
|
67
|
+
- lib/announcement/delivery.rb
|
68
|
+
- lib/announcement/entry.rb
|
69
|
+
- lib/blog_post.rb
|
70
|
+
- lib/bookmark/entry.rb
|
71
|
+
- lib/bookmark/folder.rb
|
72
|
+
- lib/calevent.rb
|
73
|
+
- lib/classname.rb
|
74
|
+
- lib/company.rb
|
75
|
+
- lib/contact.rb
|
47
76
|
- lib/counter.rb
|
48
|
-
- lib/
|
49
|
-
- lib/
|
50
|
-
- lib/release.rb
|
77
|
+
- lib/country.rb
|
78
|
+
- lib/dl_file.rb
|
51
79
|
- lib/dl_folder.rb
|
52
|
-
- lib/
|
53
|
-
- lib/
|
54
|
-
- lib/
|
55
|
-
- lib/
|
56
|
-
- lib/
|
80
|
+
- lib/emailaddress.rb
|
81
|
+
- lib/group.rb
|
82
|
+
- lib/ig/folder.rb
|
83
|
+
- lib/ig/image.rb
|
84
|
+
- lib/image.rb
|
57
85
|
- lib/journal/article.rb
|
58
|
-
- lib/journal/feed.rb
|
59
86
|
- lib/journal/article_image.rb
|
60
|
-
- lib/
|
61
|
-
- lib/
|
87
|
+
- lib/journal/article_resource.rb
|
88
|
+
- lib/journal/feed.rb
|
89
|
+
- lib/journal/structure.rb
|
90
|
+
- lib/journal/template.rb
|
91
|
+
- lib/list_type.rb
|
92
|
+
- lib/mb/category.rb
|
93
|
+
- lib/mb/discussion.rb
|
94
|
+
- lib/mb/message.rb
|
95
|
+
- lib/mb/message_flag.rb
|
96
|
+
- lib/mb/stats_user.rb
|
97
|
+
- lib/mb/thread.rb
|
62
98
|
- lib/organization.rb
|
63
|
-
- lib/
|
64
|
-
- lib/wiki/page.rb
|
65
|
-
- lib/wiki/node.rb
|
66
|
-
- lib/wiki/pageresource.rb
|
67
|
-
- lib/emailaddress.rb
|
68
|
-
- lib/ig
|
69
|
-
- lib/ig/image.rb
|
70
|
-
- lib/ig/folder.rb
|
71
|
-
- lib/poll
|
72
|
-
- lib/poll/question.rb
|
99
|
+
- lib/permission.rb
|
73
100
|
- lib/phone.rb
|
74
|
-
- lib/
|
75
|
-
- lib/
|
76
|
-
- lib/
|
77
|
-
- lib/
|
78
|
-
- lib/
|
79
|
-
- lib/
|
80
|
-
- lib/
|
81
|
-
- lib/
|
101
|
+
- lib/poll/question.rb
|
102
|
+
- lib/ratings_stats.rb
|
103
|
+
- lib/release.rb
|
104
|
+
- lib/resource.rb
|
105
|
+
- lib/resource_code.rb
|
106
|
+
- lib/role.rb
|
107
|
+
- lib/social_activity.rb
|
108
|
+
- lib/social_relation.rb
|
82
109
|
- lib/tag/asset.rb
|
110
|
+
- lib/tag/entry.rb
|
83
111
|
- lib/tag/property.rb
|
84
|
-
- lib/
|
112
|
+
- lib/user.rb
|
85
113
|
- lib/usergroup.rb
|
86
|
-
- lib/classname.rb
|
87
|
-
- lib/mb
|
88
|
-
- lib/mb/thread.rb
|
89
|
-
- lib/mb/message.rb
|
90
|
-
- lib/mb/message_flag.rb
|
91
|
-
- lib/mb/category.rb
|
92
|
-
- lib/mb/stats_user.rb
|
93
|
-
- lib/mb/discussion.rb
|
94
|
-
- lib/web
|
95
|
-
- lib/web/portlet_properties.rb
|
96
114
|
- lib/web/layout.rb
|
97
|
-
- lib/web/portlet_preferences.rb
|
98
115
|
- lib/web/layout_set.rb
|
99
116
|
- lib/web/portlet.rb
|
117
|
+
- lib/web/portlet_preferences.rb
|
118
|
+
- lib/web/portlet_properties.rb
|
100
119
|
- lib/web/typesettings.rb
|
101
|
-
- lib/
|
102
|
-
- lib/
|
103
|
-
- lib/
|
104
|
-
-
|
105
|
-
- lib/bookmark
|
106
|
-
- lib/bookmark/entry.rb
|
107
|
-
- lib/bookmark/folder.rb
|
108
|
-
- lib/list_type.rb
|
109
|
-
- lib/contact.rb
|
110
|
-
- lib/resource.rb
|
111
|
-
- lib/role.rb
|
112
|
-
- lib/group.rb
|
113
|
-
- lib/address.rb
|
114
|
-
- schema.rb
|
115
|
-
- portlets.rb
|
116
|
-
- version.rb
|
120
|
+
- lib/wiki/node.rb
|
121
|
+
- lib/wiki/page.rb
|
122
|
+
- lib/wiki/pageresource.rb
|
123
|
+
- db_connection.rb
|
117
124
|
- init.rb
|
118
125
|
- lportal.rb
|
126
|
+
- portlets.rb
|
127
|
+
- rails_gem_chooser.rb
|
128
|
+
- schema.rb
|
129
|
+
- version.rb
|
119
130
|
- Rakefile
|
120
131
|
- migrations/20090101000001_add_sequences.rb
|
121
132
|
- migrations/20090309000001_portlet_properties.rb
|
133
|
+
- test/unit/account_test.rb
|
134
|
+
- test/unit/address_test.rb
|
135
|
+
- test/unit/announcement/delivery_test.rb
|
136
|
+
- test/unit/announcement/entry_test.rb
|
137
|
+
- test/unit/blog_post_test.rb
|
138
|
+
- test/unit/bookmark/entry_test.rb
|
139
|
+
- test/unit/bookmark/folder_test.rb
|
140
|
+
- test/unit/calevent_test.rb
|
141
|
+
- test/unit/company_test.rb
|
142
|
+
- test/unit/contact_test.rb
|
143
|
+
- test/unit/country_test.rb
|
144
|
+
- test/unit/dl_file_test.rb
|
145
|
+
- test/unit/dl_folder_test.rb
|
146
|
+
- test/unit/emailaddress_test.rb
|
147
|
+
- test/unit/group_test.rb
|
148
|
+
- test/unit/ig/folder_test.rb
|
149
|
+
- test/unit/ig/image_test.rb
|
150
|
+
- test/unit/image_test.rb
|
151
|
+
- test/unit/journal/article_image_test.rb
|
152
|
+
- test/unit/journal/article_resource_test.rb
|
153
|
+
- test/unit/journal/article_test.rb
|
154
|
+
- test/unit/journal/feed_test.rb
|
155
|
+
- test/unit/journal/structure_test.rb
|
156
|
+
- test/unit/journal/template_test.rb
|
157
|
+
- test/unit/mb/category_test.rb
|
158
|
+
- test/unit/mb/discussion_test.rb
|
159
|
+
- test/unit/mb/message_flag_test.rb
|
160
|
+
- test/unit/mb/message_test.rb
|
161
|
+
- test/unit/mb/stats_user_test.rb
|
162
|
+
- test/unit/mb/thread_test.rb
|
163
|
+
- test/unit/organization_test.rb
|
164
|
+
- test/unit/permission_test.rb
|
165
|
+
- test/unit/phone_test.rb
|
166
|
+
- test/unit/poll/question_test.rb
|
167
|
+
- test/unit/ratings_stats_test.rb
|
168
|
+
- test/unit/release_test.rb
|
169
|
+
- test/unit/resource_code_test.rb
|
170
|
+
- test/unit/resource_test.rb
|
171
|
+
- test/unit/role_test.rb
|
172
|
+
- test/unit/social_activity_test.rb
|
173
|
+
- test/unit/social_relation_test.rb
|
174
|
+
- test/unit/tag/asset_test.rb
|
175
|
+
- test/unit/tag/entry_test.rb
|
176
|
+
- test/unit/tag/property_test.rb
|
177
|
+
- test/unit/user_test.rb
|
178
|
+
- test/unit/usergroup_test.rb
|
179
|
+
- test/unit/web/layout_set_test.rb
|
180
|
+
- test/unit/web/layout_test.rb
|
181
|
+
- test/unit/web/portlet_preferences_test.rb
|
182
|
+
- test/unit/web/portlet_properties_test.rb
|
183
|
+
- test/unit/web/portlet_test.rb
|
184
|
+
- test/unit/web/typesettings_test.rb
|
185
|
+
- test/unit/wiki/node_test.rb
|
186
|
+
- test/unit/wiki/page_test.rb
|
122
187
|
- README
|
123
188
|
- ChangeLog
|
124
189
|
- MIT-LICENSE
|
125
190
|
has_rdoc: true
|
126
191
|
homepage: http://lportal.rubyforge.org/
|
192
|
+
licenses: []
|
193
|
+
|
127
194
|
post_install_message:
|
128
195
|
rdoc_options: []
|
129
196
|
|
130
197
|
require_paths:
|
131
198
|
- .
|
132
199
|
required_ruby_version: !ruby/object:Gem::Requirement
|
200
|
+
none: false
|
133
201
|
requirements:
|
134
202
|
- - ">="
|
135
203
|
- !ruby/object:Gem::Version
|
204
|
+
hash: 3
|
205
|
+
segments:
|
206
|
+
- 0
|
136
207
|
version: "0"
|
137
|
-
version:
|
138
208
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
209
|
+
none: false
|
139
210
|
requirements:
|
140
211
|
- - ">="
|
141
212
|
- !ruby/object:Gem::Version
|
213
|
+
hash: 3
|
214
|
+
segments:
|
215
|
+
- 0
|
142
216
|
version: "0"
|
143
|
-
version:
|
144
217
|
requirements: []
|
145
218
|
|
146
219
|
rubyforge_project: lportal
|
147
|
-
rubygems_version: 1.3.
|
220
|
+
rubygems_version: 1.3.7
|
148
221
|
signing_key:
|
149
|
-
specification_version:
|
222
|
+
specification_version: 3
|
150
223
|
summary: Liferay ActiveRecord models.
|
151
224
|
test_files:
|
152
|
-
- test/unit/
|
153
|
-
- test/unit/
|
154
|
-
- test/unit/
|
155
|
-
- test/unit/
|
225
|
+
- test/unit/account_test.rb
|
226
|
+
- test/unit/address_test.rb
|
227
|
+
- test/unit/announcement/delivery_test.rb
|
228
|
+
- test/unit/announcement/entry_test.rb
|
156
229
|
- test/unit/blog_post_test.rb
|
157
|
-
- test/unit/
|
158
|
-
- test/unit/
|
159
|
-
- test/unit/
|
160
|
-
- test/unit/
|
161
|
-
- test/unit/journal/template_test.rb
|
162
|
-
- test/unit/journal/article_image_test.rb
|
163
|
-
- test/unit/wiki/node_test.rb
|
164
|
-
- test/unit/wiki/page_test.rb
|
230
|
+
- test/unit/bookmark/entry_test.rb
|
231
|
+
- test/unit/bookmark/folder_test.rb
|
232
|
+
- test/unit/calevent_test.rb
|
233
|
+
- test/unit/company_test.rb
|
165
234
|
- test/unit/contact_test.rb
|
235
|
+
- test/unit/country_test.rb
|
166
236
|
- test/unit/dl_file_test.rb
|
167
|
-
- test/unit/release_test.rb
|
168
237
|
- test/unit/dl_folder_test.rb
|
169
|
-
- test/unit/
|
238
|
+
- test/unit/emailaddress_test.rb
|
239
|
+
- test/unit/group_test.rb
|
170
240
|
- test/unit/ig/folder_test.rb
|
241
|
+
- test/unit/ig/image_test.rb
|
242
|
+
- test/unit/image_test.rb
|
243
|
+
- test/unit/journal/article_image_test.rb
|
244
|
+
- test/unit/journal/article_resource_test.rb
|
245
|
+
- test/unit/journal/article_test.rb
|
246
|
+
- test/unit/journal/feed_test.rb
|
247
|
+
- test/unit/journal/structure_test.rb
|
248
|
+
- test/unit/journal/template_test.rb
|
249
|
+
- test/unit/mb/category_test.rb
|
250
|
+
- test/unit/mb/discussion_test.rb
|
251
|
+
- test/unit/mb/message_flag_test.rb
|
252
|
+
- test/unit/mb/message_test.rb
|
253
|
+
- test/unit/mb/stats_user_test.rb
|
254
|
+
- test/unit/mb/thread_test.rb
|
255
|
+
- test/unit/organization_test.rb
|
256
|
+
- test/unit/permission_test.rb
|
257
|
+
- test/unit/phone_test.rb
|
171
258
|
- test/unit/poll/question_test.rb
|
172
|
-
- test/unit/
|
173
|
-
- test/unit/
|
259
|
+
- test/unit/ratings_stats_test.rb
|
260
|
+
- test/unit/release_test.rb
|
261
|
+
- test/unit/resource_code_test.rb
|
174
262
|
- test/unit/resource_test.rb
|
263
|
+
- test/unit/role_test.rb
|
264
|
+
- test/unit/social_activity_test.rb
|
265
|
+
- test/unit/social_relation_test.rb
|
266
|
+
- test/unit/tag/asset_test.rb
|
175
267
|
- test/unit/tag/entry_test.rb
|
176
268
|
- test/unit/tag/property_test.rb
|
177
|
-
- test/unit/
|
178
|
-
- test/unit/
|
179
|
-
- test/unit/company_test.rb
|
180
|
-
- test/unit/mb/category_test.rb
|
181
|
-
- test/unit/mb/message_test.rb
|
182
|
-
- test/unit/mb/discussion_test.rb
|
183
|
-
- test/unit/mb/thread_test.rb
|
184
|
-
- test/unit/address_test.rb
|
185
|
-
- test/unit/web/typesettings_test.rb
|
186
|
-
- test/unit/web/portlet_properties_test.rb
|
269
|
+
- test/unit/user_test.rb
|
270
|
+
- test/unit/usergroup_test.rb
|
187
271
|
- test/unit/web/layout_set_test.rb
|
188
272
|
- test/unit/web/layout_test.rb
|
189
273
|
- test/unit/web/portlet_preferences_test.rb
|
274
|
+
- test/unit/web/portlet_properties_test.rb
|
190
275
|
- test/unit/web/portlet_test.rb
|
191
|
-
- test/unit/
|
192
|
-
- test/unit/
|
193
|
-
- test/unit/
|
194
|
-
- test/unit/bookmark/folder_test.rb
|
195
|
-
- test/unit/user_test.rb
|
196
|
-
- test/unit/permission_test.rb
|
197
|
-
- test/unit/phone_test.rb
|
276
|
+
- test/unit/web/typesettings_test.rb
|
277
|
+
- test/unit/wiki/node_test.rb
|
278
|
+
- test/unit/wiki/page_test.rb
|