jekyll-attendease 0.6.20.pre → 0.6.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jekyll/attendease_plugin/filters.rb +0 -11
- data/lib/jekyll/attendease_plugin/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e8a566cbcf8a099ac4981501601531674b92f77
|
4
|
+
data.tar.gz: 33dbf644a8ceab90cba41488b9f535494e8efb0e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c8d0b54a220bb5b076ca0149555b0767fe712c763445a4a1cf16bacfacecb7d67116e529848f418f95e9d9ed5e2578feb7304b2471bb231ae1d31e132426588d
|
7
|
+
data.tar.gz: d2b6bfc557e18de56aac6b351714e8697207b679a667aa7cae5253c40ba6124ddd414557ce6784c70411bb437eaa15ee2147810132b41e6d30b2bd4d945051ff
|
@@ -4,20 +4,9 @@ module Jekyll
|
|
4
4
|
def slugify(string)
|
5
5
|
Helpers.parameterize(string, '_')
|
6
6
|
end
|
7
|
-
|
8
7
|
def json(obj)
|
9
8
|
obj.to_json
|
10
9
|
end
|
11
|
-
|
12
|
-
def safe_json(obj)
|
13
|
-
obj = obj.to_json
|
14
|
-
obj.gsub!(/[^\x00-\x7F]/,'') # escape non-ascii
|
15
|
-
obj.gsub!(/\\[nrt]/,'') # escape multiline
|
16
|
-
obj.gsub!('\"','escaped-quotes') # escape content quotes I
|
17
|
-
obj.gsub!('"','\"') # escape quoting quotes
|
18
|
-
obj.gsub!('escaped-quotes','\\\\\\\\\"') # escape content quotes II
|
19
|
-
obj
|
20
|
-
end
|
21
10
|
end
|
22
11
|
end
|
23
12
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-attendease
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.20
|
4
|
+
version: 0.6.20
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Wood
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date:
|
14
|
+
date: 2016-02-17 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: httparty
|
@@ -210,9 +210,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
210
210
|
version: '0'
|
211
211
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
212
212
|
requirements:
|
213
|
-
- - "
|
213
|
+
- - ">="
|
214
214
|
- !ruby/object:Gem::Version
|
215
|
-
version:
|
215
|
+
version: '0'
|
216
216
|
requirements: []
|
217
217
|
rubyforge_project:
|
218
218
|
rubygems_version: 2.4.8
|