singularity-extras 1.0.0.alpha.3 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cab8f1a4d5798eb443138269ae0ad9a4006ef998
|
4
|
+
data.tar.gz: 28b93f2354ff087783733cf49c86c04649bea6d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 38c934bbd5e4724d7be621f6663a9bf61d2bed769d68b4a6fcfe66583c33559810cc85e101d078a58d333e8fd60a4039547636bb340431dccee688d48d9a8f35
|
7
|
+
data.tar.gz: aaabaef46e8b02497d69c7d3a8a5d49aecbb4649c08daa306b3fceb117566d6999c9cba715df565c1c3113ef0f3a0c72866aa2e3b27a83c68a37f89485301e0f
|
data/lib/singularity-extras.rb
CHANGED
@@ -1,10 +1,19 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
require 'modular-scale'
|
1
|
+
base_directory = File.expand_path(File.join(File.dirname(__FILE__), '..'))
|
2
|
+
singularityExtras_sass_path = File.join(base_directory, 'stylesheets')
|
4
3
|
|
5
|
-
|
4
|
+
if (defined? Compass)
|
5
|
+
require 'breakpoint'
|
6
|
+
require 'modular-scale'
|
7
|
+
require 'singularity-extras'
|
8
|
+
Compass::Frameworks.register(
|
9
|
+
"singularity-extras",
|
10
|
+
:path => base_directory
|
11
|
+
)
|
12
|
+
else
|
13
|
+
ENV["SASS_PATH"] = [ENV["SASS_PATH"], singularityExtras_sass_path].compact.join(File::PATH_SEPARATOR)
|
14
|
+
end
|
6
15
|
|
7
16
|
module SingularityExtras
|
8
|
-
VERSION = "1.0.0
|
9
|
-
DATE = "
|
17
|
+
VERSION = "1.0.0"
|
18
|
+
DATE = "2014-08-21"
|
10
19
|
end
|
@@ -1,9 +1,11 @@
|
|
1
1
|
// 16 arguments can be passed into this function
|
2
2
|
// a max of 16 comma seperated grids
|
3
|
-
@function compound($
|
3
|
+
@function compound($compound-grids...) {
|
4
|
+
@if length($compound-grids) == 1 {
|
5
|
+
$compound-grids: nth($compound-grids, 1);
|
6
|
+
}
|
4
7
|
|
5
8
|
// merge arguments into a single list.
|
6
|
-
$compound-grids: $cg1, $cg2, $cg3, $cg4, $cg5, $cg6, $cg7, $cg8, $cg9, $cg10, $cg11, $cg12, $cg13, $cg14, $cg15, $cg16;
|
7
9
|
|
8
10
|
// Find the base resolution of grid
|
9
11
|
$resolution: 1;
|
@@ -5,7 +5,7 @@
|
|
5
5
|
@return (($i * 2) + 1);
|
6
6
|
}
|
7
7
|
|
8
|
-
@function ratio-spiral($depth: 5, $ratio: golden(), $invert: false) {
|
8
|
+
@function ratio-spiral($depth: 5, $ratio: golden-ratio(), $invert: false) {
|
9
9
|
|
10
10
|
// write the middle most column, a little out of step from the other columns.
|
11
11
|
$list: ms(ratio-spiral-i(-$depth) + 1, 100, $ratio);
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: singularity-extras
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Scott Kellum
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2014-08-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: singularitygs
|
@@ -17,28 +17,28 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - ~>
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 1.2
|
20
|
+
version: '1.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
|
-
version: 1.2
|
27
|
+
version: '1.2'
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: modular-scale
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
32
|
- - ~>
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: 2.0
|
34
|
+
version: '2.0'
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
39
|
- - ~>
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: 2.0
|
41
|
+
version: '2.0'
|
42
42
|
description: Advanced responsive grid system for Sass and Compass
|
43
43
|
email:
|
44
44
|
- scott@scottkellum.com
|
@@ -79,7 +79,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
79
79
|
version: '1.2'
|
80
80
|
requirements: []
|
81
81
|
rubyforge_project: singularity-extras
|
82
|
-
rubygems_version: 2.0.
|
82
|
+
rubygems_version: 2.0.14
|
83
83
|
signing_key:
|
84
84
|
specification_version: 4
|
85
85
|
summary: Singularity is a fluid grid system that can generate uniform columns as well
|