administrate-field-simple_markdown 0.1.1 → 0.1.2
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 +4 -4
- data/CHANGELOG.md +6 -0
- data/README.md +1 -1
- data/administrate-field-simple_markdown.gemspec +1 -1
- data/app/views/fields/simple_markdown/_form.html.erb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 18618ca564f2863bdb0038394f24264d10261ffae0b5bbaa1fd90ab875e7f50a
|
|
4
|
+
data.tar.gz: c691a2b8d752abbfffcace699556346d4588faf84c79455fee353043b742d862
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: aa45d79162604a34b01c324c2beeb33d1833256d664b3a82b9ea29062a6afae6e418a511a3012408caf268c7fa410daa9f366166a61d89d4abddcb5a5d9b6ea6
|
|
7
|
+
data.tar.gz: e89153fe7f6f7dd0a9904b3962299c2907f079afefdd05694a761cfbd03f1fe475f82385f171e66a28715aa926d96d0e6fbd088d39b8b1423d9818650abb2796
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [v0.1.2](https://github.com/zooppa/administrate-field-simple_markdown/tree/v0.1.2) (2018-05-24)
|
|
4
|
+
|
|
5
|
+
[Full Changelog](https://github.com/zooppa/administrate-field-simple_markdown/compare/v0.1.1...v0.1.2)
|
|
6
|
+
|
|
7
|
+
* Use snakecase when generating ID (thanks @golmansax)
|
|
8
|
+
|
|
3
9
|
## [v0.1.1](https://github.com/zooppa/administrate-field-simple_markdown/tree/v0.1.1) (2018-03-09)
|
|
4
10
|
|
|
5
11
|
[Full Changelog](https://github.com/zooppa/administrate-field-simple_markdown/compare/v0.1.0...v0.1.1)
|
data/README.md
CHANGED
|
@@ -2,7 +2,7 @@ $:.push File.expand_path('../lib', __FILE__)
|
|
|
2
2
|
|
|
3
3
|
Gem::Specification.new do |gem|
|
|
4
4
|
gem.name = 'administrate-field-simple_markdown'
|
|
5
|
-
gem.version = '0.1.
|
|
5
|
+
gem.version = '0.1.2'
|
|
6
6
|
gem.authors = ['Michele Gerarduzzi']
|
|
7
7
|
gem.email = ['michele.gerarduzzi@gmail.com']
|
|
8
8
|
gem.homepage = 'https://github.com/zooppa/administrate-field-simple_markdown'
|
|
@@ -21,7 +21,7 @@ This partial renders a WYSIWYG text area to help writing Markdown text
|
|
|
21
21
|
<script type="text/javascript">
|
|
22
22
|
$(function() {
|
|
23
23
|
new SimpleMDE({
|
|
24
|
-
element: document.getElementById('<%= f.object.class.name.
|
|
24
|
+
element: document.getElementById('<%= f.object.class.name.underscore %>_<%= field.attribute %>')
|
|
25
25
|
});
|
|
26
26
|
});
|
|
27
27
|
</script>
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: administrate-field-simple_markdown
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michele Gerarduzzi
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-
|
|
11
|
+
date: 2018-05-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: administrate
|