srspec 0.1.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 +7 -0
  2. data/bin/srspec +6 -0
  3. metadata +46 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 09d7ec6bf1873c23baf595b63d106c29a3f91082
4
+ data.tar.gz: fe71246b2570ae20808592decabf45f2ff09b78d
5
+ SHA512:
6
+ metadata.gz: 356940d0e34394460a55abca4c5894f7aefffdeb5b3ac97fcc9dbbd74512f109e0e4b6a75b7a4779bdb46f6172031c1ac36e253e24f92e4b272af1dbaa9a1088
7
+ data.tar.gz: f697733bada21a9e7b84002d79506503dff9b04f9f4b91662693a3e213ff6afd98df50c167f080cd15dd5c44a8c51ca66baf6a70855eb0c97c8374c9113bdfd2
data/bin/srspec ADDED
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ can_run_spring = `which spring` != "" && File.exist?("config/application.rb")
4
+ args = ARGV.join(" ")
5
+ cmd = can_run_spring ? "spring rspec" : "rspec"
6
+ exec "#{cmd} #{args}"
metadata ADDED
@@ -0,0 +1,46 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: srspec
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Chen Yi-Cyuan
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-08-22 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: Determine to use spring to run rspec if it can run.
14
+ email:
15
+ - emn178@gmail.com
16
+ executables:
17
+ - srspec
18
+ extensions: []
19
+ extra_rdoc_files: []
20
+ files:
21
+ - bin/srspec
22
+ homepage: https://github.com/emn178/srspec
23
+ licenses:
24
+ - MIT
25
+ metadata: {}
26
+ post_install_message:
27
+ rdoc_options: []
28
+ require_paths:
29
+ - lib
30
+ required_ruby_version: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - ">="
33
+ - !ruby/object:Gem::Version
34
+ version: '0'
35
+ required_rubygems_version: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - ">="
38
+ - !ruby/object:Gem::Version
39
+ version: '0'
40
+ requirements: []
41
+ rubyforge_project:
42
+ rubygems_version: 2.4.5
43
+ signing_key:
44
+ specification_version: 4
45
+ summary: Determine to use spring to run rspec if it can run.
46
+ test_files: []