trace_location 1.1 → 1.2.0

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: bbbeb7108727e93706ca6fe199dc58b9c5fd5246e0d47d52d45dafd1908c343f
4
- data.tar.gz: f7e10fb3febf2091394f5aaf0adcd2d712ce3d93faedd21f6ebf57621bf04305
3
+ metadata.gz: 9d37e8b471c4a66786bf78aab1c023c62e34f542e10b9031656afb26c650fab7
4
+ data.tar.gz: 8b7b6a30398f0c458c245f9aa542835fe177e55351a5b4d53824d9e17bd5cd5a
5
5
  SHA512:
6
- metadata.gz: 7045401ffcd0b8732097fa273257409fb6c75da2f0bcf4aa277ad96a90db591c48202f37ff6b06f01f5ae7f9bfec2fbebccff963bc161b0646c15a9b49335448
7
- data.tar.gz: 1267a27317e29eb71c346c89ce017fc07fef1f89ce30485addff44962f767db592c4e2fc3a21c5ad78cae59c9221218f8762d8a167f6c64093d37aa61a5ee176
6
+ metadata.gz: fa6e3b4b465203a6dc5beba06a99c5fda0ccd2e65c6ddfb22c3c49c7cfd58caff95f3adaaa44b4f062b7ed418d0f4dae90aece2b199c206663d7d1035891108f
7
+ data.tar.gz: baec0749164cf226b82821579ac5d928beea569a2d5a315b62c935beb695202574d57b1bcd56b0bc172c6acdf2e9416d548531d9f3dfd51d7998a72f1ea1eaef
@@ -21,6 +21,8 @@ jobs:
21
21
  - "3.4"
22
22
  include:
23
23
  - { ruby: head, experimental: true }
24
+ env:
25
+ RUBYOPT: "-W:deprecated"
24
26
  steps:
25
27
  - uses: actions/checkout@v3
26
28
  - name: Set up Ruby
data/.rubocop.yml CHANGED
@@ -1,8 +1,15 @@
1
- inherit_from: .rubocop_todo.yml
2
-
3
1
  require:
4
2
  - rubocop-rake
5
3
  - rubocop-rspec
6
4
 
7
5
  Metrics:
8
6
  Enabled: false
7
+
8
+ RSpec/NestedGroups:
9
+ Max: 4
10
+
11
+ Style/Documentation:
12
+ Exclude:
13
+ - 'spec/**/*'
14
+ - 'test/**/*'
15
+ - 'lib/trace_location/cli.rb'
data/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 1.2.0 (2025-01-03)
6
+
7
+ * Fix rubocop offenses
8
+ * Add warning gem to development dependencies
9
+
5
10
  ## 1.1.0 (2025-01-02)
6
11
 
7
12
  * Fix rubocop offenses
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- trace_location (1.1)
4
+ trace_location (1.2.0)
5
5
  csv
6
6
  method_source
7
7
 
@@ -55,6 +55,7 @@ GEM
55
55
  unicode-display_width (3.1.3)
56
56
  unicode-emoji (~> 4.0, >= 4.0.4)
57
57
  unicode-emoji (4.0.4)
58
+ warning (1.5.0)
58
59
 
59
60
  PLATFORMS
60
61
  ruby
@@ -67,6 +68,7 @@ DEPENDENCIES
67
68
  rubocop-rake
68
69
  rubocop-rspec
69
70
  trace_location!
71
+ warning
70
72
 
71
73
  BUNDLED WITH
72
74
  2.6.2
@@ -38,6 +38,7 @@ module TraceLocation
38
38
  begin
39
39
  remove_indent(mes.source)
40
40
  rescue MethodSource::SourceNotFoundError
41
+ # do nothing
41
42
  end
42
43
  end
43
44
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TraceLocation
4
- VERSION = '1.1'
4
+ VERSION = '1.2.0'
5
5
  end
@@ -32,4 +32,5 @@ Gem::Specification.new do |s|
32
32
  s.add_development_dependency 'bundler'
33
33
  s.add_development_dependency 'rake'
34
34
  s.add_development_dependency 'rspec'
35
+ s.add_development_dependency 'warning'
35
36
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trace_location
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.1'
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yoshiyuki Hirano
@@ -79,6 +79,20 @@ dependencies:
79
79
  - - ">="
80
80
  - !ruby/object:Gem::Version
81
81
  version: '0'
82
+ - !ruby/object:Gem::Dependency
83
+ name: warning
84
+ requirement: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - ">="
87
+ - !ruby/object:Gem::Version
88
+ version: '0'
89
+ type: :development
90
+ prerelease: false
91
+ version_requirements: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - ">="
94
+ - !ruby/object:Gem::Version
95
+ version: '0'
82
96
  description: |
83
97
  TraceLocation helps you get tracing the source location of codes,
84
98
  and helps you can get reading the huge open souce libraries in Ruby
@@ -94,7 +108,6 @@ files:
94
108
  - ".gitignore"
95
109
  - ".rspec"
96
110
  - ".rubocop.yml"
97
- - ".rubocop_todo.yml"
98
111
  - CHANGELOG.md
99
112
  - Gemfile
100
113
  - Gemfile.lock
data/.rubocop_todo.yml DELETED
@@ -1,24 +0,0 @@
1
- # This configuration was generated by
2
- # `rubocop --auto-gen-config --no-exclude-limit --no-offense-counts --no-auto-gen-timestamp`
3
- # using RuboCop version 1.69.2.
4
- # The point is for the user to remove these configuration records
5
- # one by one as the offenses are removed from the code base.
6
- # Note that changes in the inspected code, or installation of new
7
- # versions of RuboCop, may require this file to be generated again.
8
-
9
- # Configuration parameters: AllowComments, AllowNil.
10
- Lint/SuppressedException:
11
- Exclude:
12
- - 'lib/trace_location/collector.rb'
13
-
14
- # Configuration parameters: Max, AllowedGroups.
15
- RSpec/NestedGroups:
16
- Exclude:
17
- - 'spec/trace_location_spec.rb'
18
-
19
- # Configuration parameters: AllowedConstants.
20
- Style/Documentation:
21
- Exclude:
22
- - 'spec/**/*'
23
- - 'test/**/*'
24
- - 'lib/trace_location/cli.rb'