livingstyleguide 1.2.2 → 1.3.0

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: c14ed4cad804b3d20b2ea91b45020b718558f249
4
- data.tar.gz: d72a837301b3478047973279503c2390f4ab2931
3
+ metadata.gz: 4d911995814945527473f919e70fac22ce841aec
4
+ data.tar.gz: 2db2630ac3fd6f578be4783f6adf088fd91da274
5
5
  SHA512:
6
- metadata.gz: 74445e6a039b45a54fa605492d08ba2e3471f4cb40f06b42cc4902824be2eda1b5c7744e0d3e9ae9ffe171528689a144da3f0f9fccaf15d9018ddc4ee12d9a7b
7
- data.tar.gz: 88e1a817f0c9c5ed4dc022576b7bb46f249392e05e5db703982954dc9157469a1470810cefa3153fff40cc603a6625c67dd7b382e4979d9c623041afaa0594d4
6
+ metadata.gz: 8a2a81d01d806e3e2cb4263ce1eacc2065284ad31cc9c36aad1f0ea802859ec2b5de1b8534f28106e8dd0149b3f6ccf7e078d1b04c8c60782cb9f8aa06c93e2d
7
+ data.tar.gz: d21548ec22940b1e549e73ad9285fe5830755281e5e989f66582481804b5a18b106c570261fd983e9ba550207f8917670b9b227f4abd26c7d1ed82c28a8e9b75
@@ -21,7 +21,7 @@ LivingStyleGuide::Example.add_filter :colors do |file|
21
21
  elsif variable[0] != '$'
22
22
  variable = "$#{variable}"
23
23
  end
24
- %Q(<li class="livingstyleguide--color-swatch #{css_class || variable}">#{variable}</li>\n)
24
+ %Q(<li class="livingstyleguide--color-swatch #{css_class || variable.tr("_", "-")}">#{variable}</li>\n)
25
25
  end.join("\n")
26
26
  %(<ul class="livingstyleguide--color-swatches -lsg-#{columns}-columns">\n#{colors_html}\n</ul>\n)
27
27
  end
@@ -4,6 +4,7 @@
4
4
  <head>
5
5
  <meta charset="utf-8">
6
6
  <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
7
+ <meta content="width=device-width, initial-scale=1.0" name="viewport">
7
8
  <meta content="The LivingStyleGuide Gem – http://livingstyleguide.org" name="generator">
8
9
  <title><%= h(title) %></title>
9
10
  <script>
@@ -85,6 +85,9 @@ module LivingStyleGuide
85
85
  break
86
86
  end
87
87
  path = File.expand_path('..', path)
88
+ if path == "/"
89
+ break
90
+ end
88
91
  end
89
92
  path
90
93
  end
@@ -1,3 +1,3 @@
1
1
  module LivingStyleGuide
2
- VERSION = '1.2.2'
2
+ VERSION = '1.3.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: livingstyleguide
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nico Hagenburger
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-20 00:00:00.000000000 Z
11
+ date: 2015-11-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minisyntax
@@ -42,16 +42,16 @@ dependencies:
42
42
  name: redcarpet
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: 3.0.0
47
+ version: 3.2.3
48
48
  type: :runtime
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: 3.0.0
54
+ version: 3.2.3
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: tilt
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -244,3 +244,4 @@ signing_key:
244
244
  specification_version: 4
245
245
  summary: Generate beautiful front-end style guides
246
246
  test_files: []
247
+ has_rdoc: