anecdote 0.0.15 → 0.0.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/anecdote/version.rb +1 -1
- data/lib/anecdote.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 26b462a7f032dd1c37d9e4cf41611d511b1e5847
|
4
|
+
data.tar.gz: 5ca4283dbc78f3dbaa2b493725c621da361c7dcb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 77dd186bf97e796c51d1a07eecb19ef23261105c789fb88fea3d527e69078766ca89f46b4c75f180d3bfd566cf509f34da48c89c92d446fdce2cf842b28f51a0
|
7
|
+
data.tar.gz: 615fed50651bc8bdc50d16cd17a38dd121e740d3081c658983806ea08186b6c438d61e02114e2f25dbd48f1c6efe768e610f353d93b9ff10d77d255c63ace4c8
|
data/lib/anecdote/version.rb
CHANGED
data/lib/anecdote.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
require "raconteur"
|
2
2
|
require "kramdown"
|
3
|
-
require
|
3
|
+
require "nokogiri"
|
4
4
|
require "anecdote/engine"
|
5
5
|
|
6
6
|
module Anecdote
|
@@ -182,7 +182,7 @@ module Anecdote
|
|
182
182
|
end
|
183
183
|
def self.insert_flex_basis_styles(html_content, flexes)
|
184
184
|
index = 0
|
185
|
-
doc = Nokogiri::HTML::DocumentFragment.parse(html_content)
|
185
|
+
doc = ::Nokogiri::HTML::DocumentFragment.parse(html_content)
|
186
186
|
doc.elements.each do |element|
|
187
187
|
if element.attributes['class'].present? && element.attributes['class'].value.split(' ').include?('anecdote-module-3ba83n')
|
188
188
|
flex = flexes[index]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: anecdote
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jamie Appleseed
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-02-
|
11
|
+
date: 2016-02-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|