diffend 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: d59c79b3cd1e84bbb678ee80ab3a6ac9883e6ca3d7f4681613afda23edc1a3bb
4
- data.tar.gz: 9e3d458b8a6ff192c3017082c589486835f092bbab99b4b3727d8c1488fc9b43
3
+ metadata.gz: e37f23f8a6ea7efc0e730658b628aefdff0c8068f5409f8777f0b58153c702b9
4
+ data.tar.gz: 0b5bc9bfd607bbfd1c3020934aef31805a4b96933a91b4279bc8ddeddebdcf79
5
5
  SHA512:
6
- metadata.gz: 5c86b5245c1e241d6034c563b8849618f7f594f62a8b607a95d60531fbbd1db2bd538aa6f8e2c0a3d0aed19b731f6b787826b137fc30051c913e3178860427b6
7
- data.tar.gz: afb23d2da56d361bc02b7cc7701e3681a97e31788831024415d359c29e6fc62c09dee7e16b2b39fec4638b4f2782c831f7a6d1b5f561408c7e4ef01f29303a2d
6
+ metadata.gz: d46a4b3fcba90acc11dd991a2f7adffee944c642823cdcd44b9269750666af48485686e37b983af81f4ec581181150a2259dbd403210340242a6987aae9e63b0
7
+ data.tar.gz: 4657d78a13ae726ef2ed3023039153256ffba12bd07b80eb3df961f3a713ba1266bf8a242bf78ffde9220713593bbb0ef3079fd6975f1576820557a929f49734
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
data/diffend.gemspec CHANGED
@@ -23,6 +23,8 @@ Gem::Specification.new do |spec|
23
23
  spec.homepage = 'https://diffend.io'
24
24
  spec.license = 'Prosperity Public License'
25
25
 
26
+ spec.required_ruby_version = '>= 2.5.0'
27
+
26
28
  if $PROGRAM_NAME.end_with?('gem')
27
29
  spec.signing_key = File.expand_path('~/.ssh/gem-private_key.pem')
28
30
  end
@@ -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
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
@@ -123,7 +123,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
123
123
  requirements:
124
124
  - - ">="
125
125
  - !ruby/object:Gem::Version
126
- version: '0'
126
+ version: 2.5.0
127
127
  required_rubygems_version: !ruby/object:Gem::Requirement
128
128
  requirements:
129
129
  - - ">="
metadata.gz.sig CHANGED
Binary file