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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a48f986b660abe1d3d02dcee24581ad7b26e59ec
4
- data.tar.gz: 859d1c6ab741704410a88e0ac14ba2686fb757e2
3
+ metadata.gz: a8818a848ca98c5f753b7f2f7e4c06d750448caa
4
+ data.tar.gz: 1c7176ac929d34dbb171cfd69c5b0c03efea617f
5
5
  SHA512:
6
- metadata.gz: 48fbe3821289fcf4bfcb0be85da9d61e0eb3423cc033d37a439ac758968312dcbf1292638e957c59354053c39934df005f8803380c50dbd7edf69dac5afa8be2
7
- data.tar.gz: 4b0913c82663a48a269c16cb797b0c93c2682377e9305916b4be4fe096f4a74ca523b9b93270eb033044d09319e9938f69d979e8a8ff80f5ff555673cf0dce65
6
+ metadata.gz: 41718012a2c3cbc5c783d8e4c47dec2b6fa97b2fa91ddce51f76c3b692858a3e9922983176e26fc5c8cc214b6ca8fcdbb5b406b85c263007b3e4d4858ac0f324
7
+ data.tar.gz: f29a7640f729eb9c998bc4a503356954bc2fc2c84bb4c672bbc3ee471d24dfbbc75e52fdfd828a773ac79500a4c4c69a7a116fd86b493bc8e31976f61affcdfd
data/CHANGELOG.md CHANGED
@@ -4,6 +4,10 @@
4
4
 
5
5
  * nothing yet
6
6
 
7
+ ### 0.7.18 (Pre-release) - 2017-08-24
8
+
9
+ * minor bugfixes
10
+
7
11
  ### 0.7.17 (Pre-release) - 2017-08-24
8
12
 
9
13
  * minor bugfixes
data/Gemfile.lock CHANGED
@@ -1,11 +1,11 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- amphtml (0.7.6)
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.19.4)
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.47.1)
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.19.4)
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
- amphtml!
158
- rspec-rails (~> 3.5, >= 3.5.2)
159
- rubocop (~> 0.47.1)
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.17 (Pre-release)
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
@@ -163,7 +163,7 @@ module AmpHtml
163
163
  YAML.load_file 'config/amp-html.yml'
164
164
  rescue Exception => e
165
165
  warn 'WARNING (AMP): You need to run `rails g amp_html:bundle` first.'
166
- # exit
166
+ exit
167
167
  end
168
168
  end
169
169
 
@@ -1,6 +1,6 @@
1
1
  module AmpHtml
2
2
 
3
- VERSION = '0.7.17'
3
+ VERSION = '0.7.18'
4
4
 
5
5
  class Version
6
6
 
@@ -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 %><%%= amp-html.application_name %><%% end %></title>
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 -->
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.17
4
+ version: 0.7.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonas Hübotter