message_train 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/app/controllers/concerns/message_train_support.rb +1 -1
- 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: 027342107a3d4d7cc91f25e95fddd7cd832683d4
|
4
|
+
data.tar.gz: efddd5dcb4ad8398ba1bc79628e631d7195f84cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9cced9083dc2fb1770de202b482dcf03c6ea4e998cb84ca20d80ae8537317f6f06fe258e850e15abdbd0ab82a138d4d7e837a078cd965ca1c961051c12b9845d
|
7
|
+
data.tar.gz: 3a338a9025e5b4c7db7cc8c1ef6f0ba576fc26006d9f82c4563e8595d16e4698f53157a209fc46297dfb5d890ad17102f5f82cb99d80924719f0a539a383de50
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.5
|
@@ -49,7 +49,7 @@ protected
|
|
49
49
|
collective_table, collective_id = params[:collective_id].split(':')
|
50
50
|
collective_class_name = MessageTrain.configuration.recipient_tables[collective_table.to_sym]
|
51
51
|
collective_model = collective_class_name.constantize
|
52
|
-
slug_column = MessageTrain.configuration.slug_columns[collective_table.to_sym]
|
52
|
+
slug_column = MessageTrain.configuration.slug_columns[collective_table.to_sym] || :slug
|
53
53
|
@collective = collective_model.find_by!(slug_column => collective_id)
|
54
54
|
|
55
55
|
unless @collective.allows_receiving_by?(@box_user) || @collective.allows_sending_by?(@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.5 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.5"
|
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"]
|