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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d628d5c32124d89df9dafcec24995c354d31d2aa
4
- data.tar.gz: e5c57475d9ff5431482cb2183e3ff696db613e54
3
+ metadata.gz: 26b462a7f032dd1c37d9e4cf41611d511b1e5847
4
+ data.tar.gz: 5ca4283dbc78f3dbaa2b493725c621da361c7dcb
5
5
  SHA512:
6
- metadata.gz: 6ece7c56139ad3751ab385572fd247975abec5815ecb6045ee0592bc2f6662501ee481d8e1cc45582fba1788f74a16134616a8c091e0d5ba8839e28ca54b1699
7
- data.tar.gz: 0ea7aac822997ecc2a34aaf27d4c8d7a426b083b9f68c67e79ce02a215e4a08fe632867b1b8010a1ad59e82aaf4496cf7674ef887fcc353eb680523388c62cff
6
+ metadata.gz: 77dd186bf97e796c51d1a07eecb19ef23261105c789fb88fea3d527e69078766ca89f46b4c75f180d3bfd566cf509f34da48c89c92d446fdce2cf842b28f51a0
7
+ data.tar.gz: 615fed50651bc8bdc50d16cd17a38dd121e740d3081c658983806ea08186b6c438d61e02114e2f25dbd48f1c6efe768e610f353d93b9ff10d77d255c63ace4c8
@@ -1,3 +1,3 @@
1
1
  module Anecdote
2
- VERSION = "0.0.15"
2
+ VERSION = "0.0.16"
3
3
  end
data/lib/anecdote.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  require "raconteur"
2
2
  require "kramdown"
3
- require 'nokogiri'
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.15
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-17 00:00:00.000000000 Z
11
+ date: 2016-02-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails