emd 0.5.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +19 -19
  3. data/lib/emd/version.rb +1 -1
  4. metadata +9 -9
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1e8dc43dfd6b92d9f64be7efb17ffeb7bd91e4499ee86864dde7b9c6ebd0c2e7
4
- data.tar.gz: 2454b8a5241453b7f6f63111d3d954c737ca2430f2ab2195b83cfbd9bfa83519
3
+ metadata.gz: 1057ad153eab8a0f90c99e96bf865fe7c91c42b5dad62a85c9b0faea346182e1
4
+ data.tar.gz: 598ea55c1fda7b8b58ba6e3cd4f15925d6178b229bc7089c15384852474a9fb6
5
5
  SHA512:
6
- metadata.gz: 3b81bec64727eb98c3eeefdceaca3f03d4fb353f6109ceb55152fd211f75ba05e3bafcda10145210d8608d28781b7a4a53eb2e90288f58655fcc89a8abf4d715
7
- data.tar.gz: 2cbfd17832dcb68f1f56969dc18563afb92769706b28ddf3126d9e168a396527cd2af02fedaf9cd17c6f7febeee6f463d06f6d793a0e7bfe9236c4e72b83d9c3
6
+ metadata.gz: 962543192bd7344fe0eed7b1321ed148f5983cf849e972c0fcc9eaf775a1b37a586fe0b5ab9a94828d90f1afe757c8eccd4a4a6114d4f9ee248dd7acdeb6b8e7
7
+ data.tar.gz: ab22746d9fa60ffd996cd07c24adadbcee89d01d254de75c394d4141327b5e81e4711c4e724ace98c5200653943f4123e1853a60663c03a70c6ee38fdf73a9c1
data/README.md CHANGED
@@ -23,18 +23,18 @@ bundle
23
23
 
24
24
  1. Create a `markdown.html.md` view at `app/view/home/markdown.html.md` and add the following Markdown code:
25
25
 
26
- ```markdown
27
- ## This is a sample Markdown code
28
- - [google](http://google.com)
29
- - [emd](https://github.com/ytbryan/emd/)
30
- ```
26
+ ```markdown
27
+ ## This is a sample Markdown code
28
+ - [google](http://google.com)
29
+ - [emd](https://github.com/ytbryan/emd/)
30
+ ```
31
31
 
32
32
  1. Generate a home controller using the following command `rails generate controller home`
33
33
 
34
34
  1. Add the following line to `route.rb`:
35
- ```
36
- get '/markdown', to: 'home#markdown'
37
- ```
35
+ ```
36
+ get '/markdown', to: 'home#markdown'
37
+ ```
38
38
  1. And finally, visit the Markdown view at [http://localhost:3000/markdown](http://localhost:3000/markdown)
39
39
 
40
40
 
@@ -42,20 +42,20 @@ bundle
42
42
 
43
43
  1. Create a `_component.html.md` partial at `app/view/home/_component.html.md`:
44
44
 
45
- ```markdown
46
- ### This is a component
45
+ ```markdown
46
+ ### This is a component
47
47
 
48
- - This is item 1
49
- - This is iiem 2
50
- - [This is a link to google] (http://google.com)
51
- ```
48
+ - This is item 1
49
+ - This is iiem 2
50
+ - [This is a link to google] (http://google.com)
51
+ ```
52
52
 
53
53
  1. Use this partial using `<%= render "component" %>` within any view like at `home/index.html.erb`
54
54
 
55
55
  1. Add the following line to `route.rb`:
56
- ```
57
- get '/home', to: 'home#index'
58
- ```
56
+ ```
57
+ get '/home', to: 'home#index'
58
+ ```
59
59
  1. And finally, visit the Rails view with Markdown partial at [http://localhost:3000/home](http://localhost:3000/home)
60
60
 
61
61
 
@@ -72,8 +72,8 @@ This will turn all the code block into:
72
72
 
73
73
  ```ruby
74
74
  ```ruby
75
- class Something
76
- end
75
+ class Something
76
+ end
77
77
  ```
78
78
  ```
79
79
 
data/lib/emd/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Emd
2
- VERSION = "0.5.0"
2
+ VERSION = "0.6.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: emd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bryan Lim
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-24 00:00:00.000000000 Z
11
+ date: 2021-09-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: redcarpet
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 3.4.0
19
+ version: 3.5.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 3.4.0
26
+ version: 3.5.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 1.1.2
61
+ version: 1.1.3
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - '='
67
67
  - !ruby/object:Gem::Version
68
- version: 1.1.2
68
+ version: 1.1.3
69
69
  description: Embedded markdown template for Ruby on Rails
70
70
  email:
71
71
  - ytbryan@gmail.com
@@ -103,8 +103,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
103
103
  - !ruby/object:Gem::Version
104
104
  version: '0'
105
105
  requirements: []
106
- rubygems_version: 3.0.4
107
- signing_key:
106
+ rubygems_version: 3.1.2
107
+ signing_key:
108
108
  specification_version: 4
109
109
  summary: Markdown partial and .html.md on Rails View
110
110
  test_files: []