simple_form_markdown_editor 0.0.9 → 0.0.10

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: 33cae3c50cb9c0ab6d21829300e15b4f4435a9a6
4
- data.tar.gz: 3b469f98f31537954e66675e68ef8357f3a234ae
3
+ metadata.gz: c223a067b189cfc19fc2b13004aae3264a9da72b
4
+ data.tar.gz: '095304ef36d7a2bf71d813aabb742c14f880283f'
5
5
  SHA512:
6
- metadata.gz: 38d685d21ef075fb8c58a83a11ac2bbfa575c7202b238044bd825c7842f80b918fb77a2c99b8827db52205e1ff2c1f9d229d6573cb388091dde14e818715a253
7
- data.tar.gz: a9aae622f3b444ae0a9cbc4887712f9754e8401a994e4250d906ff17fd027e7b4e9b079100339b10bd7befa53c3dbc8ad82493dae8f8f7949eebee8d5b293062
6
+ metadata.gz: 461e126ef612f53bef65b62ce3321f31fefdf8f076a04843e68b50a64b8852f9988aafdf540fa672d22998923164baaad00dc02dc67c96d688906917a5f8ac4e
7
+ data.tar.gz: 0e9cc022b643e04635e6b0f800fae700e83dae49bc8b0096c69b3b9eee459d0003abe80f28c27bc1cf9f95216cdd3c366ac25030916e18ce740351d8c5b54ff7
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- simple_form_markdown_editor (0.0.9)
4
+ simple_form_markdown_editor (0.0.10)
5
5
  rails (>= 4.2)
6
6
  redcarpet
7
7
  responders
@@ -10,50 +10,50 @@ PATH
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
- actioncable (5.0.0.1)
14
- actionpack (= 5.0.0.1)
15
- nio4r (~> 1.2)
13
+ actioncable (5.0.2)
14
+ actionpack (= 5.0.2)
15
+ nio4r (>= 1.2, < 3.0)
16
16
  websocket-driver (~> 0.6.1)
17
- actionmailer (5.0.0.1)
18
- actionpack (= 5.0.0.1)
19
- actionview (= 5.0.0.1)
20
- activejob (= 5.0.0.1)
17
+ actionmailer (5.0.2)
18
+ actionpack (= 5.0.2)
19
+ actionview (= 5.0.2)
20
+ activejob (= 5.0.2)
21
21
  mail (~> 2.5, >= 2.5.4)
22
22
  rails-dom-testing (~> 2.0)
23
- actionpack (5.0.0.1)
24
- actionview (= 5.0.0.1)
25
- activesupport (= 5.0.0.1)
23
+ actionpack (5.0.2)
24
+ actionview (= 5.0.2)
25
+ activesupport (= 5.0.2)
26
26
  rack (~> 2.0)
27
27
  rack-test (~> 0.6.3)
28
28
  rails-dom-testing (~> 2.0)
29
29
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
30
- actionview (5.0.0.1)
31
- activesupport (= 5.0.0.1)
30
+ actionview (5.0.2)
31
+ activesupport (= 5.0.2)
32
32
  builder (~> 3.1)
33
33
  erubis (~> 2.7.0)
34
34
  rails-dom-testing (~> 2.0)
35
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
36
- activejob (5.0.0.1)
37
- activesupport (= 5.0.0.1)
35
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
36
+ activejob (5.0.2)
37
+ activesupport (= 5.0.2)
38
38
  globalid (>= 0.3.6)
39
- activemodel (5.0.0.1)
40
- activesupport (= 5.0.0.1)
41
- activerecord (5.0.0.1)
42
- activemodel (= 5.0.0.1)
43
- activesupport (= 5.0.0.1)
39
+ activemodel (5.0.2)
40
+ activesupport (= 5.0.2)
41
+ activerecord (5.0.2)
42
+ activemodel (= 5.0.2)
43
+ activesupport (= 5.0.2)
44
44
  arel (~> 7.0)
45
- activesupport (5.0.0.1)
45
+ activesupport (5.0.2)
46
46
  concurrent-ruby (~> 1.0, >= 1.0.2)
47
47
  i18n (~> 0.7)
48
48
  minitest (~> 5.1)
49
49
  tzinfo (~> 1.1)
50
50
  arel (7.1.4)
51
- builder (3.2.2)
52
- concurrent-ruby (1.0.2)
51
+ builder (3.2.3)
52
+ concurrent-ruby (1.0.5)
53
53
  erubis (2.7.0)
54
54
  globalid (0.3.7)
55
55
  activesupport (>= 4.1.0)
56
- i18n (0.7.0)
56
+ i18n (0.8.1)
57
57
  loofah (2.0.3)
58
58
  nokogiri (>= 1.5.9)
59
59
  mail (2.6.4)
