rgrmux 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.md +1 -1
  2. data/lib/rgrmux/rspec.rb +3 -4
  3. data/rgrmux.gemspec +3 -8
  4. metadata +4 -4
data/README.md CHANGED
@@ -19,7 +19,7 @@ This formatter is meant to be used in addition to another formatter.
19
19
 
20
20
  E.g. add the following to `~/.rspec`:
21
21
 
22
- --format progress
22
+ --format documentation
23
23
  --format Rgrmux
24
24
 
25
25
  ## TODO
data/lib/rgrmux/rspec.rb CHANGED
@@ -1,11 +1,11 @@
1
- require 'rspec/core/formatters/progress_formatter'
1
+ require 'rspec/core/formatters/base_formatter'
2
2
 
3
3
  module Rgrmux
4
4
  # Credits:
5
5
  # @thedelchop - https://gist.github.com/4195788
6
6
  # https://github.com/guard/guard/blob/master/lib/guard/notifiers/tmux.rb
7
7
  #
8
- class RSpec < ::RSpec::Core::Formatters::ProgressFormatter
8
+ class RSpec < ::RSpec::Core::Formatters::BaseFormatter
9
9
 
10
10
  def initialize(output)
11
11
  @tmux_color = ""
@@ -41,9 +41,8 @@ module Rgrmux
41
41
  system "tmux set message-bg #{@tmux_color}"
42
42
  system "tmux set display-time 3000"
43
43
  system "tmux display-message '#{@tmux_message.gsub('`','').gsub("'",'')}'"
44
- system "tmux set quiet off"
44
+ system "tmux set quiet off >/dev/null"
45
45
  end
46
- super
47
46
  end
48
47
  end
49
48
  end
data/rgrmux.gemspec CHANGED
@@ -1,19 +1,14 @@
1
- # -*- encoding: utf-8 -*-
2
- # lib = File.expand_path('../lib', __FILE__)
3
- # $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- # require 'rgrmux/version'
5
-
6
1
  Gem::Specification.new do |gem|
7
2
  gem.name = "rgrmux"
8
3
  gem.authors = ["Matt Rohrer"]
9
4
  gem.email = ["matt@prognostikos.com"]
10
5
  gem.description = %q{Red Green Refactor (t)mux}
11
- gem.summary = %q{An RSpec/Cucumber/Minitest formater for tmux}
12
- gem.homepage = ""
6
+ gem.summary = %q{An RSpec formater for tmux notifications}
7
+ gem.homepage = "https://github.com/prognostikos/rgrmux"
13
8
 
14
9
  gem.files = `git ls-files`.split($/)
15
10
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
16
11
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
17
12
  gem.require_paths = ["lib"]
18
- gem.version = '0.0.1'
13
+ gem.version = '0.0.2'
19
14
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rgrmux
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-28 00:00:00.000000000 Z
12
+ date: 2013-01-30 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Red Green Refactor (t)mux
15
15
  email:
@@ -27,7 +27,7 @@ files:
27
27
  - lib/rgrmux/rspec.rb
28
28
  - lib/rgrmux/version.rb
29
29
  - rgrmux.gemspec
30
- homepage: ''
30
+ homepage: https://github.com/prognostikos/rgrmux
31
31
  licenses: []
32
32
  post_install_message:
33
33
  rdoc_options: []
@@ -50,6 +50,6 @@ rubyforge_project:
50
50
  rubygems_version: 1.8.24
51
51
  signing_key:
52
52
  specification_version: 3
53
- summary: An RSpec/Cucumber/Minitest formater for tmux
53
+ summary: An RSpec formater for tmux notifications
54
54
  test_files: []
55
55
  has_rdoc: