scene7ize 0.2.6 → 0.2.7

Sign up to get free protection for your applications and to get access to all the features.
data/lib/scene7ize.rb CHANGED
@@ -3,7 +3,9 @@ require 'mini_magick'
3
3
  require 'uri'
4
4
 
5
5
  module Scene7ize
6
- DEFAULT_REGEX = /(?<=[\('"])(?<dir_and_basename>((?!['"\)]).)*)\.(?<ext>gif|jpg|jpeg|png)(?=['"\)])/i
6
+ # DEFAULT_REGEX = /(?<=[\('"])(?<dir_and_basename>((?!['"\)]).)*)\.(?<ext>gif|jpg|jpeg|png)(?=['"\)])/i
7
+ DEFAULT_REGEX = /(?<dir_and_basename>((?!['"\)\(]).)*)\.(?<ext>gif|jpg|jpeg|png)(?=['"\)])/i
8
+
7
9
 
8
10
  class << self; attr_accessor :scene7prefix; end
9
11
 
@@ -1,3 +1,3 @@
1
1
  module Scene7ize
2
- VERSION = "0.2.6"
2
+ VERSION = "0.2.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scene7ize
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-06 00:00:00.000000000 Z
12
+ date: 2013-03-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake