vim-tags 0.4.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -38
- data/plugins.rb +4 -1
- data/vim-tags.gemspec +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d0f7b059c27cda270e8b674ff1572c468b46653357bad9a0c0ed92335e1d8db7
|
4
|
+
data.tar.gz: a2e993a9edc418fa3cd1c6b27efaa3a4e63d24a114f1db7f3d3397694709a691
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a7ff80f898bf224b54e99d0b0d7aa3db1ceeed382ebc8ae88d9a38d15fb687e532589eea9a207ad3d57526f44bca61ce9272903783ee48db5336829321d9ff3f
|
7
|
+
data.tar.gz: fc6a2cb64e2e57e3b7a076b8a10b8b42393056921a4aa3a5dce7418e65a1e22ca7c2e7cefdd1f253c7116a9c67ce73fba5cd4ccbe9696bc577dfc67dae6990a8
|
data/.rubocop.yml
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
require:
|
2
2
|
- rubocop-minitest
|
3
3
|
- rubocop-performance
|
4
|
-
- rubocop-rails
|
5
4
|
AllCops:
|
6
5
|
NewCops: enable
|
7
6
|
Exclude:
|
@@ -13,7 +12,7 @@ AllCops:
|
|
13
12
|
- test/dummy/db/schema.rb
|
14
13
|
- gemfiles/**/*
|
15
14
|
- bin/**/*
|
16
|
-
TargetRubyVersion: 2.
|
15
|
+
TargetRubyVersion: 2.5
|
17
16
|
|
18
17
|
# Department Bundler
|
19
18
|
Bundler/DuplicatedGem:
|
@@ -1697,39 +1696,3 @@ Performance/Squeeze:
|
|
1697
1696
|
Enabled: true
|
1698
1697
|
Performance/StringInclude:
|
1699
1698
|
Enabled: true
|
1700
|
-
Rails/ActiveRecordCallbacksOrder:
|
1701
|
-
Enabled: true
|
1702
|
-
Rails/FindById:
|
1703
|
-
Enabled: true
|
1704
|
-
Rails/Inquiry:
|
1705
|
-
Enabled: false
|
1706
|
-
Rails/MailerName:
|
1707
|
-
Enabled: true
|
1708
|
-
Rails/MatchRoute:
|
1709
|
-
Enabled: true
|
1710
|
-
Rails/NegateInclude:
|
1711
|
-
Enabled: true
|
1712
|
-
Rails/Pluck:
|
1713
|
-
Enabled: true
|
1714
|
-
Rails/PluckInWhere:
|
1715
|
-
Enabled: true
|
1716
|
-
Rails/RenderInline:
|
1717
|
-
Enabled: true
|
1718
|
-
Rails/RenderPlainText:
|
1719
|
-
Enabled: true
|
1720
|
-
Rails/ShortI18n:
|
1721
|
-
Enabled: true
|
1722
|
-
Rails/WhereExists:
|
1723
|
-
Enabled: true
|
1724
|
-
Rails/SkipsModelValidations:
|
1725
|
-
Enabled: false
|
1726
|
-
Rails/UniqueValidationWithoutIndex:
|
1727
|
-
Enabled: false
|
1728
|
-
Rails/InverseOf:
|
1729
|
-
Enabled: false
|
1730
|
-
Rails/LexicallyScopedActionFilter:
|
1731
|
-
Enabled: false
|
1732
|
-
Minitest/MultipleAssertions:
|
1733
|
-
Enabled: false
|
1734
|
-
Rails/OutputSafety:
|
1735
|
-
Enabled: false
|
data/plugins.rb
CHANGED
@@ -44,7 +44,7 @@ class VimTagsCommand < Bundler::Plugin::API
|
|
44
44
|
end
|
45
45
|
|
46
46
|
def gem_paths
|
47
|
-
gem_specs.map(
|
47
|
+
gem_specs.map { |spec| File.join(spec.full_gem_path, "lib") }.sort.join(",")
|
48
48
|
end
|
49
49
|
|
50
50
|
def gem_specs
|
@@ -54,6 +54,9 @@ class VimTagsCommand < Bundler::Plugin::API
|
|
54
54
|
def write_to_file(file_path, description, payload)
|
55
55
|
puts "#{description} to #{file_path}"
|
56
56
|
|
57
|
+
dirname = File.dirname(file_path)
|
58
|
+
FileUtils.mkdir_p(dirname) unless File.directory?(dirname)
|
59
|
+
|
57
60
|
File.open(file_path, "w") do |f|
|
58
61
|
f.truncate(0)
|
59
62
|
|
data/vim-tags.gemspec
CHANGED
@@ -2,14 +2,14 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
4
|
spec.name = "vim-tags"
|
5
|
-
spec.version = "0.
|
5
|
+
spec.version = "1.0.2"
|
6
6
|
spec.authors = ["Nick Pezza"]
|
7
7
|
spec.email = ["pezza@hey.com"]
|
8
8
|
|
9
9
|
spec.summary =
|
10
10
|
"Generate cache file of all paths to tags files of dependencies"
|
11
11
|
spec.license = "MIT"
|
12
|
-
spec.required_ruby_version = ">= 2.
|
12
|
+
spec.required_ruby_version = ">= 2.5.0"
|
13
13
|
|
14
14
|
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
15
15
|
`git ls-files -z`.split("\x0").reject do |f|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vim-tags
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nick Pezza
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-12-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: debug
|
@@ -49,7 +49,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
49
49
|
requirements:
|
50
50
|
- - ">="
|
51
51
|
- !ruby/object:Gem::Version
|
52
|
-
version: 2.
|
52
|
+
version: 2.5.0
|
53
53
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
54
54
|
requirements:
|
55
55
|
- - ">="
|