rspex 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d03983e2a1303c8c630ae8ee72ec4634fb0d8efd
4
- data.tar.gz: bcfc4de0e15a17f79d55729b6356dc253994fbb6
3
+ metadata.gz: 9ebce5413939005c0f5a97054e46e967375bc674
4
+ data.tar.gz: 9d34f9a22fc45b3d98d18e3b56a50164279e9481
5
5
  SHA512:
6
- metadata.gz: 7f2f5ad5039e901ee73979a7feff7caff655ad00a2a8b6ea4be462f1c34354cf1a7d0c81aa86b1a091fe66cd4d189f594a33e7137535d80150d638df567b2c12
7
- data.tar.gz: b64ff7133b172f1a23f4e9cc26c37e2d24be572f34609f66c47233b41534796d28c7a38fc476419b9fbfef2787a9bcfd68b90e1dbf47d67770b6e6a43d8ae520
6
+ metadata.gz: 0639d4894d7f04bc3ebb51e8f158fb0ef4a49f13afe1744f1c67eeaf2b292a2505c7bb05c8f2cf59ca2450673c906749bc9f300d30d15e91bc1cbce0a3ab5c89
7
+ data.tar.gz: 4716e4b9a10484cc944328e58ee0b30639e4983bf1c4ecee0cffe13e68d2c739e378461d9305bc4c76931414a736bfb2a69eb5d55fe51f022f05a39af4c84f9a
data/.gitignore CHANGED
@@ -1,2 +1,3 @@
1
1
  tmp
2
- pkg
2
+ pkg
3
+ Gemfile.lock
@@ -1,7 +1,7 @@
1
1
  require 'pathname'
2
2
 
3
3
  class RSpecExamples
4
- SPEC_PATH = "#{Gem.path[1]}/gems/*/spec/**/*_spec.rb"
4
+ SPEC_PATH = "#{Gem.default_dir}/gems/*/spec/**/*_spec.rb"
5
5
  attr_reader :examples, :size
6
6
 
7
7
  def initialize(spec_path=SPEC_PATH)
@@ -24,11 +24,13 @@ module RSpex
24
24
  examples = RSpex.examples
25
25
  results = examples.search(word, type)
26
26
  results.each do |example|
27
- say("\n[#{example.path}]", :on_blue)
27
+ say("\n", :black)
28
+ say("[#{example.path}]", :on_blue)
28
29
  example.results.each{|result| say(result, :on_black)}
29
30
  i += example.results.size
30
31
  end
31
- say("\nfound #{i} example(s) on #{results.size}/#{examples.size} spec(s)", :on_red)
32
+ say("\n", :black)
33
+ say("found #{i} example(s) on #{results.size}/#{examples.size} spec(s)", :on_red)
32
34
  end
33
35
  end
34
36
  end
@@ -1,3 +1,3 @@
1
1
  module RSpex
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daisuke Terada
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-11-26 00:00:00.000000000 Z
12
+ date: 2013-11-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -64,7 +64,6 @@ files:
64
64
  - .gitignore
65
65
  - .rspec
66
66
  - Gemfile
67
- - Gemfile.lock
68
67
  - Guardfile
69
68
  - LICENSE.txt
70
69
  - README.md
@@ -1,70 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- rspex (0.0.4)
5
- thor
6
-
7
- GEM
8
- remote: https://rubygems.org/
9
- specs:
10
- byebug (2.3.1)
11
- columnize (~> 0.3.6)
12
- debugger-linecache (~> 1.2.0)
13
- celluloid (0.15.2)
14
- timers (~> 1.1.0)
15
- coderay (1.1.0)
16
- columnize (0.3.6)
17
- debugger-linecache (1.2.0)
18
- diff-lcs (1.2.5)
19
- ffi (1.9.3)
20
- formatador (0.2.4)
21
- guard (2.2.4)
22
- formatador (>= 0.2.4)
23
- listen (~> 2.1)
24
- lumberjack (~> 1.0)
25
- pry (>= 0.9.12)
26
- thor (>= 0.18.1)
27
- guard-rspec (4.0.4)
28
- guard (>= 2.1.1)
29
- rspec (~> 2.14)
30
- listen (2.2.0)
31
- celluloid (>= 0.15.2)
32
- rb-fsevent (>= 0.9.3)
33
- rb-inotify (>= 0.9)
34
- lumberjack (1.0.4)
35
- method_source (0.8.2)
36
- pry (0.9.12.3)
37
- coderay (~> 1.0)
38
- method_source (~> 0.8)
39
- slop (~> 3.4)
40
- pry-byebug (1.2.0)
41
- byebug (~> 2.2)
42
- pry (~> 0.9.12)
43
- rake (10.1.0)
44
- rb-fsevent (0.9.3)
45
- rb-inotify (0.9.2)
46
- ffi (>= 0.5.0)
47
- rspec (2.14.1)
48
- rspec-core (~> 2.14.0)
49
- rspec-expectations (~> 2.14.0)
50
- rspec-mocks (~> 2.14.0)
51
- rspec-core (2.14.7)
52
- rspec-expectations (2.14.4)
53
- diff-lcs (>= 1.1.3, < 2.0)
54
- rspec-mocks (2.14.4)
55
- slop (3.4.7)
56
- terminal-notifier-guard (1.5.3)
57
- thor (0.18.1)
58
- timers (1.1.0)
59
-
60
- PLATFORMS
61
- ruby
62
-
63
- DEPENDENCIES
64
- bundler (~> 1.3)
65
- guard-rspec
66
- pry-byebug
67
- rake
68
- rspec
69
- rspex!
70
- terminal-notifier-guard