unobtainium-kramdown 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.gitignore +1 -1
- data/.rspec +2 -0
- data/.travis.yml +5 -5
- data/Gemfile +0 -2
- data/Gemfile.lock +41 -49
- data/README.md +0 -2
- data/Rakefile +0 -5
- data/lib/unobtainium-kramdown/driver.rb +2 -1
- data/lib/unobtainium-kramdown/version.rb +2 -2
- data/unobtainium-kramdown.gemspec +7 -8
- metadata +22 -32
- data/.codeclimate.yml +0 -28
- data/.rubocop.yml +0 -69
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: a45a7bd81dad36fb085f5cf0062df1515b9413d41ab484d29df846098ca8d4d3
|
4
|
+
data.tar.gz: 304e5aefbdaf10071212e35cbc59bb51cf8ecd8284a40263e6f798355187ec10
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fda4cda154d68f2615f50625c55d9a89f57f12808d8a3431bc460489c60eb8a9151c6154d14246c7d3ea4125d13cde5cb0a1179b61ccf17da8b060ee15672d08
|
7
|
+
data.tar.gz: 81de60b9385f30a59f20ac4ce4ec74efb477584f1486b772fbf859c8af7b7919f95a067c71aaf7961afd4579fc33e5bfce1282c3d655946d7b0192abd0303c3c
|
data/.gitignore
CHANGED
@@ -29,7 +29,7 @@ build/
|
|
29
29
|
# for a library or gem, you might want to ignore these files since the code is
|
30
30
|
# intended to run in multiple environments; otherwise, check them in:
|
31
31
|
# Gemfile.lock
|
32
|
-
|
32
|
+
.ruby-version
|
33
33
|
# .ruby-gemset
|
34
34
|
|
35
35
|
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
|
data/.rspec
ADDED
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,68 +1,60 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
unobtainium-kramdown (0.
|
5
|
-
unobtainium (~> 0.
|
4
|
+
unobtainium-kramdown (0.2.0)
|
5
|
+
unobtainium (~> 0.13)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
diff-lcs (1.
|
14
|
-
docile (1.
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
rspec-
|
24
|
-
|
25
|
-
rspec-
|
26
|
-
rspec-
|
27
|
-
rspec-support (~> 3.4.0)
|
28
|
-
rspec-expectations (3.4.0)
|
10
|
+
collapsium (0.10.0)
|
11
|
+
collapsium-config (0.7.0)
|
12
|
+
collapsium (~> 0.10)
|
13
|
+
diff-lcs (1.3)
|
14
|
+
docile (1.3.0)
|
15
|
+
ffi (1.9.23)
|
16
|
+
json (2.1.0)
|
17
|
+
kramdown (1.16.2)
|
18
|
+
ptools (1.3.5)
|
19
|
+
rake (11.3.0)
|
20
|
+
rspec (3.7.0)
|
21
|
+
rspec-core (~> 3.7.0)
|
22
|
+
rspec-expectations (~> 3.7.0)
|
23
|
+
rspec-mocks (~> 3.7.0)
|
24
|
+
rspec-core (3.7.1)
|
25
|
+
rspec-support (~> 3.7.0)
|
26
|
+
rspec-expectations (3.7.0)
|
29
27
|
diff-lcs (>= 1.2.0, < 2.0)
|
30
|
-
rspec-support (~> 3.
|
31
|
-
rspec-mocks (3.
|
28
|
+
rspec-support (~> 3.7.0)
|
29
|
+
rspec-mocks (3.7.0)
|
32
30
|
diff-lcs (>= 1.2.0, < 2.0)
|
33
|
-
rspec-support (~> 3.
|
34
|
-
rspec-support (3.
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
rainbow (>= 1.99.1, < 3.0)
|
39
|
-
ruby-progressbar (~> 1.7)
|
40
|
-
unicode-display_width (~> 1.0, >= 1.0.1)
|
41
|
-
ruby-progressbar (1.8.0)
|
42
|
-
simplecov (0.11.2)
|
43
|
-
docile (~> 1.1.0)
|
44
|
-
json (~> 1.8)
|
31
|
+
rspec-support (~> 3.7.0)
|
32
|
+
rspec-support (3.7.1)
|
33
|
+
simplecov (0.16.1)
|
34
|
+
docile (~> 1.1)
|
35
|
+
json (>= 1.8, < 3)
|
45
36
|
simplecov-html (~> 0.10.0)
|
46
|
-
simplecov-html (0.10.
|
47
|
-
sys-proctable (1.
|
48
|
-
|
49
|
-
unobtainium (0.
|
50
|
-
|
51
|
-
|
37
|
+
simplecov-html (0.10.2)
|
38
|
+
sys-proctable (1.2.0)
|
39
|
+
ffi
|
40
|
+
unobtainium (0.13.0)
|
41
|
+
collapsium (~> 0.10)
|
42
|
+
collapsium-config (~> 0.7)
|
43
|
+
ptools (~> 1.3)
|
44
|
+
sys-proctable (~> 1.2)
|
45
|
+
yard (0.9.12)
|
52
46
|
|
53
47
|
PLATFORMS
|
54
48
|
ruby
|
55
49
|
|
56
50
|
DEPENDENCIES
|
57
|
-
bundler (~> 1.
|
58
|
-
codeclimate-test-reporter
|
51
|
+
bundler (~> 1.16)
|
59
52
|
kramdown
|
60
|
-
rake (~> 11.
|
61
|
-
rspec (~> 3.
|
62
|
-
|
63
|
-
simplecov (~> 0.11)
|
53
|
+
rake (~> 11.3)
|
54
|
+
rspec (~> 3.7)
|
55
|
+
simplecov (~> 0.16)
|
64
56
|
unobtainium-kramdown!
|
65
|
-
yard (~> 0.
|
57
|
+
yard (~> 0.9, >= 0.9.12)
|
66
58
|
|
67
59
|
BUNDLED WITH
|
68
|
-
1.
|
60
|
+
1.16.1
|
data/README.md
CHANGED
@@ -5,8 +5,6 @@ based on [kramdown](http://www.nokogiri.org/).
|
|
5
5
|
|
6
6
|
[![Gem Version](https://badge.fury.io/rb/unobtainium-kramdown.svg)](https://badge.fury.io/rb/unobtainium-kramdown)
|
7
7
|
[![Build status](https://travis-ci.org/jfinkhaeuser/unobtainium-kramdown.svg?branch=master)](https://travis-ci.org/jfinkhaeuser/unobtainium-kramdown)
|
8
|
-
[![Code Climate](https://codeclimate.com/github/jfinkhaeuser/unobtainium-kramdown/badges/gpa.svg)](https://codeclimate.com/github/jfinkhaeuser/unobtainium-kramdown)
|
9
|
-
[![Test Coverage](https://codeclimate.com/github/jfinkhaeuser/unobtainium-kramdown/badges/coverage.svg)](https://codeclimate.com/github/jfinkhaeuser/unobtainium-kramdown/coverage)
|
10
8
|
|
11
9
|
To use it, require it after requiring unobtainium, then create the appropriate driver:
|
12
10
|
|
data/Rakefile
CHANGED
@@ -1,7 +1,3 @@
|
|
1
|
-
# Rubocop
|
2
|
-
require 'rubocop/rake_task'
|
3
|
-
RuboCop::RakeTask.new(:rubocop)
|
4
|
-
|
5
1
|
# Rspec
|
6
2
|
require 'rspec/core/rake_task'
|
7
3
|
RSpec::Core::RakeTask.new(:rspec)
|
@@ -17,7 +13,6 @@ end
|
|
17
13
|
# Combined test task
|
18
14
|
desc "Test all the things!"
|
19
15
|
task :test do
|
20
|
-
Rake::Task[:rubocop].invoke
|
21
16
|
Rake::Task[:rspec].invoke
|
22
17
|
end
|
23
18
|
|
@@ -3,12 +3,12 @@
|
|
3
3
|
# unobtainium-kramdown
|
4
4
|
# https://github.com/jfinkhaeuser/unobtainium-kramdown
|
5
5
|
#
|
6
|
-
# Copyright (c) 2016 Jens Finkhaeuser and other unobtainium-kramdown contributors.
|
6
|
+
# Copyright (c) 2016-2018 Jens Finkhaeuser and other unobtainium-kramdown contributors.
|
7
7
|
# All rights reserved.
|
8
8
|
#
|
9
9
|
module Unobtainium
|
10
10
|
module Kramdown
|
11
11
|
# The current release version
|
12
|
-
VERSION = "0.
|
12
|
+
VERSION = "0.2.0".freeze
|
13
13
|
end # module Kramdown
|
14
14
|
end # module Unobtainium
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# unobtainium-kramdown
|
4
4
|
# https://github.com/jfinkhaeuser/unobtainium-kramdown
|
5
5
|
#
|
6
|
-
# Copyright (c) 2016 Jens Finkhaeuser and other unobtainium-kramdown contributors.
|
6
|
+
# Copyright (c) 2016-2018 Jens Finkhaeuser and other unobtainium-kramdown contributors.
|
7
7
|
# All rights reserved.
|
8
8
|
#
|
9
9
|
|
@@ -39,15 +39,14 @@ Gem::Specification.new do |spec|
|
|
39
39
|
|
40
40
|
spec.required_ruby_version = '>= 2.0'
|
41
41
|
|
42
|
-
spec.add_development_dependency "bundler", "~> 1.
|
43
|
-
spec.add_development_dependency "
|
44
|
-
spec.add_development_dependency "
|
45
|
-
spec.add_development_dependency "
|
46
|
-
spec.add_development_dependency "
|
47
|
-
spec.add_development_dependency "yard", "~> 0.8"
|
42
|
+
spec.add_development_dependency "bundler", "~> 1.16"
|
43
|
+
spec.add_development_dependency "rake", "~> 11.3"
|
44
|
+
spec.add_development_dependency "rspec", "~> 3.7"
|
45
|
+
spec.add_development_dependency "simplecov", "~> 0.16"
|
46
|
+
spec.add_development_dependency "yard", "~> 0.9", ">= 0.9.12"
|
48
47
|
spec.add_development_dependency "kramdown"
|
49
48
|
|
50
|
-
spec.add_dependency "unobtainium", "~> 0.
|
49
|
+
spec.add_dependency "unobtainium", "~> 0.13"
|
51
50
|
end
|
52
51
|
# rubocop:enable Style/SpaceAroundOperators
|
53
52
|
# rubocop:enable Style/UnneededPercentQ, Style/ExtraSpacing
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unobtainium-kramdown
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jens Finkhaeuser
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-04-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -16,84 +16,76 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '1.
|
19
|
+
version: '1.16'
|
20
20
|
type: :development
|
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: '1.
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: rubocop
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - "~>"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0.39'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - "~>"
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0.39'
|
26
|
+
version: '1.16'
|
41
27
|
- !ruby/object:Gem::Dependency
|
42
28
|
name: rake
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
44
30
|
requirements:
|
45
31
|
- - "~>"
|
46
32
|
- !ruby/object:Gem::Version
|
47
|
-
version: '11.
|
33
|
+
version: '11.3'
|
48
34
|
type: :development
|
49
35
|
prerelease: false
|
50
36
|
version_requirements: !ruby/object:Gem::Requirement
|
51
37
|
requirements:
|
52
38
|
- - "~>"
|
53
39
|
- !ruby/object:Gem::Version
|
54
|
-
version: '11.
|
40
|
+
version: '11.3'
|
55
41
|
- !ruby/object:Gem::Dependency
|
56
42
|
name: rspec
|
57
43
|
requirement: !ruby/object:Gem::Requirement
|
58
44
|
requirements:
|
59
45
|
- - "~>"
|
60
46
|
- !ruby/object:Gem::Version
|
61
|
-
version: '3.
|
47
|
+
version: '3.7'
|
62
48
|
type: :development
|
63
49
|
prerelease: false
|
64
50
|
version_requirements: !ruby/object:Gem::Requirement
|
65
51
|
requirements:
|
66
52
|
- - "~>"
|
67
53
|
- !ruby/object:Gem::Version
|
68
|
-
version: '3.
|
54
|
+
version: '3.7'
|
69
55
|
- !ruby/object:Gem::Dependency
|
70
56
|
name: simplecov
|
71
57
|
requirement: !ruby/object:Gem::Requirement
|
72
58
|
requirements:
|
73
59
|
- - "~>"
|
74
60
|
- !ruby/object:Gem::Version
|
75
|
-
version: '0.
|
61
|
+
version: '0.16'
|
76
62
|
type: :development
|
77
63
|
prerelease: false
|
78
64
|
version_requirements: !ruby/object:Gem::Requirement
|
79
65
|
requirements:
|
80
66
|
- - "~>"
|
81
67
|
- !ruby/object:Gem::Version
|
82
|
-
version: '0.
|
68
|
+
version: '0.16'
|
83
69
|
- !ruby/object:Gem::Dependency
|
84
70
|
name: yard
|
85
71
|
requirement: !ruby/object:Gem::Requirement
|
86
72
|
requirements:
|
87
73
|
- - "~>"
|
88
74
|
- !ruby/object:Gem::Version
|
89
|
-
version: '0.
|
75
|
+
version: '0.9'
|
76
|
+
- - ">="
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: 0.9.12
|
90
79
|
type: :development
|
91
80
|
prerelease: false
|
92
81
|
version_requirements: !ruby/object:Gem::Requirement
|
93
82
|
requirements:
|
94
83
|
- - "~>"
|
95
84
|
- !ruby/object:Gem::Version
|
96
|
-
version: '0.
|
85
|
+
version: '0.9'
|
86
|
+
- - ">="
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: 0.9.12
|
97
89
|
- !ruby/object:Gem::Dependency
|
98
90
|
name: kramdown
|
99
91
|
requirement: !ruby/object:Gem::Requirement
|
@@ -114,14 +106,14 @@ dependencies:
|
|
114
106
|
requirements:
|
115
107
|
- - "~>"
|
116
108
|
- !ruby/object:Gem::Version
|
117
|
-
version: '0.
|
109
|
+
version: '0.13'
|
118
110
|
type: :runtime
|
119
111
|
prerelease: false
|
120
112
|
version_requirements: !ruby/object:Gem::Requirement
|
121
113
|
requirements:
|
122
114
|
- - "~>"
|
123
115
|
- !ruby/object:Gem::Version
|
124
|
-
version: '0.
|
116
|
+
version: '0.13'
|
125
117
|
description: "\n The unobtainium-kramdown gem is a kramdown-based driver implementation
|
126
118
|
for\n unobtainium.\n\n Unlike built-in driver implementations, it does not
|
127
119
|
provide a Selenium-like\n API, but rather one mostly identical to plain kramdown.\n
|
@@ -132,9 +124,8 @@ executables: []
|
|
132
124
|
extensions: []
|
133
125
|
extra_rdoc_files: []
|
134
126
|
files:
|
135
|
-
- ".codeclimate.yml"
|
136
127
|
- ".gitignore"
|
137
|
-
- ".
|
128
|
+
- ".rspec"
|
138
129
|
- ".travis.yml"
|
139
130
|
- Gemfile
|
140
131
|
- Gemfile.lock
|
@@ -167,7 +158,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
167
158
|
version: '0'
|
168
159
|
requirements: []
|
169
160
|
rubyforge_project:
|
170
|
-
rubygems_version: 2.
|
161
|
+
rubygems_version: 2.7.6
|
171
162
|
signing_key:
|
172
163
|
specification_version: 4
|
173
164
|
summary: The unobtainium-kramdown gem is a kramdown-based driver implementation for
|
@@ -175,4 +166,3 @@ summary: The unobtainium-kramdown gem is a kramdown-based driver implementation
|
|
175
166
|
test_files:
|
176
167
|
- spec/driver_spec.rb
|
177
168
|
- spec/spec_helper.rb
|
178
|
-
has_rdoc:
|
data/.codeclimate.yml
DELETED
@@ -1,28 +0,0 @@
|
|
1
|
-
---
|
2
|
-
engines:
|
3
|
-
bundler-audit:
|
4
|
-
enabled: true
|
5
|
-
duplication:
|
6
|
-
enabled: true
|
7
|
-
config:
|
8
|
-
languages:
|
9
|
-
- ruby
|
10
|
-
- javascript
|
11
|
-
- python
|
12
|
-
- php
|
13
|
-
fixme:
|
14
|
-
enabled: true
|
15
|
-
rubocop:
|
16
|
-
enabled: true
|
17
|
-
ratings:
|
18
|
-
paths:
|
19
|
-
- Gemfile.lock
|
20
|
-
- "**.inc"
|
21
|
-
- "**.js"
|
22
|
-
- "**.jsx"
|
23
|
-
- "**.module"
|
24
|
-
- "**.php"
|
25
|
-
- "**.py"
|
26
|
-
- "**.rb"
|
27
|
-
exclude_paths:
|
28
|
-
- spec/
|
data/.rubocop.yml
DELETED
@@ -1,69 +0,0 @@
|
|
1
|
-
AllCops:
|
2
|
-
TargetRubyVersion: 2.2
|
3
|
-
|
4
|
-
# Metrics
|
5
|
-
|
6
|
-
Metrics/LineLength:
|
7
|
-
Max: 83
|
8
|
-
Details: >-
|
9
|
-
Line length of 80 is ideal for readability and compatibility; we'll accept
|
10
|
-
an extra 3 for minor edge cases.
|
11
|
-
|
12
|
-
Metrics/MethodLength:
|
13
|
-
Max: 35
|
14
|
-
|
15
|
-
Metrics/BlockNesting:
|
16
|
-
Max: 5
|
17
|
-
|
18
|
-
Metrics/AbcSize:
|
19
|
-
Max: 50
|
20
|
-
|
21
|
-
Metrics/PerceivedComplexity:
|
22
|
-
Max: 15
|
23
|
-
|
24
|
-
Metrics/CyclomaticComplexity:
|
25
|
-
Max: 15
|
26
|
-
|
27
|
-
Metrics/ClassLength:
|
28
|
-
Max: 300
|
29
|
-
|
30
|
-
# Style
|
31
|
-
|
32
|
-
Style/StringLiterals:
|
33
|
-
Enabled: false
|
34
|
-
|
35
|
-
Style/ConditionalAssignment:
|
36
|
-
Enabled: false
|
37
|
-
|
38
|
-
Style/EmptyLinesAroundModuleBody:
|
39
|
-
Enabled: false
|
40
|
-
|
41
|
-
Style/AndOr:
|
42
|
-
Enabled: false
|
43
|
-
|
44
|
-
Style/Not:
|
45
|
-
Enabled: false
|
46
|
-
|
47
|
-
Style/NegatedIf:
|
48
|
-
Enabled: false
|
49
|
-
|
50
|
-
Style/RedundantReturn:
|
51
|
-
Enabled: false
|
52
|
-
|
53
|
-
Style/IfUnlessModifier:
|
54
|
-
Enabled: false
|
55
|
-
|
56
|
-
Style/TrailingCommaInLiteral:
|
57
|
-
Enabled: false
|
58
|
-
|
59
|
-
Style/FirstParameterIndentation:
|
60
|
-
Enabled: false
|
61
|
-
|
62
|
-
Style/TrailingUnderscoreVariable:
|
63
|
-
Enabled: false
|
64
|
-
|
65
|
-
Style/NumericLiterals:
|
66
|
-
Enabled: false
|
67
|
-
|
68
|
-
Style/FileName:
|
69
|
-
Enabled: false
|