tdoc 0.13.3 → 0.13.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/bin/tdoc.rb +3 -2
  2. metadata +31 -38
data/bin/tdoc.rb CHANGED
@@ -1,4 +1,5 @@
1
- #!/usr/bin/ruby
1
+ #!/usr/bin/env ruby
2
+
2
3
  require 'rubygems'
3
4
  require 'test/unit'
4
5
  require 'contest'
@@ -67,7 +68,7 @@ def mk_test_context(file, test_case=nil)
67
68
  context_proc=lambda {
68
69
  context test_name do
69
70
  setup do
70
- eval setup_text.to_a.join(';')
71
+ eval setup_text.to_s#.to_a.join(';')
71
72
  end
72
73
  tests.each do |test|
73
74
  should test[0].to_s do
metadata CHANGED
@@ -1,36 +1,34 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: tdoc
3
- version: !ruby/object:Gem::Version
4
- version: 0.13.3
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.13.4
5
+ prerelease:
5
6
  platform: ruby
6
- authors:
7
+ authors:
7
8
  - Herb Daily
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
-
12
- date: 2012-01-08 00:00:00 -03:00
13
- default_executable: tdoc.rb
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
12
+ date: 2012-01-17 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
16
15
  name: contest
17
- type: :runtime
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
20
- requirements:
16
+ requirement: &72598520 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
21
19
  - - ~>
22
- - !ruby/object:Gem::Version
20
+ - !ruby/object:Gem::Version
23
21
  version: 0.1.3
24
- version:
25
- description: "Combines Test::Unit, Shoulda, and Rdoc to embed tests inside documentation "
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: *72598520
25
+ description: ! 'Combines Test::Unit, Shoulda, and Rdoc to embed tests inside documentation '
26
26
  email: herb.daily@safe-mail.net
27
- executables:
27
+ executables:
28
28
  - tdoc.rb
29
29
  extensions: []
30
-
31
30
  extra_rdoc_files: []
32
-
33
- files:
31
+ files:
34
32
  - README.rdoc
35
33
  - bin/tdoc.rb
36
34
  - bin/tdoc_idea.rb
@@ -38,33 +36,28 @@ files:
38
36
  - rdoc/example.rdoc
39
37
  - lib/rdoc/parsers/tdoc.rb
40
38
  - lib/rdoc/discover
41
- has_rdoc: true
42
39
  homepage: http://github.com/herbdaily/tdoc
43
40
  licenses: []
44
-
45
41
  post_install_message:
46
42
  rdoc_options: []
47
-
48
- require_paths:
43
+ require_paths:
49
44
  - lib
50
- required_ruby_version: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- version: "0"
55
- version:
56
- required_rubygems_version: !ruby/object:Gem::Requirement
57
- requirements:
58
- - - ">="
59
- - !ruby/object:Gem::Version
45
+ required_ruby_version: !ruby/object:Gem::Requirement
46
+ none: false
47
+ requirements:
48
+ - - ! '>='
49
+ - !ruby/object:Gem::Version
50
+ version: '0'
51
+ required_rubygems_version: !ruby/object:Gem::Requirement
52
+ none: false
53
+ requirements:
54
+ - - ! '>='
55
+ - !ruby/object:Gem::Version
60
56
  version: 1.0.0
61
- version:
62
57
  requirements: []
63
-
64
58
  rubyforge_project:
65
- rubygems_version: 1.3.5
59
+ rubygems_version: 1.8.10
66
60
  signing_key:
67
61
  specification_version: 3
68
62
  summary: Test oriented documentation
69
63
  test_files: []
70
-