tap-test 0.1.0 → 0.2.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 CHANGED
@@ -1,3 +1,7 @@
1
+ == 0.2.0 / 2009-06-17
2
+
3
+ Updates for Tap-0.18.0
4
+
1
5
  == 0.1.0 / 2009-05-25
2
6
 
3
7
  As of the 0.17.0 release, Tap is distributes its test modules independently
@@ -1,3 +1,5 @@
1
+ require 'tap/app'
2
+
1
3
  module Tap
2
4
  module Test
3
5
 
@@ -1,7 +1,7 @@
1
1
  require 'tap/root'
2
2
  require 'fileutils'
3
3
  require 'tempfile'
4
- require 'tap/support/templater'
4
+ require 'tap/templater'
5
5
 
6
6
  module Tap
7
7
 
@@ -120,7 +120,7 @@ module Tap
120
120
  end
121
121
  end
122
122
 
123
- # Uses a Tap::Support::Templater to template and replace the contents of path,
123
+ # Uses a Tap::Templater to template and replace the contents of path,
124
124
  # for the duration of the block. The attributes will be available in the
125
125
  # template context.
126
126
  def template(paths, attributes={}, tempdir=Dir::tmpdir)
@@ -135,7 +135,7 @@ module Tap
135
135
  # template the source file
136
136
  content = File.read(path)
137
137
  File.open(path, "wb") do |file|
138
- file << Support::Templater.new(content, attributes).build
138
+ file << Templater.new(content, attributes).build
139
139
  end
140
140
 
141
141
  mapped_paths << [path, tempfile]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tap-test
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Simon Chiang
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-05-25 00:00:00 -06:00
12
+ date: 2009-06-17 00:00:00 -06:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -20,7 +20,7 @@ dependencies:
20
20
  requirements:
21
21
  - - ">="
22
22
  - !ruby/object:Gem::Version
23
- version: 0.17.0
23
+ version: 0.18.0
24
24
  version:
25
25
  description:
26
26
  email: simon.a.chiang@gmail.com