md_preview 0.0.4 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +16 -12
- data/lib/md_preview/version.rb +1 -1
- metadata +10 -10
data/README.markdown
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# Markdown Preview for Rails
|
2
2
|
|
3
|
-
Unobtrusively add markdown preview to textareas. This gem currently only works
|
4
|
-
with the asset pipeline enabled.
|
3
|
+
Unobtrusively add markdown preview to textareas. This gem currently only works
|
4
|
+
in Rails >= 3.1.x with the asset pipeline enabled.
|
5
5
|
|
6
6
|
## Installation
|
7
7
|
|
@@ -38,18 +38,22 @@ On any textarea, just set the `data-preview` attribute to `true`
|
|
38
38
|
|
39
39
|
## Contributing
|
40
40
|
|
41
|
-
Features and bugs are tracked through
|
41
|
+
Features and bugs are tracked through
|
42
|
+
[Github Issues](https://github.com/elm-city-craftworks/md_preview/issues).
|
42
43
|
|
43
44
|
Contributors retain copyright to their work but must agree to release their
|
44
|
-
contributions under the same terms as this project. For details, please see the
|
45
|
+
contributions under the same terms as this project. For details, please see the
|
46
|
+
LICENSE file.
|
45
47
|
|
46
48
|
If you would like to help with developing MD Preview, please get in touch!
|
47
|
-
Contact Jordan through [GitHub (@jordanbyron)](https://github.com/jordanbyron)
|
49
|
+
Contact Jordan through [GitHub (@jordanbyron)](https://github.com/jordanbyron)
|
50
|
+
or [Twitter (@jordan_byron)](http://twitter.com/jordan_byron)
|
48
51
|
|
49
52
|
### Submitting a Pull Request
|
50
53
|
|
51
54
|
1. If a ticket doesn't exist for your bug or feature, create one on GitHub.
|
52
|
-
- **NOTE:** Don't be afraid to get feedback on your idea before you begin
|
55
|
+
- **NOTE:** Don't be afraid to get feedback on your idea before you begin
|
56
|
+
development work. In fact it is encouraged.
|
53
57
|
2. Fork the project.
|
54
58
|
3. Create a topic branch.
|
55
59
|
4. Implement your feature or bug fix.
|
@@ -62,7 +66,11 @@ Contact Jordan through [GitHub (@jordanbyron)](https://github.com/jordanbyron) o
|
|
62
66
|
|
63
67
|
## Authorship
|
64
68
|
|
65
|
-
Originally this code was written by [Chap Ambrose](http://www.chapambrose.com/)
|
69
|
+
Originally this code was written by [Chap Ambrose](http://www.chapambrose.com/)
|
70
|
+
for Mendicant University's
|
71
|
+
[University-Web](https://github.com/mendicant-original/university-web). Later it
|
72
|
+
was _gemified_ by [Jordan Byron](http://jordanbyron.com) so it could be easily
|
73
|
+
included in new rails projects.
|
66
74
|
|
67
75
|
## License
|
68
76
|
|
@@ -72,8 +80,4 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
72
80
|
|
73
81
|
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
74
82
|
|
75
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
76
|
-
|
77
|
-
---
|
78
|
-
|
79
|
-
MD Preview - a [Mendicant University](http://mendicantuniversity.org) project
|
83
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/lib/md_preview/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: md_preview
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 1.0.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-09-27 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
|
-
requirement: &
|
16
|
+
requirement: &2175269280 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 3.1.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *2175269280
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: redcarpet
|
27
|
-
requirement: &
|
27
|
+
requirement: &2175268780 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: 2.0.0
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *2175268780
|
36
36
|
description: Rails plugin to unobtrusively add markdown preview to textareas
|
37
37
|
email:
|
38
|
-
- jordan@
|
38
|
+
- jordan.byron@gmail.com
|
39
39
|
executables: []
|
40
40
|
extensions: []
|
41
41
|
extra_rdoc_files: []
|
@@ -82,7 +82,7 @@ files:
|
|
82
82
|
- test/dummy/script/rails
|
83
83
|
- test/md_preview_test.rb
|
84
84
|
- test/test_helper.rb
|
85
|
-
homepage: https://github.com/
|
85
|
+
homepage: https://github.com/elm-city-craftworks/md_preview
|
86
86
|
licenses: []
|
87
87
|
post_install_message:
|
88
88
|
rdoc_options: []
|
@@ -96,7 +96,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
96
96
|
version: '0'
|
97
97
|
segments:
|
98
98
|
- 0
|
99
|
-
hash: -
|
99
|
+
hash: -1004098422301080603
|
100
100
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
101
101
|
none: false
|
102
102
|
requirements:
|
@@ -105,7 +105,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
105
105
|
version: '0'
|
106
106
|
segments:
|
107
107
|
- 0
|
108
|
-
hash: -
|
108
|
+
hash: -1004098422301080603
|
109
109
|
requirements: []
|
110
110
|
rubyforge_project:
|
111
111
|
rubygems_version: 1.8.15
|