tagrity 0.2.10 → 0.2.11

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: eddf299be5a682f0c4020e880af4e8077a8fe43ed4988004d6e512f2e4cdbd6b
4
- data.tar.gz: 19c7610dd780c1f8a7a93bad5d880bb8162a49cf00ad0e159360ce1a681cb617
3
+ metadata.gz: f61241e904a145f2f947f2577961fb622fb82293f1382ab91f5f461452e92de2
4
+ data.tar.gz: f0fa1c4fdea48600c548bc9deb5606ca2af9b73f45aad8d3fe74d67502204fdb
5
5
  SHA512:
6
- metadata.gz: 5c93f50d99d5152a1610a2cd17ecc489a6b9533a9e794cd3287ee9ced5553530208922da3b59b954a9d4b7bce442ff5c3627f2dd33d80a2516b530f867f74a85
7
- data.tar.gz: 74ca8dd673c508fe1ca287d96beba66468d5ea112dd47dc3188d6027ec22a4f196cc142d22bc0b5ffe21ed0f5ffd6e5796a3bca18939c446e748238d8c109ddd
6
+ metadata.gz: a9f47bbd86cf5daffbe74d3c5d1ba6ee0be97a6c73060de99d5f284a52b8f08e7ddacaf8158af97a7e365916777d94c117d50b1b6a77623edaeffd37ef3a2eb3
7
+ data.tar.gz: 6e7f2ce3a2249e1bb8c8b7535073617ac3ba4978e31aa4733cdbce61da7b828967eabf5c4442ef9e79ef746243c8f98a831aa125a278908a0041b72b3472bf35
data/Gemfile.lock CHANGED
@@ -22,7 +22,7 @@ GEM
22
22
  coderay (~> 1.0)
23
23
  method_source (~> 0.8)
24
24
  slop (~> 3.4)
25
- rake (10.5.0)
25
+ rake (13.0.1)
26
26
  rb-fsevent (0.10.3)
27
27
  rb-inotify (0.10.1)
28
28
  ffi (~> 1.0)
@@ -48,7 +48,7 @@ PLATFORMS
48
48
 
49
49
  DEPENDENCIES
50
50
  bundler (~> 2.0)
51
- rake (~> 10.0)
51
+ rake (~> 13.0)
52
52
  ripper-tags (~> 0.8.0)
53
53
  rspec (~> 3.0)
54
54
  tagrity!
@@ -33,12 +33,12 @@ module Tagrity
33
33
  def generate(files)
34
34
  return if files.empty?
35
35
  files
36
- .select { |file| generate_tags?(file) }
36
+ .select { |file| generate_tags?(file)}
37
37
  .group_by { |file| @config.command_for_extension(file.split('.').last) }
38
38
  .each do |cmd, fnames|
39
39
  Tempfile.create do |tmpf|
40
40
  IO::write(tmpf.path, fnames.join("\n"))
41
- system(cmd, '-f', tagf, '--append', '-L', tmpf.path, out: File::NULL)
41
+ system(cmd, '-f', tagf, '--append', '-L', tmpf.path, out: File::NULL, err: File::NULL)
42
42
  if $?.exitstatus == 0
43
43
  @logger.info("{#{cmd}} generated tags for #{fnames} into #{tagf}")
44
44
  else
@@ -1,3 +1,3 @@
1
1
  module Tagrity
2
- VERSION = "0.2.10"
2
+ VERSION = "0.2.11"
3
3
  end
data/tagrity.gemspec CHANGED
@@ -31,7 +31,7 @@ Gem::Specification.new do |spec|
31
31
  spec.add_dependency 'cli-ui', '~> 1.3.0'
32
32
 
33
33
  spec.add_development_dependency "bundler", "~> 2.0"
34
- spec.add_development_dependency "rake", "~> 10.0"
34
+ spec.add_development_dependency "rake", "~> 13.0"
35
35
  spec.add_development_dependency "rspec", "~> 3.0"
