diffend-monitor 0.2.49 → 0.2.50

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: 67d0f542217847e4728a8a07feca643843b73537e92e804278934de650306559
4
- data.tar.gz: c92d8ad3b706f22a71354b7ca5888fdac13c48e3d11c2c41b3e6adec877e9b32
3
+ metadata.gz: 8948cc582de22d5cc5f46c413dc5af5933f2ad0e12bdfad0574adf106ae20418
4
+ data.tar.gz: 5415a72a297294a5a5606e0edb8928e635505cf031a2d482d4ed5ee3276c7437
5
5
  SHA512:
6
- metadata.gz: 32af1560d28b80fcd4b2d1fe2c46b3294b18be556c7b37165b8945615da5252d384a4ebe9c5e90b6e00f8d47087531818e268ad0d3fab92ebb333e6a6dffa968
7
- data.tar.gz: 94dbc0cf9a95dd497d43b342315236deaef81b9bfc6f91db744b9f17c606042d19d41bf56736cfce21950e3c2600915e1bcb8b366247fbc3b877c6a77eac2144
6
+ metadata.gz: b5fed570b71187fe8012461f407d84eb0f34aa9521296d4a39b9479cc231113800b4fa87f76ea01255087f76d51aa0026643aae4b518276d964591d5640e5332
7
+ data.tar.gz: e1eb4cd0ad24e655ce4832a752e39f57a6789ff095898938b133a19fc1d994e631e6b7f63aa70d7d2e09159006f393ac7163903fb8166c7794b4703df478fb24
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.2.50] (2021-08-19)
4
+ - Fix #132 - `bundle` without command name fails to recognize that first argument is an option
5
+ - Bundler 2.2.26 specs support
6
+
3
7
  ## [0.2.49] (2021-08-11)
4
8
  - Bundler 2.2.20 specs support
5
9
  - Bundler 2.2.21 specs support
@@ -104,7 +104,14 @@ module Diffend
104
104
  #
105
105
  # @return [String]
106
106
  def build_command
107
- ARGV.first || ::Bundler.feature_flag.default_cli_command.to_s
107
+ default = ::Bundler.feature_flag.default_cli_command.to_s
108
+
109
+ return default unless ARGV.first
110
+ # There is a case where no command may be provided and the first argument is the first option
111
+ # In a case like this we fallback to default command
112
+ return default if ARGV.first.start_with?('-')
113
+
114
+ ARGV.first
108
115
  end
109
116
 
110
117
  # @return [String] path to the plugin
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Diffend
4
4
  # Current version
5
- VERSION = '0.2.49'
5
+ VERSION = '0.2.50'
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: diffend-monitor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.49
4
+ version: 0.2.50
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomasz Pajor
@@ -35,7 +35,7 @@ cert_chain:
35
35
  R2P11bWoCtr70BsccVrN8jEhzwXngMyI2gVt750Y+dbTu1KgRqZKp/ECe7ZzPzXj
36
36
  pIy9vHxTANKYVyI4qj8OrFdEM5BQNu8oQpL0iQ==
37
37
  -----END CERTIFICATE-----
38
- date: 2021-08-11 00:00:00.000000000 Z
38
+ date: 2021-08-19 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: bundler
metadata.gz.sig CHANGED
Binary file