cspec 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/cspec.gemspec +1 -1
- data/lib/cspec/version.rb +1 -1
- data/lib/cspec.rb +1 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: db0e65eeb56d026953db18b648b9bcd0570ad79c8b1d2478ada52e00426497f9
|
4
|
+
data.tar.gz: 89b95ff205f51f6f45d34537b59853c9bfe0ffacac29faa2e02bb71cb7432baa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 26092f23cf9af21e527d729adba68782f6b2729e745fdc15fe0f8181871af46d6accb9e91ac4baed03ead6a3c04724ec013736b8f31178658f9969ad3f4888a6
|
7
|
+
data.tar.gz: 1f6f234debbe22bc8ffc564d48380aae262267164aaf69a8f214dd9a3012b19ffd656caa9f9f9fb1eab3d6e2d0a31b89a61ede4fd7f7fb3b030b825709db99b9
|
data/cspec.gemspec
CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
|
|
12
12
|
|
13
13
|
spec.summary = 'CSV Spec'
|
14
14
|
spec.description = 'A testing framework to run unit tests via csv'
|
15
|
-
spec.homepage = 'https://
|
15
|
+
spec.homepage = 'https://github.com/jarroddalefolino/cspec'
|
16
16
|
spec.license = 'MIT'
|
17
17
|
|
18
18
|
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
data/lib/cspec/version.rb
CHANGED
data/lib/cspec.rb
CHANGED
@@ -68,10 +68,10 @@ module CSpec
|
|
68
68
|
specs = Loader.load(filepath)
|
69
69
|
results = run(specs)
|
70
70
|
|
71
|
-
ResultsOutputter.display(results)
|
72
71
|
if CSpec::Result.success?(results)
|
73
72
|
return true
|
74
73
|
else
|
74
|
+
ResultsOutputter.display(results)
|
75
75
|
return false
|
76
76
|
end
|
77
77
|
end
|
@@ -90,7 +90,6 @@ module CSpec
|
|
90
90
|
results << if result == ::CSpec::DataType.convert(spec[:expected])
|
91
91
|
Result.new(spec[:name], spec[:class], spec[:method], nil, spec[:description], nil)
|
92
92
|
else
|
93
|
-
puts 'here'
|
94
93
|
Result.new(spec[:name], spec[:class], spec[:method],
|
95
94
|
"Expected #{spec[:expected]}, got: #{result}", spec[:description], nil)
|
96
95
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jarrod Folino
|
@@ -73,11 +73,11 @@ files:
|
|
73
73
|
- lib/cspec.rb
|
74
74
|
- lib/cspec/version.rb
|
75
75
|
- lib/result.rb
|
76
|
-
homepage: https://
|
76
|
+
homepage: https://github.com/jarroddalefolino/cspec
|
77
77
|
licenses:
|
78
78
|
- MIT
|
79
79
|
metadata:
|
80
|
-
homepage_uri: https://
|
80
|
+
homepage_uri: https://github.com/jarroddalefolino/cspec
|
81
81
|
post_install_message:
|
82
82
|
rdoc_options: []
|
83
83
|
require_paths:
|