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 +4 -4
- data/Gemfile +12 -12
- data/README.md +4 -1
- data/lib/comfortable_mexican_sofa/content/params_parser.rb +5 -1
- data/lib/comfortable_mexican_sofa/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ab2c176d43e3783a684bd7245eb28f889af9ad8d1bd38665e4847e0fdefdbf08
|
4
|
+
data.tar.gz: d214102f49f6965873628fac4e9aec36a486c537d6548d6f0e76a5ffe027e208
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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",
|
22
|
-
gem "mocha",
|
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
|
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
|
-
#
|
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?
|
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.
|
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-
|
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.
|
642
|
+
rubygems_version: 2.7.5
|
643
643
|
signing_key:
|
644
644
|
specification_version: 4
|
645
645
|
summary: Rails 5.2+ CMS Engine
|