simplec 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/simplec/action_controller/extensions.rb +4 -2
- data/lib/simplec/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: b0b7d4593344d7269aa06e45087efda7849a7651
|
4
|
+
data.tar.gz: 0fa8f29b58a5d090641b5b888709b8cbff12eb98
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95c9af9159b2f4e1d0c97ea56ce8a3630de1c87348b406302d085d7920bc52a91a77533b232fb9cb433ec7aba4999620995938a65cc9fefa7291904798ab8c8a
|
7
|
+
data.tar.gz: 7e6258e48fedf02c613a691662c8198de8eb7a218b85d8b06e5c5d5c03eca1afdb00ccbf6d1b0c6e99c306fc21d439da7f37a3bce15db71378e0f18c5daedf7b
|
@@ -48,8 +48,9 @@ module Simplec
|
|
48
48
|
#
|
49
49
|
# @return [String, nil] path of page, or nil
|
50
50
|
def simplec_path_for(page_or_path, options={})
|
51
|
-
page = page_for(page_or_path, options
|
51
|
+
page = page_for(page_or_path, options)
|
52
52
|
return unless page
|
53
|
+
options.delete(:raise)
|
53
54
|
simplec.page_path options.merge(
|
54
55
|
path: page.path
|
55
56
|
)
|
@@ -73,8 +74,9 @@ module Simplec
|
|
73
74
|
#
|
74
75
|
# @return [String, nil] path of page, or nil
|
75
76
|
def simplec_url_for(page_or_path, options={})
|
76
|
-
page = page_for(page_or_path, options
|
77
|
+
page = page_for(page_or_path, options)
|
77
78
|
return unless page
|
79
|
+
options.delete(:raise)
|
78
80
|
simplec.page_url options.merge(
|
79
81
|
subdomain: page.subdomain.try(:name),
|
80
82
|
path: page.path
|
data/lib/simplec/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simplec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Smith
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-09-
|
11
|
+
date: 2017-09-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|