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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b3adeff1476e7d1c79bd8f1c565c1545bc03674f
4
- data.tar.gz: 2d9d4b9869daa78653e68e05db09881cf1aa565a
3
+ metadata.gz: 847f2b3b3a676bafcb358cc257baf0cbc9a8600d
4
+ data.tar.gz: fa55fb32bbf5445d851105f54c933e18c2a514ae
5
5
  SHA512:
6
- metadata.gz: 95fc8c316731dd994d018c58b092ef7ae2408fe68f2eb0c7eb5b6dc5c0c552206267e49ca88e2718732b12c34385b65867abeffc36ee462ee4c4d68e8db86873
7
- data.tar.gz: e3d978f0af9c5fccc97aff5638c2a9cf2d6dd39a9ba8d530e25ecb25385b71f4ac5cc20645506fdf0a2eee3d6780537b3593351b9399daaafff4f1632dc0fb83
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.1...master
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.initialize(locales_dir)
697
- rescue Gem::LoadError
698
- puts "No gettext-setup gem found, skipping gettext initialization" if Rake.verbose == true
699
- end
700
- namespace :module do
701
- desc "Runs all tasks to build a modules POT file for internationalization"
702
- task :pot_gen do
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
@@ -1,5 +1,5 @@
1
1
  module PuppetlabsSpecHelper
2
- VERSION = "2.6.1"
2
+ VERSION = "2.6.2"
3
3
 
4
4
  # compat for pre-1.2.0 users; deprecated
5
5
  module Version
@@ -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.13"
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.1
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: 2017-12-13 00:00:00.000000000 Z
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.13'
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.13'
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: