jeet 6.1.3 → 6.1.5b

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: 70cb8969150ab59fd1629449b6ba669bdf0cef9d
4
- data.tar.gz: cc6bee78a56e277fb723545af94d8493db14c174
3
+ metadata.gz: 9fdf4255d999301ea56b2c75bdf1925dc8b9a1df
4
+ data.tar.gz: 293c1b63b36a9faca5aa82a6a462fc86fe235e6e
5
5
  SHA512:
6
- metadata.gz: 83b75c72957aaaaadfcb05360db76135ef558f42174b0241d1e54e261b755835ee8843790073c7371175111507e8629b9395bf83d49d56ff284d41295de87e6d
7
- data.tar.gz: f2fa00552a44f44ccbcf132d199dc0be4a11bbd30cfcafc83563037e17290fe4ebfe3cb156a40a03e1af38ac290d7c4a564bd723b95361b9ed4981a1b609cc3d
6
+ metadata.gz: 88d08061ce784256adc696f627cddfe3a54607343610c0fe3ee729e83080af9b87d0cd90d33d18db7acaad943b7aad2989b019718c10948098c0056b42f5c06d
7
+ data.tar.gz: c975be2c7ea30197eff89c1d2252a8b77ac53ea37cd0f3b3d77cbc2cd72312425f26e92b6ee4567fef75b066f84282ef37e93c3d2b2cfcc910eba57536b1c5dd
@@ -1,3 +1,17 @@
1
+ ## 6.1.5b
2
+
3
+ Update dependencies
4
+
5
+ ## 6.1.5
6
+
7
+ Update to Jeet 6.1.5 version
8
+
9
+ ## 6.1.3
10
+
11
+ Version bump to resolve differences between rubygems and the github repo.
12
+ 6.1.2 was commited on github on _Jan 11, 2015_ but rubygems.org 6.1.2 was last updated on _September 23, 2014_.
13
+ A bump was preferred over gemyank. Note this bump represents a departure from the jeet version number for now.
14
+
1
15
  ## 6.1.2
2
16
 
3
17
  Upgrade to Jeet v6.1.2
@@ -18,8 +18,8 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ['lib']
20
20
 
21
- spec.add_dependency 'sass', '~> 3.2'
21
+ spec.add_dependency 'sass', '>= 3.2'
22
22
 
23
- spec.add_development_dependency 'bundler', '~> 1.6'
24
- spec.add_development_dependency 'rake', '~> 10.0'
23
+ spec.add_development_dependency 'bundler', '>= 1.6'
24
+ spec.add_development_dependency 'rake', '>= 10.0'
25
25
  end
@@ -1,3 +1,3 @@
1
1
  module Jeet
2
- VERSION = '6.1.3'
2
+ VERSION = '6.1.5b'
3
3
  end
@@ -78,24 +78,15 @@
78
78
  $result: ();
79
79
 
80
80
  @for $i from length($list) * -1 through -1 {
81
- $item: nth($list, abs($i));
82
-
83
- @if length($item) > 1 and $recursive {
84
- $result: append($result, jeet-reverse($item, $recursive));
85
- }
86
- @else {
87
- $result: append($result, $item);
88
- }
81
+ $result: append($result, nth($list, abs($i)));
89
82
  }
90
83
 
91
84
  @return $result;
92
85
  }
93
86
 
