mongoid_markdown 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +3 -4
- data/lib/mongoid_markdown/version.rb +1 -1
- data/mongoid_markdown.gemspec +1 -4
- metadata +14 -61
- data/Guardfile +0 -10
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 0e3c67a7c42efc661e1a432dc6348fdf2dfb5690
|
4
|
+
data.tar.gz: 6a61886b3386e3790cb8751c34b303aaae88a57e
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 290e5099020da8fc2fd8c012c78af8c6e5561fdac2b327addee15a82e1634bd53b5eab06b4ab74a53eb01c27232dcfc1ec1449d5a3a88f381596950c43da2d93
|
7
|
+
data.tar.gz: 5c7ef68f2881683fcd9cf828d483957d3e8b691305658b44e5e118b89b2ccc65c2ef2a80577c94fa93789c9d47d5849056bf47c4c3b30a794b16130ddfbb9e59
|
data/README.md
CHANGED
@@ -1,15 +1,14 @@
|
|
1
1
|
# mongoid_markdown
|
2
2
|
|
3
|
+
[![Code Climate](https://codeclimate.com/github/lasseebert/mongoid_markdown.png)](https://codeclimate.com/github/lasseebert/mongoid_markdown)
|
4
|
+
[![Gem Version](https://badge.fury.io/rb/mongoid_markdown.png)](http://badge.fury.io/rb/mongoid_markdown)
|
5
|
+
|
3
6
|
Makes it easy to handle a field in a mongoid document that contains markdown.
|
4
7
|
|
5
8
|
Creates an extra method `parsed_field_name` which will return the HTML markup of the markdown.
|
6
9
|
|
7
10
|
## Installation
|
8
11
|
|
9
|
-
**Note: This is not published to RubyGems yet - waiting for their recovery**
|
10
|
-
|
11
|
-
**In the meantime use `gem 'mongoid_markdown', git: 'https://github.com/lasseebert/mongoid_markdown.git'`**
|
12
|
-
|
13
12
|
Add this line to your application's Gemfile:
|
14
13
|
|
15
14
|
gem 'mongoid_markdown'
|
data/mongoid_markdown.gemspec
CHANGED
@@ -17,11 +17,8 @@ Gem::Specification.new do |gem|
|
|
17
17
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
18
18
|
gem.require_paths = ["lib"]
|
19
19
|
|
20
|
-
gem.add_dependency 'redcarpet', '
|
20
|
+
gem.add_dependency 'redcarpet', '> 2.2'
|
21
21
|
gem.add_dependency 'mongoid'
|
22
22
|
|
23
23
|
gem.add_development_dependency 'rspec', '~> 2.12'
|
24
|
-
gem.add_development_dependency 'guard-rspec', '~> 2.4'
|
25
|
-
gem.add_development_dependency 'rb-inotify', '~> 0.8.8'
|
26
|
-
|
27
24
|
end
|
metadata
CHANGED
@@ -1,96 +1,57 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mongoid_markdown
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
5
|
-
prerelease:
|
4
|
+
version: 0.1.3
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Lasse Skindstad Ebert
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2015-04-17 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: redcarpet
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - ">"
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: '2.2'
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - ">"
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: '2.2'
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: mongoid
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - ">="
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: '0'
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- -
|
38
|
+
- - ">="
|
44
39
|
- !ruby/object:Gem::Version
|
45
40
|
version: '0'
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: rspec
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
|
-
- - ~>
|
45
|
+
- - "~>"
|
52
46
|
- !ruby/object:Gem::Version
|
53
47
|
version: '2.12'
|
54
48
|
type: :development
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
|
-
- - ~>
|
52
|
+
- - "~>"
|
60
53
|
- !ruby/object:Gem::Version
|
61
54
|
version: '2.12'
|
62
|
-
- !ruby/object:Gem::Dependency
|
63
|
-
name: guard-rspec
|
64
|
-
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
|
-
requirements:
|
67
|
-
- - ~>
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version: '2.4'
|
70
|
-
type: :development
|
71
|
-
prerelease: false
|
72
|
-
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
|
-
requirements:
|
75
|
-
- - ~>
|
76
|
-
- !ruby/object:Gem::Version
|
77
|
-
version: '2.4'
|
78
|
-
- !ruby/object:Gem::Dependency
|
79
|
-
name: rb-inotify
|
80
|
-
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
|
-
requirements:
|
83
|
-
- - ~>
|
84
|
-
- !ruby/object:Gem::Version
|
85
|
-
version: 0.8.8
|
86
|
-
type: :development
|
87
|
-
prerelease: false
|
88
|
-
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
|
-
requirements:
|
91
|
-
- - ~>
|
92
|
-
- !ruby/object:Gem::Version
|
93
|
-
version: 0.8.8
|
94
55
|
description: Makes it easy to use markdown with mongoid
|
95
56
|
email:
|
96
57
|
- lasseebert@gmail.com
|
@@ -98,9 +59,8 @@ executables: []
|
|
98
59
|
extensions: []
|
99
60
|
extra_rdoc_files: []
|
100
61
|
files:
|
101
|
-
- .gitignore
|
62
|
+
- ".gitignore"
|
102
63
|
- Gemfile
|
103
|
-
- Guardfile
|
104
64
|
- LICENSE.txt
|
105
65
|
- README.md
|
106
66
|
- Rakefile
|
@@ -111,33 +71,26 @@ files:
|
|
111
71
|
- spec/unit/markdown_spec.rb
|
112
72
|
homepage: https://github.com/lasseebert/mongoid_markdown
|
113
73
|
licenses: []
|
74
|
+
metadata: {}
|
114
75
|
post_install_message:
|
115
76
|
rdoc_options: []
|
116
77
|
require_paths:
|
117
78
|
- lib
|
118
79
|
required_ruby_version: !ruby/object:Gem::Requirement
|
119
|
-
none: false
|
120
80
|
requirements:
|
121
|
-
- -
|
81
|
+
- - ">="
|
122
82
|
- !ruby/object:Gem::Version
|
123
83
|
version: '0'
|
124
|
-
segments:
|
125
|
-
- 0
|
126
|
-
hash: -676176080960737912
|
127
84
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
128
|
-
none: false
|
129
85
|
requirements:
|
130
|
-
- -
|
86
|
+
- - ">="
|
131
87
|
- !ruby/object:Gem::Version
|
132
88
|
version: '0'
|
133
|
-
segments:
|
134
|
-
- 0
|
135
|
-
hash: -676176080960737912
|
136
89
|
requirements: []
|
137
90
|
rubyforge_project:
|
138
|
-
rubygems_version:
|
91
|
+
rubygems_version: 2.4.5
|
139
92
|
signing_key:
|
140
|
-
specification_version:
|
93
|
+
specification_version: 4
|
141
94
|
summary: Makes it easy to use markdown with mongoid
|
142
95
|
test_files:
|
143
96
|
- spec/spec_helper.rb
|