effective_regions 1.6.0 → 1.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/helpers/effective_regions_helper.rb +1 -1
- data/lib/effective_regions.rb +4 -2
- data/lib/effective_regions/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5b6d66be462d576f41140f11e056d18a5c1a007e
|
4
|
+
data.tar.gz: 3173674c8852923816b50381eeb39d386ae645c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 158ebb93a1187be93d122d3ebe1dedf66e2cbd2250e3db1eeaf5f693faeb20ba09bda80a13c5cc38594a5d73c2ae3ab7c4abcaa7642f42a875cf099a7ce792e2
|
7
|
+
data.tar.gz: 808b42036e976bc95a107dddf9e105b7a3a6c1ae6b342fec2c2147c770758134396291eeb18767f4f40c9a7c256631b20347543325f784b64ed0eb43e06da9cd
|
@@ -63,7 +63,7 @@ module EffectiveRegionsHelper
|
|
63
63
|
|
64
64
|
if effectively_editing?
|
65
65
|
can_edit = (EffectiveRegions.authorized?(controller, :update, obj) rescue false)
|
66
|
-
opts[:id] = [model_name_from_record_or_class(obj).param_key(), obj.
|
66
|
+
opts[:id] = [model_name_from_record_or_class(obj).param_key(), obj.to_param, title].join('_')
|
67
67
|
end
|
68
68
|
else # This is a global region
|
69
69
|
regions = (@effective_regions_global ||= Effective::Region.global.to_a)
|
data/lib/effective_regions.rb
CHANGED
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.6.
|
4
|
+
version: 1.6.1
|
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: 2015-
|
11
|
+
date: 2015-10-30 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: 1.
|
33
|
+
version: 1.7.4
|
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: 1.
|
40
|
+
version: 1.7.4
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: migrant
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|