yamltest 0.7.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,8 @@
1
+ == 0.8.0 2012-10-29
2
+
3
+ * 1 major improvment
4
+ * Fixed for ruby 1.9.3
5
+
1
6
  == 0.7.0 2010-07-12
2
7
 
3
8
  * 1 major improvement/change
data/Rakefile CHANGED
@@ -44,7 +44,7 @@ task :test => :check_dependencies
44
44
 
45
45
  task :default => :test
46
46
 
47
- require 'rake/rdoctask'
47
+ require 'rdoc/task'
48
48
  Rake::RDocTask.new do |rdoc|
49
49
  version = File.exist?('VERSION') ? File.read('VERSION') : ""
50
50
 
@@ -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]/, '_')}
@@ -1,3 +1,3 @@
1
1
  module Yamltest
2
- VERSION = '0.7.0'
2
+ VERSION = '0.8.0'
3
3
  end
@@ -58,7 +58,6 @@ class TestCustomFolder < Test::Unit::TestCase
58
58
  yamltest :directory => File.join(File.dirname(__FILE__), 'yamltest', 'other_folder')
59
59
 
60
60
  def yt_parse(key, source, context)
61
- puts source
62
61
  case key
63
62
  when 'res'
64
63
  source.length
@@ -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 the gemspec command
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 = %q{yamltest}
8
- s.version = "0.7.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 = %q{2010-07-22}
13
- s.description = %q{yamltest lets you configure unit test with yaml documents}
14
- s.email = %q{gaspard@teti.ch}
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
- ".gitignore",
20
- "History.txt",
21
- "Manifest.txt",
22
- "README.rdoc",
23
- "Rakefile",
24
- "lib/yamltest.rb",
25
- "lib/yamltest/version.rb",
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
- "test/test_helper.rb",
43
- "test/yamltest_test.rb"
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::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
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
- prerelease: false
5
- segments:
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
- - --charset=UTF-8
52
- require_paths:
38
+ rdoc_options: []
39
+ require_paths:
53
40
  - lib
54
- required_ruby_version: !ruby/object:Gem::Requirement
55
- requirements:
56
- - - ">="
57
- - !ruby/object:Gem::Version
58
- segments:
59
- - 0
60
- version: "0"
61
- required_rubygems_version: !ruby/object:Gem::Requirement
62
- requirements:
63
- - - ">="
64
- - !ruby/object:Gem::Version
65
- segments:
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.3.6
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: []