gitlab-styles 2.6.1 → 2.6.2

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: add96b4e18731d6fbf493fd9ae56dc8b4716b8836ad98a93133518d24fcd6a7c
4
- data.tar.gz: 57da71574b765ce669125e81c357d35cb93bafd5c945628b127fb1e0f2a9dabe
3
+ metadata.gz: abcb1bd69dc686eec874933a3ea18d7f46edbc5f1f79e7ddff28bad2b3c695d4
4
+ data.tar.gz: 409bdef068a6902590657108fa76f34c50e613a5a6df36ae60f9e38c8b919b1b
5
5
  SHA512:
6
- metadata.gz: ef0cdf26fa218c57c670c6d4616ee02acf0c1be96106c5dcb0e922051a200d61415c52cee03b88c1752c38aebc17b5523e11bd41405052bc6dce48a2cfd0ef6e
7
- data.tar.gz: 5860caf4bb76fe4992d420214a32cf1ede152b81de9ba3111ebcc664344cc2a3f96112cd314a392eddb58634b0ea13c64776a7fce139dd36d61b18b976f61f4d
6
+ metadata.gz: 4e161e24ad9bba4fa63811c558d4bac2e78456b38b0df8c16c779135cce1d638afc7643d6ed3f58cbff81389128c3c9e93c3a71f10f8aa0eecd816222a367e52
7
+ data.tar.gz: 9f1ef9e3ea18abd032363c9eb4fac534c463173769d7e194bcead9e15ad607c93be3369683f8d2ae9f05570f68228e74e5d35b5cb0815718c6df5f18d87afde3
@@ -5,7 +5,7 @@ module Gitlab
5
5
  # Returns true if the given node originated from the models directory.
6
6
  def in_model?(node)
7
7
  path = node.location.expression.source_buffer.name
8
- pwd = Dir.pwd
8
+ pwd = RuboCop::PathUtil.pwd
9
9
  models_path = File.join(pwd, 'app', 'models')
10
10
  ee_models_path = File.join(pwd, 'ee', 'app', 'models')
11
11
 
@@ -1,5 +1,5 @@
1
1
  module Gitlab
2
2
  module Styles
3
- VERSION = '2.6.1'.freeze
3
+ VERSION = '2.6.2'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitlab-styles
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.1
4
+ version: 2.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - GitLab
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-05-02 00:00:00.000000000 Z
11
+ date: 2019-05-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop