puppetfile_editor 0.6.1 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG.md +4 -0
- data/lib/puppetfile_editor/cli.rb +1 -0
- data/lib/puppetfile_editor/module.rb +4 -0
- data/lib/puppetfile_editor/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: b99bd7f019aa2f0f45886781196541dbc26ee417563c442ec108f64c35127dc1
|
4
|
+
data.tar.gz: 512cc9b743df97fe6ea944b6aa47a1cd2ce82f37ec84072d06053ca409482470
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4dc9b545e14367eb025409bb3e00f0fa1771ce01d5725eb45c2f3544425391896899a7a7bce02d1d8e1d611ce3b5912018d4b6722cd60b098c756d1ae2ba421a
|
7
|
+
data.tar.gz: ad6327a2c9eaed1f8e9f1bf60369f009c580a8a0763cc1cfc75a8df3ae71574ea22ef7a311c4056790e81202de5e64860413722e2d8ffeae71c9d03c87aa0b0f
|
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
|
|
4
4
|
The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
5
5
|
and this project adheres to [Semantic Versioning](http://semver.org/).
|
6
6
|
|
7
|
+
## [0.7.0] - 2018-02-15
|
8
|
+
### Added
|
9
|
+
- Warn about downgrading forge, git, and hg modules while merging.
|
10
|
+
|
7
11
|
## [0.6.1] - 2017-12-11
|
8
12
|
### Fixed
|
9
13
|
- Changed default CLI path to `Puppetfile` instead of `./Puppetfile` for better auditing.
|
@@ -74,6 +74,8 @@ module PuppetfileEditor
|
|
74
74
|
if full_version == mod.full_version
|
75
75
|
set_message("versions match (#{full_version})", :matched)
|
76
76
|
return
|
77
|
+
elsif Gem::Version.new(full_version.sub('tag: ', '')) > Gem::Version.new(mod.full_version.sub('tag: ', ''))
|
78
|
+
set_message("DOWNGRADED (#{full_version} to #{mod.full_version})", :downgrade)
|
77
79
|
else
|
78
80
|
set_message("updated (#{full_version} to #{mod.full_version})", :updated)
|
79
81
|
end
|
@@ -90,6 +92,8 @@ module PuppetfileEditor
|
|
90
92
|
if full_version == mod.full_version
|
91
93
|
set_message("versions match (#{full_version})", :matched)
|
92
94
|
return
|
95
|
+
elsif Gem::Version.new(full_version) > Gem::Version.new(mod.full_version)
|
96
|
+
set_message("DOWNGRADED (#{full_version} to #{mod.full_version})", :downgrade)
|
93
97
|
else
|
94
98
|
set_message("updated (#{full_version} to #{mod.full_version})", :updated)
|
95
99
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: puppetfile_editor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eugene Piven
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-02-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -103,7 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
103
103
|
version: '0'
|
104
104
|
requirements: []
|
105
105
|
rubyforge_project:
|
106
|
-
rubygems_version: 2.
|
106
|
+
rubygems_version: 2.7.3
|
107
107
|
signing_key:
|
108
108
|
specification_version: 4
|
109
109
|
summary: Parse and edit Puppetfile
|