message_train 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fd6dff9cb07a01a27a95e16c531b466937199b58
4
- data.tar.gz: fa5bde71c0d21d49506fc32b5ba22a62baaeba1f
3
+ metadata.gz: 87e3f169b4aae2317db505e31bd0b8207ba8c9a1
4
+ data.tar.gz: 9b46ef1313ba8fcb8cbbe83bc4c543771b67deea
5
5
  SHA512:
6
- metadata.gz: 1a823e19a6cc6586403ed015028ace253564024b01a2700f65359399d39ded0e5b75b5f9eeb05647e93286515a300a71da7e9b6fc1c288e07509475489fcc007
7
- data.tar.gz: 908a7e9ff82ad2d566ff0916a48966a3b665b12669632e05c458237d8ccd58001c23076875e464ce84d04579564e9cab6f4c586b528db7d1bf947e268994683f
6
+ metadata.gz: 269a008a97192febfa7c9690fe6844933c1eb310ef143417f797ae056fde72cf5e2202a32af870c1083f06a0b8c76c380ece5aca154cedaae4465ab452bdf1ab
7
+ data.tar.gz: c27e5441ea34871b93cc268ab8561e03229d706549a504de24b99fded4866f25cd261fab834e0541ba6e0d24cbfaac7cb239b4e0f32d3be885638d96718575ff
data/README.rdoc CHANGED
@@ -70,6 +70,33 @@ And in your initializer:
70
70
 
71
71
  self.address_book_method = :address_book
72
72
 
73
+ == View Helpers
74
+
75
+ === Boxes
76
+ [boxes_dropdown_list] Bootstrap navigation dropdown list of boxes
77
+ [boxes_widget] Bootstrap widget with list of boxes
78
+ [box_nav_item(box)] Bootstrap list item for one box
79
+ [box_list_item(box)] Bootstrap list item for one box
80
+ [box_participant_name(participant)] Name of the participant, according to the method specified in your configuration or model.
81
+ [box_participant_slug(participant)] Slug of the participant, according to the method specified in your configuration or model.
82
+
83
+ === Conversations
84
+ [conversation_senders(conversation)] List of senders for a given conversation
85
+ [conversation_class(box, conversation)] CSS class to put on a given conversation when in a certain box
86
+ [conversation_trashed_toggle(conversation)] Link to toggle trashed status of a conversation
87
+ [conversation_read_toggle(conversation)] Link to toggle read status of a conversation
88
+ [conversation_ignored_toggle(conversation)] Link to toggle ignored status of a conversation
89
+ [conversation_deleted_toggle(conversation)] Link to toggle deleted status of a conversation
90
+ [conversation_toggle(conversation, icon, mark_to_set, method, title, options = {})] Link to toggle some status of a conversation
91
+
92
+ === Messages
93
+ [message_class(box, message)] CSS class to put on a given message when in a certain box
94
+ [message_trashed_toggle(message)] Link to toggle trashed status of a message
95
+ [message_read_toggle(message)] Link to toggle read status of a message
96
+ [message_deleted_toggle(message)] Link to toggle ignored status of a message
97
+ [message_toggle(message, icon, mark_to_set, title, options = {})] Link to toggle some status of a message
98
+ [message_recipients(message)] Recipients for a given message
99
+
73
100
  == Contributing to MessageTrain
74
101
 
75
102
  * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.3
1
+ 0.1.4
@@ -7,6 +7,7 @@ module MessageTrain
7
7
  def show
8
8
  @messages = @conversation.messages.page(params[:page])
9
9
  render :show
10
+ @box.mark :read, @messages
10
11
  end
11
12
 
12
13
  # PATCH/PUT /box/in/conversations/1
@@ -2,11 +2,11 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: message_train 0.1.3 ruby lib
5
+ # stub: message_train 0.1.4 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "message_train"
9
- s.version = "0.1.3"
9
+ s.version = "0.1.4"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
@@ -37,7 +37,6 @@ Gem::Specification.new do |s|
37
37
  "app/controllers/message_train/conversations_controller.rb",
38
38
  "app/controllers/message_train/messages_controller.rb",
39
39
  "app/controllers/message_train/participants_controller.rb",
40
- "app/helpers/message_train/application_helper.rb",
41
40
  "app/helpers/message_train/boxes_helper.rb",
42
41
  "app/helpers/message_train/conversations_helper.rb",
43
42
  "app/helpers/message_train/messages_helper.rb",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: message_train
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Karen Lundgren
@@ -386,7 +386,6 @@ files:
386
386
  - app/controllers/message_train/conversations_controller.rb
387
387
  - app/controllers/message_train/messages_controller.rb
388
388
  - app/controllers/message_train/participants_controller.rb
389
- - app/helpers/message_train/application_helper.rb
390
389
  - app/helpers/message_train/boxes_helper.rb
391
390
  - app/helpers/message_train/conversations_helper.rb
392
391
  - app/helpers/message_train/messages_helper.rb
@@ -1,4 +0,0 @@
1
- module MessageTrain
2
- module ApplicationHelper
3
- end
4
- end