hexx-rspec 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +0 -1
- data/Rakefile +0 -3
- data/lib/hexx/rspec.rb +1 -1
- data/lib/hexx/rspec/version.rb +1 -1
- data/spec/spec_helper.rb +6 -3
- data/spec/tests/rspec_spec.rb +10 -3
- metadata +18 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6a902685cad575b13de886f1b4d7fa7fb2afb831
|
4
|
+
data.tar.gz: 60d6cd196cb90646e711245120ec81cf3b4d11f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c5a22302e979d0e013d2e0822222f1aaa215109e32aa079117cb21736fef79f30b6bbac7d00ae5d6bad05c5062705c154406085cf572d5ca37a553589780bbf
|
7
|
+
data.tar.gz: deba62a99cd94a896c28c59bad54ebd2a883dc1e65de3440d64eeb421e48797eb9851b7c40e01edd0cf7f7140383f78269b88b68333af7a53ca411f8817fd10a
|
data/.travis.yml
CHANGED
data/Rakefile
CHANGED
data/lib/hexx/rspec.rb
CHANGED
data/lib/hexx/rspec/version.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
@@ -1,10 +1,13 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
1
3
|
# Loads the RSpec support files.
|
2
4
|
require "rspec"
|
3
5
|
Dir[File.expand_path "spec/support/*.rb"].each { |file| require file }
|
4
6
|
|
5
|
-
|
6
|
-
require "coveralls"
|
7
|
-
Coveralls.wear!
|
7
|
+
if RUBY_ENGINE == "ruby"
|
8
|
+
require "coveralls"
|
9
|
+
Coveralls.wear!
|
10
|
+
end
|
8
11
|
|
9
12
|
# Loads the code of the module with the RSpec test rspec.
|
10
13
|
require "hexx-rspec"
|
data/spec/tests/rspec_spec.rb
CHANGED
@@ -39,8 +39,14 @@ describe Hexx::RSpec do
|
|
39
39
|
it "initializes and runs a coverage settings" do
|
40
40
|
expect(coverage_settings).to receive(:run)
|
41
41
|
subject
|
42
|
-
end
|
43
|
-
|
42
|
+
end if RUBY_ENGINE == "ruby"
|
43
|
+
|
44
|
+
it "doesn't run settings" do
|
45
|
+
expect(coverage_settings).not_to receive(:run)
|
46
|
+
subject
|
47
|
+
end unless RUBY_ENGINE == "ruby"
|
48
|
+
|
49
|
+
end # context
|
44
50
|
|
45
51
|
context "when ENV[USE_SIMPLECOV] isn't set" do
|
46
52
|
|
@@ -50,7 +56,8 @@ describe Hexx::RSpec do
|
|
50
56
|
expect(coverage_settings).not_to receive(:run)
|
51
57
|
subject
|
52
58
|
end
|
53
|
-
|
59
|
+
|
60
|
+
end # context
|
54
61
|
|
55
62
|
end # display .load_metrics_for
|
56
63
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hexx-rspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Kozin
|
@@ -11,84 +11,84 @@ cert_chain: []
|
|
11
11
|
date: 2015-03-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
+
type: :runtime
|
14
15
|
name: coveralls
|
16
|
+
prerelease: false
|
15
17
|
requirement: !ruby/object:Gem::Requirement
|
16
18
|
requirements:
|
17
19
|
- - "~>"
|
18
20
|
- !ruby/object:Gem::Version
|
19
21
|
version: '0.7'
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0.7'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
+
type: :runtime
|
28
29
|
name: i18n
|
30
|
+
prerelease: false
|
29
31
|
requirement: !ruby/object:Gem::Requirement
|
30
32
|
requirements:
|
31
33
|
- - "~>"
|
32
34
|
- !ruby/object:Gem::Version
|
33
35
|
version: '0.7'
|
34
|
-
type: :runtime
|
35
|
-
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0.7'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
+
type: :runtime
|
42
43
|
name: rake
|
44
|
+
prerelease: false
|
43
45
|
requirement: !ruby/object:Gem::Requirement
|
44
46
|
requirements:
|
45
47
|
- - "~>"
|
46
48
|
- !ruby/object:Gem::Version
|
47
49
|
version: '10.3'
|
48
|
-
type: :runtime
|
49
|
-
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '10.3'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
+
type: :runtime
|
56
57
|
name: rspec
|
58
|
+
prerelease: false
|
57
59
|
requirement: !ruby/object:Gem::Requirement
|
58
60
|
requirements:
|
59
61
|
- - "~>"
|
60
62
|
- !ruby/object:Gem::Version
|
61
63
|
version: '3.0'
|
62
|
-
type: :runtime
|
63
|
-
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '3.0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
+
type: :runtime
|
70
71
|
name: simplecov
|
72
|
+
prerelease: false
|
71
73
|
requirement: !ruby/object:Gem::Requirement
|
72
74
|
requirements:
|
73
75
|
- - "~>"
|
74
76
|
- !ruby/object:Gem::Version
|
75
77
|
version: '0.9'
|
76
|
-
type: :runtime
|
77
|
-
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0.9'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
+
type: :runtime
|
84
85
|
name: thor
|
86
|
+
prerelease: false
|
85
87
|
requirement: !ruby/object:Gem::Requirement
|
86
88
|
requirements:
|
87
89
|
- - "~>"
|
88
90
|
- !ruby/object:Gem::Version
|
89
91
|
version: '0.19'
|
90
|
-
type: :runtime
|
91
|
-
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
@@ -176,15 +176,15 @@ specification_version: 4
|
|
176
176
|
summary: RSpec settings.
|
177
177
|
test_files:
|
178
178
|
- spec/spec_helper.rb
|
179
|
-
- spec/tests/
|
179
|
+
- spec/tests/rspec_spec.rb
|
180
|
+
- spec/support/prepare_settings.rb
|
181
|
+
- spec/support/tasks.rb
|
180
182
|
- spec/tests/lib/system_spec.rb
|
181
183
|
- spec/tests/lib/install_spec.rb
|
182
184
|
- spec/tests/tasks/test_spec.rb
|
183
|
-
- spec/tests/tasks/test/coverage_spec.rb
|
184
185
|
- spec/tests/bin/install_spec.rb
|
185
|
-
- spec/tests/
|
186
|
-
- spec/
|
187
|
-
- spec/support/tasks.rb
|
186
|
+
- spec/tests/tasks/test/coverage_spec.rb
|
187
|
+
- spec/tests/lib/metrics/simplecov_spec.rb
|
188
188
|
- Rakefile
|
189
189
|
- Guardfile
|
190
190
|
has_rdoc:
|