sassy-strings 0.1 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/sassy-strings.rb +3 -3
  2. metadata +3 -2
data/lib/sassy-strings.rb CHANGED
@@ -4,7 +4,7 @@ Compass::Frameworks.register("sassy-strings", :path => "#{File.dirname(__FILE__)
4
4
  # Sassy String Functions
5
5
  module Sass::Script::Functions
6
6
  def str_replace(needle, replace, haystack)
7
- result = haystack.value.gsub(needle.value, replace.value)
7
+ result = haystack.value.to_s.gsub(needle.value.to_s, replace.value.to_s)
8
8
  Sass::Script::String.new(result)
9
9
  end
10
10
 
@@ -20,7 +20,7 @@ end
20
20
 
21
21
  module SassyStrings
22
22
 
23
- VERSION = "0.1"
24
- DATE = "2013-01-14"
23
+ VERSION = "0.1.1"
24
+ DATE = "2013-01-21"
25
25
 
26
26
  end
metadata CHANGED
@@ -5,7 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- version: "0.1"
8
+ - 1
9
+ version: 0.1.1
9
10
  platform: ruby
10
11
  authors:
11
12
  - Sam Richard
@@ -13,7 +14,7 @@ autorequire:
13
14
  bindir: bin
14
15
  cert_chain: []
15
16
 
16
- date: 2013-01-14 00:00:00 -05:00
17
+ date: 2013-01-21 00:00:00 -05:00
17
18
  default_executable:
18
19
  dependencies:
19
20
  - !ruby/object:Gem::Dependency