given_core 3.5.0 → 3.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +12 -2
- data/lib/given/module_methods.rb +0 -8
- data/lib/given/rspec/configure.rb +1 -1
- data/lib/given/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: ce59df4ff629baeeb933a4e7ee91df19929b98a9
|
4
|
+
data.tar.gz: f72f39284346d474c35481394e6a96a4272741e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 324771668062aff9bd5145103acf2dded71720e084c4d32f6b59d831ace49939763bd6722f664f9447da312c88da768379a24c5f6208155a905be2e64ebec9d8
|
7
|
+
data.tar.gz: 429176c5359e5bc9f1256fe85fb8fa330e9323599f875601372539d321da0305f01c67fc3442153346ba43726e0521c73352ee9c1dc366c9cdacf48a62a0d1e6
|
data/README.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
| :----: |
|
5
5
|
| [![Master Build Status](https://secure.travis-ci.org/jimweirich/rspec-given.png?branch=master)](https://travis-ci.org/jimweirich/rspec-given) |
|
6
6
|
|
7
|
-
Covering rspec-given, minitest-given, and given-core, version 3.5.
|
7
|
+
Covering rspec-given, minitest-given, and given-core, version 3.5.3.
|
8
8
|
|
9
9
|
rspec-given and minitest-given are extensions to your favorite testing
|
10
10
|
framework to allow Given/When/Then notation when writing specs.
|
@@ -791,7 +791,7 @@ end
|
|
791
791
|
|
792
792
|
To use the non-testing assertions, you need to require the
|
793
793
|
'given/assertions' file and then include the
|
794
|
-
code>Given::Assertions</code> module into what ever class is using
|
794
|
+
<code>Given::Assertions</code> module into what ever class is using
|
795
795
|
the
|
796
796
|
<code>Precondition</code>/<code>Postcondition</code>/<code>Assert</code>
|
797
797
|
methods. The code block for these assertions should always be a
|
@@ -870,6 +870,16 @@ License. See the MIT-LICENSE file in the source distribution.
|
|
870
870
|
|
871
871
|
# History
|
872
872
|
|
873
|
+
* Version 3.5.3
|
874
|
+
|
875
|
+
* source_caching_disabled now hard defaults to false, rather than
|
876
|
+
attempting to guess the default from the formatters.
|
877
|
+
|
878
|
+
* Version 3.5.0
|
879
|
+
|
880
|
+
* Use Ripper to determine complete subexpressions (rather than
|
881
|
+
relying on finicky indentation rules.
|
882
|
+
|
873
883
|
* Version 3.4.0
|
874
884
|
|
875
885
|
* Bare failure objects in Then clauses will now propagate their
|
data/lib/given/module_methods.rb
CHANGED
@@ -23,14 +23,6 @@ module Given
|
|
23
23
|
@_gvn_source_caching_disabled = value
|
24
24
|
end
|
25
25
|
|
26
|
-
# Detect the formatting requested in the given configuration object.
|
27
|
-
#
|
28
|
-
# If the format requires it, source caching will be enabled.
|
29
|
-
def self.detect_formatters(c)
|
30
|
-
format_active = c.formatters.any? { |f| f.class.name !~ /ProgressFormatter/ }
|
31
|
-
Given.source_caching_disabled = ! format_active
|
32
|
-
end
|
33
|
-
|
34
26
|
# Globally enable/disable natural assertions.
|
35
27
|
#
|
36
28
|
# There is a similar function in Extensions that works at a
|
data/lib/given/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: given_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.5.
|
4
|
+
version: 3.5.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jim Weirich
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-02-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sorcerer
|