36
36
  spec.add_development_dependency "ripper-tags", "~> 0.8.0"
37
37
  spec.add_dependency "pry", "~> 0.9.9"
@@ -0,0 +1,7 @@
1
+ int barbaz_one() {
2
+ return 0;
3
+ }
4
+
5
+ int barbaz_two() {
6
+ return 0;
7
+ }
@@ -1,6 +1,8 @@
1
1
  barbaz_fun_one foo/barbaz.rb /^def barbaz_fun_one$/;" f class:Object
2
2
  barbaz_fun_two foo/barbaz.rb /^def barbaz_fun_two$/;" f class:Object
3
+ barbaz_one barbaz.barbaz.c /^int barbaz_one() {$/;" f typeref:typename:int
3
4
  barbaz_one barbaz.c /^int barbaz_one() {$/;" f typeref:typename:int
5
+ barbaz_two barbaz.barbaz.c /^int barbaz_two() {$/;" f typeref:typename:int
4
6
  barbaz_two barbaz.c /^int barbaz_two() {$/;" f typeref:typename:int
5
7
  foobar_fun_one foo/foobar.rb /^def foobar_fun_one$/;" f class:Object
6
8
  foobar_fun_two foo/foobar.rb /^def foobar_fun_two$/;" f class:Object
@@ -1,6 +1,8 @@
1
1
  barbaz_fun_one foo/barbaz.rb /^def barbaz_fun_one$/;" f class:Object
2
2
  barbaz_fun_two foo/barbaz.rb /^def barbaz_fun_two$/;" f class:Object
3
+ barbaz_one barbaz.barbaz.c /^int barbaz_one() {$/;" f typeref:typename:int
3
4
  barbaz_one barbaz.c /^int barbaz_one() {$/;" f typeref:typename:int
4
5
  barbaz_one foo/foobar.c /^int barbaz_one() {$/;" f typeref:typename:int
6
+ barbaz_two barbaz.barbaz.c /^int barbaz_two() {$/;" f typeref:typename:int
5
7
  barbaz_two barbaz.c /^int barbaz_two() {$/;" f typeref:typename:int
6
8
  barbaz_two foo/foobar.c /^int barbaz_two() {$/;" f typeref:typename:int
@@ -1,7 +1,9 @@
1
1
  barbaz_fun_one foo/barbaz.rb /^def barbaz_fun_one$/;" f class:Object
2
2
  barbaz_fun_two foo/barbaz.rb /^def barbaz_fun_two$/;" f class:Object
3
+ barbaz_one barbaz.barbaz.c /^int barbaz_one() {$/;" f typeref:typename:int
3
4
  barbaz_one barbaz.c /^int barbaz_one() {$/;" f typeref:typename:int
4
5
  barbaz_one foo/foobar.c /^int barbaz_one() {$/;" f typeref:typename:int
6
+ barbaz_two barbaz.barbaz.c /^int barbaz_two() {$/;" f typeref:typename:int
5
7
  barbaz_two barbaz.c /^int barbaz_two() {$/;" f typeref:typename:int
6
8
  barbaz_two foo/foobar.c /^int barbaz_two() {$/;" f typeref:typename:int
7
9
  foobar_fun_one foo/foobar.rb /^def foobar_fun_one$/;" f class:Object
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tagrity
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.10
4
+ version: 0.2.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam P. Regasz-Rethy
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-01-12 00:00:00.000000000 Z
11
+ date: 2020-02-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '10.0'
75
+ version: '13.0'
76
76
  type: :development
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: '10.0'
82
+ version: '13.0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rspec
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -161,6 +161,7 @@ files:
161
161
  - tagrity.gemspec
162
162
  - test_files/.gitignore
163
163
  - test_files/.tagrity_config.yml
164
+ - test_files/barbaz.barbaz.c
164
165
  - test_files/barbaz.c
165
166
  - test_files/expected_after_delete
166
167
  - test_files/expected_genall_git_tags