puppetlabs_spec_helper 2.1.5 → 2.2.0

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: 8e3472ad77e608056f88474bab00098c3572c9d7
4
- data.tar.gz: df118099df1ce052efcfa6be4a439b46af203375
3
+ metadata.gz: feee2f3cf5d61beaccc0515e95befc300307a526
4
+ data.tar.gz: 4931b17333960330bf64c0e6d9d54242d873be49
5
5
  SHA512:
6
- metadata.gz: 0a093dfbc32ddf5b989121857bc08f17f265242d58ec04c2c071771bf361ee5dce912502e1b2997314a223d96666a14af26e7df22bb402a591f2ac48cd52567e
7
- data.tar.gz: 0ffb1040801d8692fecacd7814ffa50169e95ffba49fb799870d116e14148a6fc1c164fd3a9a14e9f17461abc1bd5c045f8acc2b5620b9a308d7ab9088ac305a
6
+ metadata.gz: 5ade464305fa7a9b1e237e0ecf379c23a2e27d38f963b7c7129432859c3b311f1a933a69a9624ba53e26cab68ec4d1461f888ddccd504a860889f450762fe94c
7
+ data.tar.gz: 63648ac51c6b670f3ad180b39ac6ce6fd7150b3457aa47faa555af86199ff806f5156354f7ec92c42a4f0997af2a8904b677ac939591b03791b472b34299fda6
data/CHANGELOG.md CHANGED
@@ -2,6 +2,17 @@
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.2.0]
6
+ ### Summary
7
+ i18n rake task, and unbreak windows again.
8
+
9
+ ### Added
10
+ - New rake task for i18n stuff.
11
+
12
+ ### Fixed
13
+ - Fixture path calculation for windows
14
+ - Log to stderr instead of stdout as per rspec's spec
15
+
5
16
  ## [2.1.5]
6
17
  ### Summary:
7
18
  Fix symlinks fixtures code.
@@ -350,7 +361,8 @@ compatible yet.
350
361
  ### Added
351
362
  * Initial release
352
363
 
353
- [unreleased]: https://github.com/puppetlabs/puppetlabs_spec_helper/compare/v2.1.5...master
364
+ [unreleased]: https://github.com/puppetlabs/puppetlabs_spec_helper/compare/v2.2.0...master
365
+ [2.2.0]: https://github.com/puppetlabs/puppetlabs_spec_helper/compare/v2.1.5...v2.2.0
354
366
  [2.1.5]: https://github.com/puppetlabs/puppetlabs_spec_helper/compare/v2.1.4...v2.1.5
355
367
  [2.1.4]: https://github.com/puppetlabs/puppetlabs_spec_helper/compare/v2.1.3...v2.1.4
356
368
  [2.1.3]: https://github.com/puppetlabs/puppetlabs_spec_helper/compare/v2.1.2...v2.1.3
@@ -95,7 +95,7 @@ def vagrant_ssh(set, node = nil)
95
95
  end
96
96
 
97
97
  def auto_symlink
98
- { Dir.pwd.split('/').last.split('-').last => '#{source_dir}' }
98
+ { File.basename(Dir.pwd).split('-').last => '#{source_dir}' }
99
99
  end
100
100
 
101
101
  def fixtures(category)
@@ -193,7 +193,7 @@ def logger
193
193
  else
194
194
  level = Logger::INFO
195
195
  end
196
- @logger = Logger.new(STDOUT)
196
+ @logger = Logger.new(STDERR)
197
197
  @logger.level = level
198
198
  end
199
199
  @logger
@@ -630,4 +630,11 @@ if File.exist? locales_dir
630
630
  rescue Gem::LoadError
631
631
  puts "No gettext-setup gem found, skipping gettext initialization" if Rake.verbose == true
632
632
  end
633
+ namespace :module do
634
+ desc "Runs all tasks to build a modules POT file for internationalization"
635
+ task :pot_gen do
636
+ Rake::Task["gettext:pot"].invoke()
637
+ Rake::Task["gettext:metadata_pot"].invoke("#{module_dir}/metadata.json")
638
+ end
639
+ end
633
640
  end
@@ -1,5 +1,5 @@
1
1
  module PuppetlabsSpecHelper
2
- VERSION = "2.1.5"
2
+ VERSION = "2.2.0"
3
3
 
4
4
  # compat for pre-1.2.0 users; deprecated
5
5
  module Version
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.1.5
4
+ version: 2.2.0
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-06-07 00:00:00.000000000 Z
12
+ date: 2017-06-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mocha
@@ -215,7 +215,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
215
215
  version: '0'
216
216
  requirements: []
217
217
  rubyforge_project:
218
- rubygems_version: 2.5.2
218
+ rubygems_version: 2.5.1
219
219
  signing_key:
220
220
  specification_version: 4
221
221
  summary: Standard tasks and configuration for module spec tests.