rocks 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,7 @@
1
+ ## 0.0.5
2
+
3
+ * Bugfix: wrong boolean operators
4
+
1
5
  ## 0.0.4
2
6
 
3
7
  * Removed use of @extend in a @mixin (deprecated in Sass)
@@ -1,13 +1,13 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rocks (0.0.4)
4
+ rocks (0.0.5)
5
5
  sass (>= 3.1)
6
6
 
7
7
  GEM
8
8
  remote: http://rubygems.org/
9
9
  specs:
10
- sass (3.1.19)
10
+ sass (3.1.20)
11
11
 
12
12
  PLATFORMS
13
13
  ruby
@@ -46,13 +46,13 @@ $color-text: #444 !default;
46
46
  $border-top: if($border, nth($border, 1), $border-top);
47
47
  $border-bottom: if($border, if(length($border) == 2, nth($border, 2), $border), $border-bottom);
48
48
 
49
- @if $border-top && unitless($border-top) {
49
+ @if $border-top and unitless($border-top) {
50
50
  @warn 'You should provide border values with units (e.g. px)';
51
51
  }
52
- @if $padding && ($padding-top || $padding-bottom) {
52
+ @if $padding and ($padding-top or $padding-bottom) {
53
53
  @warn 'You should specify only $padding or $padding-(top|bottom)';
54
54
  }
55
- @if $margin && ($margin-top || $margin-bottom) {
55
+ @if $margin and ($margin-top or $margin-bottom) {
56
56
  @warn 'You should specify only $margin or $margin-(top|bottom)';
57
57
  }
58
58
 
@@ -69,14 +69,14 @@ $color-text: #444 !default;
69
69
  border-bottom-width: $border-bottom;
70
70
  }
71
71
  @if $padding-top {
72
- @if $border-top && $compensate-padding {
72
+ @if $border-top and $compensate-padding {
73
73
  padding-top: lines($padding-top) - $border-top;
74
74
  } @else {
75
75
  padding-top: lines($padding-top);
76
76
  }
77
77
  }
78
78
  @if($padding-bottom) {
79
- @if $border-bottom && $compensate-padding {
79
+ @if $border-bottom and $compensate-padding {
80
80
  padding-bottom: lines($padding-bottom) - $border-bottom;
81
81
  } @else {
82
82
  padding-bottom: lines($padding-bottom);
@@ -1,3 +1,3 @@
1
1
  module Rocks
2
- VERSION = '0.0.4'
2
+ VERSION = '0.0.5'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rocks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-06-30 00:00:00.000000000 Z
12
+ date: 2012-07-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sass