amp-html 0.7.17 → 0.7.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +9 -7
- data/README.md +11 -1
- data/lib/amp-html/configuration.rb +1 -1
- data/lib/amp-html/version.rb +1 -1
- data/lib/generators/templates/helpers/README.md +0 -1
- data/lib/generators/templates/helpers/amp/font_tag_helper.rb +1 -1
- data/lib/generators/templates/install/README.md +0 -1
- data/lib/generators/templates/views/README.md +0 -1
- data/lib/generators/templates/views/application.html.erb +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: a8818a848ca98c5f753b7f2f7e4c06d750448caa
|
|
4
|
+
data.tar.gz: 1c7176ac929d34dbb171cfd69c5b0c03efea617f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 41718012a2c3cbc5c783d8e4c47dec2b6fa97b2fa91ddce51f76c3b692858a3e9922983176e26fc5c8cc214b6ca8fcdbb5b406b85c263007b3e4d4858ac0f324
|
|
7
|
+
data.tar.gz: f29a7640f729eb9c998bc4a503356954bc2fc2c84bb4c672bbc3ee471d24dfbbc75e52fdfd828a773ac79500a4c4c69a7a116fd86b493bc8e31976f61affcdfd
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
|
|
4
|
+
amp-html (0.7.18)
|
|
5
5
|
highline (~> 1.7)
|
|
6
6
|
launchy (~> 2.4)
|
|
7
7
|
rails (>= 4.0.0)
|
|
8
|
-
thor (~> 0.
|
|
8
|
+
thor (~> 0.20)
|
|
9
9
|
|
|
10
10
|
GEM
|
|
11
11
|
remote: https://rubygems.org/
|
|
@@ -76,6 +76,7 @@ GEM
|
|
|
76
76
|
mini_portile2 (~> 2.2.0)
|
|
77
77
|
nokogiri (1.8.0-x86-mingw32)
|
|
78
78
|
mini_portile2 (~> 2.2.0)
|
|
79
|
+
parallel (1.12.0)
|
|
79
80
|
parser (2.4.0.0)
|
|
80
81
|
ast (~> 2.2)
|
|
81
82
|
powerpack (0.1.1)
|
|
@@ -126,7 +127,8 @@ GEM
|
|
|
126
127
|
rspec-mocks (~> 3.6.0)
|
|
127
128
|
rspec-support (~> 3.6.0)
|
|
128
129
|
rspec-support (3.6.0)
|
|
129
|
-
rubocop (0.
|
|
130
|
+
rubocop (0.49.1)
|
|
131
|
+
parallel (~> 1.10)
|
|
130
132
|
parser (>= 2.3.3.1, < 3.0)
|
|
131
133
|
powerpack (~> 0.1)
|
|
132
134
|
rainbow (>= 1.99.1, < 3.0)
|
|
@@ -140,7 +142,7 @@ GEM
|
|
|
140
142
|
actionpack (>= 4.0)
|
|
141
143
|
activesupport (>= 4.0)
|
|
142
144
|
sprockets (>= 3.0.0)
|
|
143
|
-
thor (0.
|
|
145
|
+
thor (0.20.0)
|
|
144
146
|
thread_safe (0.3.6)
|
|
145
147
|
tzinfo (1.2.3)
|
|
146
148
|
thread_safe (~> 0.1)
|
|
@@ -154,9 +156,9 @@ PLATFORMS
|
|
|
154
156
|
x86-mingw32
|
|
155
157
|
|
|
156
158
|
DEPENDENCIES
|
|
157
|
-
|
|
158
|
-
rspec-rails (~> 3.
|
|
159
|
-
rubocop (~> 0.
|
|
159
|
+
amp-html!
|
|
160
|
+
rspec-rails (~> 3.6)
|
|
161
|
+
rubocop (~> 0.49)
|
|
160
162
|
|
|
161
163
|
BUNDLED WITH
|
|
162
164
|
1.15.4
|
data/README.md
CHANGED
|
@@ -18,6 +18,7 @@ Use the powerful features of AMP to make your Rails app consistently fast, beaut
|
|
|
18
18
|
* [Bug reports](#bug-reports)
|
|
19
19
|
* [Example applications](#example-applications)
|
|
20
20
|
* [Contributing](#contributing)
|
|
21
|
+
* [Versioning](#versioning)
|
|
21
22
|
* [Concept](#concept)
|
|
22
23
|
* [Features](#features)
|
|
23
24
|
* [Installation](#installation)
|
|
@@ -29,6 +30,7 @@ Use the powerful features of AMP to make your Rails app consistently fast, beaut
|
|
|
29
30
|
* [Guides](#guides)
|
|
30
31
|
* [Components](#components)
|
|
31
32
|
* [Contributors](#contributors)
|
|
33
|
+
* [References](#references)
|
|
32
34
|
* [License](#license)
|
|
33
35
|
|
|
34
36
|
---
|
|
@@ -37,7 +39,7 @@ Use the powerful features of AMP to make your Rails app consistently fast, beaut
|
|
|
37
39
|
|
|
38
40
|
### Quick info
|
|
39
41
|
|
|
40
|
-
#### Latest release: 0.7.
|
|
42
|
+
#### Latest release: 0.7.18 (Pre-release)
|
|
41
43
|
|
|
42
44
|
[**Changelog**](https://github.com/slooob/amp-html/blob/master/CHANGELOG.md), [Grab it from Rubygems](https://rubygems.org/gems/amp-html)
|
|
43
45
|
|
|
@@ -72,6 +74,10 @@ We hope that you will consider contributing to AMP-HTML. Please read this short
|
|
|
72
74
|
|
|
73
75
|
[Contributing](https://github.com/slooob/amp-html/blob/master/CONTRIBUTING.md), [Code of Conduct](https://github.com/slooob/amp-html/blob/master/CODE_OF_CONDUCT.md)
|
|
74
76
|
|
|
77
|
+
### Versioning
|
|
78
|
+
|
|
79
|
+
AmpHtml follows Semantic Versioning 2.0 as defined at http://semver.org.
|
|
80
|
+
|
|
75
81
|
## Concept
|
|
76
82
|
|
|
77
83
|
## Features
|
|
@@ -167,6 +173,10 @@ Give the people some :heart: who are working on this project. Check them all at:
|
|
|
167
173
|
|
|
168
174
|
[https://github.com/slooob/amp-html/graphs/contributors](https://github.com/slooob/amp-html/graphs/contributors)
|
|
169
175
|
|
|
176
|
+
## References
|
|
177
|
+
|
|
178
|
+
[Accelerated Mobile Pages](https://www.ampproject.org/)
|
|
179
|
+
|
|
170
180
|
## License
|
|
171
181
|
|
|
172
182
|
MIT License
|
data/lib/amp-html/version.rb
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
ABCDEFG
|
|
@@ -24,7 +24,7 @@ module ApplicationHelper
|
|
|
24
24
|
def amp_google_font family, types = {}
|
|
25
25
|
options = {}
|
|
26
26
|
|
|
27
|
-
href = 'https://fonts.googleapis.com/css?family=' + family.gsub
|
|
27
|
+
href = 'https://fonts.googleapis.com/css?family=' + family.gsub(' ', '+')
|
|
28
28
|
href = href + ':' + types.map(&:to_s).join(',') if types.size > 0
|
|
29
29
|
|
|
30
30
|
options[:href] = href
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
ABCDEFG
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
ABC
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
<!-- Use <%%#= content_for :title do %>App Name<%%# end %> to add a title to your view -->
|
|
14
|
-
<title><%% if content_for? :title %><%%= yield :title %><%% else %><%%=
|
|
14
|
+
<title><%% if content_for? :title %><%%= yield :title %><%% else %><%%= AmpHtml.application_name %><%% end %></title>
|
|
15
15
|
|
|
16
16
|
<% if options[:split] %>
|
|
17
17
|
<!-- Overwrite the passed parameter to specify a specific canonical url -->
|