spring-commands-rspec 1.0.2 → 1.0.3

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: aa433c04213df5e570b843f0137fa499defa3a22
4
- data.tar.gz: 604989f17513ae46dd8416d113ddad5573d0848f
3
+ metadata.gz: f185e0ea80298b2c6f5484657f57fc43885d4883
4
+ data.tar.gz: b148607b77544e9bd6a9e02a3cc0f424e1b8becb
5
5
  SHA512:
6
- metadata.gz: 29c81f98d04e018120620160db1374eec7f7c25a4d655944692e7cb9a3c466f1ae2046db14c8007bc849f5dda0f70e836f95dc9d84b616248bc2e59a83af3f51
7
- data.tar.gz: 5ea3c76cb5944b9b62d79da7692598c4deb9e5f9851472e8517a93bf69888ca66b854fe2ba6efff3bc2cfe4cfda01f5cc84f9a94b19109369c6da481688f4a32
6
+ metadata.gz: 1d48b2ed29a338a13218e4fa47f810258ade556ca2cfc1360233a9c6a5873d1ca47fb2472b8a4814f02c099752fdf3e37cf05e6e152696c3fe815d347bfa41a2
7
+ data.tar.gz: eb551d485c815ee3209cc801d1d17c031058aca00b1c0bdbeacbd6ec2fd7b870f647cf0cb99d33a1d3f6e3b9f0c29fc24f61d718eea47a79a0f24eb4cb25a188
@@ -12,6 +12,11 @@ module Spring
12
12
  def gem_name
13
13
  "rspec-core"
14
14
  end
15
+
16
+ def call
17
+ ::RSpec.configuration.start_time = Time.now if defined?(::RSpec.configuration)
18
+ load Gem.bin_path(gem_name, exec_name)
19
+ end
15
20
  end
16
21
 
17
22
  Spring.register_command "rspec", RSpec.new
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "spring-commands-rspec"
7
- spec.version = "1.0.2"
7
+ spec.version = "1.0.3"
8
8
  spec.authors = ["Jon Leighton"]
9
9
  spec.email = ["j@jonathanleighton.com"]
10
10
  spec.description = %q{rspec command for spring}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spring-commands-rspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jon Leighton
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-15 00:00:00.000000000 Z
11
+ date: 2014-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: spring