message_train 0.2.5 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.rdoc +6 -0
- data/VERSION +1 -1
- data/app/views/message_train/application/_widget.html.haml +7 -6
- data/message_train.gemspec +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 39e0dfb5d6d7e83432fe21a6f898b5b26a05fd18
|
4
|
+
data.tar.gz: 7b33bedf9a7677a7a40d7fda5a023c302a596627
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 33960cdf65cd33484040001d1428db1946d63c895ac8d6b96f236728632ef2bd2a9245ba8078b46d907f9aeec9af397918b0d8cb164b775c779710aa0a4aca04
|
7
|
+
data.tar.gz: 5072b55b250d39f8dfb18f19ec78f74e5b4074d5bfd15d19c40543c5a02467f07a3d7d2b704a2192423fe5f93491df1421b516af5ccc3706586ae905f4665de0
|
data/README.rdoc
CHANGED
@@ -50,6 +50,12 @@ In your layout, supposing you use haml:
|
|
50
50
|
#alert_area
|
51
51
|
= alert_flash_messages
|
52
52
|
|
53
|
+
If you use bootstrap, you can use the built-in bootstrap sidebar menu (makes use of bootstrap_leather, which is a dependency of this gem)
|
54
|
+
|
55
|
+
- if user_signed_in?
|
56
|
+
= message_train_widget
|
57
|
+
= render_widgets 'md', 3
|
58
|
+
|
53
59
|
=== Required helper methods
|
54
60
|
|
55
61
|
If you don't use devise with its `current_user` method, you will need to configure MessageTrain to use whatever method you use:
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.6
|
@@ -1,6 +1,7 @@
|
|
1
|
-
- if
|
2
|
-
-
|
3
|
-
|
4
|
-
|
5
|
-
-
|
6
|
-
|
1
|
+
- if ['boxes', 'conversations', 'messages'].include? controller_name
|
2
|
+
- if @collective.nil?
|
3
|
+
- add_widget do
|
4
|
+
= boxes_widget @box_user
|
5
|
+
- else
|
6
|
+
- add_widget do
|
7
|
+
= collective_boxes_widget @collective, @box_user
|
data/message_train.gemspec
CHANGED
@@ -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.2.
|
5
|
+
# stub: message_train 0.2.6 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "message_train"
|
9
|
-
s.version = "0.2.
|
9
|
+
s.version = "0.2.6"
|
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"]
|