snowday 0.1.1 → 0.1.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/README.md +17 -0
- data/snowday.gemspec +2 -2
- data/spec/snowday_spec.rb +2 -2
- metadata +5 -5
- data/README +0 -0
data/README.md
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
## Snowday RSpec Formatter
|
|
2
|
+
|
|
3
|
+
Makes you feel all warm inside. Like hot chocolate.
|
|
4
|
+
|
|
5
|
+

|
|
6
|
+
|
|
7
|
+
This formatter makes use of unicode in the source files. Tested on Ruby 1.9.3, 1.9.2 and 1.8.7.
|
|
8
|
+
|
|
9
|
+
## Installation & Usage
|
|
10
|
+
|
|
11
|
+
- Add `gem 'snowday'` to your Gemfile or do `gem install snowday`
|
|
12
|
+
- Add `--format Snowday` to the `.rspec` file in your project directory or run your specs with `rspec spec --format Snowday`
|
|
13
|
+
- Visit http://www.unicodesnowmanforyou.com/
|
|
14
|
+
|
|
15
|
+
## License
|
|
16
|
+
|
|
17
|
+
Snowday is released under the MIT license
|
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.
|
|
8
|
+
s.version = '0.1.2'
|
|
9
9
|
s.platform = Gem::Platform::RUBY
|
|
10
10
|
s.authors = ["Mike Pack"]
|
|
11
11
|
s.email = ["mikepackdev@gmail.com"]
|
|
@@ -17,7 +17,7 @@ Gem::Specification.new do |s|
|
|
|
17
17
|
|
|
18
18
|
s.add_runtime_dependency 'rspec'
|
|
19
19
|
|
|
20
|
-
s.files = %w( README snowday.gemspec ) + Dir["lib/**/*.rb"]
|
|
20
|
+
s.files = %w( README.md snowday.gemspec ) + Dir["lib/**/*.rb"]
|
|
21
21
|
s.test_files = Dir["spec/**/*.rb"]
|
|
22
22
|
s.require_paths = ["lib"]
|
|
23
23
|
end
|
data/spec/snowday_spec.rb
CHANGED
|
@@ -50,7 +50,7 @@ describe Snowday do
|
|
|
50
50
|
|
|
51
51
|
it "displays '☹ Oh noes! A few snowmens 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)
|
|
55
55
|
end
|
|
56
56
|
formatter.stop
|
|
@@ -59,7 +59,7 @@ describe Snowday do
|
|
|
59
59
|
|
|
60
60
|
it "displays '☹ Oh noes! Some of your snowmens 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)
|
|
64
64
|
end
|
|
65
65
|
formatter.stop
|
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.
|
|
4
|
+
version: 0.1.2
|
|
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.
|
|
12
|
+
date: 2011-11-20 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rspec
|
|
16
|
-
requirement: &
|
|
16
|
+
requirement: &70122203521280 !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: *
|
|
24
|
+
version_requirements: *70122203521280
|
|
25
25
|
description: Makes you feel all warm inside. Like hot chocolate.
|
|
26
26
|
email:
|
|
27
27
|
- mikepackdev@gmail.com
|
|
@@ -29,7 +29,7 @@ executables: []
|
|
|
29
29
|
extensions: []
|
|
30
30
|
extra_rdoc_files: []
|
|
31
31
|
files:
|
|
32
|
-
- README
|
|
32
|
+
- README.md
|
|
33
33
|
- snowday.gemspec
|
|
34
34
|
- lib/snowday.rb
|
|
35
35
|
- spec/snowday_spec.rb
|
data/README
DELETED
|
File without changes
|