modular-scale 3.0.6 → 3.0.7

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: ec910f298a8bb27a845ede2e23ba59679a8e463d
4
- data.tar.gz: c55131f17ee5e93c067dc3423071ed848ab1636e
3
+ metadata.gz: 884eefca5332d6c83e828fa8857c6069e970c23b
4
+ data.tar.gz: 58461def5e7a0ae102448c37d6af7bf99e9cecf7
5
5
  SHA512:
6
- metadata.gz: 4925a700c60e848834360ccb2d97e2874c859e1ed3ed0f45791d944cd5c752baa4c76be33f3fc9e58f4e20f9256948f8ae099baaa65f0cb474378cb0d2e67c20
7
- data.tar.gz: 45bca9e35ce493f62c9a7205fb5cdb4b96f1602e5ade51e31103096026f41838113f252dff5fc564df88e3e0c78fa041159329c43da2b3f4c1d6089a815aa62a
6
+ metadata.gz: 8ab206ecdc36a66d43d8f45ca8f22f17244c1708e5896c21ee627dc78a6d3130de88c7dbf5e0358fa365e5605fa436e0db8eb3105042fd030eb3992695729e1e
7
+ data.tar.gz: 15a64a438505c14ad1c37518b1e077d17d6db5e2db8dd5c701912a5e2edac15b6ad4193fd83590a7a4711ddccc903fc8b82b64ba5ef51b2c3b52ec13630d1536
@@ -1,3 +1,7 @@
1
+ # Version 3.0.7
2
+
3
+ * Remove rounding errors.
4
+
1
5
  # Version 3.0.6
2
6
 
3
7
  * Fix deprecation warnings.
@@ -16,8 +16,8 @@ Compass::Frameworks.register('modular-scale', :path => extension_path)
16
16
  # a prerelease version
17
17
  # Date is in the form of YYYY-MM-DD
18
18
  module ModularScale
19
- VERSION = "3.0.6"
20
- DATE = "2018-01-23"
19
+ VERSION = "3.0.7"
20
+ DATE = "2018-09-27"
21
21
  end
22
22
 
23
23
  # This is where any custom SassScript should be placed. The functions will be
@@ -6,7 +6,6 @@
6
6
  @import 'modularscale/pow';
7
7
  @import 'modularscale/strip-units';
8
8
  @import 'modularscale/sort';
9
- @import 'modularscale/round-px';
10
9
  @import 'modularscale/target';
11
10
  @import 'modularscale/function';
12
11
 
@@ -49,5 +49,5 @@
49
49
  // Find base to use in calculation
50
50
  $ms-base: round(($v / length($ms-bases) - $vtep) * length($ms-bases)) + 1;
51
51
 
52
- @return ms-round-px(ms-pow($ratio, $vtep) * nth($ms-bases,$ms-base));
52
+ @return ms-pow($ratio, $vtep) * nth($ms-bases,$ms-base);
53
53
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: modular-scale
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.6
4
+ version: 3.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scott Kellum
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2018-01-23 00:00:00.000000000 Z
13
+ date: 2018-09-27 00:00:00.000000000 Z
14
14
  dependencies: []
15
15
  description: |-
16
16
  A modular scale is a list of values that share the same relationship. These
@@ -34,10 +34,10 @@ files:
34
34
  - license.md
35
35
  - readme.md
36
36
  - stylesheets/_modularscale.scss
37
+ - stylesheets/modularscale.zip
37
38
  - stylesheets/modularscale/_function.scss
38
39
  - stylesheets/modularscale/_pow.scss
39
40
  - stylesheets/modularscale/_respond.scss
40
- - stylesheets/modularscale/_round-px.scss
41
41
  - stylesheets/modularscale/_settings.scss
42
42
  - stylesheets/modularscale/_sort.scss
43
43
  - stylesheets/modularscale/_strip-units.scss
@@ -1,9 +0,0 @@
1
- // No reason to have decimal pixel values,
2
- // normalize them to whole numbers.
3
-
4
- @function ms-round-px($r) {
5
- @if unit($r) == 'px' {
6
- @return round($r);
7
- }
8
- @return $r;
9
- }