lato 0.1.32 → 0.1.33

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
  SHA256:
3
- metadata.gz: faf414da4198b779d11712f44baba294d97c38a31a9040599b30e535d0fea6a7
4
- data.tar.gz: '0236985df9e2cd66f6a9051b1ab5fdd87f5bc7ecee8fae6075ee019e9017a899'
3
+ metadata.gz: d80f200ab351b66a3fb875550a75df337fe39484dd97e64089fb69e71ad24380
4
+ data.tar.gz: bac614240a6d9147177c0a84ed56ccb173a8628de46d8e6212a1bc29c8d9b4c7
5
5
  SHA512:
6
- metadata.gz: 448aa836e157e84b477102ed20e9589ceeef4c7132ead7326390886976146ddfc210e7cefa817ee0dc0c3c1d2f331c49248832fcf21f6b8710eb7ea3bff4af07
7
- data.tar.gz: c7abaf771d02c2dc3d5be980f79f026306c3c154834ac752bf6d9a22aabfec3e0139c84ecbcdd767cc47dec2452c51ba91eed1fc3548a4cc134205104c2ca982
6
+ metadata.gz: f7c2e3bd766ad2e48197d889d75debb425077bfdfde9b7e70153c22fbc37b6e0eaec9c27f1c3776d2417d90625e8778ab6d7e4115f36bc1e142c242510e5b933
7
+ data.tar.gz: f6ae26961ccbca3f0b83747f4527d2995722b3e700cecc2c228df8cb5a344301bffc840cb65423f1f4b030c0ff9818b21474859fd84ab004fe9e57be233d98f9
@@ -2,7 +2,7 @@
2
2
  <html>
3
3
  <head>
4
4
  <meta charset="utf-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
5
+ <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no,shrink-to-fit=no">
6
6
  <title><%= Lato.config.application_title %></title>
7
7
  <%= csrf_meta_tags %>
8
8
  <%= csp_meta_tag %>
data/lib/lato/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Lato
2
- VERSION = "0.1.32"
2
+ VERSION = "0.1.33"
3
3
  end
@@ -35,26 +35,4 @@ namespace :lato do
35
35
  FileUtils.copy(gem_concern_path, app_concern_path) unless File.exist? app_concern_path
36
36
  end
37
37
  end
38
-
39
- namespace :bootstrap do
40
- desc 'Generate SCSS variables for grays starting from a light color'
41
- # Usage: rails lato:bootstrap:grays light=ffffff
42
- task :grays do
43
- light = ENV['light']
44
- raise 'Light color not set' if light.blank?
45
-
46
- rgb = light.match(/(..)(..)(..)$/).captures.map(&:hex)
47
- r_range = rgb[0] / 9
48
- g_range = rgb[1] / 9
49
- b_range = rgb[2] / 9
50
-
51
- puts rgb
52
- (1..9).each do |level|
53
- r_value = rgb[0] - r_range * (level - 1)
54
- g_value = rgb[1] - g_range * (level - 1)
55
- b_value = rgb[2] - b_range * (level - 1)
56
- puts "$gray-#{level}00: rgb(#{r_value}, #{g_value}, #{b_value});"
57
- end
58
- end
59
- end
60
38
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lato
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.32
4
+ version: 0.1.33
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gregorio Galante
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-02-12 00:00:00.000000000 Z
11
+ date: 2023-02-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails