simple_form_markdown_editor 0.0.4 → 0.0.5

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: 6a56989779d97f943e8bf677fc7fcffd2c50574e
4
- data.tar.gz: ec258800ffbae843e3062b2287273e8a5057128c
3
+ metadata.gz: 637f917f8e59d86a568466cffed576d5313a7b3c
4
+ data.tar.gz: 735809d7dac1853ef57ef1a9b0c368faf1e5ffc5
5
5
  SHA512:
6
- metadata.gz: bfa440a693ee7d95f58b0ede31cbb46812b8b39902e9c0b8c0bf77646a9d3de75b5fc692562e6a6454106e36b75913255af32847cbd1789cea3a6188023cf59c
7
- data.tar.gz: 5712c6b67647783cb5022901fbf9a1b8e3b6efe9c265129f5daed7e8748ee30688224afe176e1378cfa0a5a8e1465249f28ab8ec41c0e0e76213210096962106
6
+ metadata.gz: 3bdd11de8cd6b20a5d2dd3a0492b3dcac3c09bd86487a5a0f661b4189a91916a27fb9ed08534de6b48596c85c717565d9d38f73a8eb9e085d24bcb02ecc2c903
7
+ data.tar.gz: d1ba46946fe81eb3827fcb82486ccd876d27c41126ce7e6efc6be78745723419217d48446f9e001e78541ffded2b486b83f6dec965048312096b518af3d5d393
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- simple_form_markdown_editor (0.0.4)
4
+ simple_form_markdown_editor (0.0.5)
5
5
  rails (>= 4.2)
6
6
  redcarpet
7
7
  simple_form (>= 3.0.2)
@@ -30,11 +30,11 @@ module SimpleFormMarkdownEditor
30
30
  private # =============================================================
31
31
 
32
32
  def input_html_options
33
- super.merge(
34
- data: {
35
- preview_path: options.fetch(:route, MarkdownEditorInput.configuration.route)
36
- }
33
+ super[:data] ||= {}
34
+ super[:data].merge!(
35
+ preview_path: options.fetch(:route, MarkdownEditorInput.configuration.route)
37
36
  )
37
+ super
38
38
  end
39
39
 
40
40
  def render_options
@@ -1,3 +1,3 @@
1
1
  module SimpleFormMarkdownEditor
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_form_markdown_editor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomáš Celizna
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-09-12 00:00:00.000000000 Z
12
+ date: 2015-09-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails