brief 1.14.0 → 1.14.1

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: 492b8deb3666e930f5319091d35dd864a7978053
4
- data.tar.gz: f87bb8973ab58226831c88c125ab0d52f1d6df31
3
+ metadata.gz: 6358dea3eafddfbe97b057972dd846f2c5990ada
4
+ data.tar.gz: 13f1d129366b38180a707bacd8fa6be906a211ca
5
5
  SHA512:
6
- metadata.gz: 0cf34a058eeb298b8ed33ed6a766d8e24367317194cda8e5151477ec47a44c4588705cf75b282224ca4d6eaacd509e58edbe2a138f2dd134a14148f9cedeefc8
7
- data.tar.gz: 3d93821f75f88cded4e5a16d48c1ecf13ae71a8bcb8d37ed8792d4333608d24f59f57e18eeb158b3cc293078e25ce5798bc6db3afc1e7eddb06a49397760f8e9
6
+ metadata.gz: 8f5f9c3453997419d55ce210d37bcf687f396993c60bf38c568ef585a397963a39a7228c6e4bb16e0702c824e6a6897169fecc28840092fa22f67d11758a0290
7
+ data.tar.gz: 7b2d2cff36f86caeac97af09c576edcc60b0a77fc19b6ff36e5c3538a280f55c969c16f78060f915bc8b78ff7c919cc6d0becf88e9e8a1673ff11c39865e09f1
@@ -292,8 +292,6 @@ module Brief
292
292
  @parser ||= begin
293
293
  structure.prescan
294
294
 
295
- structure.assign_id_attributes_to_pre_tags
296
-
297
295
  structure.create_wrappers.tap do |f|
298
296
  transformer_for(f).all
299
297
  end
data/lib/brief/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Brief
2
- VERSION = '1.14.0'
2
+ VERSION = '1.14.1'
3
3
  end
@@ -3,6 +3,6 @@ class Brief::Persona
3
3
 
4
4
  content do
5
5
  msg "[data-random-attr='value']"
6
- rando "#rando pre[lang='yaml'] code", :serialize => :yaml
6
+ rando "#rando code", :serialize => :yaml
7
7
  end
8
8
  end
@@ -5,7 +5,7 @@ describe "DOM Attribute Assignment" do
5
5
  let(:model) { doc.to_model }
6
6
 
7
7
  it "should make targeting elements easier" do
8
- binding.pry
8
+ expect(doc.css('#rando code').text).not_to be_empty
9
9
  end
10
10
 
11
11
  it "should assign attributes to the headings" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brief
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.14.0
4
+ version: 1.14.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Soeder