mastalk 0.2.0 → 0.2.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: 20d1aaef80c7e2a2b51c613eee6e0df5ab6fbe9c
4
- data.tar.gz: 1c3ea4b6799681f990a1ae55bd1f2440e982057c
3
+ metadata.gz: 5e2063c03e65f608a762f45f94e1bcfa4e4f3370
4
+ data.tar.gz: d113627da0b8674984686b0c0d796518af1a68fb
5
5
  SHA512:
6
- metadata.gz: 2413d958bdfbfb7d8420c06b62496ca2b0b381ab9b1f0fc185bf88c3786310b50c1fbe7d792689d5ed20ceee303fa2fc63048b9d6559b222fc346f0747cb248d
7
- data.tar.gz: 29371f00356396cf9d4ac9d02241460ce3274cbd519d7ce4c68880abd644b9661a35bea0129c010fc8390286672d5279970a03e6c8cf27c14c3d9dc451d9f00c
6
+ metadata.gz: b9e54c8a0e561b110ba704d680d4d6b9ec1f0cf7bb1712b1f1197494bc191e64dde730a69a4fa8ba6552d7ec6f4704dd7b6dc62d59ed1ecee07d7d3628dd5bf3
7
+ data.tar.gz: c8c1a02e4c9a5a6280b07cda883c1ecc4fc2dae956e03de946777f211e4bd02b76f40ace9bf49ac29dc63a3434407cf8bfc4eaa6d60c692f0e2c2768846e09d0
@@ -1,5 +1,5 @@
1
1
  # $action, $item
2
2
 
3
3
  <div class='action-item'>
4
- <%= body %>
4
+ <%= Kramdown::Document.new(body).to_html.gsub(/<p>|<\/p>/, '') %>
5
5
  </div>
@@ -1,5 +1,5 @@
1
1
  # $collapsable
2
2
 
3
3
  <div class='collapsable'>
4
- <%= body.strip %>
4
+ <%= Mastalk::Document.new(body.strip).to_html %>
5
5
  </div>
data/mastalk.gemspec CHANGED
@@ -3,8 +3,8 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = 'mastalk'
6
- s.version = '0.2.0'
7
- s.date = '2014-11-11'
6
+ s.version = '0.2.1'
7
+ s.date = '2014-11-17'
8
8
  s.summary = 'mastalk'
9
9
  s.description = 'Mastalk markdown extension language'
10
10
  s.authors = ['Douglas Roper']
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mastalk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Douglas Roper
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-11 00:00:00.000000000 Z
11
+ date: 2014-11-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: kramdown