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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9a6bd70c1d9815426170d605a9040ceba3993762
4
- data.tar.gz: 59be6e8b07e64d2a60661117dbe5c6ea0ead6d04
3
+ metadata.gz: ce59df4ff629baeeb933a4e7ee91df19929b98a9
4
+ data.tar.gz: f72f39284346d474c35481394e6a96a4272741e4
5
5
  SHA512:
6
- metadata.gz: c0aae29eb0093e3e77a26d548cf08e88225e5c9ee9cef3ebd6b0d11fc10f2f7ecdf1cc54525881ca96772cbfbc528dbd11c48fc06c445112229db01e60cc9e09
7
- data.tar.gz: 00f16bf0ecd6df899963c9b571df2d097d66e9a2eaad21a44e93ffb83d185fcd490a66d0c9f3f2e3289527380787d24c7cc18790f4be5318090346f358cc49a3
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.0.
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
@@ -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
@@ -16,5 +16,5 @@ RSpec.configure do |c|
16
16
  end
17
17
 
18
18
  Given.use_natural_assertions if Given::NATURAL_ASSERTIONS_SUPPORTED
19
- Given.detect_formatters(c)
19
+ Given.source_caching_disabled = false
20
20
  end
@@ -3,7 +3,7 @@ module Given
3
3
  VERSION_NUMBERS = [
4
4
  VERSION_MAJOR = 3,
5
5
  VERSION_MINOR = 5,
6
- VERSION_BUILD = 0,
6
+ VERSION_BUILD = 3,
7
7
  ]
8
8
  VERSION = VERSION_NUMBERS.join(".")
9
9
  end
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.0
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-01-11 00:00:00.000000000 Z
11
+ date: 2014-02-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sorcerer