snowday 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
data/lib/snowday.rb CHANGED
@@ -20,13 +20,13 @@ It's snowing outside...
20
20
  def stop
21
21
  case @failed_examples.length
22
22
  when 0
23
- output.print green("\n\n☃ Brrrr. It's nice and cold for these snowmens. Feels like winter out here.")
23
+ output.print green("\n\n☃ Brrrr. It's nice and cold for these snowmen. Feels like winter out here.")
24
24
  when 1..5
25
- output.print red("\n\n☹ Oh noes! A few snowmens are melted. Feels like fall out here.")
25
+ output.print red("\n\n☹ Oh noes! A few snowmen are melted. Feels like fall out here.")
26
26
  when 6..10
27
- output.print red("\n\n☹ Oh noes! Some of your snowmens are getting watery. Feels like spring out here.")
27
+ output.print red("\n\n☹ Oh noes! Some of your snowmen are getting watery. Feels like spring out here.")
28
28
  else
29
- output.print red("\n\n☹ Oh noes! Your snowmens are melted. Feels like summer out here.")
29
+ output.print red("\n\n☹ Oh noes! Your snowmen are melted. Feels like summer out here.")
30
30
  end
31
31
  end
32
32
 
data/snowday.gemspec CHANGED
@@ -5,7 +5,7 @@ require 'bundler'
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "snowday"
8
- s.version = '0.1.2'
8
+ s.version = '0.1.3'
9
9
  s.platform = Gem::Platform::RUBY
10
10
  s.authors = ["Mike Pack"]
11
11
  s.email = ["mikepackdev@gmail.com"]
data/spec/snowday_spec.rb CHANGED
@@ -42,13 +42,13 @@ describe Snowday do
42
42
  output.string.should =~ /☃/
43
43
  end
44
44
 
45
- it "displays '☃ Brrrr. It's nice and cold for these snowmens. Feels like winter out here.' all examples pass" do
45
+ it "displays '☃ Brrrr. It's nice and cold for these snowmen. Feels like winter out here.' all examples pass" do
46
46
  formatter.example_passed(example)
47
47
  formatter.stop
48
48
  output.string.should =~ /winter/
49
49
  end
50
50
 
51
- it "displays '☹ Oh noes! A few snowmens are melted. Feels like fall out here.' when 1-5 examples fail" do
51
+ it "displays '☹ Oh noes! A few snowmen are melted. Feels like fall out here.' when 1-5 examples fail" do
52
52
  formatter.example_passed(example)
53
53
  (rand(5) + 1).times do
54
54
  formatter.example_failed(example)
@@ -57,7 +57,7 @@ describe Snowday do
57
57
  output.string.should =~ /fall/
58
58
  end
59
59
 
60
- it "displays '☹ Oh noes! Some of your snowmens are getting watery. Feels like spring out here.' when 6-10 examples fail" do
60
+ it "displays '☹ Oh noes! Some of your snowmen are getting watery. Feels like spring out here.' when 6-10 examples fail" do
61
61
  formatter.example_passed(example)
62
62
  (rand(5) + 6).times do
63
63
  formatter.example_failed(example)
@@ -66,7 +66,7 @@ describe Snowday do
66
66
  output.string.should =~ /spring/
67
67
  end
68
68
 
69
- it "displays '☹ Oh noes! Your snowmens are melted. Feels like summer out here.' when more than 10 examples fail" do
69
+ it "displays '☹ Oh noes! Your snowmen are melted. Feels like summer out here.' when more than 10 examples fail" do
70
70
  formatter.example_passed(example)
71
71
  11.times do
72
72
  formatter.example_failed(example)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: snowday
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-11-20 00:00:00.000000000 Z
12
+ date: 2011-12-01 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
16
- requirement: &70122203521280 !ruby/object:Gem::Requirement
16
+ requirement: &70356158941260 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70122203521280
24
+ version_requirements: *70356158941260
25
25
  description: Makes you feel all warm inside. Like hot chocolate.
26
26
  email:
27
27
  - mikepackdev@gmail.com