flexmock 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/CHANGELOG +8 -1
  2. data/README +2 -0
  3. data/Rakefile +8 -4
  4. metadata +3 -3
data/CHANGELOG CHANGED
@@ -1,8 +1,15 @@
1
1
  = Changes for FlexMock
2
2
 
3
- == Preversion 0.0.4
3
+ == Version 0.1.2
4
+
5
+ * Fixed homepage in gem spec.
6
+ * Removed autorequire from gemspec.
7
+ * Fixed README to be automatically updated with FlexMock Version
8
+
9
+ == Version 0.1.1
4
10
 
5
11
  * Added responds_to? and method support.
12
+ * Added JMock style expectations.
6
13
 
7
14
  == Version 0.0.3
8
15
 
data/README CHANGED
@@ -3,6 +3,8 @@
3
3
  FlexMock is a simple mock object for unit testing. The interface is
4
4
  simple, but still provides a good bit of flexibility.
5
5
 
6
+ Version :: 0.1.2
7
+
6
8
  = Links
7
9
 
8
10
  <b>Documents</b> :: http://onestepback.org/software/flexmock
data/Rakefile CHANGED
@@ -8,7 +8,7 @@ require 'rake/testtask'
8
8
 
9
9
  CLOBBER.include("html", 'pkg')
10
10
 
11
- PKG_VERSION = '0.1.1'
11
+ PKG_VERSION = '0.1.2'
12
12
 
13
13
  PKG_FILES = FileList[
14
14
  '[A-Z]*',
@@ -50,6 +50,11 @@ rd = Rake::RDocTask.new("rdoc") do |rdoc|
50
50
  rdoc.rdoc_files.include('lib/**/*.rb')
51
51
  end
52
52
 
53
+ task :rdoc => ["README"]
54
+ file "README" => ["Rakefile"] do
55
+ ruby %{-i.bak -pe 'sub!(/^Version *:: *(\\d+\\.)+\\d+ *$/, "Version :: #{PKG_VERSION}")' README}
56
+ end
57
+
53
58
  # Package Task -------------------------------------------------------
54
59
 
55
60
  if ! defined?(Gem)
@@ -66,7 +71,7 @@ else
66
71
  FlexMock is a extremely simple mock object class compatible
67
72
  with the Test::Unit framework. Although the FlexMock's
68
73
  interface is simple, it is very flexible.
69
- }
74
+ } # '
70
75
 
71
76
  #### Dependencies and requirements.
72
77
 
@@ -84,7 +89,6 @@ else
84
89
  #### Load-time details: library and application (you will need one or both).
85
90
 
86
91
  s.require_path = 'lib' # Use these for libraries.
87
- s.autorequire = 'flexmock'
88
92
 
89
93
  #### Documentation and testing.
90
94
 
@@ -99,7 +103,7 @@ else
99
103
 
100
104
  s.author = "Jim Weirich"
101
105
  s.email = "jim@weirichhouse.org"
102
- s.homepage = "http://http://onestepback.org"
106
+ s.homepage = "http://onestepback.org/software/flexmock"
103
107
  end
104
108
 
105
109
  Rake::GemPackageTask.new(spec) do |pkg|
metadata CHANGED
@@ -3,17 +3,17 @@ rubygems_version: 0.8.11.3
3
3
  specification_version: 1
4
4
  name: flexmock
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.1.1
6
+ version: 0.1.2
7
7
  date: 2005-10-25 00:00:00 -04:00
8
8
  summary: Simple and Flexible Mock Objects for Testing
9
9
  require_paths:
10
10
  - lib
11
11
  email: jim@weirichhouse.org
12
- homepage: http://http://onestepback.org
12
+ homepage: http://onestepback.org/software/flexmock
13
13
  rubyforge_project:
14
14
  description: "FlexMock is a extremely simple mock object class compatible with the Test::Unit
15
15
  framework. Although the FlexMock's interface is simple, it is very flexible."
16
- autorequire: flexmock
16
+ autorequire:
17
17
  default_executable:
18
18
  bindir: bin
19
19
  has_rdoc: true