amp-html 0.7.10 → 0.7.11
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/amp-html.gemspec +1 -1
- data/lib/amp-html.rb +12 -12
- data/lib/{amp_html → amp-html}/cli.rb +0 -0
- data/lib/{amp_html → amp-html}/components/docs/README.md +0 -0
- data/lib/{amp_html → amp-html}/components/docs/ad.md +0 -0
- data/lib/{amp_html → amp-html}/components/docs/analytics.md +0 -0
- data/lib/{amp_html → amp-html}/components/docs/anim.md +0 -0
- data/lib/{amp_html → amp-html}/components/docs/fonts.md +0 -0
- data/lib/{amp_html → amp-html}/components/docs/forms.md +0 -0
- data/lib/{amp_html → amp-html}/components/docs/iframe.md +0 -0
- data/lib/{amp_html → amp-html}/components/docs/javascript.md +0 -0
- data/lib/{amp_html → amp-html}/components/docs/lists.md +0 -0
- data/lib/{amp_html → amp-html}/components/docs/media.md +0 -0
- data/lib/{amp_html → amp-html}/components/docs/mustache.md +0 -0
- data/lib/{amp_html → amp-html}/components/docs/notifications.md +0 -0
- data/lib/{amp_html → amp-html}/components/docs/schema.md +0 -0
- data/lib/{amp_html → amp-html}/components/docs/service_worker.md +0 -0
- data/lib/{amp_html → amp-html}/components/docs/social.md +0 -0
- data/lib/{amp_html → amp-html}/components/docs/stylesheets.md +0 -0
- data/lib/{amp_html → amp-html}/components/help.rb +2 -2
- data/lib/{amp_html → amp-html}/components/install.rb +4 -4
- data/lib/{amp_html → amp-html}/components/templates/ERROR.md +0 -0
- data/lib/{amp_html → amp-html}/components/templates/README.md +0 -0
- data/lib/{amp_html → amp-html}/configuration.rb +0 -0
- data/lib/{amp_html → amp-html}/configuration/docs/README.md +0 -0
- data/lib/{amp_html → amp-html}/configuration/help.rb +1 -1
- data/lib/{amp_html → amp-html}/helpers/docs/README.md +0 -0
- data/lib/{amp_html → amp-html}/helpers/docs/amp.md +0 -0
- data/lib/{amp_html → amp-html}/helpers/docs/amp_ad.md +0 -0
- data/lib/{amp_html → amp-html}/helpers/docs/amp_analytics.md +0 -0
- data/lib/{amp_html → amp-html}/helpers/docs/amp_anim.md +0 -0
- data/lib/{amp_html → amp-html}/helpers/docs/amp_audio.md +0 -0
- data/lib/{amp_html → amp-html}/helpers/docs/amp_auto_ads.md +0 -0
- data/lib/{amp_html → amp-html}/helpers/docs/amp_close_user_notification_button.md +0 -0
- data/lib/{amp_html → amp-html}/helpers/docs/amp_css.md +0 -0
- data/lib/{amp_html → amp-html}/helpers/docs/amp_css_link.md +0 -0
- data/lib/{amp_html → amp-html}/helpers/docs/amp_custom_ad.md +0 -0
- data/lib/{amp_html → amp-html}/helpers/docs/amp_document_link.md +0 -0
- data/lib/{amp_html → amp-html}/helpers/docs/amp_embed.md +0 -0
- data/lib/{amp_html → amp-html}/helpers/docs/amp_facebook.md +0 -0
- data/lib/{amp_html → amp-html}/helpers/docs/amp_fallback.md +0 -0
- data/lib/{amp_html → amp-html}/helpers/docs/amp_font.md +0 -0
- data/lib/{amp_html → amp-html}/helpers/docs/amp_font_link.md +0 -0
- data/lib/{amp_html → amp-html}/helpers/docs/amp_form.md +0 -0
- data/lib/{amp_html → amp-html}/helpers/docs/amp_form_response.md +0 -0
- data/lib/{amp_html → amp-html}/helpers/docs/amp_gfycat.md +0 -0
- data/lib/{amp_html → amp-html}/helpers/docs/amp_global_css.md +0 -0
- data/lib/{amp_html → amp-html}/helpers/docs/amp_google_analytics.md +0 -0
- data/lib/{amp_html → amp-html}/helpers/docs/amp_google_font.md +0 -0
- data/lib/{amp_html → amp-html}/helpers/docs/amp_head.md +0 -0
- data/lib/{amp_html → amp-html}/helpers/docs/amp_html_doctype.md +0 -0
- data/lib/{amp_html → amp-html}/helpers/docs/amp_iframe.md +0 -0
- data/lib/{amp_html → amp-html}/helpers/docs/amp_image.md +0 -0
- data/lib/{amp_html → amp-html}/helpers/docs/amp_input.md +0 -0
- data/lib/{amp_html → amp-html}/helpers/docs/amp_instagram.md +0 -0
- data/lib/{amp_html → amp-html}/helpers/docs/amp_js.md +0 -0
- data/lib/{amp_html → amp-html}/helpers/docs/amp_link.md +0 -0
- data/lib/{amp_html → amp-html}/helpers/docs/amp_list.md +0 -0
- data/lib/{amp_html → amp-html}/helpers/docs/amp_live_list.md +0 -0
- data/lib/{amp_html → amp-html}/helpers/docs/amp_live_list_items.md +0 -0
- data/lib/{amp_html → amp-html}/helpers/docs/amp_live_list_pagination.md +0 -0
- data/lib/{amp_html → amp-html}/helpers/docs/amp_live_list_update.md +0 -0
- data/lib/{amp_html → amp-html}/helpers/docs/amp_mustache.md +0 -0
- data/lib/{amp_html → amp-html}/helpers/docs/amp_pin_it.md +0 -0
- data/lib/{amp_html → amp-html}/helpers/docs/amp_pin_widget.md +0 -0
- data/lib/{amp_html → amp-html}/helpers/docs/amp_pinterest_follow.md +0 -0
- data/lib/{amp_html → amp-html}/helpers/docs/amp_pixel.md +0 -0
- data/lib/{amp_html → amp-html}/helpers/docs/amp_placeholder.md +0 -0
- data/lib/{amp_html → amp-html}/helpers/docs/amp_reddit.md +0 -0
- data/lib/{amp_html → amp-html}/helpers/docs/amp_resources.md +0 -0
- data/lib/{amp_html → amp-html}/helpers/docs/amp_selector.md +0 -0
- data/lib/{amp_html → amp-html}/helpers/docs/amp_serviceworker.md +0 -0
- data/lib/{amp_html → amp-html}/helpers/docs/amp_social_share.md +0 -0
- data/lib/{amp_html → amp-html}/helpers/docs/amp_soundcloud.md +0 -0
- data/lib/{amp_html → amp-html}/helpers/docs/amp_twitter.md +0 -0
- data/lib/{amp_html → amp-html}/helpers/docs/amp_user_notification.md +0 -0
- data/lib/{amp_html → amp-html}/helpers/docs/amp_video.md +0 -0
- data/lib/{amp_html → amp-html}/helpers/docs/amp_video_ad.md +0 -0
- data/lib/{amp_html → amp-html}/helpers/docs/amp_vine.md +0 -0
- data/lib/{amp_html → amp-html}/helpers/docs/amp_youtube.md +0 -0
- data/lib/{amp_html → amp-html}/helpers/docs/audio_tag.md +0 -0
- data/lib/{amp_html → amp-html}/helpers/docs/canonical_document_link.md +0 -0
- data/lib/{amp_html → amp-html}/helpers/docs/form_tag.md +0 -0
- data/lib/{amp_html → amp-html}/helpers/docs/image_tag.md +0 -0
- data/lib/{amp_html → amp-html}/helpers/docs/input_tag.md +0 -0
- data/lib/{amp_html → amp-html}/helpers/docs/javascript_include_tag.md +0 -0
- data/lib/{amp_html → amp-html}/helpers/docs/noscript_tag.md +0 -0
- data/lib/{amp_html → amp-html}/helpers/docs/schema_tag.md +0 -0
- data/lib/{amp_html → amp-html}/helpers/docs/stylesheet_link_tag.md +0 -0
- data/lib/{amp_html → amp-html}/helpers/docs/video_tag.md +0 -0
- data/lib/{amp_html → amp-html}/helpers/help.rb +3 -3
- data/lib/{amp_html → amp-html}/root.rb +0 -0
- data/lib/{amp_html → amp-html}/test.rb +11 -11
- data/lib/{amp_html → amp-html}/test/help.rb +1 -1
- data/lib/{amp_html → amp-html}/test/templates/README.md +0 -0
- data/lib/{amp_html → amp-html}/test/templates/css/!important.md +0 -0
- data/lib/{amp_html → amp-html}/test/templates/css/-amp-.md +0 -0
- data/lib/{amp_html → amp-html}/test/templates/css/-moz-binding.md +0 -0
- data/lib/{amp_html → amp-html}/test/templates/css/@import.md +0 -0
- data/lib/{amp_html → amp-html}/test/templates/css/behavior.md +0 -0
- data/lib/{amp_html → amp-html}/test/templates/css/filter.md +0 -0
- data/lib/{amp_html → amp-html}/test/templates/css/i-amp-.md +0 -0
- data/lib/{amp_html → amp-html}/test/templates/css/overflow.md +0 -0
- data/lib/{amp_html → amp-html}/test/templates/html/applet.md +0 -0
- data/lib/{amp_html → amp-html}/test/templates/html/audio.md +0 -0
- data/lib/{amp_html → amp-html}/test/templates/html/base.md +0 -0
- data/lib/{amp_html → amp-html}/test/templates/html/embed.md +0 -0
- data/lib/{amp_html → amp-html}/test/templates/html/frame.md +0 -0
- data/lib/{amp_html → amp-html}/test/templates/html/frameset.md +0 -0
- data/lib/{amp_html → amp-html}/test/templates/html/http-equiv.md +0 -0
- data/lib/{amp_html → amp-html}/test/templates/html/iframe.md +0 -0
- data/lib/{amp_html → amp-html}/test/templates/html/img.md +0 -0
- data/lib/{amp_html → amp-html}/test/templates/html/javascript_include_tag.md +0 -0
- data/lib/{amp_html → amp-html}/test/templates/html/object.md +0 -0
- data/lib/{amp_html → amp-html}/test/templates/html/onclick.md +0 -0
- data/lib/{amp_html → amp-html}/test/templates/html/onmousehover.md +0 -0
- data/lib/{amp_html → amp-html}/test/templates/html/param.md +0 -0
- data/lib/{amp_html → amp-html}/test/templates/html/stylesheet_link_tag.md +0 -0
- data/lib/{amp_html → amp-html}/test/templates/html/video.md +0 -0
- data/lib/{amp_html → amp-html}/test/templates/markup/!doctype.md +0 -0
- data/lib/{amp_html → amp-html}/test/templates/markup/amp_document_link.md +0 -0
- data/lib/{amp_html → amp-html}/test/templates/markup/amp_head.md +0 -0
- data/lib/{amp_html → amp-html}/test/templates/markup/amp_html_doctype.md +0 -0
- data/lib/{amp_html → amp-html}/test/templates/markup/canonical_document_link.md +0 -0
- data/lib/{amp_html → amp-html}/test/templates/markup/head_body.md +0 -0
- data/lib/{amp_html → amp-html}/test/templates/markup/html.md +0 -0
- data/lib/{amp_html → amp-html}/test/templates/markup/meta_viewport.md +0 -0
- data/lib/{amp_html → amp-html}/validate.rb +0 -0
- data/lib/{amp_html → amp-html}/validate/help.rb +1 -1
- data/lib/{amp_html → amp-html}/validate/templates/README.md +0 -0
- data/lib/{amp_html → amp-html}/version.rb +1 -1
- metadata +130 -130
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e1c34055d61449fff6ade83e37cddee936596dc4
|
4
|
+
data.tar.gz: 23c58db6eedf3beaa4750c3c1b3df99aa65ca5fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ceb8de1c706701e9369f3236ebc284ec637517af0a1e47076079525b1b4a681b2dc92b0661f9edea11b6216615400d13a3596ce37b170b993ef70072aeef34c8
|
7
|
+
data.tar.gz: dde2fa3bc670da52cb13d7ea31023e40c4e11e89e2ad768b7b9332f486b0c2ee8dc827425b085826fc7f23c6c0fa349152566abe03c15633fbf2ee627be44169
|
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.11 (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
|
|
data/amp-html.gemspec
CHANGED
data/lib/amp-html.rb
CHANGED
@@ -6,22 +6,22 @@ end
|
|
6
6
|
|
7
7
|
module AmpHtml
|
8
8
|
|
9
|
-
require '
|
10
|
-
require '
|
9
|
+
require 'amp-html/root'
|
10
|
+
require 'amp-html/version'
|
11
11
|
|
12
|
-
require '
|
12
|
+
require 'amp-html/cli'
|
13
13
|
|
14
|
-
require '
|
15
|
-
require '
|
14
|
+
require 'amp-html/configuration'
|
15
|
+
require 'amp-html/configuration/help'
|
16
16
|
|
17
|
-
require '
|
18
|
-
require '
|
17
|
+
require 'amp-html/test'
|
18
|
+
require 'amp-html/validate'
|
19
19
|
|
20
|
-
require '
|
20
|
+
require 'amp-html/components/install'
|
21
21
|
|
22
|
-
require '
|
23
|
-
require '
|
24
|
-
require '
|
25
|
-
require '
|
22
|
+
require 'amp-html/helpers/help'
|
23
|
+
require 'amp-html/components/help'
|
24
|
+
require 'amp-html/test/help'
|
25
|
+
require 'amp-html/validate/help'
|
26
26
|
|
27
27
|
end
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -3,12 +3,12 @@ module AmpHtml
|
|
3
3
|
class Help
|
4
4
|
|
5
5
|
def self.all
|
6
|
-
puts IO.read File.join AmpHtml.root, '
|
6
|
+
puts IO.read File.join AmpHtml.root, 'amp-html', 'components', 'docs', 'README.md'
|
7
7
|
end
|
8
8
|
|
9
9
|
def self.component name
|
10
10
|
begin
|
11
|
-
puts IO.read File.join AmpHtml.root, '
|
11
|
+
puts IO.read File.join AmpHtml.root, 'amp-html', 'components', 'docs', "#{name}.md"
|
12
12
|
rescue Exception
|
13
13
|
warn 'Component is not available'
|
14
14
|
end
|
@@ -9,9 +9,9 @@ module AmpHtml
|
|
9
9
|
success1 = system "rails g amp-html:components#{ ' -s' if AmpHtml.split_view }#{ ' -f ' + AmpHtml.raw_format if AmpHtml.raw_format }#{ ' --analytics' if AmpHtml.components && AmpHtml.components.include?('analytics') || AmpHtml.components && AmpHtml.components.include?('notifications') }#{ ' --iframe' if AmpHtml.components && AmpHtml.components.include?('iframe') || AmpHtml.components && AmpHtml.components.include?('javascript') || AmpHtml.components && AmpHtml.components.include?('service_worker') }#{' --notifications' if AmpHtml.components && AmpHtml.components.include?('notifications') }#{ ' --anim' if AmpHtml.components && AmpHtml.components.include?('anim') }#{ ' --ad' if AmpHtml.components && AmpHtml.components.include?('ad') }#{ ' --social' if AmpHtml.components && AmpHtml.components.include?('social') }#{ ' --javascript' if (AmpHtml.components && AmpHtml.components.include?('javascript')) }#{ ' --service_worker' if (AmpHtml.components && AmpHtml.components.include?('service_worker')) }#{ ' --lists' if (AmpHtml.components && AmpHtml.components.include?('lists')) }"
|
10
10
|
success2 = system "rails g amp-html:install --only_initializer#{ ' --javascript' if (AmpHtml.components && AmpHtml.components.include?('javascript')) }"
|
11
11
|
if success1 && success2
|
12
|
-
puts IO.read File.join AmpHtml.root, '
|
12
|
+
puts IO.read File.join AmpHtml.root, 'amp-html', 'components', 'templates', 'README.md'
|
13
13
|
else
|
14
|
-
puts IO.read File.join AmpHtml.root, '
|
14
|
+
puts IO.read File.join AmpHtml.root, 'amp-html', 'components', 'templates', 'ERROR.md'
|
15
15
|
end
|
16
16
|
end
|
17
17
|
|
@@ -22,9 +22,9 @@ module AmpHtml
|
|
22
22
|
success3 = system "rails g amp-html:views --only_resources#{ ' --javascript' if (AmpHtml.components && AmpHtml.components.include?('javascript')) || component == 'javascript' }"
|
23
23
|
if success1 && success2 && success3
|
24
24
|
puts "Successfully installed '#{component}' component!"
|
25
|
-
puts IO.read File.join AmpHtml.root, '
|
25
|
+
puts IO.read File.join AmpHtml.root, 'amp-html', 'components', 'templates', 'README.md'
|
26
26
|
else
|
27
|
-
puts IO.read File.join AmpHtml.root, '
|
27
|
+
puts IO.read File.join AmpHtml.root, 'amp-html', 'components', 'templates', 'ERROR.md'
|
28
28
|
end
|
29
29
|
end
|
30
30
|
end
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -3,15 +3,15 @@ module AmpHtml
|
|
3
3
|
class Help
|
4
4
|
|
5
5
|
def self.all
|
6
|
-
puts IO.read File.join AmpHtml.root, '
|
6
|
+
puts IO.read File.join AmpHtml.root, 'amp-html', 'helpers', 'docs', 'README.md'
|
7
7
|
end
|
8
8
|
|
9
9
|
def self.helper name
|
10
10
|
begin
|
11
11
|
if name == 'amp?'
|
12
|
-
puts IO.read File.join AmpHtml.root, '
|
12
|
+
puts IO.read File.join AmpHtml.root, 'amp-html', 'helpers', 'docs', 'amp.md'
|
13
13
|
else
|
14
|
-
puts IO.read File.join AmpHtml.root, '
|
14
|
+
puts IO.read File.join AmpHtml.root, 'amp-html', 'helpers', 'docs', "#{name}.md"
|
15
15
|
end
|
16
16
|
rescue Exception
|
17
17
|
warn 'Helper is not available'
|
File without changes
|
@@ -105,12 +105,12 @@ module AmpHtml
|
|
105
105
|
|
106
106
|
def self.markup_test results
|
107
107
|
if results.present?
|
108
|
-
puts check1 = IO.read(File.join AmpHtml.root, '
|
109
|
-
puts check2 = IO.read(File.join AmpHtml.root, '
|
110
|
-
puts check3 = IO.read(File.join AmpHtml.root, '
|
111
|
-
puts check4 = IO.read(File.join AmpHtml.root, '
|
112
|
-
puts check5 = IO.read(File.join AmpHtml.root, '
|
113
|
-
puts check6 = IO.read(File.join AmpHtml.root, '
|
108
|
+
puts check1 = IO.read(File.join AmpHtml.root, 'amp-html', 'test', 'templates', 'markup', 'meta_viewport.md') unless results.has_value?('<meta name="viewport" content="width=device-width,minimum-scale=1')
|
109
|
+
puts check2 = IO.read(File.join AmpHtml.root, 'amp-html', 'test', 'templates', 'markup', 'head_body.md') unless results.has_value?('<head') || results.has_value?('<body')
|
110
|
+
puts check3 = IO.read(File.join AmpHtml.root, 'amp-html', 'test', 'templates', 'markup', 'amp_html_doctype.md') unless results.has_value?('amp_html_doctype')
|
111
|
+
puts check4 = IO.read(File.join AmpHtml.root, 'amp-html', 'test', 'templates', 'markup', 'canonical_document_link.md') unless results.has_value?('canonical_document_link')
|
112
|
+
puts check5 = IO.read(File.join AmpHtml.root, 'amp-html', 'test', 'templates', 'markup', 'amp_head.md') unless results.has_value?('amp_head')
|
113
|
+
puts check6 = IO.read(File.join AmpHtml.root, 'amp-html', 'test', 'templates', 'markup', 'canonical_document_link.md') if AmpHtml.split_view && results.has_value?('amp_document_link') == false
|
114
114
|
end
|
115
115
|
unless check1 && check2 && check3 && check4 && check5 && check6
|
116
116
|
return true
|
@@ -125,10 +125,10 @@ module AmpHtml
|
|
125
125
|
results.each do |source, string|
|
126
126
|
case string
|
127
127
|
when "<input type='image'" || "<input type='button'" || "<input type='password'" || "<input type='file'"
|
128
|
-
puts IO.read File.join AmpHtml.root, '
|
128
|
+
puts IO.read File.join AmpHtml.root, 'amp-html', 'test', 'templates', 'html', 'input.md'
|
129
129
|
puts source
|
130
130
|
else
|
131
|
-
puts IO.read(File.join AmpHtml.root, '
|
131
|
+
puts IO.read(File.join AmpHtml.root, 'amp-html', 'test', 'templates', 'html', "#{string.gsub('<', '')}.md")
|
132
132
|
puts source
|
133
133
|
end
|
134
134
|
end
|
@@ -145,15 +145,15 @@ module AmpHtml
|
|
145
145
|
results.each do |source, string|
|
146
146
|
case string
|
147
147
|
when 'overflow: auto' || 'overflow: scroll' || 'overflow-x: auto' || 'overflow-x: scroll' || 'overflow-y: auto' || 'overflow-y: scroll'
|
148
|
-
puts IO.read File.join AmpHtml.root, '
|
148
|
+
puts IO.read File.join AmpHtml.root, 'amp-html', 'test', 'templates', 'css', 'overflow.md'
|
149
149
|
puts source
|
150
150
|
when '-amp-'
|
151
151
|
unless source.include? 'application/amp/_resources.html'
|
152
|
-
puts IO.read File.join AmpHtml.root, '
|
152
|
+
puts IO.read File.join AmpHtml.root, 'amp-html', 'test', "templates', 'css', "#{string}.md"
|
153
153
|
puts source
|
154
154
|
end
|
155
155
|
else
|
156
|
-
puts IO.read File.join AmpHtml.root, '
|
156
|
+
puts IO.read File.join AmpHtml.root, 'amp-html', 'test', 'templates', 'css', "#{string}.md"
|
157
157
|
puts source
|
158
158
|
end
|
159
159
|
end
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: amp-html
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonas Hübotter
|
@@ -95,135 +95,135 @@ files:
|
|
95
95
|
- amp-html.gemspec
|
96
96
|
- bin/amp-html
|
97
97
|
- lib/amp-html.rb
|
98
|
-
- lib/
|
99
|
-
- lib/
|
100
|
-
- lib/
|
101
|
-
- lib/
|
102
|
-
- lib/
|
103
|
-
- lib/
|
104
|
-
- lib/
|
105
|
-
- lib/
|
106
|
-
- lib/
|
107
|
-
- lib/
|
108
|
-
- lib/
|
109
|
-
- lib/
|
110
|
-
- lib/
|
111
|
-
- lib/
|
112
|
-
- lib/
|
113
|
-
- lib/
|
114
|
-
- lib/
|
115
|
-
- lib/
|
116
|
-
- lib/
|
117
|
-
- lib/
|
118
|
-
- lib/
|
119
|
-
- lib/
|
120
|
-
- lib/
|
121
|
-
- lib/
|
122
|
-
- lib/
|
123
|
-
- lib/
|
124
|
-
- lib/
|
125
|
-
- lib/
|
126
|
-
- lib/
|
127
|
-
- lib/
|
128
|
-
- lib/
|
129
|
-
- lib/
|
130
|
-
- lib/
|
131
|
-
- lib/
|
132
|
-
- lib/
|
133
|
-
- lib/
|
134
|
-
- lib/
|
135
|
-
- lib/
|
136
|
-
- lib/
|
137
|
-
- lib/
|
138
|
-
- lib/
|
139
|
-
- lib/
|
140
|
-
- lib/
|
141
|
-
- lib/
|
142
|
-
- lib/
|
143
|
-
- lib/
|
144
|
-
- lib/
|
145
|
-
- lib/
|
146
|
-
- lib/
|
147
|
-
- lib/
|
148
|
-
- lib/
|
149
|
-
- lib/
|
150
|
-
- lib/
|
151
|
-
- lib/
|
152
|
-
- lib/
|
153
|
-
- lib/
|
154
|
-
- lib/
|
155
|
-
- lib/
|
156
|
-
- lib/
|
157
|
-
- lib/
|
158
|
-
- lib/
|
159
|
-
- lib/
|
160
|
-
- lib/
|
161
|
-
- lib/
|
162
|
-
- lib/
|
163
|
-
- lib/
|
164
|
-
- lib/
|
165
|
-
- lib/
|
166
|
-
- lib/
|
167
|
-
- lib/
|
168
|
-
- lib/
|
169
|
-
- lib/
|
170
|
-
- lib/
|
171
|
-
- lib/
|
172
|
-
- lib/
|
173
|
-
- lib/
|
174
|
-
- lib/
|
175
|
-
- lib/
|
176
|
-
- lib/
|
177
|
-
- lib/
|
178
|
-
- lib/
|
179
|
-
- lib/
|
180
|
-
- lib/
|
181
|
-
- lib/
|
182
|
-
- lib/
|
183
|
-
- lib/
|
184
|
-
- lib/
|
185
|
-
- lib/
|
186
|
-
- lib/
|
187
|
-
- lib/
|
188
|
-
- lib/
|
189
|
-
- lib/
|
190
|
-
- lib/
|
191
|
-
- lib/
|
192
|
-
- lib/
|
193
|
-
- lib/
|
194
|
-
- lib/
|
195
|
-
- lib/
|
196
|
-
- lib/
|
197
|
-
- lib/
|
198
|
-
- lib/
|
199
|
-
- lib/
|
200
|
-
- lib/
|
201
|
-
- lib/
|
202
|
-
- lib/
|
203
|
-
- lib/
|
204
|
-
- lib/
|
205
|
-
- lib/
|
206
|
-
- lib/
|
207
|
-
- lib/
|
208
|
-
- lib/
|
209
|
-
- lib/
|
210
|
-
- lib/
|
211
|
-
- lib/
|
212
|
-
- lib/
|
213
|
-
- lib/
|
214
|
-
- lib/
|
215
|
-
- lib/
|
216
|
-
- lib/
|
217
|
-
- lib/
|
218
|
-
- lib/
|
219
|
-
- lib/
|
220
|
-
- lib/
|
221
|
-
- lib/
|
222
|
-
- lib/
|
223
|
-
- lib/
|
224
|
-
- lib/
|
225
|
-
- lib/
|
226
|
-
- lib/
|
98
|
+
- lib/amp-html/cli.rb
|
99
|
+
- lib/amp-html/components/docs/README.md
|
100
|
+
- lib/amp-html/components/docs/ad.md
|
101
|
+
- lib/amp-html/components/docs/analytics.md
|
102
|
+
- lib/amp-html/components/docs/anim.md
|
103
|
+
- lib/amp-html/components/docs/fonts.md
|
104
|
+
- lib/amp-html/components/docs/forms.md
|
105
|
+
- lib/amp-html/components/docs/iframe.md
|
106
|
+
- lib/amp-html/components/docs/javascript.md
|
107
|
+
- lib/amp-html/components/docs/lists.md
|
108
|
+
- lib/amp-html/components/docs/media.md
|
109
|
+
- lib/amp-html/components/docs/mustache.md
|
110
|
+
- lib/amp-html/components/docs/notifications.md
|
111
|
+
- lib/amp-html/components/docs/schema.md
|
112
|
+
- lib/amp-html/components/docs/service_worker.md
|
113
|
+
- lib/amp-html/components/docs/social.md
|
114
|
+
- lib/amp-html/components/docs/stylesheets.md
|
115
|
+
- lib/amp-html/components/help.rb
|
116
|
+
- lib/amp-html/components/install.rb
|
117
|
+
- lib/amp-html/components/templates/ERROR.md
|
118
|
+
- lib/amp-html/components/templates/README.md
|
119
|
+
- lib/amp-html/configuration.rb
|
120
|
+
- lib/amp-html/configuration/docs/README.md
|
121
|
+
- lib/amp-html/configuration/help.rb
|
122
|
+
- lib/amp-html/helpers/docs/README.md
|
123
|
+
- lib/amp-html/helpers/docs/amp.md
|
124
|
+
- lib/amp-html/helpers/docs/amp_ad.md
|
125
|
+
- lib/amp-html/helpers/docs/amp_analytics.md
|
126
|
+
- lib/amp-html/helpers/docs/amp_anim.md
|
127
|
+
- lib/amp-html/helpers/docs/amp_audio.md
|
128
|
+
- lib/amp-html/helpers/docs/amp_auto_ads.md
|
129
|
+
- lib/amp-html/helpers/docs/amp_close_user_notification_button.md
|
130
|
+
- lib/amp-html/helpers/docs/amp_css.md
|
131
|
+
- lib/amp-html/helpers/docs/amp_css_link.md
|
132
|
+
- lib/amp-html/helpers/docs/amp_custom_ad.md
|
133
|
+
- lib/amp-html/helpers/docs/amp_document_link.md
|
134
|
+
- lib/amp-html/helpers/docs/amp_embed.md
|
135
|
+
- lib/amp-html/helpers/docs/amp_facebook.md
|
136
|
+
- lib/amp-html/helpers/docs/amp_fallback.md
|
137
|
+
- lib/amp-html/helpers/docs/amp_font.md
|
138
|
+
- lib/amp-html/helpers/docs/amp_font_link.md
|
139
|
+
- lib/amp-html/helpers/docs/amp_form.md
|
140
|
+
- lib/amp-html/helpers/docs/amp_form_response.md
|
141
|
+
- lib/amp-html/helpers/docs/amp_gfycat.md
|
142
|
+
- lib/amp-html/helpers/docs/amp_global_css.md
|
143
|
+
- lib/amp-html/helpers/docs/amp_google_analytics.md
|
144
|
+
- lib/amp-html/helpers/docs/amp_google_font.md
|
145
|
+
- lib/amp-html/helpers/docs/amp_head.md
|
146
|
+
- lib/amp-html/helpers/docs/amp_html_doctype.md
|
147
|
+
- lib/amp-html/helpers/docs/amp_iframe.md
|
148
|
+
- lib/amp-html/helpers/docs/amp_image.md
|
149
|
+
- lib/amp-html/helpers/docs/amp_input.md
|
150
|
+
- lib/amp-html/helpers/docs/amp_instagram.md
|
151
|
+
- lib/amp-html/helpers/docs/amp_js.md
|
152
|
+
- lib/amp-html/helpers/docs/amp_link.md
|
153
|
+
- lib/amp-html/helpers/docs/amp_list.md
|
154
|
+
- lib/amp-html/helpers/docs/amp_live_list.md
|
155
|
+
- lib/amp-html/helpers/docs/amp_live_list_items.md
|
156
|
+
- lib/amp-html/helpers/docs/amp_live_list_pagination.md
|
157
|
+
- lib/amp-html/helpers/docs/amp_live_list_update.md
|
158
|
+
- lib/amp-html/helpers/docs/amp_mustache.md
|
159
|
+
- lib/amp-html/helpers/docs/amp_pin_it.md
|
160
|
+
- lib/amp-html/helpers/docs/amp_pin_widget.md
|
161
|
+
- lib/amp-html/helpers/docs/amp_pinterest_follow.md
|
162
|
+
- lib/amp-html/helpers/docs/amp_pixel.md
|
163
|
+
- lib/amp-html/helpers/docs/amp_placeholder.md
|
164
|
+
- lib/amp-html/helpers/docs/amp_reddit.md
|
165
|
+
- lib/amp-html/helpers/docs/amp_resources.md
|
166
|
+
- lib/amp-html/helpers/docs/amp_selector.md
|
167
|
+
- lib/amp-html/helpers/docs/amp_serviceworker.md
|
168
|
+
- lib/amp-html/helpers/docs/amp_social_share.md
|
169
|
+
- lib/amp-html/helpers/docs/amp_soundcloud.md
|
170
|
+
- lib/amp-html/helpers/docs/amp_twitter.md
|
171
|
+
- lib/amp-html/helpers/docs/amp_user_notification.md
|
172
|
+
- lib/amp-html/helpers/docs/amp_video.md
|
173
|
+
- lib/amp-html/helpers/docs/amp_video_ad.md
|
174
|
+
- lib/amp-html/helpers/docs/amp_vine.md
|
175
|
+
- lib/amp-html/helpers/docs/amp_youtube.md
|
176
|
+
- lib/amp-html/helpers/docs/audio_tag.md
|
177
|
+
- lib/amp-html/helpers/docs/canonical_document_link.md
|
178
|
+
- lib/amp-html/helpers/docs/form_tag.md
|
179
|
+
- lib/amp-html/helpers/docs/image_tag.md
|
180
|
+
- lib/amp-html/helpers/docs/input_tag.md
|
181
|
+
- lib/amp-html/helpers/docs/javascript_include_tag.md
|
182
|
+
- lib/amp-html/helpers/docs/noscript_tag.md
|
183
|
+
- lib/amp-html/helpers/docs/schema_tag.md
|
184
|
+
- lib/amp-html/helpers/docs/stylesheet_link_tag.md
|
185
|
+
- lib/amp-html/helpers/docs/video_tag.md
|
186
|
+
- lib/amp-html/helpers/help.rb
|
187
|
+
- lib/amp-html/root.rb
|
188
|
+
- lib/amp-html/test.rb
|
189
|
+
- lib/amp-html/test/help.rb
|
190
|
+
- lib/amp-html/test/templates/README.md
|
191
|
+
- lib/amp-html/test/templates/css/!important.md
|
192
|
+
- lib/amp-html/test/templates/css/-amp-.md
|
193
|
+
- lib/amp-html/test/templates/css/-moz-binding.md
|
194
|
+
- lib/amp-html/test/templates/css/@import.md
|
195
|
+
- lib/amp-html/test/templates/css/behavior.md
|
196
|
+
- lib/amp-html/test/templates/css/filter.md
|
197
|
+
- lib/amp-html/test/templates/css/i-amp-.md
|
198
|
+
- lib/amp-html/test/templates/css/overflow.md
|
199
|
+
- lib/amp-html/test/templates/html/applet.md
|
200
|
+
- lib/amp-html/test/templates/html/audio.md
|
201
|
+
- lib/amp-html/test/templates/html/base.md
|
202
|
+
- lib/amp-html/test/templates/html/embed.md
|
203
|
+
- lib/amp-html/test/templates/html/frame.md
|
204
|
+
- lib/amp-html/test/templates/html/frameset.md
|
205
|
+
- lib/amp-html/test/templates/html/http-equiv.md
|
206
|
+
- lib/amp-html/test/templates/html/iframe.md
|
207
|
+
- lib/amp-html/test/templates/html/img.md
|
208
|
+
- lib/amp-html/test/templates/html/javascript_include_tag.md
|
209
|
+
- lib/amp-html/test/templates/html/object.md
|
210
|
+
- lib/amp-html/test/templates/html/onclick.md
|
211
|
+
- lib/amp-html/test/templates/html/onmousehover.md
|
212
|
+
- lib/amp-html/test/templates/html/param.md
|
213
|
+
- lib/amp-html/test/templates/html/stylesheet_link_tag.md
|
214
|
+
- lib/amp-html/test/templates/html/video.md
|
215
|
+
- lib/amp-html/test/templates/markup/!doctype.md
|
216
|
+
- lib/amp-html/test/templates/markup/amp_document_link.md
|
217
|
+
- lib/amp-html/test/templates/markup/amp_head.md
|
218
|
+
- lib/amp-html/test/templates/markup/amp_html_doctype.md
|
219
|
+
- lib/amp-html/test/templates/markup/canonical_document_link.md
|
220
|
+
- lib/amp-html/test/templates/markup/head_body.md
|
221
|
+
- lib/amp-html/test/templates/markup/html.md
|
222
|
+
- lib/amp-html/test/templates/markup/meta_viewport.md
|
223
|
+
- lib/amp-html/validate.rb
|
224
|
+
- lib/amp-html/validate/help.rb
|
225
|
+
- lib/amp-html/validate/templates/README.md
|
226
|
+
- lib/amp-html/version.rb
|
227
227
|
- lib/generators/amp-html/assets_generator.rb
|
228
228
|
- lib/generators/amp-html/bundle_generator.rb
|
229
229
|
- lib/generators/amp-html/components_generator.rb
|