puppetlabs_spec_helper 2.0.1 → 2.0.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 +4 -0
- data/lib/puppetlabs_spec_helper/rake_tasks.rb +2 -2
- data/lib/puppetlabs_spec_helper/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b24c3f7342e56650b8a82495db303beeceeba195
|
4
|
+
data.tar.gz: 9786d8e2bc84c4c61db486d19bbb133b7c4818f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4e08489fbba3e60258485c5a040cb992b56aaa8ec9c2cba58d23148d573ec7bf62e8ba4c27842cc2f9f8bc2c0b2398856c7a06de7f1703f8a8c9b9c870805ab4
|
7
|
+
data.tar.gz: 315eb5575a593aac681bec0af09ef2be4c23b84fdc4d04c9f90d094363d36dd139ac9c0e6dd13cfe67ee5f65400dbfb9954ba02735c4852a6f02417a2a01d9d0
|
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.0.2]
|
6
|
+
### Summary:
|
7
|
+
Fixes an issue where the gettext rake tasks look in the spec\_helper and not the current module for the `locales/` directory.
|
8
|
+
|
5
9
|
## [2.0.1]
|
6
10
|
### Summary:
|
7
11
|
Fixes an issue where older puppets don't bring in the gettext gem requirement causing the psh rake tasks to fail.
|
@@ -18,12 +18,12 @@ pattern = 'spec/{aliases,classes,defines,unit,functions,hosts,integration,type_a
|
|
18
18
|
begin
|
19
19
|
spec = Gem::Specification.find_by_name 'gettext-setup'
|
20
20
|
load "#{spec.gem_dir}/lib/tasks/gettext.rake"
|
21
|
-
locales_dir = File.absolute_path('locales',
|
21
|
+
locales_dir = File.absolute_path('locales', Dir.pwd )
|
22
22
|
# Initialization requires a valid locales directory
|
23
23
|
if File.exist? locales_dir
|
24
24
|
GettextSetup.initialize(locales_dir)
|
25
25
|
else
|
26
|
-
puts "No 'locales' directory found in #{
|
26
|
+
puts "No 'locales' directory found in #{ Dir.pwd }, skipping gettext initialization" if Rake.verbose == true
|
27
27
|
end
|
28
28
|
rescue Gem::LoadError
|
29
29
|
puts "No gettext-setup gem found, skipping gettext initialization" if Rake.verbose == true
|
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.0.
|
4
|
+
version: 2.0.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: 2017-02-
|
12
|
+
date: 2017-02-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: mocha
|