mark_maker 0.9.1 → 1.0.0

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: a641fadb4fb218a1e037fcdcbbad94ea9c1f57cae4b983c80ffc2d761f311ee7
4
- data.tar.gz: 17d05f4b5604756d270d5dd3cc17fff8253ad613432beaf387871fa6082177b5
3
+ metadata.gz: bd5c7e729e819e15b9796cd57242afd832bd913f1545184cda35cee9e1c07db1
4
+ data.tar.gz: 43156be3f04d2bba8789bd9c80452bc8c468b30074a26acc5335468fc9af1c6b
5
5
  SHA512:
6
- metadata.gz: fbc4f27993d6ec1fb2fd40fe24fb8df2bf25e1d46aec133bd578d6aabbec4437540d043740edabd1d503691398ea7e349f9ac24582ed7d3899bda6b3a083c698
7
- data.tar.gz: 7bc3cfd8aab4061b8465494733e4eba269a0f4537a718062f124cdff6235910f7aa045be27370241b2139a4c09113e1aa4574661a63d19bf6cc2a41fa1818bf5
6
+ metadata.gz: 797cf2e44e772f2e6501efe9d8bcb4a32ef349862c3b67e19f173ac3ecf34d477b50737fd9fec40d0e1db6384ca2c6800d1b384aad9c5404e372066093124303
7
+ data.tar.gz: e7872ccacd0ed4b3c06975522899c92adde7c9c3142bf2e0d140fbd4082702290a81ab37ac312620de402a66ece8d13b009d1b44879df8c88679731e1d9927db
@@ -1,6 +1,12 @@
1
+ before_install:
2
+ - gem install bundler
3
+
1
4
  language: ruby
5
+
2
6
  bundler_args: --without dev_tooling
7
+
3
8
  rvm:
4
9
  - ruby-head
5
- - 2.6.3
6
- - 2.3.0
10
+ - 2.7
11
+ - 2.6
12
+ - 2.3
@@ -1,3 +1,9 @@
1
+ 1.0.0
2
+ -----
3
+
4
+ - just tidied up the README
5
+ - clarified the supported ruby versions (all now 2.x variations)
6
+
1
7
  0.9.0
2
8
  -----
3
9
 
data/README.md CHANGED
@@ -5,35 +5,6 @@ MarkMaker
5
5
 
6
6
  Programatically generate markdown documents.
7
7
 
8
- Intended Use
9
- ------------
10
-
11
- The mark_maker gem provides a set of methods that take text content and
12
- convert it to various markdown elements. The primary use case is simple
13
- conversion of something like a JSON document into a markdown document.
14
-
15
- The initial development goal is to provide
16
- support for all of the markdown supported operations, at least in their basic form. What
17
- I mean by basic is that you provide a 'chunk' of content and the mark_maker `Generator`
18
- will return that content in the corresponding markdown format. For grouped content, variable
19
- parameters will be provided on the method call to allow for things like correctly numbered
20
- bullet lists. Each call to the generator is treated as a separate
21
- markdown operation. So things like link definitions aren't going to be supported,
22
- at least not in 1.0
23
-
24
- Speaking of versioning, I'll use semantic versioning to indicate when new markdown
25
- capabilities are added. I'll release 1.0 when I feel like it supports set
26
- of markdown capabilites that fulfill the intended use. This will also include some
27
- extended capabilities from expanded syntaxes like GitHub flavored markdown. Methods
28
- generating non-core markdown will be noted in the documentation for that method.
29
-
30
- If all goes well, and it appears anyone is using this gem, then a 2.0 release is
31
- envisioned that will add a `Document` class that will provide a
32
- more holistic layer of capabilities. For example, the aformentioned reference style
33
- links would be nice. As would the ability to have an arbitrarily long string broken
34
- down into nicely formatted hard break paragraphs. Same goes for nicely indented multi-line
35
- bullets, etc.
36
-
37
8
  Installation
38
9
  ------------
39
10
 
@@ -53,9 +24,9 @@ Usage
53
24
  -----
54
25
 
55
26
  MarkMaker provides line oriented conversion of content to markdown elements. It
56
- currently supports first, second and third level headings, links, bullets, numbered
27
+ currently supports headings, links, bullets, numbered
57
28
  bullets, *emphasis*, **strong**, code
58
- and basic table markdown. See bin/generate_readme.rb for the code used to generate this
29
+ and table markdown. See bin/generate_readme.rb for the code used to generate this
59
30
  document and a sample of all these markdown generators in action.
60
31
 
61
32
  Simple markdown generation is handled by extensions to the ruby String class. Headers,
@@ -284,12 +255,12 @@ It's kind of like [Inception](http://en.wikipedia.org/wiki/Inception) ;)
284
255
  Supported Ruby Versions
285
256
  -----------------------
286
257
 
