message_train 0.2.2 → 0.2.3
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/lib/message_train/mixin.rb +1 -1
- 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: 40b3dcaa8c7b9cb892e2e8c6efced2582a184ce8
|
|
4
|
+
data.tar.gz: 41ec0b42f7664d4f6a130a8674829189a0324991
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f194e0ae12d4aa41362256f5e615c3cff625678b8feb719a1e65f8df954b1f033931f3c45ec81cca73edfdfdb2438abbf4fd9d76b87d8a4beb6ed728fefbf9af
|
|
7
|
+
data.tar.gz: fb7de219889e9f0e51a63225b3494b480f0224798edfd758eb0696471bbebda9f70915e9c7f73963d838bdd3bf827753f19271c631cb642ac631721d06f9f3e8
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.2.
|
|
1
|
+
0.2.3
|
data/lib/message_train/mixin.rb
CHANGED
|
@@ -125,7 +125,7 @@ module MessageTrain
|
|
|
125
125
|
collective_box_tables.each do |table_sym, collectives_method|
|
|
126
126
|
class_name = MessageTrain.configuration.recipient_tables[table_sym]
|
|
127
127
|
model = class_name.constantize
|
|
128
|
-
collectives = model.send(collectives_method,
|
|
128
|
+
collectives = model.send(collectives_method, participant)
|
|
129
129
|
unless collectives.empty?
|
|
130
130
|
collectives.each do |collective|
|
|
131
131
|
collective_boxes[table_sym] ||= []
|
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.3 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.3"
|
|
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-13"
|
|
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.3
|
|
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-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|