puppetlabs_spec_helper 2.6.1 → 2.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -1
- data/lib/puppetlabs_spec_helper/rake_tasks.rb +9 -9
- data/lib/puppetlabs_spec_helper/version.rb +1 -1
- data/puppetlabs_spec_helper.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 847f2b3b3a676bafcb358cc257baf0cbc9a8600d
|
4
|
+
data.tar.gz: fa55fb32bbf5445d851105f54c933e18c2a514ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b76ba47b2d7f7fd28d2e0b673effb951778475c6653c89c1c67b96c53caf0e076a69baadb0743f945d0f190a14eb77883d52039ae088d7ae04c304bc8b0643f
|
7
|
+
data.tar.gz: 8b0e09f08ef5febe92178185eb3b24a611f3bf8f8b319df6555a221bb2f0ad828e2f75e4caf94fa31af8bcb6922d1ce95c2575ed8af636cf7e8aae5b28c2e711
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,10 @@
|
|
2
2
|
All notable changes to this project will be documented in this file.
|
3
3
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
4
4
|
|
5
|
+
## [2.6.2]
|
6
|
+
### Summary
|
7
|
+
A bugfix release to remove dependency on GettextSetup.initialize() in the Rake tasks.
|
8
|
+
|
5
9
|
## [2.6.1]
|
6
10
|
### Summary
|
7
11
|
Includes changes for 2.6.0 plus tests and bugfix of said feature.
|
@@ -426,7 +430,8 @@ compatible yet.
|
|
426
430
|
### Added
|
427
431
|
* Initial release
|
428
432
|
|
429
|
-
[unreleased]: https://github.com/puppetlabs/puppetlabs_spec_helper/compare/v2.6.
|
433
|
+
[unreleased]: https://github.com/puppetlabs/puppetlabs_spec_helper/compare/v2.6.2...master
|
434
|
+
[2.6.2]: https://github.com/puppetlabs/puppetlabs_spec_helper/compare/v2.6.1...v2.6.2
|
430
435
|
[2.6.1]: https://github.com/puppetlabs/puppetlabs_spec_helper/compare/v2.5.1...v2.6.1
|
431
436
|
[2.5.1]: https://github.com/puppetlabs/puppetlabs_spec_helper/compare/v2.5.0...v2.5.1
|
432
437
|
[2.5.0]: https://github.com/puppetlabs/puppetlabs_spec_helper/compare/v2.4.0...v2.5.0
|
@@ -693,15 +693,15 @@ if File.exist? locales_dir
|
|
693
693
|
spec = Gem::Specification.find_by_name 'gettext-setup'
|
694
694
|
load "#{spec.gem_dir}/lib/tasks/gettext.rake"
|
695
695
|
# Initialization requires a valid locales directory
|
696
|
-
GettextSetup.
|
697
|
-
|
698
|
-
|
699
|
-
|
700
|
-
|
701
|
-
|
702
|
-
|
703
|
-
Rake::Task["gettext:pot"].invoke()
|
704
|
-
Rake::Task["gettext:metadata_pot"].invoke("#{module_dir}/metadata.json")
|
696
|
+
GettextSetup.initialize_config(locales_dir)
|
697
|
+
namespace :module do
|
698
|
+
desc "Runs all tasks to build a modules POT file for internationalization"
|
699
|
+
task :pot_gen do
|
700
|
+
Rake::Task["gettext:pot"].invoke()
|
701
|
+
Rake::Task["gettext:metadata_pot"].invoke("#{module_dir}/metadata.json")
|
702
|
+
end
|
705
703
|
end
|
704
|
+
rescue Gem::LoadError
|
705
|
+
puts "No gettext-setup gem found, skipping GettextSetup config initialization" if Rake.verbose == true
|
706
706
|
end
|
707
707
|
end
|
@@ -29,5 +29,5 @@ Gem::Specification.new do |spec|
|
|
29
29
|
spec.add_development_dependency "rake", "~> 10.0"
|
30
30
|
spec.add_development_dependency "rspec", "~> 3.0"
|
31
31
|
spec.add_development_dependency "yard"
|
32
|
-
spec.add_development_dependency "gettext-setup", "~> 0.
|
32
|
+
spec.add_development_dependency "gettext-setup", "~> 0.29"
|
33
33
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: puppetlabs_spec_helper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.6.
|
4
|
+
version: 2.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Puppet, Inc.
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2018-02-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: mocha
|
@@ -157,14 +157,14 @@ dependencies:
|
|
157
157
|
requirements:
|
158
158
|
- - "~>"
|
159
159
|
- !ruby/object:Gem::Version
|
160
|
-
version: '0.
|
160
|
+
version: '0.29'
|
161
161
|
type: :development
|
162
162
|
prerelease: false
|
163
163
|
version_requirements: !ruby/object:Gem::Requirement
|
164
164
|
requirements:
|
165
165
|
- - "~>"
|
166
166
|
- !ruby/object:Gem::Version
|
167
|
-
version: '0.
|
167
|
+
version: '0.29'
|
168
168
|
description: Contains rake tasks and a standard spec_helper for running spec tests
|
169
169
|
on puppet modules.
|
170
170
|
email:
|