lineprof 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/CHANGELOG.md +12 -0
- data/lib/lineprof.rb +8 -1
- data/lib/lineprof/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: e30ca9d26dc00232e2f8d8d60717aadf85a9e5e7e206396fd1b1256df562370c
|
|
4
|
+
data.tar.gz: 7f0efe08e0661f935b25c21d28faa22631c22d1261961259567d50eae3af830d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f33f16724a16e90faddb85fce1f16824f567136547862ec5a83330d1cb113effd64a991b1b0ec9c116a552ed228a4768f975f356cea98656b83a3a5a010302e1
|
|
7
|
+
data.tar.gz: 58369557fcfed870b53fa7744140d33e6e006811729e6e1c021dcc7b2569bce3a1693441b0d123f12d514ea715b989c660228ec2a02b2a9236bc7aec4e145191
|
data/CHANGELOG.md
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# Change Log
|
|
2
|
+
|
|
3
|
+
## [v0.1.1](https://github.com/k0kubun/lineprof/tree/v0.1.1) (2015-09-12)
|
|
4
|
+
[Full Changelog](https://github.com/k0kubun/lineprof/compare/v0.1.0...v0.1.1)
|
|
5
|
+
|
|
6
|
+
## [v0.1.0](https://github.com/k0kubun/lineprof/tree/v0.1.0) (2015-09-07)
|
|
7
|
+
[Full Changelog](https://github.com/k0kubun/lineprof/compare/v0.0.1...v0.1.0)
|
|
8
|
+
|
|
9
|
+
## [v0.0.1](https://github.com/k0kubun/lineprof/tree/v0.0.1) (2015-03-09)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
|
data/lib/lineprof.rb
CHANGED
|
@@ -18,7 +18,14 @@ class Lineprof
|
|
|
18
18
|
private
|
|
19
19
|
|
|
20
20
|
def caller_filename(caller_lines)
|
|
21
|
-
caller_lines.first.split(':').first
|
|
21
|
+
filename = caller_lines.first.split(':').first
|
|
22
|
+
|
|
23
|
+
if filename
|
|
24
|
+
# Don't add \A because filename may not be an absolute path
|
|
25
|
+
/#{Regexp.escape(filename)}\z/
|
|
26
|
+
else
|
|
27
|
+
DEFAULT_PATTERN
|
|
28
|
+
end
|
|
22
29
|
end
|
|
23
30
|
|
|
24
31
|
def format(result)
|
data/lib/lineprof/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lineprof
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Takashi Kokubun
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2021-06-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rblineprof
|
|
@@ -88,6 +88,7 @@ extensions: []
|
|
|
88
88
|
extra_rdoc_files: []
|
|
89
89
|
files:
|
|
90
90
|
- ".gitignore"
|
|
91
|
+
- CHANGELOG.md
|
|
91
92
|
- Gemfile
|
|
92
93
|
- LICENSE.txt
|
|
93
94
|
- README.md
|
|
@@ -116,8 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
116
117
|
- !ruby/object:Gem::Version
|
|
117
118
|
version: '0'
|
|
118
119
|
requirements: []
|
|
119
|
-
|
|
120
|
-
rubygems_version: 2.4.5.1
|
|
120
|
+
rubygems_version: 3.1.6
|
|
121
121
|
signing_key:
|
|
122
122
|
specification_version: 4
|
|
123
123
|
summary: Easy-to-use line profiler for Ruby.
|