dpu 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -0
- data/lib/dpu/version.rb +1 -1
- data/lib/dpu.rb +4 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dc1df2b2b6db3067385612eecae5a6331a6d32114fe804a45e5a0bd11b1e6bf4
|
4
|
+
data.tar.gz: 47180bd8543637cd3e88e5c146add3482c1f5df101e44552b205bd6dd7d6269d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a392209f79675f3682335d8eb58afb07a3ffb923fe6ca3110423e13d0cc027338dc270402272a4ccd2d43c7d940eda76590e43257307b5d282474178f465bb4
|
7
|
+
data.tar.gz: de6f335e3299befaccf1d4022fcc9de331533fe07ad804b153558c728ca3258bd499e3eee008d2242936de6214d9e59f3ed9ce7dec35bfc6312539c958d16b9c
|
data/README.md
CHANGED
@@ -76,6 +76,10 @@ end
|
|
76
76
|
GLOBAL_MAP.define_key("\C-xL", :copy_permanent_uri)
|
77
77
|
```
|
78
78
|
|
79
|
+
### Other editor integration
|
80
|
+
|
81
|
+
Write pull-request or issue, please!
|
82
|
+
|
79
83
|
## Contributing
|
80
84
|
|
81
85
|
Bug reports and pull requests are welcome on GitHub at https://github.com/nishidayuya/dpu .
|
data/lib/dpu/version.rb
CHANGED
data/lib/dpu.rb
CHANGED
@@ -118,7 +118,10 @@ module Dpu
|
|
118
118
|
|
119
119
|
content_in_head = path.read
|
120
120
|
same_content_version = versions.reverse_each.find { |version|
|
121
|
-
content_in_version, _status = *Open3.
|
121
|
+
content_in_version, _stderr, _status = *Open3.capture3(
|
122
|
+
*%W[git show #{version}:#{relative_path_from_repository_root}],
|
123
|
+
chdir: path.dirname,
|
124
|
+
)
|
122
125
|
content_in_head == content_in_version
|
123
126
|
}
|
124
127
|
return same_content_version
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dpu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yuya.Nishida.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-07-
|
11
|
+
date: 2023-07-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: debug
|