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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3e4cf26ccc928bfb32f2df849a792f249818086e11fe264dabad53901d519fc0
4
- data.tar.gz: 1bf1d5807d47bdf4616b217da02f40005c3ccff3a6656861e6b8728a3de896b2
3
+ metadata.gz: db0e65eeb56d026953db18b648b9bcd0570ad79c8b1d2478ada52e00426497f9
4
+ data.tar.gz: 89b95ff205f51f6f45d34537b59853c9bfe0ffacac29faa2e02bb71cb7432baa
5
5
  SHA512:
6
- metadata.gz: 5f6dc80e412e391af9d36e4a6f92d0d3745e7b48e811520d4ba3ea1a144d125ed873476699bf838e8aa703093e7ae07560995386faeedbd1c44504832bfdfa7f
7
- data.tar.gz: 2a0bab71e383caf3db3ca2a80a867ddc2a6ec1f64be227ac16954d8176f9ab1c9388643cacbeb8a239b4ef3717fedc497b180fc40f4c9283ad54e5fd4c913bfd
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://www.coderacadmeny.edu.au'
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Cspec
4
- VERSION = '0.1.0'
4
+ VERSION = '0.1.1'
5
5
  end
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.0
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://www.coderacadmeny.edu.au
76
+ homepage: https://github.com/jarroddalefolino/cspec
77
77
  licenses:
78
78
  - MIT
79
79
  metadata:
80
- homepage_uri: https://www.coderacadmeny.edu.au
80
+ homepage_uri: https://github.com/jarroddalefolino/cspec
81
81
  post_install_message:
82
82
  rdoc_options: []
83
83
  require_paths: