development-toolbox 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rspec +1 -0
- data/.rubocop.yml +6 -0
- data/.rubocop_todo.yml +1 -1
- data/.yardopts +1 -1
- data/Gemfile +4 -1
- data/Rakefile +0 -2
- data/development-toolbox.gemspec +5 -3
- data/lib/development/toolbox/version.rb +1 -1
- data/lib/development-toolbox.rb +3 -0
- data/lib/yard/commonmarker/version.rb +7 -0
- data/lib/yard/templates/helpers/markup_helper/commonmarker.rb +11 -3
- data/lib/yard-commonmarker.rb +3 -0
- data/rakelib/audit.rake +7 -0
- data/rakelib/default.rake +1 -1
- data/rakelib/gem.rake +36 -0
- data/yard-commonmarker.gemspec +30 -0
- metadata +42 -23
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cf40a0be99f94e895ebb901d21c0bef16c6a98dc
|
4
|
+
data.tar.gz: 3944c9838d6331b5617f8bb87de051ecf79dda8f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c1027e0f247b33a7057320f155e075ca82ce446fd83b2d6c2184c55818709f3a7f86e3cbfa4d66d78291b8912da803f2da8eabad57f2301a14472bdb8d0b653
|
7
|
+
data.tar.gz: a72918a112dc16f3c89220843314f6c83e319e3f8d77e79ecb6d49ac2b60c16ff9e3b53a7a7c3670ec14f82bc725ec9f0aa495d69147dab3b4aa7620a58338fc
|
data/.rspec
CHANGED
data/.rubocop.yml
CHANGED
data/.rubocop_todo.yml
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# This configuration was generated by
|
2
2
|
# `rubocop --auto-gen-config`
|
3
|
-
# on 2017-
|
3
|
+
# on 2017-05-07 05:37:43 +0300 using RuboCop version 0.48.1.
|
4
4
|
# The point is for the user to remove these configuration records
|
5
5
|
# one by one as the offenses are removed from the code base.
|
6
6
|
# Note that changes in the inspected code, or installation of new
|
data/.yardopts
CHANGED
data/Gemfile
CHANGED
data/Rakefile
CHANGED
data/development-toolbox.gemspec
CHANGED
@@ -25,10 +25,12 @@ Gem::Specification.new do |spec|
|
|
25
25
|
|
26
26
|
spec.add_runtime_dependency 'bundler', '~> 1.13'
|
27
27
|
spec.add_runtime_dependency 'bundler-audit', '~> 0.5'
|
28
|
-
spec.add_runtime_dependency 'commonmarker', '~> 0.14'
|
29
|
-
spec.add_runtime_dependency 'github-markup', '~> 1.6'
|
30
28
|
spec.add_runtime_dependency 'rake', '~> 12.0'
|
31
29
|
spec.add_runtime_dependency 'rspec', '~> 3.5'
|
30
|
+
spec.add_runtime_dependency 'rspec-its', '~> 1.2'
|
32
31
|
spec.add_runtime_dependency 'rubocop', '~> 0.48'
|
33
|
-
spec.add_runtime_dependency 'yard', '~> 0.
|
32
|
+
spec.add_runtime_dependency 'yard-commonmarker', '~> 0.1'
|
33
|
+
|
34
|
+
spec.add_development_dependency 'pry-byebug'
|
35
|
+
spec.add_development_dependency 'rspec-its'
|
34
36
|
end
|
@@ -6,6 +6,14 @@ require 'commonmarker/compat_renderer'
|
|
6
6
|
require 'github-markup'
|
7
7
|
require 'github/markup'
|
8
8
|
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
module YARD
|
10
|
+
module Templates::Helpers
|
11
|
+
# Helper methods for loading and managing markup types.
|
12
|
+
module MarkupHelper
|
13
|
+
# @see https://github.com/lsegal/yard/blob/master/lib/yard/templates/helpers/markup_helper.rb#L26
|
14
|
+
MARKUP_PROVIDERS[:markdown] <<
|
15
|
+
{ lib: :commonmarker, const: 'CommonMarker::CompatRenderer' }
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
data/rakelib/audit.rake
CHANGED
@@ -8,8 +8,15 @@ namespace :audit do
|
|
8
8
|
Bundler::Audit::CLI.start %w[update]
|
9
9
|
end
|
10
10
|
|
11
|
+
desc 'Show the version of ruby-advisory-db'
|
12
|
+
task :version do
|
13
|
+
Bundler::Audit::CLI.start %w[version]
|
14
|
+
end
|
15
|
+
|
11
16
|
desc 'Check bundle for vulnerable dependencies'
|
12
17
|
task test: :update do
|
13
18
|
Bundler::Audit::CLI.start %w[check]
|
14
19
|
end
|
15
20
|
end
|
21
|
+
|
22
|
+
task audit: %i[audit:test]
|
data/rakelib/default.rake
CHANGED
data/rakelib/gem.rake
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'rake/clean'
|
4
|
+
require 'bundler/gem_helper'
|
5
|
+
CLOBBER.include 'pkg'
|
6
|
+
|
7
|
+
gemspecs = FileList.new('**/*.gemspec')
|
8
|
+
gems = gemspecs.sub(/\.gemspec$/, '')
|
9
|
+
|
10
|
+
gems.each do |gem_name|
|
11
|
+
namespace gem_name do
|
12
|
+
Bundler::GemHelper.install_tasks(name: gem_name)
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
namespace :gems do
|
17
|
+
desc 'Build each gem'
|
18
|
+
task build: gems.map { |gem| :"#{gem}:build" }
|
19
|
+
|
20
|
+
desc 'Install each gem'
|
21
|
+
task install: gems.map { |gem| :"#{gem}:install" }
|
22
|
+
|
23
|
+
namespace :install do
|
24
|
+
desc 'Install each gem without network access'
|
25
|
+
task local: gems.map { |gem| :"#{gem}:install" }
|
26
|
+
end
|
27
|
+
|
28
|
+
desc "Create tags, build and push each gem to Rubygems\n" \
|
29
|
+
'To prevent publishing in Rubygems use `gem_push=no rake release`'
|
30
|
+
task 'release', [:remote] => gems.map { |gem| :"#{gem}:release" }
|
31
|
+
|
32
|
+
desc 'List all gems'
|
33
|
+
task :list do
|
34
|
+
gems.each { |gem| puts gem }
|
35
|
+
end
|
36
|
+
end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
lib = File.expand_path('../lib', __FILE__)
|
5
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
6
|
+
require 'yard/commonmarker/version'
|
7
|
+
|
8
|
+
Gem::Specification.new do |spec|
|
9
|
+
spec.name = 'yard-commonmarker'
|
10
|
+
spec.version = YARD::CommonMarker::VERSION
|
11
|
+
spec.authors = ['Alex Semyonov']
|
12
|
+
spec.email = ['alex@semyonov.us']
|
13
|
+
|
14
|
+
spec.summary = 'CommonMarker support for YARD'
|
15
|
+
spec.description = 'Efficient Developer tools'
|
16
|
+
spec.homepage = 'https://alsemyonov.gitlab.com/development-toolbox/'
|
17
|
+
spec.license = 'MIT'
|
18
|
+
|
19
|
+
spec.files = `git ls-files lib/{yard,commonmarker} -z`.split("\x0")
|
20
|
+
.reject do |f|
|
21
|
+
f.match(%r{^(test|spec|features)/})
|
22
|
+
end
|
23
|
+
spec.bindir = 'exe'
|
24
|
+
spec.executables = spec.files.grep(%r{^exe/yard}) { |f| File.basename(f) }
|
25
|
+
spec.require_paths = ['lib']
|
26
|
+
|
27
|
+
spec.add_runtime_dependency 'commonmarker', '~> 0.14'
|
28
|
+
spec.add_runtime_dependency 'github-markup', '~> 1.6'
|
29
|
+
spec.add_runtime_dependency 'yard', '~> 0.9'
|
30
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: development-toolbox
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex Semyonov
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-05-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -39,89 +39,103 @@ dependencies:
|
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0.5'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '0
|
47
|
+
version: '12.0'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '0
|
54
|
+
version: '12.0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: rspec
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '3.5'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
68
|
+
version: '3.5'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
70
|
+
name: rspec-its
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
75
|
+
version: '1.2'
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
82
|
+
version: '1.2'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
84
|
+
name: rubocop
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
89
|
+
version: '0.48'
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
96
|
+
version: '0.48'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
98
|
+
name: yard-commonmarker
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: '0.
|
103
|
+
version: '0.1'
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: '0.
|
110
|
+
version: '0.1'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
112
|
+
name: pry-byebug
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- - "
|
115
|
+
- - ">="
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: '0
|
118
|
-
type: :
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
|
-
- - "
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: rspec-its
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
123
137
|
- !ruby/object:Gem::Version
|
124
|
-
version: '0
|
138
|
+
version: '0'
|
125
139
|
description: Efficient Developer tools
|
126
140
|
email:
|
127
141
|
- alex@semyonov.us
|
@@ -165,16 +179,21 @@ files:
|
|
165
179
|
- exe/development-toolbox
|
166
180
|
- lib/commonmarker/compat.rb
|
167
181
|
- lib/commonmarker/compat_renderer.rb
|
182
|
+
- lib/development-toolbox.rb
|
168
183
|
- lib/development/tasks.rb
|
169
184
|
- lib/development/toolbox.rb
|
170
185
|
- lib/development/toolbox/version.rb
|
186
|
+
- lib/yard-commonmarker.rb
|
187
|
+
- lib/yard/commonmarker/version.rb
|
171
188
|
- lib/yard/templates/helpers/markup_helper/commonmarker.rb
|
172
189
|
- rakelib/audit.rake
|
173
190
|
- rakelib/default.rake
|
174
191
|
- rakelib/doc.rake
|
192
|
+
- rakelib/gem.rake
|
175
193
|
- rakelib/spec.rake
|
176
194
|
- rakelib/style.rake
|
177
195
|
- rakelib/test.rake
|
196
|
+
- yard-commonmarker.gemspec
|
178
197
|
homepage: https://alsemyonov.gitlab.com/development-toolbox/
|
179
198
|
licenses:
|
180
199
|
- MIT
|