singularitygs 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
data/lib/singularitygs.rb
CHANGED
@@ -1,12 +1,11 @@
|
|
1
1
|
require 'compass'
|
2
2
|
require 'modular-scale'
|
3
|
-
require 'sassy-math'
|
4
3
|
|
5
4
|
Compass::Frameworks.register("singularitygs", :path => "#{File.dirname(__FILE__)}/..")
|
6
5
|
|
7
6
|
module CompassExtension
|
8
7
|
|
9
|
-
VERSION = "0.0.
|
8
|
+
VERSION = "0.0.9"
|
10
9
|
DATE = "2012-07-26"
|
11
10
|
|
12
11
|
end
|
@@ -42,7 +42,7 @@ $grid-counter: 1
|
|
42
42
|
=grid-objects($prefix: a, $columns: $columns, $gutter: $gutter, $padding: $padding, $selector: "%")
|
43
43
|
// counter keeps track of the starting position
|
44
44
|
$count: 0
|
45
|
-
|
45
|
+
%#{$prefix}column
|
46
46
|
float: left
|
47
47
|
+grid-padding($padding)
|
48
48
|
margin-right: $gutter
|
@@ -50,7 +50,7 @@ $grid-counter: 1
|
|
50
50
|
@for $i from 1 through column-count($columns)
|
51
51
|
@for $n from $count + 1 through column-count($columns)
|
52
52
|
#{$selector}#{$prefix}#{$count}-#{$n}
|
53
|
-
@extend
|
53
|
+
@extend %#{$prefix}column
|
54
54
|
width: grid-span($n - $count, $count + 1, $columns, $gutter)
|
55
55
|
@if $n == column-count($columns)
|
56
56
|
margin-right: 0
|
metadata
CHANGED
@@ -1,91 +1,73 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: singularitygs
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
6
|
-
- 0
|
7
|
-
- 0
|
8
|
-
- 8
|
9
|
-
version: 0.0.8
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.9
|
5
|
+
prerelease:
|
10
6
|
platform: ruby
|
11
|
-
authors:
|
7
|
+
authors:
|
12
8
|
- Scott Kellum
|
13
9
|
- Sam Richard
|
14
10
|
autorequire:
|
15
11
|
bindir: bin
|
16
12
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
dependencies:
|
21
|
-
- !ruby/object:Gem::Dependency
|
13
|
+
date: 2012-07-26 00:00:00.000000000 Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
22
16
|
name: sass
|
23
|
-
|
24
|
-
|
25
|
-
requirements:
|
26
|
-
- -
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
segments:
|
29
|
-
- 3
|
30
|
-
- 2
|
31
|
-
- 0
|
32
|
-
- alpha
|
33
|
-
- 269
|
17
|
+
requirement: !ruby/object:Gem::Requirement
|
18
|
+
none: false
|
19
|
+
requirements:
|
20
|
+
- - ! '>='
|
21
|
+
- !ruby/object:Gem::Version
|
34
22
|
version: 3.2.0.alpha.269
|
35
23
|
type: :runtime
|
36
|
-
version_requirements: *id001
|
37
|
-
- !ruby/object:Gem::Dependency
|
38
|
-
name: compass
|
39
24
|
prerelease: false
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
none: false
|
27
|
+
requirements:
|
28
|
+
- - ! '>='
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
version: 3.2.0.alpha.269
|
31
|
+
- !ruby/object:Gem::Dependency
|
32
|
+
name: compass
|
33
|
+
requirement: !ruby/object:Gem::Requirement
|
34
|
+
none: false
|
35
|
+
requirements:
|
36
|
+
- - ! '>='
|
37
|
+
- !ruby/object:Gem::Version
|
48
38
|
version: 0.12.1
|
49
39
|
type: :runtime
|
50
|
-
version_requirements: *id002
|
51
|
-
- !ruby/object:Gem::Dependency
|
52
|
-
name: modular-scale
|
53
40
|
prerelease: false
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
41
|
+
version_requirements: !ruby/object:Gem::Requirement
|
42
|
+
none: false
|
43
|
+
requirements:
|
44
|
+
- - ! '>='
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: 0.12.1
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: modular-scale
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
none: false
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 1.0.0
|
63
55
|
type: :runtime
|
64
|
-
version_requirements: *id003
|
65
|
-
- !ruby/object:Gem::Dependency
|
66
|
-
name: sassy-math
|
67
56
|
prerelease: false
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
- 1
|
75
|
-
version: "1.1"
|
76
|
-
type: :runtime
|
77
|
-
version_requirements: *id004
|
57
|
+
version_requirements: !ruby/object:Gem::Requirement
|
58
|
+
none: false
|
59
|
+
requirements:
|
60
|
+
- - ! '>='
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: 1.0.0
|
78
63
|
description: Advanced responsive grid system for Sass and Compass
|
79
|
-
email:
|
64
|
+
email:
|
80
65
|
- scott@scottkellum.com
|
81
66
|
- snugug@gmail.com
|
82
67
|
executables: []
|
83
|
-
|
84
68
|
extensions: []
|
85
|
-
|
86
69
|
extra_rdoc_files: []
|
87
|
-
|
88
|
-
files:
|
70
|
+
files:
|
89
71
|
- lib/singularitygs.rb
|
90
72
|
- stylesheets/singularitygs.sass
|
91
73
|
- stylesheets/singularitygs/_background-grid.sass
|
@@ -97,36 +79,30 @@ files:
|
|
97
79
|
- stylesheets/singularitygs/_helpers.sass
|
98
80
|
- stylesheets/singularitygs/_mixins.sass
|
99
81
|
- stylesheets/singularitygs/_ratio.scss
|
100
|
-
has_rdoc: true
|
101
82
|
homepage: http://singularity.gs
|
102
83
|
licenses: []
|
103
|
-
|
104
84
|
post_install_message:
|
105
85
|
rdoc_options: []
|
106
|
-
|
107
|
-
require_paths:
|
86
|
+
require_paths:
|
108
87
|
- lib
|
109
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
requirements:
|
118
|
-
- -
|
119
|
-
- !ruby/object:Gem::Version
|
120
|
-
|
121
|
-
- 1
|
122
|
-
- 2
|
123
|
-
version: "1.2"
|
88
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ! '>='
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '0'
|
94
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
95
|
+
none: false
|
96
|
+
requirements:
|
97
|
+
- - ! '>='
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
version: '1.2'
|
124
100
|
requirements: []
|
125
|
-
|
126
101
|
rubyforge_project: singularitygs
|
127
|
-
rubygems_version: 1.
|
102
|
+
rubygems_version: 1.8.24
|
128
103
|
signing_key:
|
129
104
|
specification_version: 3
|
130
|
-
summary: Singularity is a fluid grid system that can generate uniform columns as well
|
105
|
+
summary: Singularity is a fluid grid system that can generate uniform columns as well
|
106
|
+
as asymmetric and compound grids with tools to write grids as functions, mixins,
|
107
|
+
or class based objects.
|
131
108
|
test_files: []
|
132
|
-
|