@@ -63,55 +63,55 @@ GEM
63
63
  mime-types-data (~> 3.2015)
64
64
  mime-types-data (3.2016.0521)
65
65
  mini_portile2 (2.1.0)
66
- minitest (5.9.1)
67
- nio4r (1.2.1)
68
- nokogiri (1.6.8.1)
66
+ minitest (5.10.1)
67
+ nio4r (2.0.0)
68
+ nokogiri (1.7.1)
69
69
  mini_portile2 (~> 2.1.0)
70
70
  rack (2.0.1)
71
71
  rack-test (0.6.3)
72
72
  rack (>= 1.0)
73
- rails (5.0.0.1)
74
- actioncable (= 5.0.0.1)
75
- actionmailer (= 5.0.0.1)
76
- actionpack (= 5.0.0.1)
77
- actionview (= 5.0.0.1)
78
- activejob (= 5.0.0.1)
79
- activemodel (= 5.0.0.1)
80
- activerecord (= 5.0.0.1)
81
- activesupport (= 5.0.0.1)
73
+ rails (5.0.2)
74
+ actioncable (= 5.0.2)
75
+ actionmailer (= 5.0.2)
76
+ actionpack (= 5.0.2)
77
+ actionview (= 5.0.2)
78
+ activejob (= 5.0.2)
79
+ activemodel (= 5.0.2)
80
+ activerecord (= 5.0.2)
81
+ activesupport (= 5.0.2)
82
82
  bundler (>= 1.3.0, < 2.0)
83
- railties (= 5.0.0.1)
83
+ railties (= 5.0.2)
84
84
  sprockets-rails (>= 2.0.0)
85
- rails-dom-testing (2.0.1)
85
+ rails-dom-testing (2.0.2)
86
86
  activesupport (>= 4.2.0, < 6.0)
87
- nokogiri (~> 1.6.0)
87
+ nokogiri (~> 1.6)
88
88
  rails-html-sanitizer (1.0.3)
89
89
  loofah (~> 2.0)
90
- railties (5.0.0.1)
91
- actionpack (= 5.0.0.1)
92
- activesupport (= 5.0.0.1)
90
+ railties (5.0.2)
91
+ actionpack (= 5.0.2)
92
+ activesupport (= 5.0.2)
93
93
  method_source
94
94
  rake (>= 0.8.7)
95
95
  thor (>= 0.18.1, < 2.0)
96
96
  rake (11.3.0)
97
- redcarpet (3.3.4)
97
+ redcarpet (3.4.0)
98
98
  responders (2.3.0)
99
99
  railties (>= 4.2.0, < 5.1)
100
- simple_form (3.3.1)
100
+ simple_form (3.4.0)
101
101
  actionpack (> 4, < 5.1)
102
102
  activemodel (> 4, < 5.1)
103
- sprockets (3.7.0)
103
+ sprockets (3.7.1)
104
104
  concurrent-ruby (~> 1.0)
105
105
  rack (> 1, < 3)
106
106
  sprockets-rails (3.2.0)
107
107
  actionpack (>= 4.0)
108
108
  activesupport (>= 4.0)
109
109
  sprockets (>= 3.0.0)
110
- thor (0.19.1)
111
- thread_safe (0.3.5)
112
- tzinfo (1.2.2)
110
+ thor (0.19.4)
111
+ thread_safe (0.3.6)
112
+ tzinfo (1.2.3)
113
113
  thread_safe (~> 0.1)
114
- websocket-driver (0.6.4)
114
+ websocket-driver (0.6.5)
115
115
  websocket-extensions (>= 0.1.0)
116
116
  websocket-extensions (0.1.2)
117
117
 
@@ -124,4 +124,4 @@ DEPENDENCIES
124
124
  simple_form_markdown_editor!
125
125
 
126
126
  BUNDLED WITH
127
- 1.12.5
127
+ 1.14.6
@@ -17,7 +17,7 @@ module SimpleFormMarkdownEditor
17
17
  end
18
18
 
19
19
  def text
20
- params.require(:text)
20
+ params[:text].presence || ""
21
21
  end
22
22
 
23
23
  def options
@@ -1,3 +1,3 @@
1
1
  module SimpleFormMarkdownEditor
2
- VERSION = '0.0.9'.freeze
2
+ VERSION = '0.0.10'.freeze
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.9
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomas Celizna
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-11-04 00:00:00.000000000 Z
12
+ date: 2017-04-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -200,7 +200,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
200
200
  version: '0'
201
201
  requirements: []
202
202
  rubyforge_project:
203
- rubygems_version: 2.4.5.1
203
+ rubygems_version: 2.5.2
204
204
  signing_key:
205
205
  specification_version: 4
206
206
  summary: Simple Markdown editor (inspired by GitHub editor).