hamdown_core 0.5.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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: e05ef2445d2b8875491017044b7aa87709acdcb21b0619bbe910a295f8aaab60
4
+ data.tar.gz: f8566ec12c1528f18954edb1c79543f2ab14612dff03b8900d7028b28b5aed30
5
+ SHA512:
6
+ metadata.gz: 35e443dbd8f08998e93a8f841f7cffe5018e870a2119a2deb331aaf852ad810fabcf00495f0c9136f505a8469c55bf0bd529b8d78e6e230918fa7052f7e1f117
7
+ data.tar.gz: 431270f106290e9510ec2aae0ce31193d3a05a63309be4e8378211edfa5e24e7c28485534d4fa39a5d725c6083e4809de8231ae309e5700ed34753a7452e493a
data/.gitignore ADDED
@@ -0,0 +1,513 @@
1
+ # Created by https://www.gitignore.io/api/ruby,rubymine,sublimetext,visualstudio
2
+ # Edit at https://www.gitignore.io/?templates=ruby,rubymine,sublimetext,visualstudio
3
+
4
+ ### Ruby ###
5
+ *.gem
6
+ *.rbc
7
+ /.config
8
+ /coverage/
9
+ /InstalledFiles
10
+ /pkg/
11
+ /spec/reports/
12
+ /spec/examples.txt
13
+ /test/tmp/
14
+ /test/version_tmp/
15
+ /tmp/
16
+
17
+ # Used by dotenv library to load environment variables.
18
+ # .env
19
+
20
+ # Ignore Byebug command history file.
21
+ .byebug_history
22
+
23
+ ## Specific to RubyMotion:
24
+ .dat*
25
+ .repl_history
26
+ build/
27
+ *.bridgesupport
28
+ build-iPhoneOS/
29
+ build-iPhoneSimulator/
30
+
31
+ ## Specific to RubyMotion (use of CocoaPods):
32
+ #
33
+ # We recommend against adding the Pods directory to your .gitignore. However
34
+ # you should judge for yourself, the pros and cons are mentioned at:
35
+ # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
36
+ # vendor/Pods/
37
+
38
+ ## Documentation cache and generated files:
39
+ /.yardoc/
40
+ /_yardoc/
41
+ /doc/
42
+ /rdoc/
43
+
44
+ ## Environment normalization:
45
+ /.bundle/
46
+ /vendor/bundle
47
+ /lib/bundler/man/
48
+
49
+ # for a library or gem, you might want to ignore these files since the code is
50
+ # intended to run in multiple environments; otherwise, check them in:
51
+ # Gemfile.lock
52
+ # .ruby-version
53
+ # .ruby-gemset
54
+
55
+ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
56
+ .rvmrc
57
+
58
+ ### RubyMine ###
59
+ # Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm
60
+ # Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
61
+
62
+ # User-specific stuff
63
+ .idea/**/workspace.xml
64
+ .idea/**/tasks.xml
65
+ .idea/**/usage.statistics.xml
66
+ .idea/**/dictionaries
67
+ .idea/**/shelf
68
+
69
+ # Generated files
70
+ .idea/**/contentModel.xml
71
+
72
+ # Sensitive or high-churn files
73
+ .idea/**/dataSources/
74
+ .idea/**/dataSources.ids
75
+ .idea/**/dataSources.local.xml
76
+ .idea/**/sqlDataSources.xml
77
+ .idea/**/dynamic.xml
78
+ .idea/**/uiDesigner.xml
79
+ .idea/**/dbnavigator.xml
80
+
81
+ # Gradle
82
+ .idea/**/gradle.xml
83
+ .idea/**/libraries
84
+
85
+ # Gradle and Maven with auto-import
86
+ # When using Gradle or Maven with auto-import, you should exclude module files,
87
+ # since they will be recreated, and may cause churn. Uncomment if using
88
+ # auto-import.
89
+ # .idea/modules.xml
90
+ # .idea/*.iml
91
+ # .idea/modules
92
+
93
+ # CMake
94
+ cmake-build-*/
95
+
96
+ # Mongo Explorer plugin
97
+ .idea/**/mongoSettings.xml
98
+
99
+ # File-based project format
100
+ *.iws
101
+
102
+ # IntelliJ
103
+ out/
104
+
105
+ # mpeltonen/sbt-idea plugin
106
+ .idea_modules/
107
+
108
+ # JIRA plugin
109
+ atlassian-ide-plugin.xml
110
+
111
+ # Cursive Clojure plugin
112
+ .idea/replstate.xml
113
+
114
+ # Crashlytics plugin (for Android Studio and IntelliJ)
115
+ com_crashlytics_export_strings.xml
116
+ crashlytics.properties
117
+ crashlytics-build.properties
118
+ fabric.properties
119
+
120
+ # Editor-based Rest Client
121
+ .idea/httpRequests
122
+
123
+ # Android studio 3.1+ serialized cache file
124
+ .idea/caches/build_file_checksums.ser
125
+
126
+ ### RubyMine Patch ###
127
+ # Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721
128
+
129
+ # *.iml
130
+ # modules.xml
131
+ # .idea/misc.xml
132
+ # *.ipr
133
+
134
+ # Sonarlint plugin
135
+ .idea/sonarlint
136
+
137
+ ### SublimeText ###
138
+ # Cache files for Sublime Text
139
+ *.tmlanguage.cache
140
+ *.tmPreferences.cache
141
+ *.stTheme.cache
142
+
143
+ # Workspace files are user-specific
144
+ *.sublime-workspace
145
+
146
+ # Project files should be checked into the repository, unless a significant
147
+ # proportion of contributors will probably not be using Sublime Text
148
+ # *.sublime-project
149
+
150
+ # SFTP configuration file
151
+ sftp-config.json
152
+
153
+ # Package control specific files
154
+ Package Control.last-run
155
+ Package Control.ca-list
156
+ Package Control.ca-bundle
157
+ Package Control.system-ca-bundle
158
+ Package Control.cache/
159
+ Package Control.ca-certs/
160
+ Package Control.merged-ca-bundle
161
+ Package Control.user-ca-bundle
162
+ oscrypto-ca-bundle.crt
163
+ bh_unicode_properties.cache
164
+
165
+ # Sublime-github package stores a github token in this file
166
+ # https://packagecontrol.io/packages/sublime-github
167
+ GitHub.sublime-settings
168
+
169
+ ### VisualStudio ###
170
+ ## Ignore Visual Studio temporary files, build results, and
171
+ ## files generated by popular Visual Studio add-ons.
172
+ ##
173
+ ## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
174
+
175
+ # User-specific files
176
+ *.rsuser
177
+ *.suo
178
+ *.user
179
+ *.userosscache
180
+ *.sln.docstates
181
+
182
+ # User-specific files (MonoDevelop/Xamarin Studio)
183
+ *.userprefs
184
+
185
+ # Build results
186
+ [Dd]ebug/
187
+ [Dd]ebugPublic/
188
+ [Rr]elease/
189
+ [Rr]eleases/
190
+ x64/
191
+ x86/
192
+ [Aa][Rr][Mm]/
193
+ [Aa][Rr][Mm]64/
194
+ bld/
195
+ [Bb]in/
196
+ [Oo]bj/
197
+ [Ll]og/
198
+
199
+ # Visual Studio 2015/2017 cache/options directory
200
+ .vs/
201
+ # Uncomment if you have tasks that create the project's static files in wwwroot
202
+ #wwwroot/
203
+
204
+ # Visual Studio 2017 auto generated files
205
+ Generated\ Files/
206
+
207
+ # MSTest test Results
208
+ [Tt]est[Rr]esult*/
209
+ [Bb]uild[Ll]og.*
210
+
211
+ # NUNIT
212
+ *.VisualState.xml
213
+ TestResult.xml
214
+
215
+ # Build Results of an ATL Project
216
+ [Dd]ebugPS/
217
+ [Rr]eleasePS/
218
+ dlldata.c
219
+
220
+ # Benchmark Results
221
+ BenchmarkDotNet.Artifacts/
222
+
223
+ # .NET Core
224
+ project.lock.json
225
+ project.fragment.lock.json
226
+ artifacts/
227
+
228
+ # StyleCop
229
+ StyleCopReport.xml
230
+
231
+ # Files built by Visual Studio
232
+ *_i.c
233
+ *_p.c
234
+ *_h.h
235
+ *.ilk
236
+ *.meta
237
+ *.obj
238
+ *.iobj
239
+ *.pch
240
+ *.pdb
241
+ *.ipdb
242
+ *.pgc
243
+ *.pgd
244
+ *.rsp
245
+ *.sbr
246
+ *.tlb
247
+ *.tli
248
+ *.tlh
249
+ *.tmp
250
+ *.tmp_proj
251
+ *_wpftmp.csproj
252
+ *.log
253
+ *.vspscc
254
+ *.vssscc
255
+ .builds
256
+ *.pidb
257
+ *.svclog
258
+ *.scc
259
+
260
+ # Chutzpah Test files
261
+ _Chutzpah*
262
+
263
+ # Visual C++ cache files
264
+ ipch/
265
+ *.aps
266
+ *.ncb
267
+ *.opendb
268
+ *.opensdf
269
+ *.sdf
270
+ *.cachefile
271
+ *.VC.db
272
+ *.VC.VC.opendb
273
+
274
+ # Visual Studio profiler
275
+ *.psess
276
+ *.vsp
277
+ *.vspx
278
+ *.sap
279
+
280
+ # Visual Studio Trace Files
281
+ *.e2e
282
+
283
+ # TFS 2012 Local Workspace
284
+ $tf/
285
+
286
+ # Guidance Automation Toolkit
287
+ *.gpState
288
+
289
+ # ReSharper is a .NET coding add-in
290
+ _ReSharper*/
291
+ *.[Rr]e[Ss]harper
292
+ *.DotSettings.user
293
+
294
+ # JustCode is a .NET coding add-in
295
+ .JustCode
296
+
297
+ # TeamCity is a build add-in
298
+ _TeamCity*
299
+
300
+ # DotCover is a Code Coverage Tool
301
+ *.dotCover
302
+
303
+ # AxoCover is a Code Coverage Tool
304
+ .axoCover/*
305
+ !.axoCover/settings.json
306
+
307
+ # Visual Studio code coverage results
308
+ *.coverage
309
+ *.coveragexml
310
+
311
+ # NCrunch
312
+ _NCrunch_*
313
+ .*crunch*.local.xml
314
+ nCrunchTemp_*
315
+
316
+ # MightyMoose
317
+ *.mm.*
318
+ AutoTest.Net/
319
+
320
+ # Web workbench (sass)
321
+ .sass-cache/
322
+
323
+ # Installshield output folder
324
+ [Ee]xpress/
325
+
326
+ # DocProject is a documentation generator add-in
327
+ DocProject/buildhelp/
328
+ DocProject/Help/*.HxT
329
+ DocProject/Help/*.HxC
330
+ DocProject/Help/*.hhc
331
+ DocProject/Help/*.hhk
332
+ DocProject/Help/*.hhp
333
+ DocProject/Help/Html2
334
+ DocProject/Help/html
335
+
336
+ # Click-Once directory
337
+ publish/
338
+
339
+ # Publish Web Output
340
+ *.[Pp]ublish.xml
341
+ *.azurePubxml
342
+ # Note: Comment the next line if you want to checkin your web deploy settings,
343
+ # but database connection strings (with potential passwords) will be unencrypted
344
+ *.pubxml
345
+ *.publishproj
346
+
347
+ # Microsoft Azure Web App publish settings. Comment the next line if you want to
348
+ # checkin your Azure Web App publish settings, but sensitive information contained
349
+ # in these scripts will be unencrypted
350
+ PublishScripts/
351
+
352
+ # NuGet Packages
353
+ *.nupkg
354
+ # The packages folder can be ignored because of Package Restore
355
+ **/[Pp]ackages/*
356
+ # except build/, which is used as an MSBuild target.
357
+ !**/[Pp]ackages/build/
358
+ # Uncomment if necessary however generally it will be regenerated when needed
359
+ #!**/[Pp]ackages/repositories.config
360
+ # NuGet v3's project.json files produces more ignorable files
361
+ *.nuget.props
362
+ *.nuget.targets
363
+
364
+ # Microsoft Azure Build Output
365
+ csx/
366
+ *.build.csdef
367
+
368
+ # Microsoft Azure Emulator
369
+ ecf/
370
+ rcf/
371
+
372
+ # Windows Store app package directories and files
373
+ AppPackages/
374
+ BundleArtifacts/
375
+ Package.StoreAssociation.xml
376
+ _pkginfo.txt
377
+ *.appx
378
+
379
+ # Visual Studio cache files
380
+ # files ending in .cache can be ignored
381
+ *.[Cc]ache
382
+ # but keep track of directories ending in .cache
383
+ !?*.[Cc]ache/
384
+
385
+ # Others
386
+ ClientBin/
387
+ ~$*
388
+ *~
389
+ *.dbmdl
390
+ *.dbproj.schemaview
391
+ *.jfm
392
+ *.pfx
393
+ *.publishsettings
394
+ orleans.codegen.cs
395
+
396
+ # Including strong name files can present a security risk
397
+ # (https://github.com/github/gitignore/pull/2483#issue-259490424)
398
+ #*.snk
399
+
400
+ # Since there are multiple workflows, uncomment next line to ignore bower_components
401
+ # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
402
+ #bower_components/
403
+ # ASP.NET Core default setup: bower directory is configured as wwwroot/lib/ and bower restore is true
404
+ **/wwwroot/lib/
405
+
406
+ # RIA/Silverlight projects
407
+ Generated_Code/
408
+
409
+ # Backup & report files from converting an old project file
410
+ # to a newer Visual Studio version. Backup files are not needed,
411
+ # because we have git ;-)
412
+ _UpgradeReport_Files/
413
+ Backup*/
414
+ UpgradeLog*.XML
415
+ UpgradeLog*.htm
416
+ ServiceFabricBackup/
417
+ *.rptproj.bak
418
+
419
+ # SQL Server files
420
+ *.mdf
421
+ *.ldf
422
+ *.ndf
423
+
424
+ # Business Intelligence projects
425
+ *.rdl.data
426
+ *.bim.layout
427
+ *.bim_*.settings
428
+ *.rptproj.rsuser
429
+ *- Backup*.rdl
430
+
431
+ # Microsoft Fakes
432
+ FakesAssemblies/
433
+
434
+ # GhostDoc plugin setting file
435
+ *.GhostDoc.xml
436
+
437
+ # Node.js Tools for Visual Studio
438
+ .ntvs_analysis.dat
439
+ node_modules/
440
+
441
+ # Visual Studio 6 build log
442
+ *.plg
443
+
444
+ # Visual Studio 6 workspace options file
445
+ *.opt
446
+
447
+ # Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
448
+ *.vbw
449
+
450
+ # Visual Studio LightSwitch build output
451
+ **/*.HTMLClient/GeneratedArtifacts
452
+ **/*.DesktopClient/GeneratedArtifacts
453
+ **/*.DesktopClient/ModelManifest.xml
454
+ **/*.Server/GeneratedArtifacts
455
+ **/*.Server/ModelManifest.xml
456
+ _Pvt_Extensions
457
+
458
+ # Paket dependency manager
459
+ .paket/paket.exe
460
+ paket-files/
461
+
462
+ # FAKE - F# Make
463
+ .fake/
464
+
465
+ # JetBrains Rider
466
+ .idea/
467
+ *.sln.iml
468
+
469
+ # CodeRush personal settings
470
+ .cr/personal
471
+
472
+ # Python Tools for Visual Studio (PTVS)
473
+ __pycache__/
474
+ *.pyc
475
+
476
+ # Cake - Uncomment if you are using it
477
+ # tools/**
478
+ # !tools/packages.config
479
+
480
+ # Tabs Studio
481
+ *.tss
482
+
483
+ # Telerik's JustMock configuration file
484
+ *.jmconfig
485
+
486
+ # BizTalk build output
487
+ *.btp.cs
488
+ *.btm.cs
489
+ *.odx.cs
490
+ *.xsd.cs
491
+
492
+ # OpenCover UI analysis results
493
+ OpenCover/
494
+
495
+ # Azure Stream Analytics local run output
496
+ ASALocalRun/
497
+
498
+ # MSBuild Binary and Structured Log
499
+ *.binlog
500
+
501
+ # NVidia Nsight GPU debugger configuration file
502
+ *.nvuser
503
+
504
+ # MFractors (Xamarin productivity tool) working folder
505
+ .mfractor/
506
+
507
+ # Local History for Visual Studio
508
+ .localhistory/
509
+
510
+ # BeatPulse healthcheck temp database
511
+ healthchecksdb
512
+
513
+ # End of https://www.gitignore.io/api/ruby,rubymine,sublimetext,visualstudio
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --color
2
+ --require spec_helper
data/.rubocop.yml ADDED
@@ -0,0 +1,59 @@
1
+ inherit_from: .rubocop_todo.yml
2
+
3
+ AllCops:
4
+ DisplayCopNames: true
5
+ TargetRubyVersion: 2.3
6
+
7
+ Style/BarePercentLiterals:
8
+ EnforcedStyle: percent_q
9
+
10
+ Style/CaseEquality:
11
+ Enabled: false
12
+
13
+ Style/GuardClause:
14
+ Enabled: false
15
+
16
+ Style/HashSyntax:
17
+ Exclude:
18
+ - 'Rakefile'
19
+
20
+ Style/IfUnlessModifier:
21
+ Enabled: false
22
+
23
+ Style/Lambda:
24
+ Enabled: false
25
+
26
+ Style/Next:
27
+ Enabled: false
28
+
29
+ Style/PercentLiteralDelimiters:
30
+ Enabled: false
31
+
32
+ Style/RaiseArgs:
33
+ EnforcedStyle: compact
34
+
35
+ Style/SignalException:
36
+ Enabled: false
37
+
38
+ Style/Tab:
39
+ Exclude:
40
+ - 'spec/indent_spec.rb'
41
+
42
+ Style/TrailingCommaInArrayLiteral:
43
+ Enabled: false
44
+
45
+ Style/TrailingCommaInHashLiteral:
46
+ Enabled: false
47
+
48
+ Style/TrailingCommaInArguments:
49
+ Enabled: false
50
+
51
+ Style/TrailingWhitespace:
52
+ Exclude:
53
+ - 'spec/multiline_spec.rb'
54
+
55
+ Style/UnneededPercentQ:
56
+ Enabled: false # buggy
57
+
58
+ Performance/RedundantBlockCall:
59
+ Enabled: false