pork 1.4.1 → 1.4.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8ea04f4f02776116f6c7025ec88bff977b9e0f6c
4
- data.tar.gz: 7552e19b9204c1c4c5b7909df41b07a92ef24350
3
+ metadata.gz: 1e2ed8b97411bd1270c6b8954b1cced0fdae7f9c
4
+ data.tar.gz: b158b85c78742cd90db66e64ebc69b02de575d5f
5
5
  SHA512:
6
- metadata.gz: 364d9a7e04b48dbd722f22f410eafeafef623ab77097541a73d3c39ba7fc2e4305af584325f0aac8cb86eb42e742bab781ac103b4b8995f544fc5f4c557539df
7
- data.tar.gz: e8c9f3031d0850f7ff1accb9852a082e03ea9f0a13e429e9f99b823f8480423434ad221197611f68ffc29ba2ab0feff0ae1c5985ddf48e49eefa3603bf0c5125
6
+ metadata.gz: a9712415105e5c73abdab0be52c29c918252beb7605398607c7252a204a1d0af2ae4813d633467ab4da25aa7fc3bf848e968ff0184b7824d8fd1462ba73d080d
7
+ data.tar.gz: 5c7851bd5850efb24f41bb996731044a5f834818e84fc02dd9d015d080baa4eac2b5a55b85e487694c2716eae1f6fd5bccde88d4bfb9904230d9a4c086452cb6
@@ -5,7 +5,7 @@ rvm:
5
5
  - 2.1
6
6
  - 2.2
7
7
  - rbx-2
8
- - jruby-head
8
+ - jruby
9
9
 
10
10
  install: 'bundle install --retry=3'
11
11
  script: 'ruby -r bundler/setup -S rake test'
data/CHANGES.md CHANGED
@@ -1,6 +1,12 @@
1
1
  # CHANGES
2
2
 
3
- ## Pork 1.4.0 -- 2015-07-23
3
+ ## Pork 1.4.2 -- 2015-09-23
4
+
5
+ ### Bugs fixed
6
+
7
+ * Do not extend anything if no `report_extensions` was loaded.
8
+
9
+ ## Pork 1.4.1 -- 2015-07-23
4
10
 
5
11
  ### Enhancement
6
12
 
@@ -5,7 +5,7 @@ module Pork
5
5
  module Report::Imp
6
6
  def initialize o=$stdout
7
7
  super
8
- extend(*Pork.report_extensions.reverse)
8
+ extend(*Pork.report_extensions.reverse) if Pork.report_extensions.any?
9
9
  end
10
10
 
11
11
  def case_start _; end
@@ -1,4 +1,4 @@
1
1
 
2
2
  module Pork
3
- VERSION = '1.4.1'
3
+ VERSION = '1.4.2'
4
4
  end
@@ -1,14 +1,14 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: pork 1.4.1 ruby lib
2
+ # stub: pork 1.4.2 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "pork"
6
- s.version = "1.4.1"
6
+ s.version = "1.4.2"
7
7
 
8
8
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
9
9
  s.require_paths = ["lib"]
10
10
  s.authors = ["Lin Jen-Shin (godfat)"]
11
- s.date = "2015-07-23"
11
+ s.date = "2015-09-23"
12
12
  s.description = "Pork -- Simple and clean and modular testing library.\n\nInspired by [Bacon][].\n\n[Bacon]: https://github.com/chneukirchen/bacon"
13
13
  s.email = ["godfat (XD) godfat.org"]
14
14
  s.files = [
@@ -79,6 +79,11 @@ module Gemgem
79
79
  end
80
80
 
81
81
  def gem_check
82
+ unless git('status', '--porcelain').empty?
83
+ puts("\e[35mWorking copy is not clean.\e[0m")
84
+ exit(3)
85
+ end
86
+
82
87
  ver = spec.version.to_s
83
88
 
84
89
  if ENV['VERSION'].nil?
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pork
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.1
4
+ version: 1.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lin Jen-Shin (godfat)
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-23 00:00:00.000000000 Z
11
+ date: 2015-09-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: method_source