srspec 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/srspec +1 -1
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 09d7ec6bf1873c23baf595b63d106c29a3f91082
4
- data.tar.gz: fe71246b2570ae20808592decabf45f2ff09b78d
3
+ metadata.gz: 6e4a65dd984e71b4de15ffa363901e23584f2b7a
4
+ data.tar.gz: 459d1a9dcb65a409c3030fbeb4b206718f7e1b2d
5
5
  SHA512:
6
- metadata.gz: 356940d0e34394460a55abca4c5894f7aefffdeb5b3ac97fcc9dbbd74512f109e0e4b6a75b7a4779bdb46f6172031c1ac36e253e24f92e4b272af1dbaa9a1088
7
- data.tar.gz: f697733bada21a9e7b84002d79506503dff9b04f9f4b91662693a3e213ff6afd98df50c167f080cd15dd5c44a8c51ca66baf6a70855eb0c97c8374c9113bdfd2
6
+ metadata.gz: 9c31f9b25e340bf228e67418411fb005bf59a19077fda5e6a7cf6aeb01aa535f983e615686b75bd51a3ff2241909b37b21af8a07fececb25670864e73211c627
7
+ data.tar.gz: 448ca6db778cfce71fcf4fde5e706d100b7daa8cf2ee9701792ae9827feb75498f6c1f0148c2b4f469796fe5d21f21878b2dfbfc6976823ac6325f9a5c9b8ab9
data/bin/srspec CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- can_run_spring = `which spring` != "" && File.exist?("config/application.rb")
3
+ can_run_spring = `which spring` != "" && (`spring 2>/dev/null`).include?("rspec")
4
4
  args = ARGV.join(" ")
5
5
  cmd = can_run_spring ? "spring rspec" : "rspec"
6
6
  exec "#{cmd} #{args}"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: srspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chen Yi-Cyuan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-22 00:00:00.000000000 Z
11
+ date: 2015-10-01 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Determine to use spring to run rspec if it can run.
14
14
  email:
@@ -39,7 +39,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
39
39
  version: '0'
40
40
  requirements: []
41
41
  rubyforge_project:
42
- rubygems_version: 2.4.5
42
+ rubygems_version: 2.4.8
43
43
  signing_key:
44
44
  specification_version: 4
45
45
  summary: Determine to use spring to run rspec if it can run.