chriseppstein-compass 0.8.16 → 0.8.17

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,12 @@
1
1
  COMPASS CHANGELOG
2
2
  =================
3
3
 
4
+ 0.8.17 (September 24, 2009)
5
+ ---------------------------
6
+
7
+ * The enumerate function now accepts an optional fourth parameter that specifies the separator to be used.
8
+ Enables fixing a bug in the Compass 960 Plugin.
9
+
4
10
  0.8.16 (September 12, 2009)
5
11
  ---------------------------
6
12
 
data/REVISION CHANGED
@@ -1 +1 @@
1
- fd4ddc01714708e68ef428de6a2642cb2d3eec8f
1
+ 2465baba525421ac9cac1774d940f9e27971710d
@@ -1,4 +1,4 @@
1
1
  ---
2
- :patch: 16
2
+ :patch: 17
3
3
  :major: 0
4
4
  :minor: 8
@@ -1,6 +1,6 @@
1
1
  module Compass::SassExtensions::Functions::Enumerate
2
- def enumerate(prefix, from, through)
3
- selectors = (from.value..through.value).map{|i| "#{prefix.value}-#{i}"}.join(", ")
2
+ def enumerate(prefix, from, through, separator = "-")
3
+ selectors = (from.value..through.value).map{|i| "#{prefix.value}#{separator}#{i}"}.join(", ")
4
4
  Sass::Script::String.new(selectors)
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chriseppstein-compass
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.16
4
+ version: 0.8.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Eppstein
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-09-12 00:00:00 -07:00
12
+ date: 2009-09-24 00:00:00 -07:00
13
13
  default_executable: compass
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency