commander 4.3.7 → 4.3.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ba1823d2bcff49f4c59b140925c2773f17f3579f
4
- data.tar.gz: 4f909e1d446cba6c1eb61fe1b92077d4378bffb8
3
+ metadata.gz: 64fa723701dbdd02b99e8522367448ba136d498d
4
+ data.tar.gz: 078d26f2f3610bc4a1bcd44f50d350dc836f2276
5
5
  SHA512:
6
- metadata.gz: 6cd8a8409c9f0201a2a9e94b9d9f1aa6e15de1512f83af9acba6f26b420b3c12f898fb47b08d83b9756f3e791b9278a755f6ee0c337603a3a4f45ba7c719505b
7
- data.tar.gz: 27f9dcd16f94f57b40ad39bd93d02b0f673202b5f95d8f813aebe3b0d406f0dfb5c3f5d0619cd8c3147a43cd795f20c50c1054a0ec0a9716b05eadb26e230aea
6
+ metadata.gz: 76874e8b7f1f227cde4bcd7601f1b97c2fd131c1a4119b40cd79742341957c540fa7c554632f74bd857bf37adc2947b3c1ad0febaac2da891cf0cbe02cdfe77c
7
+ data.tar.gz: c4351aadda2c05e041e32d3adc950705d6cbb00123cc4cfeb7c4ff080d30ffe6325e2327036efb5ed89488e621001ea3236dcb0174f54fb3d708760dea45eec6
@@ -1,3 +1,7 @@
1
+ === 4.3.8 / 2016-02-09
2
+
3
+ * Fix regression for deprecation warnings.
4
+
1
5
  === 4.3.7 / 2016-01-26
2
6
 
3
7
  * Fix regression in help formatter introduced in 4.3.6.
@@ -329,8 +329,8 @@ module Commander
329
329
  [Float, Integer, String, Symbol, Regexp, Array, File, Pathname] +
330
330
  # All Classes that respond to #parse
331
331
  Object.constants.map do |const|
332
- # const_get(:TimeoutError) issues a deprecation warning on ruby 2.3.0
333
- Object.const_get(const) unless const == :TimeoutError
332
+ # Ignore constants that trigger deprecation warnings
333
+ Object.const_get(const) unless [:Config, :TimeoutError].include?(const)
334
334
  end.select do |const|
335
335
  const.class == Class && const.respond_to?(:parse)
336
336
  end
@@ -1,3 +1,3 @@
1
1
  module Commander
2
- VERSION = '4.3.7'
2
+ VERSION = '4.3.8'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: commander
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.3.7
4
+ version: 4.3.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - TJ Holowaychuk
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-01-27 00:00:00.000000000 Z
12
+ date: 2016-02-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: highline