message_train 0.2.7 → 0.2.8
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.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/app/views/message_train/messages/_form.html.haml +13 -16
- data/message_train.gemspec +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7775ee02a33c6ab68b117056c0e3d298784d5f56
|
|
4
|
+
data.tar.gz: 91eb46b284336dda8cf2ee28561a8b2b3ca5776d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a19a458094c985c79b829ce67979abe3f03a838ff2ecab4ee7ee9ff565c699f13b6977af19e8e0e7839ce9544a417d517dce64cd2ecd1f58ffd9f4810c7ac294
|
|
7
|
+
data.tar.gz: 7f3720a49c6c4e5bc0c70f1db32193cf71490ec0fc8077bd3f37bfa84cabd9f6b3462bda8a7356cc3a4cbd352cd5e41c0c334fed5a9b3880eb046d1a1faf6420
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.2.
|
|
1
|
+
0.2.8
|
|
@@ -3,21 +3,18 @@
|
|
|
3
3
|
- else
|
|
4
4
|
- resource = message.new_record? ? message_train.collective_box_messages_path(@collective.path_part, @box) : message_train.collective_box_message_path(@collective.path_part, @box, message)
|
|
5
5
|
= bootstrap_form_for message, url: resource do |f|
|
|
6
|
-
.
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
.
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
#attachments
|
|
20
|
-
= f.fields_for :attachments do |attachment|
|
|
21
|
-
= render 'attachment_fields', f: attachment
|
|
6
|
+
- if @collective.nil?
|
|
7
|
+
= render partial: 'message_train/participants/field', locals: { message: message, field_name: :users }
|
|
8
|
+
- else
|
|
9
|
+
= render partial: 'message_train/participants/prefilled_field', locals: { message: message, recipient: @collective }
|
|
10
|
+
= f.text_field :subject
|
|
11
|
+
= f.text_area :body, class: 'wysiwyg'
|
|
12
|
+
.links
|
|
13
|
+
%h3
|
|
14
|
+
= link_to_add_association(icon('plus'), f, :attachments, title: :add_attachment.l, class: 'btn btn-info', id: 'add-attachment', data: { association_insertion_method: 'append', association_insertion_node: '#attachments'})
|
|
15
|
+
= :attachments.l
|
|
16
|
+
#attachments
|
|
17
|
+
= f.fields_for :attachments do |attachment|
|
|
18
|
+
= render 'attachment_fields', f: attachment
|
|
22
19
|
= f.submit :save_as_draft.l, name: 'message[draft]'
|
|
23
20
|
= f.submit :send.l, class: 'btn btn-primary', name: 'message[draft]'
|
data/message_train.gemspec
CHANGED
|
@@ -2,16 +2,16 @@
|
|
|
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.8 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.8"
|
|
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"]
|
|
13
13
|
s.authors = ["Karen Lundgren"]
|
|
14
|
-
s.date = "2015-12-
|
|
14
|
+
s.date = "2015-12-27"
|
|
15
15
|
s.description = "Rails 4 Engine providing private/public messaging for any object, such as Users or Groups"
|
|
16
16
|
s.email = "karen.e.lundgren@gmail.com"
|
|
17
17
|
s.executables = ["rails"]
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: message_train
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Karen Lundgren
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-12-
|
|
11
|
+
date: 2015-12-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|