rubocop-changed 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rubocop/changed/commands.rb +1 -1
- data/lib/rubocop/changed/version.rb +1 -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: 90c7debb3a9b1fbbfaf2dd660305573bf4506106fa9dc6c0b694b9d059c92cf4
|
4
|
+
data.tar.gz: b4d8a89ffe6df757fdea3672875c63e81d088aa607861f27e5147a533ad86019
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 41fea45d587554352c80f91a9ed3196977df75405d0cff2b52efa44cbe1a97ae8be8bc4ee8e7b4a69850a44e6dfcc801f011c2992b739512be3d711d6abec0af
|
7
|
+
data.tar.gz: f18b591a52d6d5bfabc4e1cc7986762525935ef8e1cea303d55dd30da66677cd1a4012b73a6c1e5bc825e2ba16da5d08129c8eee476b084e66866f26599c04e3
|
@@ -11,7 +11,7 @@ module RuboCop
|
|
11
11
|
GIT_COMMANDS = {
|
12
12
|
changed_files: 'git diff-tree -r --no-commit-id --name-status %<compared_branch>s %<current_branch>s',
|
13
13
|
current_branch: 'git rev-parse --abbrev-ref HEAD',
|
14
|
-
default_branch:
|
14
|
+
default_branch: "git remote show origin | sed -n '/HEAD branch/s/.*: //p' | xargs",
|
15
15
|
new_files: 'git status --porcelain=v1'
|
16
16
|
}.freeze
|
17
17
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-changed
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aslan Dukaev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-05-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|