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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a9c56522bcf927c5f68f713f4afac4e36b11abe4
4
- data.tar.gz: 53ba8107849fe96a766f4ab5ed26d3d1a0ee340f
3
+ metadata.gz: 7775ee02a33c6ab68b117056c0e3d298784d5f56
4
+ data.tar.gz: 91eb46b284336dda8cf2ee28561a8b2b3ca5776d
5
5
  SHA512:
6
- metadata.gz: 12eda6db9d591d3e1bec6c087d7c54a2d0d352b2b2be861f22a4ee8c45935d88e22116cf16b1e997bca3357b5edea5a74faf02c4f9d05fce4e999be03f9659d9
7
- data.tar.gz: b15c49f43612e0b75d6c1708de2fad3a2703b51980a6339831dfa4d45e8be583dfd62ae7bebef0facfc12811f3f01772ea54d030e910c184e3b135d79ee1b8a2
6
+ metadata.gz: a19a458094c985c79b829ce67979abe3f03a838ff2ecab4ee7ee9ff565c699f13b6977af19e8e0e7839ce9544a417d517dce64cd2ecd1f58ffd9f4810c7ac294
7
+ data.tar.gz: 7f3720a49c6c4e5bc0c70f1db32193cf71490ec0fc8077bd3f37bfa84cabd9f6b3462bda8a7356cc3a4cbd352cd5e41c0c334fed5a9b3880eb046d1a1faf6420
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.7
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
- .row
7
- .col-md-8
8
- - if @collective.nil?
9
- = render partial: 'message_train/participants/field', locals: { message: message, field_name: :users }
10
- - else
11
- = render partial: 'message_train/participants/prefilled_field', locals: { message: message, recipient: @collective }
12
- = f.text_field :subject
13
- = f.text_area :body, class: 'wysiwyg'
14
- .col-md-4
15
- .links
16
- .pull-right= 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'})
17
- %h3
18
- = :attachments.l
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]'
@@ -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.7 ruby lib
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.7"
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-17"
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.7
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-17 00:00:00.000000000 Z
11
+ date: 2015-12-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails