infopark_fiona7 0.71.1.11 → 0.71.1.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fiona7/mode_switch/views.rb +2 -2
- data/lib/fiona7/routing_monkey_patch.rb +2 -2
- data/lib/fiona7/version.rb +1 -1
- 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: f4022da75c9cc31358e96b0c7acc02a2f600f076
|
4
|
+
data.tar.gz: 5f460a2ca0c1f02f0ff54949c11f04a1ea3ba6a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 449f8ecefe2906fb1bc8581dad50753611914588e6108a9f38447d1e502012b5cab2f5939454bc440423b31873de3fb2819d4e72d15f922d85240ac9734d3ad8
|
7
|
+
data.tar.gz: a703033b66e872469499468fb1b3ccbb29169cdb4ad149e13fcc0b6458dace9815a9cd1087ba749eb2a81c4f07780f1c77cf2b4233753daf07a8aab0c7087b10
|
@@ -13,11 +13,11 @@ module Fiona7
|
|
13
13
|
|
14
14
|
protected
|
15
15
|
def scrivito_sdk_path
|
16
|
-
Gem.loaded_specs['scrivito_sdk'].
|
16
|
+
Gem.loaded_specs['scrivito_sdk'].full_name
|
17
17
|
end
|
18
18
|
|
19
19
|
def fiona_connector_path
|
20
|
-
Gem.loaded_specs['infopark_fiona_connector'].
|
20
|
+
Gem.loaded_specs['infopark_fiona_connector'].full_name
|
21
21
|
end
|
22
22
|
|
23
23
|
def reorder_view_paths(first, second)
|
@@ -4,8 +4,8 @@ module ActionDispatch
|
|
4
4
|
def add_route(app, conditions = {}, requirements = {}, defaults = {}, name = nil, anchor = true)
|
5
5
|
raise ArgumentError, "Invalid route name: '#{name}'" unless name.blank? || name.to_s.match(/^[_a-z]\w*$/i)
|
6
6
|
|
7
|
-
forbidden_paths = [::File.join(Gem.loaded_specs['scrivito_sdk'].
|
8
|
-
::File.join(Gem.loaded_specs['infopark_fiona_connector'].
|
7
|
+
forbidden_paths = [::File.join(Gem.loaded_specs['scrivito_sdk'].full_name, "config/routes.rb"),
|
8
|
+
::File.join(Gem.loaded_specs['infopark_fiona_connector'].full_name, "config/cms_routes.rb")]
|
9
9
|
|
10
10
|
if caller.any? {|path| forbidden_paths.any? {|fp| path.include?(fp) } }
|
11
11
|
return # bad dog scrivito/fiona_connector, bad dog! no cms_routes for you
|
data/lib/fiona7/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: infopark_fiona7
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.71.1.
|
4
|
+
version: 0.71.1.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tomasz Przedmojski
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-04-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|