compass-960-plugin 0.10.1 → 0.10.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -33,6 +33,7 @@ This plugin uses the following configuration variables:
33
33
  * `$ninesixty-columns` (default: 12) controls the default number of grid columns
34
34
  * `$ninesixty-grid-width` (default: 960px) controls the default overall grid width
35
35
  * `$ninesixty-gutter-width` (default: 20px) controls the default gutter width
36
+ * `$ninesixty-class-separator` (default: '_') sets the word separator for classnames generated by +grid-system
36
37
 
37
38
  All of the mixins included with this plugin use these configuration variables
38
39
  as defaults if the corresponding argument is omitted from a mixin call.
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{compass-960-plugin}
5
- s.version = "0.10.1"
5
+ s.version = "0.10.2"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.3.5")
8
8
  s.authors = ["Chris Eppstein", "Matt Sanders"]
9
- s.date = %q{2011-03-14}
9
+ s.date = %q{2011-04-08}
10
10
  s.description = %q{The 960 Grid System is an effort to streamline web development workflow by providing commonly used dimensions, based on a width of 960 pixels. http://960.gs/}
11
11
  s.email = %w{chris@eppsteins.net matt@modal.org}
12
12
  s.has_rdoc = false
@@ -4,6 +4,8 @@ $ninesixty-grid-width: 960px !default
4
4
 
5
5
  $ninesixty-columns: 12 !default
6
6
 
7
+ $ninesixty-class-separator: "_" !default
8
+
7
9
  =grid-container
8
10
  margin-left: auto
9
11
  margin-right: auto
@@ -30,10 +32,10 @@ $ninesixty-columns: 12 !default
30
32
  margin-right: 0
31
33
 
32
34
  =grids($cols: $ninesixty-columns, $gutter-width: $ninesixty-gutter-width)
33
- #{enumerate(".grid", 1, $cols, "_")}
35
+ #{enumerate(".grid", 1, $cols, $ninesixty-class-separator)}
34
36
  +grid-unit-base
35
37
  @for $n from 1 through $cols
36
- .grid_#{$n}
38
+ .grid#{$ninesixty-class-separator}#{$n}
37
39
  +grid-width($n, $cols, $gutter-width)
38
40
 
39
41
  =grid-prefix($n, $cols: $ninesixty-columns)
@@ -41,7 +43,7 @@ $ninesixty-columns: 12 !default
41
43
 
42
44
  =grid-prefixes($cols: $ninesixty-columns)
43
45
  @for $n from 1 through $cols - 1
44
- .prefix_#{$n}
46
+ .prefix#{$ninesixty-class-separator}#{$n}
45
47
  +grid-prefix($n, $cols)
46
48
 
47
49
  =grid-suffix($n, $cols: $ninesixty-columns)
@@ -49,7 +51,7 @@ $ninesixty-columns: 12 !default
49
51
 
50
52
  =grid-suffixes($cols: $ninesixty-columns)
51
53
  @for $n from 1 through $cols - 1
52
- .suffix_#{$n}
54
+ .suffix#{$ninesixty-class-separator}#{$n}
53
55
  +grid-suffix($n, $cols)
54
56
 
55
57
  =grid-children
@@ -76,13 +78,13 @@ $ninesixty-columns: 12 !default
76
78
  +grid-move-pull($n, $cols)
77
79
 
78
80
  =grid-movements($cols: $ninesixty-columns)
79
- #{enumerate(".push", 1, $cols, "_")},
80
- #{enumerate(".pull", 1, $cols, "_")}
81
+ #{enumerate(".push", 1, $cols, $ninesixty-class-separator)},
82
+ #{enumerate(".pull", 1, $cols, $ninesixty-class-separator)}
81
83
  +grid-move-base
82
84
  @for $n from 1 through $cols
83
- .push_#{$n}
85
+ .push#{$ninesixty-class-separator}#{$n}
84
86
  +grid-move-push($n, $cols)
85
- .pull_#{$n}
87
+ .pull#{$ninesixty-class-separator}#{$n}
86
88
  +grid-move-pull($n, $cols)
87
89
 
88
90
  =grid-system($cols: $ninesixty-columns)
metadata CHANGED
@@ -1,7 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: compass-960-plugin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.1
4
+ hash: 51
5
+ prerelease:
6
+ segments:
7
+ - 0
8
+ - 10
9
+ - 2
10
+ version: 0.10.2
5
11
  platform: ruby
6
12
  authors:
7
13
  - Chris Eppstein
@@ -10,19 +16,25 @@ autorequire:
10
16
  bindir: bin
11
17
  cert_chain: []
12
18
 
13
- date: 2011-03-14 00:00:00 -05:00
19
+ date: 2011-04-08 00:00:00 -05:00
14
20
  default_executable:
15
21
  dependencies:
16
22
  - !ruby/object:Gem::Dependency
17
23
  name: compass
18
- type: :runtime
19
- version_requirement:
20
- version_requirements: !ruby/object:Gem::Requirement
24
+ prerelease: false
25
+ requirement: &id001 !ruby/object:Gem::Requirement
26
+ none: false
21
27
  requirements:
22
28
  - - ">="
23
29
  - !ruby/object:Gem::Version
30
+ hash: 55
31
+ segments:
32
+ - 0
33
+ - 10
34
+ - 0
24
35
  version: 0.10.0
25
- version:
36
+ type: :runtime
37
+ version_requirements: *id001
26
38
  description: The 960 Grid System is an effort to streamline web development workflow by providing commonly used dimensions, based on a width of 960 pixels. http://960.gs/
27
39
  email:
28
40
  - chris@eppsteins.net
@@ -52,21 +64,29 @@ rdoc_options: []
52
64
  require_paths:
53
65
  - lib
54
66
  required_ruby_version: !ruby/object:Gem::Requirement
67
+ none: false
55
68
  requirements:
56
69
  - - ">="
57
70
  - !ruby/object:Gem::Version
71
+ hash: 3
72
+ segments:
73
+ - 0
58
74
  version: "0"
59
- version:
60
75
  required_rubygems_version: !ruby/object:Gem::Requirement
76
+ none: false
61
77
  requirements:
62
78
  - - ">="
63
79
  - !ruby/object:Gem::Version
80
+ hash: 17
81
+ segments:
82
+ - 1
83
+ - 3
84
+ - 5
64
85
  version: 1.3.5
65
- version:
66
86
  requirements: []
67
87
 
68
88
  rubyforge_project: compass-960-plugin
69
- rubygems_version: 1.3.5
89
+ rubygems_version: 1.6.2
70
90
  signing_key:
71
91
  specification_version: 3
72
92
  summary: Compass compatible Sass port of 960.gs.