effective_regions 1.1.1 → 1.2.0

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: 898f48156e4d032aa0f3fbfa1573c23e37eab233
4
- data.tar.gz: 8c5d860b6f5e1345cfdc73e6c2b0cce02b59d546
3
+ metadata.gz: 1402399f8ff72dbb00f4f7a8f8f0f95f1570b297
4
+ data.tar.gz: 39358c292ded863b23e6bb76dd15aa505dce7c11
5
5
  SHA512:
6
- metadata.gz: 506499a34084633a4bc25a224f3d3e66fbf115f81433f5ea8236b455c819f585bd173a0ee76387f2e8c2dc56175382dbc51b445a0cfca101ed358e9a65781bea
7
- data.tar.gz: e63b58a5f284714248405d1d7eda1f5b418a9a934770ac503c9d3cc419cc53c58b14785abb3ec220580ed94b7f78c12f65c9be8a9187799890261a024c350a5c
6
+ metadata.gz: 99f3d78308d78d3e0408b576e45553d81f67fc06de00dc25e2fe7df9b75414bd0e31d31cd0d3b00b518535ebc3d0f3d38ff9c4131e7e4928baf3fd3d88849306
7
+ data.tar.gz: cb2d1b4a79be9bbd1e110be5595809ddea8e2e8428408a70888720a958619834d065a3235bc0cbc451237a8a4ae8a0632bfaeb79483adeb920654a0e3be97c4c
@@ -55,6 +55,11 @@ module Effective
55
55
  to_save.save!
56
56
  end
57
57
 
58
+ # Hand off the appropriate params to EffectivePages gem
59
+ if defined?(EffectivePages)
60
+ Effective::Menu.update_from_effective_regions!(params[:effective_menus])
61
+ end
62
+
58
63
  render :text => javascript_should_refresh_page, :status => 200
59
64
  return
60
65
  end
@@ -1,3 +1,3 @@
1
1
  module EffectiveRegions
2
- VERSION = '1.1.1'
2
+ VERSION = '1.2.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_regions
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-31 00:00:00.000000000 Z
11
+ date: 2015-01-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: 1.1.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: '0'
40
+ version: 1.1.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: migrant
43
43
  requirement: !ruby/object:Gem::Requirement