chriseppstein-compass 0.8.11 → 0.8.12

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.markdown CHANGED
@@ -1,5 +1,16 @@
1
1
  COMPASS CHANGELOG
2
2
  =================
3
+
4
+ 0.8.12 (August 22, 2009)
5
+ ------------------------
6
+
7
+ Bug Fix Release:
8
+
9
+ * [Compass Core] Bug fix to sprites: fixed width and height assignments for x and y position variables
10
+ * Ruby 1.9.1 fix: binding for parse_string
11
+ * [Rails] Don't suggest creating a stylesheet link to partials.
12
+
13
+
3
14
  0.8.10 (August 16, 2009)
4
15
  ------------------------
5
16
  Bug Fix Release:
data/REVISION CHANGED
@@ -1 +1 @@
1
- 0492fc99695bf8ec64cb64ca41b7451db9e01fcb
1
+ ef49c8b2a624e4120948c8165b3b5fb6c9fa07c8
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
- :patch: 10
2
+ :patch: 12
3
3
  :major: 0
4
4
  :minor: 8
@@ -4,8 +4,8 @@
4
4
 
5
5
  // Simplest use: +sprite-img("icons-32.png", 1)
6
6
  =sprite-img(!img, !col, !row = 1, !width = !sprite_image_default_width, !height = !sprite_image_default_height, !margin = !sprite_image_default_margin)
7
- !x = ((!col - 1) * -!height) - ((!col - 1) * !margin)
8
- !y = ((!row - 1) * -!width) - ((!row - 1) * !margin)
7
+ !x = ((!col - 1) * -!width) - ((!col - 1) * !margin)
8
+ !y = ((!row - 1) * -!height) - ((!row - 1) * !margin)
9
9
  :background= image_url(!img) "no-repeat" !x !y
10
10
  :width= !width
11
11
  :height= !height
@@ -39,9 +39,10 @@ module Compass
39
39
  end
40
40
 
41
41
  def parse_string(contents, filename)
42
- eval(contents, binding, filename)
42
+ bind = binding
43
+ eval(contents, bind, filename)
43
44
  ATTRIBUTES.each do |prop|
44
- value = eval(prop.to_s, binding) rescue nil
45
+ value = eval(prop.to_s, bind) rescue nil
45
46
  self.send("#{prop}=", value) if value
46
47
  end
47
48
  if @added_import_paths
@@ -117,6 +117,8 @@ Compass.configure_sass_plugin!
117
117
  def stylesheet_links
118
118
  html = "%head\n"
119
119
  manifest.each_stylesheet do |stylesheet|
120
+ # Skip partials.
121
+ next if File.basename(stylesheet.from)[0..0] == "_"
120
122
  ss_line = " = stylesheet_link_tag '#{stylesheet_prefix}#{stylesheet.to.sub(/\.sass$/,'.css')}'"
121
123
  if stylesheet.options[:media]
122
124
  ss_line += ", :media => '#{stylesheet.options[:media]}'"
@@ -19,7 +19,7 @@ class CommandLineTest < Test::Unit::TestCase
19
19
 
20
20
  def test_list_frameworks
21
21
  compass "--list-frameworks"
22
- assert_equal("blueprint\ncompass\nyui\n", @last_result)
22
+ assert_equal(%w(blueprint compass yui), @last_result.split.sort)
23
23
  end
24
24
 
25
25
  def test_basic_install
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.11
4
+ version: 0.8.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Eppstein
@@ -297,7 +297,6 @@ files:
297
297
  - test/test_rails_helper.rb
298
298
  has_rdoc: false
299
299
  homepage: http://compass-style.org
300
- licenses:
301
300
  post_install_message:
302
301
  rdoc_options:
303
302
  - --charset=UTF-8
@@ -318,7 +317,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
318
317
  requirements: []
319
318
 
320
319
  rubyforge_project: compass
321
- rubygems_version: 1.3.5
320
+ rubygems_version: 1.2.0
322
321
  signing_key:
323
322
  specification_version: 3
324
323
  summary: A Real Stylesheet Framework