yamg 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c6743270b3eaa2c9f6478a9ffa7381bdccca5e14
4
- data.tar.gz: 9c27945f52c829257bc94bbd9e99a61f0accdc29
3
+ metadata.gz: 7d663f9d3cc1aff05714fb4fafa0c9beadd5aad2
4
+ data.tar.gz: 8cb32a872b9c834511721881f6fc60a3d61c28ad
5
5
  SHA512:
6
- metadata.gz: 0cd6a739d428e7df15103b25bcca73a82bb26dfb1a5488f19ba38ff931d8997d8f386bc85f6d649e940fc5d925618cb5daf010cd237eb0115629bbcc0cab6dfa
7
- data.tar.gz: ad674a6bc6c39cad82150234b4555a3aee31d97f1a9d792c287a86be23f634ca01527b49cfefd02b55998522b65ef5a91cf289fe5f15397a79a42c4c7027b0df
6
+ metadata.gz: ac592b1169b5e36be2c6bed2c7aa2afc12445806bed7a134d7545136b9e2244d00ddb726ff78253b0a92b0b3b832ce276661730b4a8610505dbf011c7182f871
7
+ data.tar.gz: 97e1eaf9c6cdd6ad8a12c7e37c6829ae486e5fe79e56dd17127a1fab21f9aa40fef877002fa61cb292783d430b96d2cc13303b1203835367c756b7034c52a486
data/README.md CHANGED
@@ -229,23 +229,23 @@ Meta tags in HTML:
229
229
  Meta tags in HAML:
230
230
 
231
231
  ```haml
232
- %link{:href => "/apple-touch-icon-57x57.png", :rel => "apple-touch-icon", :sizes => "57x57"}/
233
- %link{:href => "/apple-touch-icon-60x60.png", :rel => "apple-touch-icon", :sizes => "60x60"}/
234
- %link{:href => "/apple-touch-icon-72x72.png", :rel => "apple-touch-icon", :sizes => "72x72"}/
235
- %link{:href => "/apple-touch-icon-76x76.png", :rel => "apple-touch-icon", :sizes => "76x76"}/
236
- %link{:href => "/apple-touch-icon-114x114.png", :rel => "apple-touch-icon", :sizes => "114x114"}/
237
- %link{:href => "/apple-touch-icon-120x120.png", :rel => "apple-touch-icon", :sizes => "120x120"}/
238
- %link{:href => "/apple-touch-icon-144x144.png", :rel => "apple-touch-icon", :sizes => "144x144"}/
239
- %link{:href => "/apple-touch-icon-152x152.png", :rel => "apple-touch-icon", :sizes => "152x152"}/
240
- %link{:href => "/apple-touch-icon-180x180.png", :rel => "apple-touch-icon", :sizes => "180x180"}/
241
- %link{:href => "/favicon-32x32.png", :rel => "icon", :sizes => "32x32", :type => "image/png"}/
242
- %link{:href => "/android-chrome-192x192.png", :rel => "icon", :sizes => "192x192", :type => "image/png"}/
243
- %link{:href => "/favicon-96x96.png", :rel => "icon", :sizes => "96x96", :type => "image/png"}/
244
- %link{:href => "/favicon-16x16.png", :rel => "icon", :sizes => "16x16", :type => "image/png"}/
245
- %link{:href => "/manifest.json", :rel => "manifest"}/
246
- %meta{:content => "#da532c", :name => "msapplication-TileColor"}/
247
- %meta{:content => "/mstile-144x144.png", :name => "msapplication-TileImage"}/
248
- %meta{:content => "#ffffff", :name => "theme-color"}/
232
+ %link{href: "/apple-touch-icon-57x57.png", rel: "apple-touch-icon", sizes: "57x57"}/
233
+ %link{href: "/apple-touch-icon-60x60.png", rel: "apple-touch-icon", sizes: "60x60"}/
234
+ %link{href: "/apple-touch-icon-72x72.png", rel: "apple-touch-icon", sizes: "72x72"}/
235
+ %link{href: "/apple-touch-icon-76x76.png", rel: "apple-touch-icon", sizes: "76x76"}/
236
+ %link{href: "/apple-touch-icon-114x114.png", rel: "apple-touch-icon", sizes: "114x114"}/
237
+ %link{href: "/apple-touch-icon-120x120.png", rel: "apple-touch-icon", sizes: "120x120"}/
238
+ %link{href: "/apple-touch-icon-144x144.png", rel: "apple-touch-icon", sizes: "144x144"}/
239
+ %link{href: "/apple-touch-icon-152x152.png", rel: "apple-touch-icon", sizes: "152x152"}/
240
+ %link{href: "/apple-touch-icon-180x180.png", rel: "apple-touch-icon", sizes: "180x180"}/
241
+ %link{href: "/favicon-32x32.png", rel: "icon", sizes: "32x32", type: "image/png"}/
242
+ %link{href: "/android-chrome-192x192.png", rel: "icon", sizes: "192x192", type: "image/png"}/
243
+ %link{href: "/favicon-96x96.png", rel: "icon", sizes: "96x96", type: "image/png"}/
244
+ %link{href: "/favicon-16x16.png", rel: "icon", sizes: "16x16", type: "image/png"}/
245
+ %link{href: "/manifest.json", rel: "manifest"}/
246
+ %meta{content: "#da532c", name: "msapplication-TileColor"}/
247
+ %meta{content: "/mstile-144x144.png", name: "msapplication-TileImage"}/
248
+ %meta{content: "#ffffff", name: "theme-color"}/
249
249
  ```
250
250
 
251
251
  ## Notes & Thanks
data/lib/yamg/cli.rb CHANGED
@@ -66,6 +66,7 @@ module YAMG
66
66
  def compile_docs(opts)
67
67
  out = opts['path']
68
68
  %w( manifest.json browserconfig.xml ).each do |doc|
69
+ next if File.exist?(out)
69
70
  puts Rainbow("{DOCS} #{out}/#{doc} created. Please review.").red
70
71
  src = File.expand_path("assets/#{doc}", File.dirname(__FILE__))
71
72
  FileUtils.cp(src, out)
data/lib/yamg/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  # :nodoc:
2
2
  module YAMG
3
- VERSION = '0.5.0'
3
+ VERSION = '0.5.1'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yamg
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcos Piccinini