amp-html 0.7.18 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (204) hide show
  1. checksums.yaml +5 -5
  2. data/CHANGELOG.md +82 -77
  3. data/README.md +61 -75
  4. data/app/helpers/amp_html/asset_helper.rb +11 -0
  5. data/app/helpers/amp_html/base_helper.rb +14 -0
  6. data/app/helpers/amp_html/dynamic_content_helper.rb +14 -0
  7. data/app/helpers/amp_html/layouts_helper.rb +11 -0
  8. data/app/helpers/amp_html/media_helper.rb +15 -0
  9. data/app/views/mozaic/amp/_amp-link.html.erb +1 -0
  10. data/app/views/mozaic/amp/_audio.html.erb +11 -0
  11. data/app/views/mozaic/amp/_canonical-link.html.erb +1 -0
  12. data/app/views/mozaic/amp/_components.html.erb +6 -0
  13. data/app/views/mozaic/amp/_doctype.html.erb +4 -0
  14. data/app/views/mozaic/amp/_font.html.erb +2 -0
  15. data/app/views/mozaic/amp/_form-response.html.erb +5 -0
  16. data/app/views/mozaic/amp/_form.html.erb +3 -0
  17. data/app/views/mozaic/amp/_head.html.erb +13 -0
  18. data/app/views/mozaic/amp/_img.html.erb +1 -0
  19. data/app/views/mozaic/amp/_input.html.erb +1 -0
  20. data/app/views/mozaic/amp/_mustache.html.erb +3 -0
  21. data/app/views/mozaic/amp/_selector.html.erb +3 -0
  22. data/app/views/mozaic/amp/_video.html.erb +11 -0
  23. data/lib/amp-html.rb +4 -20
  24. data/lib/amp-html/configuration.rb +13 -158
  25. data/lib/amp-html/engine.rb +6 -0
  26. data/lib/amp-html/railtie.rb +109 -0
  27. data/lib/amp-html/version.rb +1 -9
  28. data/lib/generators/amp_html_generator.rb +27 -0
  29. data/lib/generators/templates/{assets/stylesheets/application.scss → application.css} +1 -1
  30. data/lib/generators/templates/initializer.rb +14 -0
  31. data/lib/generators/templates/layout.html.erb +15 -0
  32. metadata +53 -204
  33. data/.github/issue_template.md +0 -16
  34. data/.github/pull_request_template.md +0 -21
  35. data/.gitignore +0 -13
  36. data/.travis.yml +0 -4
  37. data/CODE_OF_CONDUCT.md +0 -46
  38. data/CONTRIBUTING.md +0 -1
  39. data/DEPRECATIONS.md +0 -9
  40. data/Gemfile +0 -12
  41. data/Gemfile.lock +0 -164
  42. data/INSTALL.md +0 -2
  43. data/OWNERS.yaml +0 -1
  44. data/Rakefile +0 -6
  45. data/amp-html.gemspec +0 -30
  46. data/bin/amp-html +0 -4
  47. data/lib/amp-html/cli.rb +0 -113
  48. data/lib/amp-html/components/docs/README.md +0 -101
  49. data/lib/amp-html/components/docs/ad.md +0 -83
  50. data/lib/amp-html/components/docs/analytics.md +0 -131
  51. data/lib/amp-html/components/docs/anim.md +0 -66
  52. data/lib/amp-html/components/docs/fonts.md +0 -63
  53. data/lib/amp-html/components/docs/forms.md +0 -79
  54. data/lib/amp-html/components/docs/iframe.md +0 -62
  55. data/lib/amp-html/components/docs/javascript.md +0 -71
  56. data/lib/amp-html/components/docs/lists.md +0 -168
  57. data/lib/amp-html/components/docs/media.md +0 -52
  58. data/lib/amp-html/components/docs/mustache.md +0 -46
  59. data/lib/amp-html/components/docs/notifications.md +0 -0
  60. data/lib/amp-html/components/docs/schema.md +0 -80
  61. data/lib/amp-html/components/docs/service_worker.md +0 -60
  62. data/lib/amp-html/components/docs/social.md +0 -130
  63. data/lib/amp-html/components/docs/stylesheets.md +0 -50
  64. data/lib/amp-html/components/help.rb +0 -19
  65. data/lib/amp-html/components/install.rb +0 -34
  66. data/lib/amp-html/components/templates/ERROR.md +0 -5
  67. data/lib/amp-html/components/templates/README.md +0 -12
  68. data/lib/amp-html/configuration/docs/README.md +0 -0
  69. data/lib/amp-html/configuration/help.rb +0 -11
  70. data/lib/amp-html/helpers/docs/README.md +0 -98
  71. data/lib/amp-html/helpers/docs/amp.md +0 -0
  72. data/lib/amp-html/helpers/docs/amp_ad.md +0 -86
  73. data/lib/amp-html/helpers/docs/amp_analytics.md +0 -76
  74. data/lib/amp-html/helpers/docs/amp_anim.md +0 -68
  75. data/lib/amp-html/helpers/docs/amp_audio.md +0 -54
  76. data/lib/amp-html/helpers/docs/amp_auto_ads.md +0 -43
  77. data/lib/amp-html/helpers/docs/amp_close_user_notification_button.md +0 -0
  78. data/lib/amp-html/helpers/docs/amp_css.md +0 -37
  79. data/lib/amp-html/helpers/docs/amp_css_link.md +0 -0
  80. data/lib/amp-html/helpers/docs/amp_custom_ad.md +0 -0
  81. data/lib/amp-html/helpers/docs/amp_document_link.md +0 -0
  82. data/lib/amp-html/helpers/docs/amp_embed.md +0 -86
  83. data/lib/amp-html/helpers/docs/amp_facebook.md +0 -70
  84. data/lib/amp-html/helpers/docs/amp_fallback.md +0 -47
  85. data/lib/amp-html/helpers/docs/amp_font.md +0 -0
  86. data/lib/amp-html/helpers/docs/amp_font_link.md +0 -0
  87. data/lib/amp-html/helpers/docs/amp_form.md +0 -0
  88. data/lib/amp-html/helpers/docs/amp_form_response.md +0 -0
  89. data/lib/amp-html/helpers/docs/amp_gfycat.md +0 -0
  90. data/lib/amp-html/helpers/docs/amp_global_css.md +0 -0
  91. data/lib/amp-html/helpers/docs/amp_google_analytics.md +0 -0
  92. data/lib/amp-html/helpers/docs/amp_google_font.md +0 -0
  93. data/lib/amp-html/helpers/docs/amp_head.md +0 -0
  94. data/lib/amp-html/helpers/docs/amp_html_doctype.md +0 -0
  95. data/lib/amp-html/helpers/docs/amp_iframe.md +0 -0
  96. data/lib/amp-html/helpers/docs/amp_image.md +0 -0
  97. data/lib/amp-html/helpers/docs/amp_input.md +0 -0
  98. data/lib/amp-html/helpers/docs/amp_instagram.md +0 -0
  99. data/lib/amp-html/helpers/docs/amp_js.md +0 -0
  100. data/lib/amp-html/helpers/docs/amp_link.md +0 -0
  101. data/lib/amp-html/helpers/docs/amp_list.md +0 -0
  102. data/lib/amp-html/helpers/docs/amp_live_list.md +0 -0
  103. data/lib/amp-html/helpers/docs/amp_live_list_items.md +0 -0
  104. data/lib/amp-html/helpers/docs/amp_live_list_pagination.md +0 -0
  105. data/lib/amp-html/helpers/docs/amp_live_list_update.md +0 -0
  106. data/lib/amp-html/helpers/docs/amp_mustache.md +0 -0
  107. data/lib/amp-html/helpers/docs/amp_pin_it.md +0 -0
  108. data/lib/amp-html/helpers/docs/amp_pin_widget.md +0 -0
  109. data/lib/amp-html/helpers/docs/amp_pinterest_follow.md +0 -0
  110. data/lib/amp-html/helpers/docs/amp_pixel.md +0 -0
  111. data/lib/amp-html/helpers/docs/amp_placeholder.md +0 -0
  112. data/lib/amp-html/helpers/docs/amp_reddit.md +0 -0
  113. data/lib/amp-html/helpers/docs/amp_resources.md +0 -0
  114. data/lib/amp-html/helpers/docs/amp_selector.md +0 -0
  115. data/lib/amp-html/helpers/docs/amp_serviceworker.md +0 -0
  116. data/lib/amp-html/helpers/docs/amp_social_share.md +0 -0
  117. data/lib/amp-html/helpers/docs/amp_soundcloud.md +0 -0
  118. data/lib/amp-html/helpers/docs/amp_twitter.md +0 -0
  119. data/lib/amp-html/helpers/docs/amp_user_notification.md +0 -0
  120. data/lib/amp-html/helpers/docs/amp_video.md +0 -0
  121. data/lib/amp-html/helpers/docs/amp_video_ad.md +0 -0
  122. data/lib/amp-html/helpers/docs/amp_vine.md +0 -0
  123. data/lib/amp-html/helpers/docs/amp_youtube.md +0 -0
  124. data/lib/amp-html/helpers/docs/audio_tag.md +0 -0
  125. data/lib/amp-html/helpers/docs/canonical_document_link.md +0 -0
  126. data/lib/amp-html/helpers/docs/form_tag.md +0 -0
  127. data/lib/amp-html/helpers/docs/image_tag.md +0 -0
  128. data/lib/amp-html/helpers/docs/input_tag.md +0 -0
  129. data/lib/amp-html/helpers/docs/javascript_include_tag.md +0 -0
  130. data/lib/amp-html/helpers/docs/noscript_tag.md +0 -0
  131. data/lib/amp-html/helpers/docs/schema_tag.md +0 -0
  132. data/lib/amp-html/helpers/docs/stylesheet_link_tag.md +0 -0
  133. data/lib/amp-html/helpers/docs/video_tag.md +0 -0
  134. data/lib/amp-html/helpers/help.rb +0 -23
  135. data/lib/amp-html/root.rb +0 -7
  136. data/lib/amp-html/test.rb +0 -169
  137. data/lib/amp-html/test/help.rb +0 -11
  138. data/lib/amp-html/test/templates/README.md +0 -43
  139. data/lib/amp-html/test/templates/css/!important.md +0 -1
  140. data/lib/amp-html/test/templates/css/-amp-.md +0 -1
  141. data/lib/amp-html/test/templates/css/-moz-binding.md +0 -1
  142. data/lib/amp-html/test/templates/css/@import.md +0 -1
  143. data/lib/amp-html/test/templates/css/behavior.md +0 -1
  144. data/lib/amp-html/test/templates/css/filter.md +0 -1
  145. data/lib/amp-html/test/templates/css/i-amp-.md +0 -1
  146. data/lib/amp-html/test/templates/css/overflow.md +0 -1
  147. data/lib/amp-html/test/templates/html/applet.md +0 -1
  148. data/lib/amp-html/test/templates/html/audio.md +0 -1
  149. data/lib/amp-html/test/templates/html/base.md +0 -1
  150. data/lib/amp-html/test/templates/html/embed.md +0 -1
  151. data/lib/amp-html/test/templates/html/frame.md +0 -1
  152. data/lib/amp-html/test/templates/html/frameset.md +0 -1
  153. data/lib/amp-html/test/templates/html/http-equiv.md +0 -1
  154. data/lib/amp-html/test/templates/html/iframe.md +0 -1
  155. data/lib/amp-html/test/templates/html/img.md +0 -1
  156. data/lib/amp-html/test/templates/html/javascript_include_tag.md +0 -1
  157. data/lib/amp-html/test/templates/html/object.md +0 -1
  158. data/lib/amp-html/test/templates/html/onclick.md +0 -1
  159. data/lib/amp-html/test/templates/html/onmousehover.md +0 -1
  160. data/lib/amp-html/test/templates/html/param.md +0 -1
  161. data/lib/amp-html/test/templates/html/stylesheet_link_tag.md +0 -1
  162. data/lib/amp-html/test/templates/html/video.md +0 -1
  163. data/lib/amp-html/test/templates/markup/!doctype.md +0 -1
  164. data/lib/amp-html/test/templates/markup/amp_document_link.md +0 -1
  165. data/lib/amp-html/test/templates/markup/amp_head.md +0 -1
  166. data/lib/amp-html/test/templates/markup/amp_html_doctype.md +0 -1
  167. data/lib/amp-html/test/templates/markup/canonical_document_link.md +0 -1
  168. data/lib/amp-html/test/templates/markup/head_body.md +0 -1
  169. data/lib/amp-html/test/templates/markup/html.md +0 -1
  170. data/lib/amp-html/test/templates/markup/meta_viewport.md +0 -1
  171. data/lib/amp-html/validate.rb +0 -46
  172. data/lib/amp-html/validate/help.rb +0 -11
  173. data/lib/amp-html/validate/templates/README.md +0 -32
  174. data/lib/generators/amp_html/assets_generator.rb +0 -31
  175. data/lib/generators/amp_html/bundle_generator.rb +0 -50
  176. data/lib/generators/amp_html/components_generator.rb +0 -84
  177. data/lib/generators/amp_html/helpers_generator.rb +0 -32
  178. data/lib/generators/amp_html/install_generator.rb +0 -53
  179. data/lib/generators/amp_html/views_generator.rb +0 -62
  180. data/lib/generators/templates/assets/README.md +0 -0
  181. data/lib/generators/templates/components/README.md +0 -0
  182. data/lib/generators/templates/components/views/_components.html.erb +0 -141
  183. data/lib/generators/templates/components/views/_google_analytics.html.erb +0 -23
  184. data/lib/generators/templates/helpers/README.md +0 -0
  185. data/lib/generators/templates/helpers/amp/fallback_tag_helper.rb +0 -16
  186. data/lib/generators/templates/helpers/amp/font_tag_helper.rb +0 -37
  187. data/lib/generators/templates/helpers/amp/link_tag_helper.rb +0 -11
  188. data/lib/generators/templates/helpers/amp/mustache_tag_helper.rb +0 -13
  189. data/lib/generators/templates/helpers/amp/noscript_tag_helper.rb +0 -13
  190. data/lib/generators/templates/helpers/amp/placeholder_tag_helper.rb +0 -16
  191. data/lib/generators/templates/helpers/amp/schema_tag_helper.rb +0 -16
  192. data/lib/generators/templates/helpers/amp/stylesheets_tag_helper.rb +0 -21
  193. data/lib/generators/templates/helpers/amp_tag_helper.rb.erb +0 -65
  194. data/lib/generators/templates/helpers/asset_tag_helper.rb.erb +0 -119
  195. data/lib/generators/templates/helpers/form_tag_helper.rb.erb +0 -79
  196. data/lib/generators/templates/install/README.md +0 -0
  197. data/lib/generators/templates/install/amp-html.rb.erb +0 -19
  198. data/lib/generators/templates/install/amp-html.yml.erb +0 -189
  199. data/lib/generators/templates/views/README.md +0 -0
  200. data/lib/generators/templates/views/application.html.erb +0 -71
  201. data/lib/generators/templates/views/application/_head.html.erb +0 -47
  202. data/lib/generators/templates/views/application/_resources.html.erb +0 -16
  203. data/lib/generators/templates/views/application/_schema.html.erb +0 -6
  204. data/lib/generators/templates/views/config/mime_types.rb +0 -8
