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 +4 -4
- data/lib/autoproj/configuration.rb +2 -2
- data/lib/autoproj/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dc0bab97ebc2eb14c4ba5078aa523e32e22d3d77
|
4
|
+
data.tar.gz: 4a155a154561df00943e580bad166e7abc386725
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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
|
67
|
+
@modified ||= (config[key][0] != value)
|
68
68
|
else
|
69
69
|
@modified = true
|
70
70
|
end
|
data/lib/autoproj/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2018-03-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|