puppetfile-updater 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +5 -13
  2. data/lib/puppetfile-updater/task.rb +2 -2
  3. metadata +15 -17
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- MmE3YTJjZjE0ZGM1ODRhMmZjMjViZTEyNTIwMWVmY2UyYjc0MWIyYQ==
5
- data.tar.gz: !binary |-
6
- YTU0NTJhY2VjNzA0MWQxYzg3ZWM5MzU2NzhhNjQxYmIyYjE5ZGUxNQ==
2
+ SHA256:
3
+ metadata.gz: 3c4ccff3597955b212abd9580f4525c388c1bf69785bc2f9898f9add676dd75d
4
+ data.tar.gz: 9e6590f5e580377b98a70bf7d83436b26cbce26a566215c5d1d09cc3baef12a1
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- ZDM5YTdkZWNhMDAxOTFiMmIyODI5YThiMDAyMDc2ZjI0MzNkZTQxNzZmZTkx
10
- OGRjY2E2ODQ0NmRjZGU0NDBjOWYwZmU4ODVmNmFmZGY1OTE1NGMzZDI3Njg2
11
- Yzg4Mjg4MTc3OWU4Mzg2MzNlOTUyODg5NGFiMTYwZTZmY2ZkNzI=
12
- data.tar.gz: !binary |-
13
- ZDJmZjBkYTJjZDRjZWZkMjJhNzBmMDNjNTZhNTg2NWYyZTdjYWM1MDQ2Zjk2
14
- MWFlMjdhMjE0ZWNlZDNlNDMyZGExODVhNDcwOWJmOTMzMzhiMGYwNGIxMDNk
15
- ZTJjYWEwZjMxZGIyYjIzMzM5ZGVhNmM4NzI4ZmM3Zjg1ZWU0OGQ=
6
+ metadata.gz: 495bb23e0edc3c3589784efd1e6013ef3a7e8c7edeebc838e2e10a32fd8a99b99c4730a93646fe1f272fd6d3b4d53233b9642b4198dff4e9e3c9982067fad056
7
+ data.tar.gz: c9e89efe6b61d65f67d9c9d1f5cf6089a6b05ab91eb32ee267144cb8aadbef93dd6895e7494b9dbf69d5dae97a802eba8eb78b8e3c74f88f2e78ee354961b6ad
@@ -70,7 +70,7 @@ class PuppetfileUpdater
70
70
  end
71
71
 
72
72
  # Update from GitHub
73
- aug.match("/files/Puppetfile/*[git=~regexp('.*/#{@user}/.*')]").each do |mpath|
73
+ aug.match("/files/Puppetfile/*[git=~regexp('.*/#{@user}[/-].*')]").each do |mpath|
74
74
  m = aug.get(mpath)
75
75
  puts "D: Considering #{m} for git update" if @debug
76
76
  next if !@module.nil? && @module != m.gsub(%r{.*[-/]}, '')
@@ -88,7 +88,7 @@ class PuppetfileUpdater
88
88
 
89
89
  # Update from Forge
90
90
  PuppetForge.user_agent = 'Puppetfile-Updater/0.1.0'
91
- aug.match("/files/Puppetfile/*[label()!='#comment' and .=~regexp('#{@user}/.*') and @version]").each do |mpath|
91
+ aug.match("/files/Puppetfile/*[label()!='#comment' and .=~regexp('#{@user}[/-].*') and @version]").each do |mpath|
92
92
  m = aug.get(mpath).gsub('/', '-')
93
93
  puts "D: Considering #{m} for forge update" if @debug
94
94
  next if !@module.nil? && @module != m.gsub(%r{.*[-/]}, '')
metadata CHANGED
@@ -1,75 +1,73 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puppetfile-updater
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Camptocamp
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-17 00:00:00.000000000 Z
11
+ date: 2018-10-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ! '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ! '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: ruby-augeas
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ! '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ! '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: octokit
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ! '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ! '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: puppet_forge
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ! '>='
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ! '>='
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
- description: ! ' Keep your Puppet file up-to-date with latest versions from the
70
- Forge and GitHub.
71
-
72
- '
69
+ description: |2
70
+ Keep your Puppet file up-to-date with latest versions from the Forge and GitHub.
73
71
  email: raphael.pinson@camptocamp.com
74
72
  executables: []
75
73
  extensions: []
@@ -89,17 +87,17 @@ require_paths:
89
87
  - lib
90
88
  required_ruby_version: !ruby/object:Gem::Requirement
91
89
  requirements:
92
- - - ! '>='
90
+ - - ">="
93
91
  - !ruby/object:Gem::Version
94
92
  version: '0'
95
93
  required_rubygems_version: !ruby/object:Gem::Requirement
96
94
  requirements:
97
- - - ! '>='
95
+ - - ">="
98
96
  - !ruby/object:Gem::Version
99
97
  version: '0'
100
98
  requirements: []
101
99
  rubyforge_project:
102
- rubygems_version: 2.4.5
100
+ rubygems_version: 2.7.7
103
101
  signing_key:
104
102
  specification_version: 4
105
103
  summary: Keep your Puppetfile up-to-date.