287
- The following ruby versions are explicitly supported (see .travis.yml)
258
+ The following ruby versions are explicitly supported and exercised via TravisCI (see .travis.yml)
288
259
 
289
- - 2.3.0
290
- - 2.2.4
291
- - 1.9.3
292
260
  - ruby-head
261
+ - 2.7
262
+ - 2.6
263
+ - 2.3
293
264
 
294
265
  Release Process
295
266
  ---------------
@@ -31,34 +31,6 @@ puts "MarkMaker".header1
31
31
  puts ""
32
32
  puts "Programatically generate markdown documents."
33
33
  puts ""
34
- puts "Intended Use".header2
35
- puts ""
36
- puts "The mark_maker gem provides a set of methods that take text content and"
37
- puts "convert it to various markdown elements. The primary use case is simple"
38
- puts "conversion of something like a JSON document into a markdown document."
39
- puts ""
40
- puts "The initial development goal is to provide"
41
- puts "support for all of the markdown supported operations, at least in their basic form. What"
42
- puts "I mean by basic is that you provide a 'chunk' of content and the mark_maker #{ 'Generator'.code_span }"
43
- puts "will return that content in the corresponding markdown format. For grouped content, variable"
44
- puts "parameters will be provided on the method call to allow for things like correctly numbered"
45
- puts "bullet lists. Each call to the generator is treated as a separate"
46
- puts "markdown operation. So things like link definitions aren't going to be supported,"
47
- puts "at least not in 1.0"
48
- puts ""
49
- puts "Speaking of versioning, I'll use semantic versioning to indicate when new markdown"
50
- puts "capabilities are added. I'll release 1.0 when I feel like it supports set"
51
- puts "of markdown capabilites that fulfill the intended use. This will also include some"
52
- puts "extended capabilities from expanded syntaxes like GitHub flavored markdown. Methods"
53
- puts "generating non-core markdown will be noted in the documentation for that method."
54
- puts ""
55
- puts "If all goes well, and it appears anyone is using this gem, then a 2.0 release is"
56
- puts "envisioned that will add a #{ 'Document'.code_span } class that will provide a"
57
- puts "more holistic layer of capabilities. For example, the aformentioned reference style"
58
- puts "links would be nice. As would the ability to have an arbitrarily long string broken"
59
- puts "down into nicely formatted hard break paragraphs. Same goes for nicely indented multi-line"
60
- puts "bullets, etc."
61
- puts ""
62
34
  puts "Installation".header2
63
35
  puts ""
64
36
  puts "Add this line to your application's Gemfile:"
@@ -76,9 +48,9 @@ puts ""
76
48
  puts "Usage".header2
77
49
  puts ""
78
50
  puts "MarkMaker provides line oriented conversion of content to markdown elements. It"
79
- puts "currently supports first, second and third level headings, links, bullets, numbered"
51
+ puts "currently supports headings, links, bullets, numbered"
80
52
  puts "bullets, #{'emphasis'.emphasis}, #{'strong'.strong}, code"
81
- puts "and basic table markdown. See #{__FILE__} for the code used to generate this"
53
+ puts "and table markdown. See #{__FILE__} for the code used to generate this"
82
54
  puts "document and a sample of all these markdown generators in action."
83
55
  puts ""
84
56
  puts "Simple markdown generation is handled by extensions to the ruby String class. Headers,"
@@ -253,9 +225,9 @@ puts "It's kind of like #{gen.link("Inception", "http://en.wikipedia.org/wiki/In
253
225
  puts ""
254
226
  puts "Supported Ruby Versions".header2
255
227
  puts ""
256
- puts "The following ruby versions are explicitly supported (see .travis.yml)"
228
+ puts "The following ruby versions are explicitly supported and exercised via TravisCI (see .travis.yml)"
257
229
  puts ""
258
- puts gen.bullets("2.3.0", "2.2.4", "1.9.3", "ruby-head")
230
+ puts gen.bullets("ruby-head", "2.7", "2.6", "2.3")
259
231
  puts ""
260
232
  puts "Release Process".header2
261
233
  puts ""
@@ -1,4 +1,4 @@
1
1
  # version management
2
2
  module MarkMaker
3
- VERSION = "0.9.1"
3
+ VERSION = "1.0.0"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mark_maker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brad Schneider
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-15 00:00:00.000000000 Z
11
+ date: 2020-08-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -145,7 +145,7 @@ homepage: ''
145
145
  licenses:
146
146
  - MIT
147
147
  metadata: {}
148
- post_install_message:
148
+ post_install_message:
149
149
  rdoc_options: []
150
150
  require_paths:
151
151
  - lib
@@ -161,7 +161,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
161
161
  version: '0'
162
162
  requirements: []
163
163
  rubygems_version: 3.0.6
164
- signing_key:
164
+ signing_key:
165
165
  specification_version: 4
166
166
  summary: Markdown generator.
167
167
  test_files: