message_train 0.2.6 → 0.2.7
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/message_train.gemspec +3 -3
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/helpers/message_train/application_helper_spec.rb +2 -0
- data/spec/rails_helper.rb +1 -0
- 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: a9c56522bcf927c5f68f713f4afac4e36b11abe4
|
4
|
+
data.tar.gz: 53ba8107849fe96a766f4ab5ed26d3d1a0ee340f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 12eda6db9d591d3e1bec6c087d7c54a2d0d352b2b2be861f22a4ee8c45935d88e22116cf16b1e997bca3357b5edea5a74faf02c4f9d05fce4e999be03f9659d9
|
7
|
+
data.tar.gz: b15c49f43612e0b75d6c1708de2fad3a2703b51980a6339831dfa4d45e8be583dfd62ae7bebef0facfc12811f3f01772ea54d030e910c184e3b135d79ee1b8a2
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.7
|
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.7 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.7"
|
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-17"
|
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"]
|
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
@@ -13,6 +13,7 @@ describe MessageTrain::ApplicationHelper do
|
|
13
13
|
describe '#message_train_widget' do
|
14
14
|
context 'when @collective is nil' do
|
15
15
|
before do
|
16
|
+
helper.stub(:controller_name) { 'boxes' }
|
16
17
|
assign(:collective, nil)
|
17
18
|
assign(:box_user, first_user)
|
18
19
|
helper.message_train_widget
|
@@ -24,6 +25,7 @@ describe MessageTrain::ApplicationHelper do
|
|
24
25
|
end
|
25
26
|
context 'when @collective is set' do
|
26
27
|
before do
|
28
|
+
helper.stub(:controller_name) { 'boxes' }
|
27
29
|
assign(:collective, membered_group)
|
28
30
|
assign(:box_user, first_user)
|
29
31
|
helper.message_train_widget
|
data/spec/rails_helper.rb
CHANGED
@@ -73,6 +73,7 @@ RSpec.configure do |config|
|
|
73
73
|
config.infer_spec_type_from_file_location!
|
74
74
|
|
75
75
|
config.expect_with(:rspec) { |c| c.syntax = [:should, :expect] }
|
76
|
+
config.mock_with(:rspec) { |c| c.syntax = [:should, :expect] }
|
76
77
|
|
77
78
|
config.before(:each) { @routes = MessageTrain::Engine.routes }
|
78
79
|
config.include MessageTrain::Engine.routes.url_helpers
|
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.7
|
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-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|