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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e26f353b8fc2e1dd3b1565677fef72250852cbc1a0c4783ba2afdff790f87562
4
- data.tar.gz: b4b18e280b4a45f2212f8a916a1c7327f6687de3442dcec8a208e3b7441aa596
3
+ metadata.gz: 18618ca564f2863bdb0038394f24264d10261ffae0b5bbaa1fd90ab875e7f50a
4
+ data.tar.gz: c691a2b8d752abbfffcace699556346d4588faf84c79455fee353043b742d862
5
5
  SHA512:
6
- metadata.gz: 4c07daf044dae27c2bcd13e3fc4c9cffe89a57e7d220cd2d2cb0c67206627f77f152771b773a144744d7ebce4a723ce8077f316d13b016397465187c5ab9e02a
7
- data.tar.gz: a5bf892e1ad4d76ad5cde1ac66290cbf28a4bda05dfc3a8b813145a3265ab7d8062b3342df5a6b3fb707fbc876df08b9045377f1c1c3c0e04121d36559ec1e3e
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
@@ -12,7 +12,7 @@ A plugin to edit Markdown text in [Administrate] using [SimpleMDE] v1.11.2.
12
12
  Add it to your `Gemfile`:
13
13
 
14
14
  ```ruby
15
- gem 'administrate-field-simple_markdown', '~> 0.1.1'
15
+ gem 'administrate-field-simple_markdown', '~> 0.1.2'
16
16
  ```
17
17
 
18
18
  Run:
@@ -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.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.downcase %>_<%= field.attribute %>')
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.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-03-09 00:00:00.000000000 Z
11
+ date: 2018-05-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: administrate