comfortable_mexican_sofa 2.0.11 → 2.0.12

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fe8ad6d999d79b54ee603c3716af9918f4db8b2698218c82fa33df2dc8fc8052
4
- data.tar.gz: 3f3507956e46ec294123605597bbb784e6e8fd16491521914d8b9b3de9a890d5
3
+ metadata.gz: ab2c176d43e3783a684bd7245eb28f889af9ad8d1bd38665e4847e0fdefdbf08
4
+ data.tar.gz: d214102f49f6965873628fac4e9aec36a486c537d6548d6f0e76a5ffe027e208
5
5
  SHA512:
6
- metadata.gz: 637075c7b4045281ec8ba6c9e48dfa515dc93ea9986cac4060a2f99867765438f28e429c1959bf30cbf388b41f20e83e6ab9dbaea859fbdb8a47a5ac8bcbf2db
7
- data.tar.gz: 4faf62c739c74b7efe0bd2287a15a3a54df7011fb19acffec60b1190ce7e35f354b4d8c10e6164b75d2043e338ce3f661ab271f6b84c1a978415322983b4292b
6
+ metadata.gz: 301bd06b86f9d7e6080edeed4aa0c39add0e83a8ffdebc799ef03507fedd09dbf2ac4d28adb46a45656991e68b361f5f300e54dba24d06a5996f6f63a6cbe4cb
7
+ data.tar.gz: 6768a98127dfde9834afd18e5085644db61d76e4e6629ddef4a50a480d588ada9c79cb56bf9958dc11f2693289737d3f227eadf2a266ec3a3dcb727aadd1ce41
data/Gemfile CHANGED
@@ -3,22 +3,22 @@ source "http://rubygems.org"
3
3
  gemspec
4
4
 
5
5
  group :development, :test do
6
- gem "byebug", platforms: %i[mri mingw x64_mingw]
7
- gem "capybara"
8
- gem "kaminari"
9
- gem "puma"
10
- gem "rubocop", require: false
11
- gem "selenium-webdriver"
12
- gem "sqlite3"
6
+ gem "byebug", "~> 10.0.0", platforms: %i[mri mingw x64_mingw]
7
+ gem "capybara", "~> 2.17.0"
8
+ gem "kaminari", "~> 1.1.1"
9
+ gem "puma", "~> 3.11.2"
10
+ gem "rubocop", "~> 0.52.1", require: false
11
+ gem "selenium-webdriver", "~> 3.9.0"
12
+ gem "sqlite3", "~> 1.3.13"
13
13
  end
14
14
 
15
15
  group :development do
16
- gem "listen"
17
- gem "web-console"
16
+ gem "listen", "~> 3.1.5"
17
+ gem "web-console", "~> 3.5.1"
18
18
  end
19
19
 
20
20
  group :test do
21
- gem "coveralls", require: false
22
- gem "mocha", require: false
23
- gem "rails-controller-testing"
21
+ gem "coveralls", "~> 0.8.21", require: false
22
+ gem "mocha", "~> 1.3.0", require: false
23
+ gem "rails-controller-testing", "~> 1.0.2"
24
24
  end
data/README.md CHANGED
@@ -32,7 +32,7 @@ ComfortableMexicanSofa is a powerful Ruby on Rails 5.2+ CMS (Content Management
32
32
  Add gem definition to your Gemfile:
33
33
 
34
34
  ```ruby
35
- gem 'comfortable_mexican_sofa', '~> 2.0.0'
35
+ gem "comfortable_mexican_sofa", "~> 2.0.0"
36
36
  ```
37
37
 
38
38
  Then from the Rails project's root run:
@@ -92,6 +92,9 @@ With Rails 4.2 and 5.0 use gem version [1.12.10](https://rubygems.org/gems/comfo
92
92
 
93
93
  With Rails 3.0 use gem version [1.8.5](https://rubygems.org/gems/comfortable_mexican_sofa/versions/1.8.5)
94
94
 
95
+ [CHANGELOG](//github.com/comfy/comfortable-mexican-sofa/releases) is documented
96
+ in Github releases.
97
+
95
98
  #### Contributing
96
99
 
97
100
  ComfortableMexicanSofa repository can be ran like a regular Rails application in
@@ -57,8 +57,12 @@ module ComfortableMexicanSofa::Content::ParamsParser
57
57
  end
58
58
  end
59
59
 
60
- # tokenizing input string into a list of touples
60
+ # Tokenizing input string into a list of touples
61
+ # Also args_string is stripped of "smart" quotes coming from wysiwyg
61
62
  def self.tokenize(args_string)
63
+ args_string.gsub!(%r{[“”]}, '"')
64
+ args_string.gsub!(%r{[‘’]}, "'")
65
+
62
66
  tokens = []
63
67
  ss = StringScanner.new(args_string)
64
68
  until ss.eos?
@@ -1,5 +1,5 @@
1
1
  module ComfortableMexicanSofa
2
2
 
3
- VERSION = "2.0.11".freeze
3
+ VERSION = "2.0.12".freeze
4
4
 
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: comfortable_mexican_sofa
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.11
4
+ version: 2.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oleg Khabarov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-08 00:00:00.000000000 Z
11
+ date: 2018-02-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: active_link_to
@@ -639,7 +639,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
639
639
  version: '0'
640
640
  requirements: []
641
641
  rubyforge_project:
642
- rubygems_version: 2.7.4
642
+ rubygems_version: 2.7.5
643
643
  signing_key:
644
644
  specification_version: 4
645
645
  summary: Rails 5.2+ CMS Engine