cloudhead-less 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.2
1
+ 1.0.3
data/less.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{less}
5
- s.version = "1.0.2"
5
+ s.version = "1.0.3"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["cloudhead"]
@@ -72,7 +72,7 @@ module Less
72
72
  end
73
73
 
74
74
  def to_css
75
- "#{(self % 1).zero?? self.to_i.to_s : self.to_s}#@unit"
75
+ "#{(self % 1).zero?? "#{self.to_i}#@unit" : self}"
76
76
  end
77
77
  end
78
78
 
data/spec/css/css-1.0.css CHANGED
@@ -18,7 +18,7 @@ a:link { color: #999999; }
18
18
  p { text-transform: none; }
19
19
  p:first-child { text-transform: none; }
20
20
  q:lang(no) { quotes: none; }
21
- p + h1 { font-size: 2em; }
21
+ p + h1 { font-size: 2.2em; }
22
22
  input[type="text"] { font-weight: normal; }
23
23
  #shorthands {
24
24
  border: 1px solid #000000;
@@ -34,6 +34,7 @@ input[type="text"] { font-weight: normal; }
34
34
  }
35
35
  .misc {
36
36
  -moz-border-radius: 2px;
37
+ width: 0.1em;
37
38
  color: red !important;
38
39
  background-image: url(images/image.jpg);
39
40
  }
@@ -53,7 +53,7 @@ q:lang(no) {
53
53
  }
54
54
 
55
55
  p + h1 {
56
- font-size: 2em;
56
+ font-size: 2.2em;
57
57
  }
58
58
 
59
59
  input[type="text"] {
@@ -76,6 +76,7 @@ input[type="text"] {
76
76
 
77
77
  .misc {
78
78
  -moz-border-radius: 2px;
79
+ width: .1em;
79
80
  color: red !important;
80
81
  background-image: url(images/image.jpg);
81
82
  margin: ;
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudhead-less
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - cloudhead