94
- // Sass 3.3+
95
- @for $i from 1 through ceil(length($list)/2) {
87
+ // Sass 3.3
88
+ @for $i from 1 through floor(length($list) / 2) + 1 {
96
89
  $tmp: nth($list, $i);
97
- $tmp: if(length($tmp) > 1 and $recursive, reverse($tmp, $recursive), $tmp);
98
-
99
90
  $list: set-nth($list, $i, nth($list, -$i));
100
91
  $list: set-nth($list, -$i, $tmp);
101
92
  }
@@ -72,19 +72,39 @@
72
72
  /**
73
73
  * Get the width of a column and nothing else.
74
74
  * @param {number} [$ratios=1] - A width relative to its container as a fraction.
75
- * @param {number} [$gutter=$jeet-gutter] - Specify the gutter width as a percentage of the containers width.
75
+ * @param {number} [$g=$jeet-gutter] - Specify the gutter width as a percentage of the containers width.
76
76
  */
77
- @function column-width($ratios: 1, $gutter: $jeet-gutter) {
78
- @return unquote(nth(jeet-get-column($ratios, $gutter), 1) + '%');
77
+ @function column-width($ratios: 1, $g: $jeet-gutter) {
78
+ @if ($jeet-parent-first != 'true') {
79
+ $ratios: jeet-reverse($ratios);
80
+ }
81
+
82
+ $w: 100;
83
+
84
+ @each $ratio in $ratios {
85
+ $w: 100 * $ratio - $g + $ratio * $g;
86
+ }
87
+
88
+ @return unquote($w + '%');
79
89
  }
80
90
 
81
91
  /**
82
92
  * Get the gutter size of a column and nothing else.
83
93
  * @param {number} [ratios=1] - A width relative to its container as a fraction.
84
- * @param {number} [gutter=jeet.gutter] - Specify the gutter width as a percentage of the containers width.
94
+ * @param {number} [g=jeet.gutter] - Specify the gutter width as a percentage of the containers width.
85
95
  */
86
- @function column-gutter($ratios: 1, $gutter: $jeet-gutter) {
87
- @return unquote(nth(jeet-get-column($ratios, $gutter), 2) + '%');
96
+ @function column-gutter($ratios: 1, $g: $jeet-gutter) {
97
+ @if ($jeet-parent-first != 'true') {
98
+ $ratios: jeet-reverse($ratios);
99
+ }
100
+
101
+ $w: 100;
102
+
103
+ @each $ratio in $ratios {
104
+ $g: $g / $w * 100;
105
+ }
106
+
107
+ @return unquote($g + '%');
88
108
  }
89
109
 
90
110
  /**
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jeet
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.1.3
4
+ version: 6.1.5b
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cory Simmons
@@ -9,48 +9,48 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-02-04 00:00:00.000000000 Z
12
+ date: 2016-10-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sass
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - ~>
18
+ - - ">="
19
19
  - !ruby/object:Gem::Version
20
20
  version: '3.2'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - ~>
25
+ - - ">="
26
26
  - !ruby/object:Gem::Version
27
27
  version: '3.2'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: bundler
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - ~>
32
+ - - ">="
33
33
  - !ruby/object:Gem::Version
34
34
  version: '1.6'
35
35
  type: :development
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - ~>
39
+ - - ">="
40
40
  - !ruby/object:Gem::Version
41
41
  version: '1.6'
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: rake
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - ~>
46
+ - - ">="
47
47
  - !ruby/object:Gem::Version
48
48
  version: '10.0'
49
49
  type: :development
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - ~>
53
+ - - ">="
54
54
  - !ruby/object:Gem::Version
55
55
  version: '10.0'
56
56
  description: The most advanced and intuitive Sass grid system on the planet.
@@ -61,7 +61,7 @@ executables: []
61
61
  extensions: []
62
62
  extra_rdoc_files: []
63
63
  files:
64
- - .gitignore
64
+ - ".gitignore"
65
65
  - Changelog.md
66
66
  - Gemfile
67
67
  - LICENSE
@@ -84,17 +84,17 @@ require_paths:
84
84
  - lib
85
85
  required_ruby_version: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - '>='
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  required_rubygems_version: !ruby/object:Gem::Requirement
91
91
  requirements:
92
- - - '>='
92
+ - - ">"
93
93
  - !ruby/object:Gem::Version
94
- version: '0'
94
+ version: 1.3.1
95
95
  requirements: []
96
96
  rubyforge_project:
97
- rubygems_version: 2.0.14
97
+ rubygems_version: 2.5.2
98
98
  signing_key:
99
99
  specification_version: 4
100
100
  summary: A grid system for humans.