autoproj 2.5.0 → 2.5.1

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
  SHA1:
3
- metadata.gz: 8da7bc07499e9c484523f74280f2632bb0b73edc
4
- data.tar.gz: 9abcd5c8bcfba0ce4f72a3f7a75164503a967671
3
+ metadata.gz: dc0bab97ebc2eb14c4ba5078aa523e32e22d3d77
4
+ data.tar.gz: 4a155a154561df00943e580bad166e7abc386725
5
5
  SHA512:
6
- metadata.gz: 4197bbcf195b9a825477c004a9894766cb43b56ef5fbd6422b83ad23b3b1da3d849e0407f651dda2d3a7f8a838d474cef675d288d202bef2b662ffe251db71da
7
- data.tar.gz: 4141c1ce7685ddbcd98d16f3a9b69d0ef20c8946bffeb69247de6bcfcaf59205832c9be7555cbd18a57250838470b98c0238b36c9577ed1414157a364626edaf
6
+ metadata.gz: a1afb803d057542495d2ae560dedf1b064e5e9d0d0124b1cc321b454499b40d32293b70c6fe5337bc38c7b2ea7106550087598f9f6064166451dd5540adf8042
7
+ data.tar.gz: 2c6b43eac291f2a2e15fd11ec430e7baf744e222f0db25ed9461c6e29bb9a9507e5b2c8147d657cbafe3c9fddbc6af224fda13780eacdfe5d3bf61f8755af40a
@@ -50,7 +50,7 @@ def reset_modified
50
50
  # @param [String] the option name
51
51
  # @return the deleted value
52
52
  def reset(name)
53
- @modified = config.has_key?(name)
53
+ @modified ||= config.has_key?(name)
54
54
  config.delete(name)
55
55
  overrides.delete(name)
56
56
  end
@@ -64,7 +64,7 @@ def reset(name)
64
64
  # asked about it, the new value being used as default
65
65
  def set(key, value, user_validated = false)
66
66
  if config.has_key?(key)
67
- @modified = (config[key][0] != value)
67
+ @modified ||= (config[key][0] != value)
68
68
  else
69
69
  @modified = true
70
70
  end
@@ -1,3 +1,3 @@
1
1
  module Autoproj
2
- VERSION = "2.5.0"
2
+ VERSION = "2.5.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autoproj
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.0
4
+ version: 2.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sylvain Joyeux
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-13 00:00:00.000000000 Z
11
+ date: 2018-03-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler