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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 39e0dfb5d6d7e83432fe21a6f898b5b26a05fd18
4
- data.tar.gz: 7b33bedf9a7677a7a40d7fda5a023c302a596627
3
+ metadata.gz: a9c56522bcf927c5f68f713f4afac4e36b11abe4
4
+ data.tar.gz: 53ba8107849fe96a766f4ab5ed26d3d1a0ee340f
5
5
  SHA512:
6
- metadata.gz: 33960cdf65cd33484040001d1428db1946d63c895ac8d6b96f236728632ef2bd2a9245ba8078b46d907f9aeec9af397918b0d8cb164b775c779710aa0a4aca04
7
- data.tar.gz: 5072b55b250d39f8dfb18f19ec78f74e5b4074d5bfd15d19c40543c5a02467f07a3d7d2b704a2192423fe5f93491df1421b516af5ccc3706586ae905f4665de0
6
+ metadata.gz: 12eda6db9d591d3e1bec6c087d7c54a2d0d352b2b2be861f22a4ee8c45935d88e22116cf16b1e997bca3357b5edea5a74faf02c4f9d05fce4e999be03f9659d9
7
+ data.tar.gz: b15c49f43612e0b75d6c1708de2fad3a2703b51980a6339831dfa4d45e8be583dfd62ae7bebef0facfc12811f3f01772ea54d030e910c184e3b135d79ee1b8a2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.6
1
+ 0.2.7
@@ -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.6 ruby lib
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.6"
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-13"
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"]
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.6
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-13 00:00:00.000000000 Z
11
+ date: 2015-12-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails