qspec 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/qspec +2 -0
- data/lib/qspec.rb +10 -4
- data/lib/qspec/version.rb +1 -1
- data/qspec.gemspec +1 -1
- metadata +6 -6
data/bin/qspec
CHANGED
data/lib/qspec.rb
CHANGED
@@ -9,11 +9,17 @@ require 'qspec/config'
|
|
9
9
|
require 'qspec/helper'
|
10
10
|
|
11
11
|
module Qspec
|
12
|
-
|
12
|
+
class << self
|
13
|
+
def path(filename)
|
14
|
+
File.join(tmp_directory_path, filename)
|
15
|
+
end
|
13
16
|
|
14
|
-
|
17
|
+
def tmp_directory_path
|
18
|
+
@tmp_directory_path ||= File.expand_path(Config.new['tmp_directory'] || 'tmp/qspec')
|
19
|
+
end
|
15
20
|
|
16
|
-
|
17
|
-
|
21
|
+
def create_tmp_directory_if_not_exist
|
22
|
+
FileUtils.mkdir_p(tmp_directory_path) unless FileTest.exists?(tmp_directory_path)
|
23
|
+
end
|
18
24
|
end
|
19
25
|
end
|
data/lib/qspec/version.rb
CHANGED
data/qspec.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: qspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.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-
|
12
|
+
date: 2013-07-14 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec-core
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 2.
|
21
|
+
version: 2.14.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ~>
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 2.
|
29
|
+
version: 2.14.0
|
30
30
|
description: QSpec inserts spec files to a queue. Workers process that queue one
|
31
31
|
by one.
|
32
32
|
email:
|
@@ -71,7 +71,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
71
71
|
version: '0'
|
72
72
|
segments:
|
73
73
|
- 0
|
74
|
-
hash:
|
74
|
+
hash: 953532301
|
75
75
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
76
76
|
none: false
|
77
77
|
requirements:
|
@@ -80,7 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
80
80
|
version: '0'
|
81
81
|
segments:
|
82
82
|
- 0
|
83
|
-
hash:
|
83
|
+
hash: 953532301
|
84
84
|
requirements: []
|
85
85
|
rubyforge_project:
|
86
86
|
rubygems_version: 1.8.23
|