yamltest 0.7.0 → 0.8.0
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.
- data/History.txt +5 -0
- data/Rakefile +1 -1
- data/lib/yamltest.rb +1 -1
- data/lib/yamltest/version.rb +1 -1
- data/test/yamltest_test.rb +0 -1
- data/yamltest.gemspec +24 -32
- metadata +24 -43
data/History.txt
CHANGED
data/Rakefile
CHANGED
data/lib/yamltest.rb
CHANGED
@@ -154,7 +154,7 @@ module Yamltest
|
|
154
154
|
tests = self.instance_methods.reject! {|m| !( m =~ /^test_/ )}
|
155
155
|
@@test_files.each do |tf|
|
156
156
|
@@test_methods[tf].each do |test|
|
157
|
-
unless tests.include?("test_#{tf}_#{test}")
|
157
|
+
unless tests.include?(:"test_#{tf}_#{test}")
|
158
158
|
tests << "test_#{tf}_#{test}"
|
159
159
|
class_eval <<-END
|
160
160
|
def test_#{tf}_#{test.gsub(/[^_a-zA-Z]/, '_')}
|
data/lib/yamltest/version.rb
CHANGED
data/test/yamltest_test.rb
CHANGED
data/yamltest.gemspec
CHANGED
@@ -1,53 +1,45 @@
|
|
1
1
|
# Generated by jeweler
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
|
-
s.name =
|
8
|
-
s.version = "0.
|
7
|
+
s.name = "yamltest"
|
8
|
+
s.version = "0.8.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Gaspard Bucher"]
|
12
|
-
s.date =
|
13
|
-
s.description =
|
14
|
-
s.email =
|
12
|
+
s.date = "2012-10-29"
|
13
|
+
s.description = "yamltest lets you configure unit test with yaml documents"
|
14
|
+
s.email = "gaspard@teti.ch"
|
15
15
|
s.extra_rdoc_files = [
|
16
16
|
"README.rdoc"
|
17
17
|
]
|
18
18
|
s.files = [
|
19
|
-
".
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
"test/gem_test/foo.yml",
|
27
|
-
"test/gem_test/simple_test.rb",
|
28
|
-
"test/test_helper.rb",
|
29
|
-
"test/yamltest/other_folder/bar.yml",
|
30
|
-
"test/yamltest/simple.yml",
|
31
|
-
"test/yamltest_test.rb",
|
32
|
-
"test/zoo/complicated.yml",
|
33
|
-
"yamltest.gemspec"
|
34
|
-
]
|
35
|
-
s.homepage = %q{http://github.com/zena/yamltest/tree}
|
36
|
-
s.rdoc_options = ["--charset=UTF-8"]
|
37
|
-
s.require_paths = ["lib"]
|
38
|
-
s.rubygems_version = %q{1.3.6}
|
39
|
-
s.summary = %q{yamltest lets you configure unit test with yaml documents}
|
40
|
-
s.test_files = [
|
19
|
+
"History.txt",
|
20
|
+
"Manifest.txt",
|
21
|
+
"README.rdoc",
|
22
|
+
"Rakefile",
|
23
|
+
"lib/yamltest.rb",
|
24
|
+
"lib/yamltest/version.rb",
|
25
|
+
"test/gem_test/foo.yml",
|
41
26
|
"test/gem_test/simple_test.rb",
|
42
|
-
|
43
|
-
|
27
|
+
"test/test_helper.rb",
|
28
|
+
"test/yamltest/other_folder/bar.yml",
|
29
|
+
"test/yamltest/simple.yml",
|
30
|
+
"test/yamltest_test.rb",
|
31
|
+
"test/zoo/complicated.yml",
|
32
|
+
"yamltest.gemspec"
|
44
33
|
]
|
34
|
+
s.homepage = "http://github.com/zena/yamltest/tree"
|
35
|
+
s.require_paths = ["lib"]
|
36
|
+
s.rubygems_version = "1.8.24"
|
37
|
+
s.summary = "yamltest lets you configure unit test with yaml documents"
|
45
38
|
|
46
39
|
if s.respond_to? :specification_version then
|
47
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
48
40
|
s.specification_version = 3
|
49
41
|
|
50
|
-
if Gem::Version.new(Gem::
|
42
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
51
43
|
else
|
52
44
|
end
|
53
45
|
else
|
metadata
CHANGED
@@ -1,33 +1,23 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: yamltest
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
6
|
-
- 0
|
7
|
-
- 7
|
8
|
-
- 0
|
9
|
-
version: 0.7.0
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.8.0
|
5
|
+
prerelease:
|
10
6
|
platform: ruby
|
11
|
-
authors:
|
7
|
+
authors:
|
12
8
|
- Gaspard Bucher
|
13
9
|
autorequire:
|
14
10
|
bindir: bin
|
15
11
|
cert_chain: []
|
16
|
-
|
17
|
-
date: 2010-07-22 00:00:00 +02:00
|
18
|
-
default_executable:
|
12
|
+
date: 2012-10-29 00:00:00.000000000 Z
|
19
13
|
dependencies: []
|
20
|
-
|
21
14
|
description: yamltest lets you configure unit test with yaml documents
|
22
15
|
email: gaspard@teti.ch
|
23
16
|
executables: []
|
24
|
-
|
25
17
|
extensions: []
|
26
|
-
|
27
|
-
extra_rdoc_files:
|
18
|
+
extra_rdoc_files:
|
28
19
|
- README.rdoc
|
29
|
-
files:
|
30
|
-
- .gitignore
|
20
|
+
files:
|
31
21
|
- History.txt
|
32
22
|
- Manifest.txt
|
33
23
|
- README.rdoc
|
@@ -42,37 +32,28 @@ files:
|
|
42
32
|
- test/yamltest_test.rb
|
43
33
|
- test/zoo/complicated.yml
|
44
34
|
- yamltest.gemspec
|
45
|
-
has_rdoc: true
|
46
35
|
homepage: http://github.com/zena/yamltest/tree
|
47
36
|
licenses: []
|
48
|
-
|
49
37
|
post_install_message:
|
50
|
-
rdoc_options:
|
51
|
-
|
52
|
-
require_paths:
|
38
|
+
rdoc_options: []
|
39
|
+
require_paths:
|
53
40
|
- lib
|
54
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
requirements:
|
63
|
-
- -
|
64
|
-
- !ruby/object:Gem::Version
|
65
|
-
|
66
|
-
- 0
|
67
|
-
version: "0"
|
41
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
42
|
+
none: false
|
43
|
+
requirements:
|
44
|
+
- - ! '>='
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '0'
|
47
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
48
|
+
none: false
|
49
|
+
requirements:
|
50
|
+
- - ! '>='
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: '0'
|
68
53
|
requirements: []
|
69
|
-
|
70
54
|
rubyforge_project:
|
71
|
-
rubygems_version: 1.
|
55
|
+
rubygems_version: 1.8.24
|
72
56
|
signing_key:
|
73
57
|
specification_version: 3
|
74
58
|
summary: yamltest lets you configure unit test with yaml documents
|
75
|
-
test_files:
|
76
|
-
- test/gem_test/simple_test.rb
|
77
|
-
- test/test_helper.rb
|
78
|
-
- test/yamltest_test.rb
|
59
|
+
test_files: []
|