rspec-given 3.3.0.beta1 → 3.3.0.beta2

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: d156c4796f99c95fcc27cb5de2bdad78fc15c352
4
- data.tar.gz: a4ceb011c6bb885096f167a55f4a6bea5c5759a6
3
+ metadata.gz: 9103125120c698de02e599bb992e6492ebb2b1f3
4
+ data.tar.gz: c978da3adb2c631688051efd08f2f8ef8a36e6e9
5
5
  SHA512:
6
- metadata.gz: f4ff481aa6de34a258893ad9f59f8ca8a1e08c8955a6fd7b20b89a104a96e69e9329efb61b64430ba6bfea81628401c297e8ea5e6ea458a922d575ab360d7809
7
- data.tar.gz: 5b1628c2e2e19368ee45ae89a568112fd0f24f676cc3a53e2829a766d055dcae7aaacea2fbb2278dd508236740f46440fc4a76d6ed24e7308a47c8d7cfb99532
6
+ metadata.gz: 972596c5247a35f9b3b56cdf2ba3a35c33d9569653d71b4898eb7f7d9d44b382e5268f89645c0cce886872a9c0b26f9b9120ecb96ca306081e1fba8563b0190a
7
+ data.tar.gz: f8e8843866547d45aa322089d7b75ea80b06e8a2e2ac8599bdd45795711e9756589f6fac26b305631181845b1a0bf0c1b62243bd98e1c3e2d9482a6b96181ba7
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.3.0.beta1.
7
+ Covering rspec-given, minitest-given, and given-core, version 3.3.0.beta21.
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.
data/Rakefile CHANGED
@@ -41,6 +41,13 @@ task :tag do
41
41
  sh "git tag #{tag_name}"
42
42
  end
43
43
 
44
+ desc "Publish the gems"
45
+ task :publish => [:clobber, :gem] do
46
+ FileList['pkg/*.gem'].each do |gemname|
47
+ sh "gem push #{gemname}"
48
+ end
49
+ end
50
+
44
51
  # Running examples ---------------------------------------------------
45
52
 
46
53
  desc "Run all the examples"
@@ -32,3 +32,10 @@ describe "Evaluator with error object" do
32
32
  Then { expect(result.class).to eq(Given::EvalErr) }
33
33
  Then { expect(result.inspect).to eq("RuntimeError: XYZ") }
34
34
  end
35
+
36
+ describe "Evaluator with long inspect string" do
37
+ use_natural_assertions false
38
+ Given(:long) { "X" * 3000 }
39
+ FauxThen { long }
40
+ Then { expect(ev.eval_string("long")).to eq(%{"#{long[0...2000]} (...truncated...)}) }
41
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-given
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.0.beta1
4
+ version: 3.3.0.beta2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jim Weirich
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-17 00:00:00.000000000 Z
11
+ date: 2013-12-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: given_core
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 3.3.0.beta1
19
+ version: 3.3.0.beta2
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 3.3.0.beta1
26
+ version: 3.3.0.beta2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rspec
29
29
  requirement: !ruby/object:Gem::Requirement