ponkotsu-md-editor 0.1.4 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 95bbeed5ae3fc8d9b2566bd53e3579ea3c751734575148b7106a33b77a3a485a
4
- data.tar.gz: 13196465f96b620965ab53990f01c0bfa13be83e62895dab31fae691a7c2b545
3
+ metadata.gz: c39dc70583156f0289b145ee40357e799270e1757df84785d57a7d77514f814c
4
+ data.tar.gz: 3c7276ddf5f78ef24cd247ba00962a2c14bce0e4a611f8fa95f0bdc7d935f440
5
5
  SHA512:
6
- metadata.gz: 425b187b1afad1e0d3041da690ab87adffcb50b8dfbd8b85d7934dd8dd86a42392e547efeca5a5b87a7633bed646e0ac65d1c8363d566380d3c58a65d7251a7c
7
- data.tar.gz: c5abfa48b4813665ecc44769ab66a03c5aa4db792831b9374863081ebbd5a92a2fbad423da7c3c5de8b850ad7cb7d98196ab845565af593f2546ec05abb1c562
6
+ metadata.gz: ce01bedbcfa8d68c0789cdb24fc5a8acfc7ae71ae2a48dcd0b80805fb677d89f37494c63409abc81a63ae7d97bc22d1d830883294a10af3009b9892f96f2917b
7
+ data.tar.gz: 38f893ed39d268b09a20c931b0c243f126305177b9e19dc767382516ef18f8e5dcd72002e0aedf74bc01d9905e481c7d6ca2c2f79b8b3d1fedf9cc9ba809eacf
@@ -5,7 +5,7 @@
5
5
  lang: options[:lang] || :en,
6
6
  preview: options[:preview] || true,
7
7
  tools: options[:tools] || %w[bold italic strikethrough heading1 heading2 heading3 heading4 heading5 heading6 unordered_list ordered_list check_list blockquote link image code code_block table horizontal_rule],
8
- placeholder: locals[:placeholder] || case lang
8
+ placeholder: options[:placeholder] || case lang
9
9
  when :en
10
10
  <<-EOS
11
11
  EOS
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PonkotsuMdEditor
4
- VERSION = "0.1.4"
4
+ VERSION = "0.1.6"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ponkotsu-md-editor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - dhq_boiler
@@ -36,12 +36,12 @@ files:
36
36
  - LICENSE.txt
37
37
  - README.md
38
38
  - Rakefile
39
- - lib/app/assets/javascripts/markdown_editor.js
40
- - lib/app/assets/stylesheets/markdown_editor.css
41
- - lib/app/views/ponkotsu_md_editor/_editor.html.erb
42
- - lib/app/views/ponkotsu_md_editor/_input_area.html.erb
43
- - lib/app/views/ponkotsu_md_editor/_preview_area.html.erb
44
- - lib/app/views/ponkotsu_md_editor/_toolbar.html.erb
39
+ - app/assets/javascripts/markdown_editor.js
40
+ - app/assets/stylesheets/markdown_editor.css
41
+ - app/views/ponkotsu_md_editor/_editor.html.erb
42
+ - app/views/ponkotsu_md_editor/_input_area.html.erb
43
+ - app/views/ponkotsu_md_editor/_preview_area.html.erb
44
+ - app/views/ponkotsu_md_editor/_toolbar.html.erb
45
45
  - lib/ponkotsu/md/editor.rb
46
46
  - lib/ponkotsu/md/editor/engine.rb
47
47
  - lib/ponkotsu/md/editor/helpers.rb