think_feel_do_engine 3.14.6 → 3.14.7

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: 08e7a5e4921610620c52fac43b67cf51d7f28234
4
- data.tar.gz: a8a70cae1d2a29a65b7a16aed85af54a71ec61d6
3
+ metadata.gz: 6f6254fd47d318dc7d56d53e80c99d4f388d207c
4
+ data.tar.gz: b7848c0a7ce18bfe532fa395966886d25f06764e
5
5
  SHA512:
6
- metadata.gz: 2a13657f4377dd27419d76480f745c94ec63a378833dd6d1db5c0e8824ef2937a9583881db5e6e871e1180e341bb6a68c62f05adfaf5058b365605734bd7eee7
7
- data.tar.gz: 797ab24a7eff630f63249f454f3c2b39d4f0382fd3870a3996ae2985ec07305c4e58dc2b00e7237883c6059a5ab548c49f7541e2cf99ad32c8b00984de635b27
6
+ metadata.gz: e95d8aa852da0d28e3cbfd95c0abfa016304c0ff172d5c4ecf3cfe91e3974f38fdb06596d73fef89995d6e2971c81a51a4b65c6fc4c2bcf7d252e5a3bc33e478
7
+ data.tar.gz: 0c4d6e1b4233923db7db2d4cd6c8039ae7ae3d1bb67e927fab0300a2c1e8bfb7a34b3e801214b2bcb40dd9c941430d2c8a9909fc2baff326a47ae30f83a2f30a
@@ -109,8 +109,13 @@ module ThinkFeelDoEngine
109
109
  end
110
110
 
111
111
  def record_not_found
112
- redirect_to arm_lessons_url(@arm),
113
- alert: "Unable to find lesson, please try again."
112
+ if @arm
113
+ redirect_to arm_lessons_url(@arm),
114
+ alert: "Unable to find lesson, please try again."
115
+ else
116
+ redirect_to main_app.root_path,
117
+ alert: "Unable to find arm, please try again."
118
+ end
114
119
  end
115
120
 
116
121
  def set_arm
@@ -0,0 +1,7 @@
1
+ # This migration comes from bit_core (originally 20160311210938)
2
+ class ChangeShowNextNavColumnDefault < ActiveRecord::Migration
3
+ def change
4
+ change_column_default :bit_core_content_providers, :show_next_nav, false
5
+ change_column_null :bit_core_content_providers, :show_next_nav, false
6
+ end
7
+ end
@@ -1,4 +1,4 @@
1
1
  # nodoc
2
2
  module ThinkFeelDoEngine
3
- VERSION = "3.14.6"
3
+ VERSION = "3.14.7"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: think_feel_do_engine
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.14.6
4
+ version: 3.14.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Carty-Fickes
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-06 00:00:00.000000000 Z
11
+ date: 2016-04-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -949,6 +949,7 @@ files:
949
949
  - db/migrate/20160203222002_create_gratitude_recordings.rb
950
950
  - db/migrate/20160205212840_create_experiences.rb
951
951
  - db/migrate/20160209225643_add_emotions_thoughts_body_feelings_to_experience.rb
952
+ - db/migrate/20160404195642_change_show_next_nav_column_default.bit_core.rb
952
953
  - lib/tasks/lesson_notifications.rake
953
954
  - lib/tasks/seed.rake
954
955
  - lib/tasks/think_feel_do_engine_tasks.rake