comfortable_mexican_sofa 1.0.4 → 1.0.5

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.4
1
+ 1.0.5
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{comfortable_mexican_sofa}
8
- s.version = "1.0.4"
8
+ s.version = "1.0.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Oleg Khabarov", "The Working Group Inc"]
@@ -86,7 +86,7 @@ private
86
86
  # Tags are processed further and their content is expanded in the same way.
87
87
  # Tags are defined in the parent tags are ignored and not rendered.
88
88
  def self.process_content(cms_page, content = '', parent_tag = nil)
89
- tokens = content.to_s.scan(/(<\s*cms:\w+:\w+(?::\w+)?\s*\/?>)|((?:[^<]|\<(?!\s*cms:\w+:\w+(?::\w+)?\s*\/?>))+)/)
89
+ tokens = content.to_s.scan(/(<\s*cms:\w+:\w+(?::.+)?\s*\/?>)|((?:[^<]|\<(?!\s*cms:\w+:\w+(?::.+)?\s*\/?>))+)/)
90
90
  tokens.collect do |tag_signature, text|
91
91
  if tag_signature
92
92
  if tag = self.initialize_tag(cms_page, tag_signature)
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: comfortable_mexican_sofa
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 29
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 4
10
- version: 1.0.4
9
+ - 5
10
+ version: 1.0.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Oleg Khabarov