muck-activities 0.1.21 → 0.1.22

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/README.rdoc CHANGED
@@ -36,6 +36,11 @@ Create an activity model that 'acts_as_muck_activity':
36
36
  acts_as_muck_activity
37
37
  end
38
38
 
39
+ === CSS
40
+ Running rake muck:activities:sync will copy a default css file called muck-activities.css into your stylesheets directory.
41
+ You can include that file in your layout or copy it and modify it to meet your needs.
42
+ (Don't change the file as each time you run rake muck:activities:sync it will overwrite any changes you might have made.)
43
+
39
44
  === Authorization
40
45
  By default 'has_activities' will add a simple 'can_view?' method:
41
46
 
@@ -95,4 +100,4 @@ need to do:
95
100
  add_activity(user.feed_to, user, comment, 'comment')
96
101
 
97
102
 
98
- Copyright (c) 2009 Justin Ball, released under the MIT license
103
+ Copyright (c) 2009 Tatemae.com, released under the MIT license
data/Rakefile CHANGED
@@ -58,6 +58,7 @@ begin
58
58
  gemspec.add_dependency "muck-users"
59
59
  gemspec.add_dependency "muck-comments"
60
60
  end
61
+ Jeweler::GemcutterTasks.new
61
62
  Jeweler::RubyforgeTasks.new do |rubyforge|
62
63
  rubyforge.doc_task = "rdoc"
63
64
  end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.21
1
+ 0.1.22
data/locales/gl.yml CHANGED
@@ -2,7 +2,7 @@
2
2
  gl:
3
3
  muck:
4
4
  activities:
5
- activity_feed_title: "Atividade recente"
5
+ activity_feed_title: "Actividade recente"
6
6
  add_photos: "Adicionar fotos"
7
7
  add_videos: "Compartir vídeos"
8
8
  adding_comment_message: "Engadido comentario ..."
data/locales/hu.yml CHANGED
@@ -10,12 +10,12 @@ hu:
10
10
  clear: Világos
11
11
  create_error: "Probléma merült fel a hozzá adott tevékenységet: {{error}}"
12
12
  delete: Töröl
13
- invite_friends: "Friends meghívó"
13
+ invite_friends: "Invite Friends"
14
14
  item_could_not_be_removed: "Elem nem távolítható el a közelmúltban tevékenységek listáját."
15
15
  item_created: "Added tevékenység"
16
16
  item_removed: "Cikk sikeresen eltávolították a jelenlegi tevékenységét listán."
17
17
  joined_status: "{{name}} Csatlakozott {{application_name}}"
18
- make_comment: Kommentáld
18
+ make_comment: Megjegyzést
19
19
  paging_newer: «Újabb
20
20
  paging_older: "Older »"
21
21
  permission_denied: "Sajnáljuk, de nem tehetem meg."
data/locales/mt.yml CHANGED
@@ -8,7 +8,7 @@ mt:
8
8
  adding_comment_message: "Żieda comment ..."
9
9
  all_activities: "Attivitajiet Kollha"
10
10
  clear: Ċar
11
- create_error: "Għal kien hemm problema żżid l-attività mitluba: {{error}}"
11
+ create_error: "Kien hemm problema żżid l-attività mitluba: {{error}}"
12
12
  delete: Ħassar
13
13
  invite_friends: "Invite Friends"
14
14
  item_could_not_be_removed: "Oġġett ma jista 'jitneħħa mill-lista ta' attivitajiet reċenti."
data/locales/zh.yml CHANGED
@@ -29,6 +29,6 @@ zh:
29
29
  updating_status_message: 更新您的状态。请稍候。
30
30
  upload_files: 上传文件
31
31
  write: 写
32
- write_prompt: 写一评论...
32
+ write_prompt: 撰写评论...
33
33
  activity_templates:
34
34
  status_update: 状态更新
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{muck-activities}
8
- s.version = "0.1.21"
8
+ s.version = "0.1.22"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Justin Ball"]
12
- s.date = %q{2009-10-01}
12
+ s.date = %q{2009-10-27}
13
13
  s.description = %q{Activity engine for the muck system.}
14
14
  s.email = %q{justinball@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -95,6 +95,7 @@ Gem::Specification.new do |s|
95
95
  "muck-activities.gemspec",
96
96
  "public/images/loading.gif",
97
97
  "public/javascripts/muck_activities.js",
98
+ "public/stylesheets/muck-activities.css",
98
99
  "rails/init.rb",
99
100
  "tasks/muck_activity_tasks.rake",
100
101
  "test/rails_root/.gitignore",
@@ -0,0 +1,39 @@
1
+ /* activity feed */
2
+ #activity-status-control{border:solid 1px #ccc;padding:10px 7px;background-color:#eee;}
3
+ #status-update-field{}
4
+ ul#status-menu{list-style:none;}
5
+ ul#status-menu li{float:left;display:inline;margin:0 5px;}
6
+ #status-update-button input{padding:0;}
7
+ .status-update-dim{}
8
+ .status-update-lit{}
9
+ ul#activity-filter{list-style:none;}
10
+ ul#activity-filter li{border-bottom:solid 1px #ccc;}
11
+ ul#activity-filter li a{text-decoration:none;}
12
+ ul#activity-filter li a:hover;{text-decoration:underline;}
13
+ ul#activity-filter li.current a{color:#5EAC18;}
14
+ .activity{clear:both;display:block;}
15
+ #activity-feed{margin:15px 0 0 0;}
16
+ #activity-feed-content .activity{margin:8px 0 4px 0;}
17
+ #activity-feed-content .activity-time{font-size:1em;font-color:#eee;clear:left;}
18
+ #activity-icon, .actor-icon{width:50px;float:left;margin:0 10px 10px 0;}
19
+ #activity-feed-content .actor, #current-status-name{font-weight:bolder;font-size:1.3em;}
20
+ .activity-time, .status-time{color:#777777;font-size:.9em;}
21
+ p#current-status-text, .activity-content p{margin:0;}
22
+ form.activity-delete {position:relative;display:inline;float:right;display:none;}
23
+ form.activity-delete input{padding:0;margin:0;width:15px;height:15px;position:absolute;right:0px;bottom:0px;}
24
+ .activity .activity-hover form.activity-delete{display:block;}
25
+ .welcome_activity{font-size:14px;}
26
+ a.upload-button{background:transparent url('/images/icons/button_background.png') no-repeat scroll left top;text-decoration:none;padding:0px 23px 1px 6px;color:#fff;font-weight:bold;}
27
+ a.upload-button:hover{background:transparent url('/images/icons/button_background.png') no-repeat scroll left bottom;}
28
+ /* comments under activity feed */
29
+ .activity-comment{border:1px solid #ccc;margin:2px 50px 2px 60px;padding:.5em;background-color:#eee;}
30
+ .activity-comment .actor-icon{width:40px;}
31
+ .activity-comment .actor-icon img{width:40px;height:40px;}
32
+ .activity-comment textarea.max{width:80%;height:30px;}
33
+ .activity-comment textarea.min{height:15px;width:50%;}
34
+ .activity-comment p{margin:0;}
35
+ .activity-comment .actor a{font-size:.8em;}
36
+ .activity form.comment-delete {position:relative;display:inline;float:right;}
37
+ .activity form.comment-delete input{padding:0;margin:0;width:15px;height:15px;position:absolute;right:0px;top:0px;}
38
+ .activity form.comment-delete{display:none;}
39
+ .activity .comment-hover form.comment-delete{display:block;}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: muck-activities
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.21
4
+ version: 0.1.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Ball
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-10-01 00:00:00 -06:00
12
+ date: 2009-10-27 00:00:00 -06:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -130,6 +130,7 @@ files:
130
130
  - muck-activities.gemspec
131
131
  - public/images/loading.gif
132
132
  - public/javascripts/muck_activities.js
133
+ - public/stylesheets/muck-activities.css
133
134
  - rails/init.rb
134
135
  - tasks/muck_activity_tasks.rake
135
136
  - test/rails_root/.gitignore