puppetfile_editor 0.10.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +11 -1
- data/lib/puppetfile_editor/module.rb +6 -2
- data/lib/puppetfile_editor/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1aa03506290047e4f702b9511a949ecf5e9fecb97b09a3637fee1176049530fb
|
|
4
|
+
data.tar.gz: 1542a0a8a403612ccaceaecd6ab39080be93544fa310cc6611cb87f520c97714
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6849ca1462a835339be88650ea522eb188c5a3575e928a30074a8cdd0c03d3ab5555e9dc8d508adc1ec2a3f165f51b08013c1f7d49c51fda4792e108b6c31099
|
|
7
|
+
data.tar.gz: 43d366d447bb52e136dfa0c79dea57902ad72ce70d1670df977546ea3f357e0ce4db51b502f9e160b8390df47d601af8c3b04cb7a28176b5e523c700174f9107
|
data/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,15 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [1.0.0] - 2019-10-16
|
|
10
|
+
### Changed
|
|
11
|
+
- [GH-3](https://github.com/pegasd/puppetfile_editor/issues/3): Write local modules in non-legacy format: `, local: true`.
|
|
12
|
+
|
|
13
|
+
## [0.10.0] - 2019-08-10
|
|
14
|
+
### Added
|
|
15
|
+
- [GH-3](https://github.com/pegasd/puppetfile_editor/issues/3): Able to understand local modules in various formats. Both `, :local` and
|
|
16
|
+
`, local: true` work.
|
|
17
|
+
|
|
9
18
|
## [0.10.0] - 2019-08-10
|
|
10
19
|
### Added
|
|
11
20
|
- Able to understand local modules in various formats. Both `, :local` and `, local: true` work.
|
|
@@ -16,7 +25,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
|
|
16
25
|
|
|
17
26
|
## [0.8.0] - 2018-07-12
|
|
18
27
|
### Changed
|
|
19
|
-
- [
|
|
28
|
+
- [GH-1](https://github.com/pegasd/puppetfile_editor/issues/1): Do not downgrade modules while merging, whenever possible (see issue for
|
|
29
|
+
more details).
|
|
20
30
|
- Changed status message and color for modules not found in original Puppetfile (old one generated too much noise).
|
|
21
31
|
|
|
22
32
|
|
|
@@ -117,7 +117,7 @@ module PuppetfileEditor
|
|
|
117
117
|
end
|
|
118
118
|
end
|
|
119
119
|
|
|
120
|
-
def dump
|
|
120
|
+
def dump(legacy_local = false)
|
|
121
121
|
output = []
|
|
122
122
|
case @type
|
|
123
123
|
when :hg, :git
|
|
@@ -132,7 +132,11 @@ module PuppetfileEditor
|
|
|
132
132
|
output.push " #{param} #{value}"
|
|
133
133
|
end
|
|
134
134
|
when :local
|
|
135
|
-
|
|
135
|
+
if legacy_local
|
|
136
|
+
output.push("mod '#{full_title}', :local")
|
|
137
|
+
else
|
|
138
|
+
output.push("mod '#{full_title}', local: true")
|
|
139
|
+
end
|
|
136
140
|
else
|
|
137
141
|
if @params.nil?
|
|
138
142
|
output.push("mod '#{full_title}'")
|
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: 1.0.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: 2019-
|
|
11
|
+
date: 2019-10-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|