[DRE-commits] [ruby-rspec-instafail] 103/126: readme
Hideki Yamane
henrich at moszumanska.debian.org
Sun Nov 15 19:15:24 UTC 2015
This is an automated email from the git hooks/post-receive script.
henrich pushed a commit to branch debian/sid
in repository ruby-rspec-instafail.
commit 495fefc801ac8c184e438537fd72cfe37fbc3d39
Author: grosser <michael at grosser.it>
Date: Tue Jan 6 09:05:24 2015 -0800
readme
---
Readme.md | 42 ++++++++++++++++++++----------------------
rspec-instafail.gemspec | 11 ++++-------
spec/rspec_1/Gemfile.lock | 2 --
spec/rspec_2/Gemfile.lock | 1 -
4 files changed, 24 insertions(+), 32 deletions(-)
diff --git a/Readme.md b/Readme.md
index db2f7f8..75499a0 100755
--- a/Readme.md
+++ b/Readme.md
@@ -2,37 +2,35 @@ Show failing specs instantly. Show passing spec as green dots as usual.
Output
======
- ....................................................*....
- 1) ApplicationController#sign_out_and_redirect with JSON should return JSON indicating success
- Failure/Error: json_response = JSON.parse response.body
- A JSON text must at least contain two octets!
- # /Users/miwillhite/.rvm/gems/ruby-1.9.2-p0/gems/json_pure-1.4.6/lib/json/common.rb:146:in `initialize'
- # /Users/miwillhite/.rvm/gems/ruby-1.9.2-p0/gems/json_pure-1.4.6/lib/json/common.rb:146:in `new'
- # /Users/miwillhite/.rvm/gems/ruby-1.9.2-p0/gems/json_pure-1.4.6/lib/json/common.rb:146:in `parse'
- # ./spec/controllers/application_controller_spec.rb:17:in `block (4 levels) in <top (required)>'
- ..................................................................
- Finished in 650.095614 seconds
+```
+....................................................*....
+1) ApplicationController#sign_out_and_redirect with JSON should return JSON indicating success
+ Failure/Error: json_response = JSON.parse response.body
+ A JSON text must at least contain two octets!
+ # /Users/miwillhite/.rvm/gems/ruby-1.9.2-p0/gems/json_pure-1.4.6/lib/json/common.rb:146:in `initialize'
+ # /Users/miwillhite/.rvm/gems/ruby-1.9.2-p0/gems/json_pure-1.4.6/lib/json/common.rb:146:in `new'
+ # /Users/miwillhite/.rvm/gems/ruby-1.9.2-p0/gems/json_pure-1.4.6/lib/json/common.rb:146:in `parse'
+ # ./spec/controllers/application_controller_spec.rb:17:in `block (4 levels) in <top (required)>'
+..................................................................
- 1680 examples, 1 failure, 1 pending
+Finished in 650.095614 seconds
+
+1680 examples, 1 failure, 1 pending
+```
Install
=======
-As Gem:
- gem install rspec-instafail
-
- # spec/spec.opts (.rspec for rspec 2)
- --require rspec/instafail
- --format RSpec::Instafail
-As plugin:
- rails plugin install git://github.com/grosser/rspec-instafail.git
+```Bash
+gem install rspec-instafail
- # spec/spec.opts (.rspec for rspec 2)
- --require vendor/plugins/rspec-instafail/lib/rspec/instafail
- --format RSpec::Instafail
+# .rspec
+--require rspec/instafail
+--format RSpec::Instafail
+```
Authors
=======
diff --git a/rspec-instafail.gemspec b/rspec-instafail.gemspec
index f7b7f0f..9d4c0b7 100755
--- a/rspec-instafail.gemspec
+++ b/rspec-instafail.gemspec
@@ -1,15 +1,12 @@
-$LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
name = 'rspec-instafail'
+require './lib/rspec/instafail/version'
-# needs rspec installed to load the version, so let's avoid this mess
-version = File.read("lib/rspec/instafail/version.rb")[/\d+\.\d+\.\d+/]
-
-Gem::Specification.new name, version do |s|
+Gem::Specification.new name, RSpec::Instafail::VERSION do |s|
s.summary = "Show failing specs instantly"
s.authors = ["Michael Grosser"]
s.email = "michael at grosser.it"
- s.homepage = "http://github.com/grosser/#{name}"
- s.files = `git ls-files`.split("\n")
+ s.homepage = "https://github.com/grosser/#{name}"
+ s.files = `git ls-files lib Readme.md`.split("\n")
s.license = "MIT"
s.add_runtime_dependency "rspec"
end
diff --git a/spec/rspec_1/Gemfile.lock b/spec/rspec_1/Gemfile.lock
index 31d4126..a0bcbcb 100755
--- a/spec/rspec_1/Gemfile.lock
+++ b/spec/rspec_1/Gemfile.lock
@@ -1,12 +1,10 @@
GEM
remote: http://rubygems.org/
specs:
- diff-lcs (1.1.3)
rspec (1.3.0)
PLATFORMS
ruby
DEPENDENCIES
- diff-lcs (= 1.1.3)
rspec (= 1.3.0)
diff --git a/spec/rspec_2/Gemfile.lock b/spec/rspec_2/Gemfile.lock
index 415bffa..b68cba3 100755
--- a/spec/rspec_2/Gemfile.lock
+++ b/spec/rspec_2/Gemfile.lock
@@ -15,5 +15,4 @@ PLATFORMS
ruby
DEPENDENCIES
- diff-lcs (= 1.1.3)
rspec (>= 2.2)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-rspec-instafail.git
More information about the Pkg-ruby-extras-commits
mailing list