puppetfile-updater 0.3.3 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/puppetfile-updater/task.rb +4 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MmE3YTJjZjE0ZGM1ODRhMmZjMjViZTEyNTIwMWVmY2UyYjc0MWIyYQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YTU0NTJhY2VjNzA0MWQxYzg3ZWM5MzU2NzhhNjQxYmIyYjE5ZGUxNQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZDM5YTdkZWNhMDAxOTFiMmIyODI5YThiMDAyMDc2ZjI0MzNkZTQxNzZmZTkx
|
10
|
+
OGRjY2E2ODQ0NmRjZGU0NDBjOWYwZmU4ODVmNmFmZGY1OTE1NGMzZDI3Njg2
|
11
|
+
Yzg4Mjg4MTc3OWU4Mzg2MzNlOTUyODg5NGFiMTYwZTZmY2ZkNzI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZDJmZjBkYTJjZDRjZWZkMjJhNzBmMDNjNTZhNTg2NWYyZTdjYWM1MDQ2Zjk2
|
14
|
+
MWFlMjdhMjE0ZWNlZDNlNDMyZGExODVhNDcwOWJmOTMzMzhiMGYwNGIxMDNk
|
15
|
+
ZTJjYWEwZjMxZGIyYjIzMzM5ZGVhNmM4NzI4ZmM3Zjg1ZWU0OGQ=
|
@@ -62,10 +62,10 @@ class PuppetfileUpdater
|
|
62
62
|
aug.load!
|
63
63
|
|
64
64
|
error_path = '/augeas/files/Puppetfile/error'
|
65
|
-
unless aug.match(
|
65
|
+
unless aug.match(error_path).size == 0
|
66
66
|
msg = "Failed to parse Puppetfile at line #{aug.get(error_path+'/line')}, "
|
67
67
|
msg << "character #{aug.get(error_path+'/char')}: "
|
68
|
-
msg << aug.get('/
|
68
|
+
msg << aug.get(error_path+'/message')
|
69
69
|
abort msg
|
70
70
|
end
|
71
71
|
|
@@ -98,6 +98,8 @@ class PuppetfileUpdater
|
|
98
98
|
release = forge_m.releases.select { |r| r.deleted_at.nil? }[0]
|
99
99
|
new_v = release.version
|
100
100
|
puts "D: New version for #{m} is #{new_v}" if @debug
|
101
|
+
|
102
|
+
warn "W: #{m} looks abandoned (version = #{new_v})" if new_v =~ /^99/
|
101
103
|
if new_v.split('.')[0] != v.split('.')[0]
|
102
104
|
if @major
|
103
105
|
warn "W: #{m} has incompatible changes between #{v} and #{new_v}"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: puppetfile-updater
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Camptocamp
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-06-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|