autotest-spec 0.0.2 → 0.1.0

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: d5325f11509dcaa7ef665869c072b8a016bc33dd
4
- data.tar.gz: be6c2f9fcd48792ebd2547d8ddeff9e2c0019cf2
3
+ metadata.gz: 6e26e2acd84f74bec64cec5a5901503c8da259ba
4
+ data.tar.gz: e5160cead2ed086c62f72416d9ec0b086735af5d
5
5
  SHA512:
6
- metadata.gz: 1a4b02328b59f9b6f0f22a8f24bd01d96ccae46c8c39809e409c59d12837f51e651f5e0c3693f4941dd88a49c06750df20e474c7cc1768dced04c3ea04594aee
7
- data.tar.gz: 5e73ed150014dced07ab1e0ee546011e51d6411c77fcfe34a59363e0b12433299f5ee23b08d184a0c06c5837282c20fa52e2f8271ef2fcb196c4880004b575e1
6
+ metadata.gz: 54b04a707de8302af5bce259198b6a73d3aac5775817d50271f56ae2fecde276d4c152403a6fe81a90f79910e941742232f04b64ee1330ba1e95582177553428
7
+ data.tar.gz: 9a73d935cfb2bee4e1ae807d3b9a7c2d15c5e99fcc8179f5b99e7b1012040bd7118bf431177d5203ac0daabf4829bf4befd3983ba14b6749b7a1a2feee85837e
@@ -4,9 +4,9 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "autotest-spec"
7
- spec.version = "0.0.2"
7
+ spec.version = "0.1.0"
8
8
  spec.authors = ["Teo Ljungberg"]
9
- spec.email = ["teo.ljungberg@gmail.com"]
9
+ spec.email = ["teo@teoljungberg.com"]
10
10
  spec.description = %q{Autotest plugin to enable spec-style test filenames.}
11
11
  spec.summary = %q{Enable specs in Autotest}
12
12
 
@@ -6,6 +6,10 @@ class Autotest::Spec < Autotest
6
6
 
7
7
  clear_mappings
8
8
 
9
+ self.libs = libs.split ":"
10
+ self.libs << "spec"
11
+ self.libs = libs.join File::PATH_SEPARATOR
12
+
9
13
  add_mapping %r%^lib/(.*)\.rb$% do |_, m|
10
14
  files_matching %r%^spec/#{m[1]}.*_spec.rb$%
11
15
  end
@@ -1,5 +1,6 @@
1
- require 'autotest/spec'
1
+ $: << "lib"
2
2
  require 'minitest/spec'
3
+ require 'autotest/spec'
3
4
 
4
5
  describe Autotest::Spec do
5
6
  it 'tests sanity' do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autotest-spec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Teo Ljungberg
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-19 00:00:00.000000000 Z
11
+ date: 2014-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -54,7 +54,7 @@ dependencies:
54
54
  version: '0'
55
55
  description: Autotest plugin to enable spec-style test filenames.
56
56
  email:
57
- - teo.ljungberg@gmail.com
57
+ - teo@teoljungberg.com
58
58
  executables: []
59
59
  extensions: []
60
60
  extra_rdoc_files: []
@@ -68,7 +68,7 @@ files:
68
68
  - autotest-spec.gemspec
69
69
  - lib/autotest/discover.rb
70
70
  - lib/autotest/spec.rb
71
- - spec/autotest/suffix_spec.rb
71
+ - spec/autotest/sanity_spec.rb
72
72
  homepage: https://github.com/teoljungberg/autotest-spec
73
73
  licenses:
74
74
  - MIT
@@ -89,9 +89,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
89
89
  version: '0'
90
90
  requirements: []
91
91
  rubyforge_project:
92
- rubygems_version: 2.2.2
92
+ rubygems_version: 2.4.1
93
93
  signing_key:
94
94
  specification_version: 4
95
95
  summary: Enable specs in Autotest
96
96
  test_files:
97
- - spec/autotest/suffix_spec.rb
97
+ - spec/autotest/sanity_spec.rb