sassy-strings 0.3 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/sassy-strings.rb +7 -7
  2. metadata +2 -1
data/lib/sassy-strings.rb CHANGED
@@ -11,12 +11,12 @@ module Sass::Script::Functions
11
11
 
12
12
  # Split String
13
13
  def split_string(string, key)
14
- items = string.value.split(/\s+#{Regexp.escape(key.value)}\s+/)
15
- if items.count == 1
16
- Sass::Script::Bool.new(false)
17
- else
18
- Sass::Script::List.new(items.map{|i| Sass::Script::String.new(i)}, :comma)
19
- end
14
+ items = string.value.split(key.value)
15
+ if items.count == 1
16
+ Sass::Script::Bool.new(false)
17
+ else
18
+ Sass::Script::List.new(items.map{|i| Sass::Script::String.new(i)}, :comma)
19
+ end
20
20
  end
21
21
 
22
22
  # String Position
@@ -43,7 +43,7 @@ end
43
43
 
44
44
  module SassyStrings
45
45
 
46
- VERSION = "0.3"
46
+ VERSION = "0.3.1"
47
47
  DATE = "2013-01-23"
48
48
 
49
49
  end
metadata CHANGED
@@ -5,7 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 3
8
- version: "0.3"
8
+ - 1
9
+ version: 0.3.1
9
10
  platform: ruby
10
11
  authors:
11
12
  - Sam Richard