compass 0.10.4.pre.3 → 0.10.4.pre.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,4 +2,4 @@
2
2
  :major: 0
3
3
  :minor: 10
4
4
  :patch: 4
5
- :build: pre.3
5
+ :build: pre.4
@@ -1,8 +1,12 @@
1
1
  module Compass::SassExtensions::Functions::Urls
2
- def image_url_with_rails_integration(path)
2
+ def image_url_with_rails_integration(path, only_path = Sass::Script::Bool.new(false))
3
3
  if (@controller = Sass::Plugin.rails_controller) && @controller.respond_to?(:request) && @controller.request
4
4
  begin
5
- Sass::Script::String.new "url(#{image_path(path.value)})"
5
+ if only_path.to_bool
6
+ Sass::Script::String.new image_path(path.value)
7
+ else
8
+ Sass::Script::String.new "url(#{image_path(path.value)})"
9
+ end
6
10
  ensure
7
11
  @controller = nil
8
12
  end
metadata CHANGED
@@ -1,14 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: compass
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 1923831841
4
5
  prerelease: true
5
6
  segments:
6
7
  - 0
7
8
  - 10
8
9
  - 4
9
10
  - pre
10
- - 3
11
- version: 0.10.4.pre.3
11
+ - 4
12
+ version: 0.10.4.pre.4
12
13
  platform: ruby
13
14
  authors:
14
15
  - Chris Eppstein
@@ -25,9 +26,11 @@ dependencies:
25
26
  name: haml
26
27
  prerelease: false
27
28
  requirement: &id001 !ruby/object:Gem::Requirement
29
+ none: false
28
30
  requirements:
29
31
  - - ">="
30
32
  - !ruby/object:Gem::Version
33
+ hash: 15
31
34
  segments:
32
35
  - 3
33
36
  - 0
@@ -556,6 +559,10 @@ files:
556
559
  - test/test_case_helper.rb
557
560
  - test/test_helper.rb
558
561
  - test/test_rails_helper.rb
562
+ - features/command_line.feature
563
+ - features/extensions.feature
564
+ - features/step_definitions/command_line_steps.rb
565
+ - features/step_definitions/extension_steps.rb
559
566
  has_rdoc: false
560
567
  homepage: http://compass-style.org
561
568
  licenses: []
@@ -566,16 +573,20 @@ rdoc_options: []
566
573
  require_paths:
567
574
  - lib
568
575
  required_ruby_version: !ruby/object:Gem::Requirement
576
+ none: false
569
577
  requirements:
570
578
  - - ">="
571
579
  - !ruby/object:Gem::Version
580
+ hash: 3
572
581
  segments:
573
582
  - 0
574
583
  version: "0"
575
584
  required_rubygems_version: !ruby/object:Gem::Requirement
585
+ none: false
576
586
  requirements:
577
587
  - - ">"
578
588
  - !ruby/object:Gem::Version
589
+ hash: 25
579
590
  segments:
580
591
  - 1
581
592
  - 3
@@ -584,7 +595,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
584
595
  requirements: []
585
596
 
586
597
  rubyforge_project:
587
- rubygems_version: 1.3.6
598
+ rubygems_version: 1.3.7
588
599
  signing_key:
589
600
  specification_version: 3
590
601
  summary: A Real Stylesheet Framework