@@ -1,13 +1,5 @@
1
1
  module AmpHtml
2
2
 
3
- VERSION = '0.7.18'
4
-
5
- class Version
6
-
7
- def self.current
8
- return 'amp-html ' + VERSION
9
- end
10
-
11
- end
3
+ VERSION = '1.0.0'
12
4
 
13
5
  end
@@ -0,0 +1,27 @@
1
+ require 'rails/generators/base'
2
+ require 'thor'
3
+
4
+ module AmpHtml
5
+ module Generators
6
+
7
+ class AmpHtmlGenerator < Rails::Generators::Base
8
+
9
+ source_root File.join File.dirname(__FILE__), 'templates'
10
+ desc 'Install amp-html'
11
+
12
+ def create_layout
13
+ template 'layout.html.erb', 'app/views/layouts/amp.html.erb'
14
+ end
15
+
16
+ def create_assets
17
+ template 'application.css', 'app/assets/stylesheets/amp/application.css'
18
+ end
19
+
20
+ def create_initializer
21
+ template 'initializer.rb', 'config/initializers/amp-html.rb'
22
+ end
23
+
24
+ end
25
+
26
+ end
27
+ end
@@ -1,5 +1,5 @@
1
1
  /*
2
- * This is a manifest file that'll be compiled into application.css, which will include all the files
2
+ * This is a manifest file that'll be compiled into amp/application.css, which will include all the files
3
3
  * listed below.
4
4
  *
5
5
  * Any CSS and SCSS file within this directory, lib/assets/stylesheets, or any plugin's
@@ -0,0 +1,14 @@
1
+ AmpHtml.configure do |config|
2
+
3
+ # Use your regular stylesheets bundled with `app/assets/stylesheets/application.css` in your AMP views. Takes a boolean.
4
+ # config.inherit_stylesheets = false
5
+
6
+
7
+ ### SplitView
8
+
9
+ # Enable SplitView to allow for AMP enabled and AMP disabled versions of your views. Takes a boolean.
10
+ # config.split_view = false
11
+ # The default view version if no `amp` param is present in the request. Must be either `'amp'` or `'html'`.
12
+ # config.split_view_default = 'amp'
13
+
14
+ end
@@ -0,0 +1,15 @@
1
+ <%%= component 'amp/doctype' do %>
2
+ <head>
3
+ <%%= component 'amp/head' %>
4
+ <title>Hello AMP world</title>
5
+ <%% if AmpHtml.configuration.split_view %><%%= component 'amp/canonical-link', href: request.original_url %><%% end %>
6
+ <meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">
7
+ <%%= csrf_meta_tags %>
8
+ </head>
9
+ <body>
10
+ <h1>Hello AMP World!</h1>
11
+ <%%= mozaic_area do %>
12
+ <%%= yield %>
13
+ <%% end %>
14
+ </body>
15
+ <%% end %>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: amp-html
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.18
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonas Hübotter
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-08-24 00:00:00.000000000 Z
11
+ date: 2018-01-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -16,224 +16,96 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 4.0.0
19
+ version: '5.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 4.0.0
26
+ version: '5.0'
27
27
  - !ruby/object:Gem::Dependency
28
- name: thor
28
+ name: mozaic
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0.20'
33
+ version: '1.2'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '0.20'
40
+ version: '1.2'
41
41
  - !ruby/object:Gem::Dependency
42
- name: launchy
42
+ name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '2.4'
48
- type: :runtime
47
+ version: '3.7'
48
+ type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '2.4'
54
+ version: '3.7'
55
55
  - !ruby/object:Gem::Dependency
56
- name: highline
56
+ name: rubocop
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '1.7'
62
- type: :runtime
61
+ version: '0.52'
62
+ type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '1.7'
69
- description: "[BETA] AmpHtml is a universal solution to integrate the AMP Project
70
- (Accelerated Mobile Pages Project) into your Rails app with ease. It enables you
71
- to quickly spin-up, build and test your app with AMP, while fulfilling the app's
72
- unique requirements. It comes with a bunch of superpowers like user authentication,
73
- notifications, blogs, animations and support for assets in AMP. Make your app consistently
74
- fast, beautiful and high-performing across devices and distribution platforms."
75
- email: developer@slooob.com
76
- executables:
77
- - amp-html
68
+ version: '0.52'
69
+ description: amp-html is a universal solution to integrate the AMP Project (Accelerated
70
+ Mobile Pages Project) into your Rails app with ease. It enables you to quickly spin-up,
71
+ build and test your app with AMP, while fulfilling the app's unique requirements.
72
+ It comes with a bunch of superpowers like user authentication, notifications, blogs,
73
+ animations and support for assets in AMP. Make your app consistently fast, beautiful
74
+ and high-performing across devices and distribution platforms.
75
+ email: me@jonhue.me
76
+ executables: []
78
77
  extensions: []
79
78
  extra_rdoc_files: []
80
79
  files:
81
- - ".github/issue_template.md"
82
- - ".github/pull_request_template.md"
83
- - ".gitignore"
84
- - ".travis.yml"
85
80
  - CHANGELOG.md
86
- - CODE_OF_CONDUCT.md
87
- - CONTRIBUTING.md
88
- - DEPRECATIONS.md
89
- - Gemfile
90
- - Gemfile.lock
91
- - INSTALL.md
92
81
  - LICENSE
93
- - OWNERS.yaml
94
82
  - README.md
95
- - Rakefile
96
- - amp-html.gemspec
97
- - bin/amp-html
83
+ - app/helpers/amp_html/asset_helper.rb
84
+ - app/helpers/amp_html/base_helper.rb
85
+ - app/helpers/amp_html/dynamic_content_helper.rb
86
+ - app/helpers/amp_html/layouts_helper.rb
87
+ - app/helpers/amp_html/media_helper.rb
88
+ - app/views/mozaic/amp/_amp-link.html.erb
89
+ - app/views/mozaic/amp/_audio.html.erb
90
+ - app/views/mozaic/amp/_canonical-link.html.erb
91
+ - app/views/mozaic/amp/_components.html.erb
92
+ - app/views/mozaic/amp/_doctype.html.erb
93
+ - app/views/mozaic/amp/_font.html.erb
94
+ - app/views/mozaic/amp/_form-response.html.erb
95
+ - app/views/mozaic/amp/_form.html.erb
96
+ - app/views/mozaic/amp/_head.html.erb
97
+ - app/views/mozaic/amp/_img.html.erb
98
+ - app/views/mozaic/amp/_input.html.erb
99
+ - app/views/mozaic/amp/_mustache.html.erb
100
+ - app/views/mozaic/amp/_selector.html.erb
101
+ - app/views/mozaic/amp/_video.html.erb
98
102
  - lib/amp-html.rb
99
- - lib/amp-html/cli.rb
100
- - lib/amp-html/components/docs/README.md
101
- - lib/amp-html/components/docs/ad.md
102
- - lib/amp-html/components/docs/analytics.md
103
- - lib/amp-html/components/docs/anim.md
104
- - lib/amp-html/components/docs/fonts.md
105
- - lib/amp-html/components/docs/forms.md
106
- - lib/amp-html/components/docs/iframe.md
107
- - lib/amp-html/components/docs/javascript.md
108
- - lib/amp-html/components/docs/lists.md
109
- - lib/amp-html/components/docs/media.md
110
- - lib/amp-html/components/docs/mustache.md
111
- - lib/amp-html/components/docs/notifications.md
112
- - lib/amp-html/components/docs/schema.md
113
- - lib/amp-html/components/docs/service_worker.md
114
- - lib/amp-html/components/docs/social.md
115
- - lib/amp-html/components/docs/stylesheets.md
116
- - lib/amp-html/components/help.rb
117
- - lib/amp-html/components/install.rb
118
- - lib/amp-html/components/templates/ERROR.md
119
- - lib/amp-html/components/templates/README.md
120
103
  - lib/amp-html/configuration.rb
121
- - lib/amp-html/configuration/docs/README.md
122
- - lib/amp-html/configuration/help.rb
123
- - lib/amp-html/helpers/docs/README.md
124
- - lib/amp-html/helpers/docs/amp.md
125
- - lib/amp-html/helpers/docs/amp_ad.md
126
- - lib/amp-html/helpers/docs/amp_analytics.md
127
- - lib/amp-html/helpers/docs/amp_anim.md
128
- - lib/amp-html/helpers/docs/amp_audio.md
129
- - lib/amp-html/helpers/docs/amp_auto_ads.md
130
- - lib/amp-html/helpers/docs/amp_close_user_notification_button.md
131
- - lib/amp-html/helpers/docs/amp_css.md
132
- - lib/amp-html/helpers/docs/amp_css_link.md
133
- - lib/amp-html/helpers/docs/amp_custom_ad.md
134
- - lib/amp-html/helpers/docs/amp_document_link.md
135
- - lib/amp-html/helpers/docs/amp_embed.md
136
- - lib/amp-html/helpers/docs/amp_facebook.md
137
- - lib/amp-html/helpers/docs/amp_fallback.md
138
- - lib/amp-html/helpers/docs/amp_font.md
139
- - lib/amp-html/helpers/docs/amp_font_link.md
140
- - lib/amp-html/helpers/docs/amp_form.md
141
- - lib/amp-html/helpers/docs/amp_form_response.md
142
- - lib/amp-html/helpers/docs/amp_gfycat.md
143
- - lib/amp-html/helpers/docs/amp_global_css.md
144
- - lib/amp-html/helpers/docs/amp_google_analytics.md
145
- - lib/amp-html/helpers/docs/amp_google_font.md
146
- - lib/amp-html/helpers/docs/amp_head.md
147
- - lib/amp-html/helpers/docs/amp_html_doctype.md
148
- - lib/amp-html/helpers/docs/amp_iframe.md
149
- - lib/amp-html/helpers/docs/amp_image.md
150
- - lib/amp-html/helpers/docs/amp_input.md
151
- - lib/amp-html/helpers/docs/amp_instagram.md
152
- - lib/amp-html/helpers/docs/amp_js.md
153
- - lib/amp-html/helpers/docs/amp_link.md
154
- - lib/amp-html/helpers/docs/amp_list.md
155
- - lib/amp-html/helpers/docs/amp_live_list.md
156
- - lib/amp-html/helpers/docs/amp_live_list_items.md
157
- - lib/amp-html/helpers/docs/amp_live_list_pagination.md
158
- - lib/amp-html/helpers/docs/amp_live_list_update.md
159
- - lib/amp-html/helpers/docs/amp_mustache.md
160
- - lib/amp-html/helpers/docs/amp_pin_it.md
161
- - lib/amp-html/helpers/docs/amp_pin_widget.md
162
- - lib/amp-html/helpers/docs/amp_pinterest_follow.md
163
- - lib/amp-html/helpers/docs/amp_pixel.md
164
- - lib/amp-html/helpers/docs/amp_placeholder.md
165
- - lib/amp-html/helpers/docs/amp_reddit.md
166
- - lib/amp-html/helpers/docs/amp_resources.md
167
- - lib/amp-html/helpers/docs/amp_selector.md
168
- - lib/amp-html/helpers/docs/amp_serviceworker.md
169
- - lib/amp-html/helpers/docs/amp_social_share.md
170
- - lib/amp-html/helpers/docs/amp_soundcloud.md
171
- - lib/amp-html/helpers/docs/amp_twitter.md
172
- - lib/amp-html/helpers/docs/amp_user_notification.md
173
- - lib/amp-html/helpers/docs/amp_video.md
174
- - lib/amp-html/helpers/docs/amp_video_ad.md
175
- - lib/amp-html/helpers/docs/amp_vine.md
176
- - lib/amp-html/helpers/docs/amp_youtube.md
177
- - lib/amp-html/helpers/docs/audio_tag.md
178
- - lib/amp-html/helpers/docs/canonical_document_link.md
179
- - lib/amp-html/helpers/docs/form_tag.md
180
- - lib/amp-html/helpers/docs/image_tag.md
181
- - lib/amp-html/helpers/docs/input_tag.md
182
- - lib/amp-html/helpers/docs/javascript_include_tag.md
183
- - lib/amp-html/helpers/docs/noscript_tag.md
184
- - lib/amp-html/helpers/docs/schema_tag.md
185
- - lib/amp-html/helpers/docs/stylesheet_link_tag.md
186
- - lib/amp-html/helpers/docs/video_tag.md
187
- - lib/amp-html/helpers/help.rb
188
- - lib/amp-html/root.rb
189
- - lib/amp-html/test.rb
190
- - lib/amp-html/test/help.rb
191
- - lib/amp-html/test/templates/README.md
192
- - lib/amp-html/test/templates/css/!important.md
193
- - lib/amp-html/test/templates/css/-amp-.md
194
- - lib/amp-html/test/templates/css/-moz-binding.md
195
- - lib/amp-html/test/templates/css/@import.md
196
- - lib/amp-html/test/templates/css/behavior.md
197
- - lib/amp-html/test/templates/css/filter.md
198
- - lib/amp-html/test/templates/css/i-amp-.md
199
- - lib/amp-html/test/templates/css/overflow.md
200
- - lib/amp-html/test/templates/html/applet.md
201
- - lib/amp-html/test/templates/html/audio.md
202
- - lib/amp-html/test/templates/html/base.md
203
- - lib/amp-html/test/templates/html/embed.md
204
- - lib/amp-html/test/templates/html/frame.md
205
- - lib/amp-html/test/templates/html/frameset.md
206
- - lib/amp-html/test/templates/html/http-equiv.md
207
- - lib/amp-html/test/templates/html/iframe.md
208
- - lib/amp-html/test/templates/html/img.md
209
- - lib/amp-html/test/templates/html/javascript_include_tag.md
210
- - lib/amp-html/test/templates/html/object.md
211
- - lib/amp-html/test/templates/html/onclick.md
212
- - lib/amp-html/test/templates/html/onmousehover.md
213
- - lib/amp-html/test/templates/html/param.md
214
- - lib/amp-html/test/templates/html/stylesheet_link_tag.md
215
- - lib/amp-html/test/templates/html/video.md
216
- - lib/amp-html/test/templates/markup/!doctype.md
217
- - lib/amp-html/test/templates/markup/amp_document_link.md
218
- - lib/amp-html/test/templates/markup/amp_head.md
219
- - lib/amp-html/test/templates/markup/amp_html_doctype.md
220
- - lib/amp-html/test/templates/markup/canonical_document_link.md
221
- - lib/amp-html/test/templates/markup/head_body.md
222
- - lib/amp-html/test/templates/markup/html.md
223
- - lib/amp-html/test/templates/markup/meta_viewport.md
224
- - lib/amp-html/validate.rb
225
- - lib/amp-html/validate/help.rb
226
- - lib/amp-html/validate/templates/README.md
104
+ - lib/amp-html/engine.rb
105
+ - lib/amp-html/railtie.rb
227
106
  - lib/amp-html/version.rb
228
- - lib/generators/amp_html/assets_generator.rb
229
- - lib/generators/amp_html/bundle_generator.rb
230
- - lib/generators/amp_html/components_generator.rb
231
- - lib/generators/amp_html/helpers_generator.rb
232
- - lib/generators/amp_html/install_generator.rb
233
- - lib/generators/amp_html/views_generator.rb
234
- - lib/generators/templates/assets/README.md
235
- - lib/generators/templates/assets/stylesheets/application.scss
236
- - lib/generators/templates/components/README.md
107
+ - lib/generators/amp_html_generator.rb
108
+ - lib/generators/templates/application.css
237
109
  - lib/generators/templates/components/assets/javascripts/application.js
238
110
  - lib/generators/templates/components/helpers/ad_tag_helper.rb
239
111
  - lib/generators/templates/components/helpers/analytics_tag_helper.rb
@@ -245,36 +117,13 @@ files:
245
117
  - lib/generators/templates/components/helpers/serviceworker_tag_helper.rb
246
118
  - lib/generators/templates/components/helpers/social_tag_helper.rb
247
119
  - lib/generators/templates/components/public/remote.html
248
- - lib/generators/templates/components/views/_components.html.erb
249
- - lib/generators/templates/components/views/_google_analytics.html.erb
250
- - lib/generators/templates/helpers/README.md
251
- - lib/generators/templates/helpers/amp/fallback_tag_helper.rb
252
- - lib/generators/templates/helpers/amp/font_tag_helper.rb
253
- - lib/generators/templates/helpers/amp/link_tag_helper.rb
254
- - lib/generators/templates/helpers/amp/mustache_tag_helper.rb
255
- - lib/generators/templates/helpers/amp/noscript_tag_helper.rb
256
- - lib/generators/templates/helpers/amp/placeholder_tag_helper.rb
257
- - lib/generators/templates/helpers/amp/schema_tag_helper.rb
258
- - lib/generators/templates/helpers/amp/stylesheets_tag_helper.rb
259
- - lib/generators/templates/helpers/amp_tag_helper.rb.erb
260
- - lib/generators/templates/helpers/asset_tag_helper.rb.erb
261
- - lib/generators/templates/helpers/form_tag_helper.rb.erb
262
- - lib/generators/templates/install/README.md
263
- - lib/generators/templates/install/amp-html.rb.erb
264
- - lib/generators/templates/install/amp-html.yml.erb
265
- - lib/generators/templates/views/README.md
266
- - lib/generators/templates/views/application.html.erb
267
- - lib/generators/templates/views/application/_head.html.erb
268
- - lib/generators/templates/views/application/_resources.html.erb
269
- - lib/generators/templates/views/application/_schema.html.erb
270
- - lib/generators/templates/views/config/mime_types.rb
271
- homepage: https://github.com/slooob/amp-html
120
+ - lib/generators/templates/initializer.rb
121
+ - lib/generators/templates/layout.html.erb
122
+ homepage: https://github.com/jonhue/amp-html
272
123
  licenses:
273
124
  - MIT
274
125
  metadata: {}
275
- post_install_message: |
276
- **Thank you for installing amp-html!**
277
- Learn more about getting started here: https://github.com/slooob/amp-html/wiki/Getting-started
126
+ post_install_message:
278
127
  rdoc_options: []
279
128
  require_paths:
280
129
  - lib
@@ -282,7 +131,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
282
131
  requirements:
283
132
  - - ">="
284
133
  - !ruby/object:Gem::Version
285
- version: '2.0'
134
+ version: '2.3'
286
135
  required_rubygems_version: !ruby/object:Gem::Requirement
287
136
  requirements:
288
137
  - - ">="
@@ -290,8 +139,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
290
139
  version: '0'
291
140
  requirements: []
292
141
  rubyforge_project:
293
- rubygems_version: 2.6.12
142
+ rubygems_version: 2.7.4
294
143
  signing_key:
295
144
  specification_version: 4
296
- summary: Reliable high-performant apps with AMP & Rails. Formerly `amphtml`.
145
+ summary: Reliable high-performance apps with AMP & Rails. Formerly `amphtml`.
297
146
  test_files: []
@@ -1,16 +0,0 @@
1
- ### Expected behavior
2
- Tell us what should happen
3
-
4
- ### Actual behavior
5
- Tell us what happens instead
6
-
7
- ### Steps to reproduce
8
-
9
- (Guidelines for creating a bug report are [available
10
- here](https://github.com/slooob/amp-html/wiki/Bug-reports))
11
-
12
- ### System configuration
13
-
14
- **Ruby version**:
15
-
16
- **Rails version**:
@@ -1,21 +0,0 @@
1
- ### Summary
2
-
3
- Provide a general description of the code changes in your pull
4
- request... were there any bugs you had fixed? If so, mention them. If
5
- these bugs have open GitHub issues, be sure to tag them here as well,
6
- to keep the conversation linked together.
7
-
8
- ### Other Information
9
-
10
- If there's anything else that's important and relevant to your pull
11
- request, mention that information here. This could include
12
- benchmarks, or other information.
13
-
14
- If you are updating any of the CHANGELOG files or are asked to update the
15
- CHANGELOG files by reviewers, please add the CHANGELOG entry at the top of the file.
16
-
17
- Finally, if your pull request affects documentation or any non-code
18
- changes, guidelines for those changes are [available
19
- here](https://github.com/slooob/amp-html/blob/master/CONTRIBUTING.md)
20
-
21
- Thanks for contributing to `amp-html`!