amp-html 0.7.16 → 0.7.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +1 -1
- data/lib/amp-html/configuration.rb +3 -3
- data/lib/amp-html/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a48f986b660abe1d3d02dcee24581ad7b26e59ec
|
4
|
+
data.tar.gz: 859d1c6ab741704410a88e0ac14ba2686fb757e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 48fbe3821289fcf4bfcb0be85da9d61e0eb3423cc033d37a439ac758968312dcbf1292638e957c59354053c39934df005f8803380c50dbd7edf69dac5afa8be2
|
7
|
+
data.tar.gz: 4b0913c82663a48a269c16cb797b0c93c2682377e9305916b4be4fe096f4a74ca523b9b93270eb033044d09319e9938f69d979e8a8ff80f5ff555673cf0dce65
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -37,7 +37,7 @@ Use the powerful features of AMP to make your Rails app consistently fast, beaut
|
|
37
37
|
|
38
38
|
### Quick info
|
39
39
|
|
40
|
-
#### Latest release: 0.7.
|
40
|
+
#### Latest release: 0.7.17 (Pre-release)
|
41
41
|
|
42
42
|
[**Changelog**](https://github.com/slooob/amp-html/blob/master/CHANGELOG.md), [Grab it from Rubygems](https://rubygems.org/gems/amp-html)
|
43
43
|
|
@@ -2,7 +2,7 @@ module AmpHtml
|
|
2
2
|
|
3
3
|
def self.default_format
|
4
4
|
config = get_config
|
5
|
-
if config.key
|
5
|
+
if config.key(:default_format)
|
6
6
|
config[:default_format]
|
7
7
|
else
|
8
8
|
'amp'
|
@@ -21,7 +21,7 @@ module AmpHtml
|
|
21
21
|
|
22
22
|
def self.components
|
23
23
|
config = get_config
|
24
|
-
if config.key
|
24
|
+
if config.key(:components)
|
25
25
|
config[:components]
|
26
26
|
else
|
27
27
|
nil
|
@@ -31,7 +31,7 @@ module AmpHtml
|
|
31
31
|
|
32
32
|
def self.split_view
|
33
33
|
config = get_config
|
34
|
-
if config.key
|
34
|
+
if config.key(:split_view)
|
35
35
|
config[:split_view]
|
36
36
|
else
|
37
37
|
false
|
data/lib/amp-html/version.rb
CHANGED