nyan-cat-formatter 0.5.1 → 0.5.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.
- data/lib/nyan_cat_formatter.rb +1 -1
- data/nyan-cat-formatter.gemspec +1 -1
- data/spec/nyan_cat_formatter_spec.rb +3 -3
- data/spec/nyan_cat_wide_formatter_spec.rb +2 -2
- metadata +17 -11
- checksums.yaml +0 -7
data/lib/nyan_cat_formatter.rb
CHANGED
data/nyan-cat-formatter.gemspec
CHANGED
|
@@ -2,7 +2,7 @@ $:.push File.expand_path("../lib", __FILE__)
|
|
|
2
2
|
|
|
3
3
|
Gem::Specification.new do |s|
|
|
4
4
|
s.name = "nyan-cat-formatter"
|
|
5
|
-
s.version = "0.5.
|
|
5
|
+
s.version = "0.5.2"
|
|
6
6
|
s.authors = ["Matt Sears"]
|
|
7
7
|
s.email = ["matt@mattsears.com"]
|
|
8
8
|
s.homepage = "https://github.com/mattsears/nyan-cat-formatter"
|
|
@@ -22,7 +22,7 @@ describe NyanCatFormatter do
|
|
|
22
22
|
describe 'passed, pending and failed' do
|
|
23
23
|
|
|
24
24
|
before do
|
|
25
|
-
@formatter.stub
|
|
25
|
+
@formatter.stub(:tick)
|
|
26
26
|
end
|
|
27
27
|
|
|
28
28
|
describe 'example_passed' do
|
|
@@ -111,8 +111,8 @@ describe NyanCatFormatter do
|
|
|
111
111
|
describe 'tick' do
|
|
112
112
|
|
|
113
113
|
before do
|
|
114
|
-
@formatter.stub
|
|
115
|
-
@formatter.stub
|
|
114
|
+
@formatter.stub(:current).and_return(1)
|
|
115
|
+
@formatter.stub(:example_count).and_return(2)
|
|
116
116
|
@formatter.tick
|
|
117
117
|
end
|
|
118
118
|
|
|
@@ -10,8 +10,8 @@ describe NyanCatWideFormatter do
|
|
|
10
10
|
|
|
11
11
|
describe "cat situation" do
|
|
12
12
|
before do
|
|
13
|
-
@formatter.stub
|
|
14
|
-
@formatter.stub
|
|
13
|
+
@formatter.stub(:terminal_width).and_return(100)
|
|
14
|
+
@formatter.stub(:cat_length).and_return(11)
|
|
15
15
|
@whole_net_width = 100 - 2*2 - 6 - 11
|
|
16
16
|
end
|
|
17
17
|
|
metadata
CHANGED
|
@@ -1,41 +1,46 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: nyan-cat-formatter
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.2
|
|
5
|
+
prerelease:
|
|
5
6
|
platform: ruby
|
|
6
7
|
authors:
|
|
7
8
|
- Matt Sears
|
|
8
9
|
autorequire:
|
|
9
10
|
bindir: bin
|
|
10
11
|
cert_chain: []
|
|
11
|
-
date: 2013-
|
|
12
|
+
date: 2013-11-03 00:00:00.000000000 Z
|
|
12
13
|
dependencies:
|
|
13
14
|
- !ruby/object:Gem::Dependency
|
|
14
15
|
name: rspec
|
|
15
16
|
requirement: !ruby/object:Gem::Requirement
|
|
17
|
+
none: false
|
|
16
18
|
requirements:
|
|
17
|
-
- - '>='
|
|
19
|
+
- - ! '>='
|
|
18
20
|
- !ruby/object:Gem::Version
|
|
19
21
|
version: '2.13'
|
|
20
22
|
type: :runtime
|
|
21
23
|
prerelease: false
|
|
22
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
25
|
+
none: false
|
|
23
26
|
requirements:
|
|
24
|
-
- - '>='
|
|
27
|
+
- - ! '>='
|
|
25
28
|
- !ruby/object:Gem::Version
|
|
26
29
|
version: '2.13'
|
|
27
30
|
- !ruby/object:Gem::Dependency
|
|
28
31
|
name: rake
|
|
29
32
|
requirement: !ruby/object:Gem::Requirement
|
|
33
|
+
none: false
|
|
30
34
|
requirements:
|
|
31
|
-
- - '>='
|
|
35
|
+
- - ! '>='
|
|
32
36
|
- !ruby/object:Gem::Version
|
|
33
37
|
version: '0'
|
|
34
38
|
type: :development
|
|
35
39
|
prerelease: false
|
|
36
40
|
version_requirements: !ruby/object:Gem::Requirement
|
|
41
|
+
none: false
|
|
37
42
|
requirements:
|
|
38
|
-
- - '>='
|
|
43
|
+
- - ! '>='
|
|
39
44
|
- !ruby/object:Gem::Version
|
|
40
45
|
version: '0'
|
|
41
46
|
description: Nyan Cat inspired RSpec formatter!
|
|
@@ -72,26 +77,27 @@ files:
|
|
|
72
77
|
- spec/spec_helper.rb
|
|
73
78
|
homepage: https://github.com/mattsears/nyan-cat-formatter
|
|
74
79
|
licenses: []
|
|
75
|
-
metadata: {}
|
|
76
80
|
post_install_message:
|
|
77
81
|
rdoc_options: []
|
|
78
82
|
require_paths:
|
|
79
83
|
- lib
|
|
80
84
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
85
|
+
none: false
|
|
81
86
|
requirements:
|
|
82
|
-
- - '>='
|
|
87
|
+
- - ! '>='
|
|
83
88
|
- !ruby/object:Gem::Version
|
|
84
89
|
version: '0'
|
|
85
90
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
91
|
+
none: false
|
|
86
92
|
requirements:
|
|
87
|
-
- - '>='
|
|
93
|
+
- - ! '>='
|
|
88
94
|
- !ruby/object:Gem::Version
|
|
89
95
|
version: '0'
|
|
90
96
|
requirements: []
|
|
91
97
|
rubyforge_project: nyan-cat-formatter
|
|
92
|
-
rubygems_version:
|
|
98
|
+
rubygems_version: 1.8.23
|
|
93
99
|
signing_key:
|
|
94
|
-
specification_version:
|
|
100
|
+
specification_version: 3
|
|
95
101
|
summary: Nyan Cat inspired RSpec formatter!
|
|
96
102
|
test_files:
|
|
97
103
|
- spec/nyan_cat_formatter_spec.rb
|
checksums.yaml
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
SHA1:
|
|
3
|
-
metadata.gz: 5c36ebbc63077bc95eac044c352cd9d5db4a09fc
|
|
4
|
-
data.tar.gz: 16232ddcb890396ad76aa298d7db287fabdf732a
|
|
5
|
-
SHA512:
|
|
6
|
-
metadata.gz: dcb8efa52a89447caf9a1620107f5df1a12c34b76b5686e075bdd491b909453eec5416da9464d7293862f006a966ed97b8660fd5f154a5bb036a37bc2a4a30b1
|
|
7
|
-
data.tar.gz: d178abff8856c7d951bb8ec90e7f4637624a97b08f39a071febf2c19993b3adb6cd200389e04a33dadb70dfaaca26a72a3e009dee45c731f5d58665d4e20a7b3
|