newgem 1.4.0 → 1.4.1

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.
@@ -1,3 +1,7 @@
1
+ == 1.4.1 2009-05-02
2
+
3
+ * missing file from manifest.. I hate manifests.
4
+
1
5
  == 1.4.0 2009-05-02
2
6
 
3
7
  * install_shoulda - use "newgem -T shoulda" to use shoulda for testing instead of test_unit or rspec
@@ -95,6 +95,7 @@ rubygems_generators/install_cucumber/templates/features/development.feature
95
95
  rubygems_generators/install_cucumber/templates/features/step_definitions/common_steps.rb
96
96
  rubygems_generators/install_cucumber/templates/features/support/common.rb
97
97
  rubygems_generators/install_cucumber/templates/features/support/env.rb.erb
98
+ rubygems_generators/install_cucumber/templates/features/support/matchers.rb
98
99
  rubygems_generators/install_jruby/USAGE
99
100
  rubygems_generators/install_jruby/install_jruby_generator.rb
100
101
  rubygems_generators/install_jruby/templates/tasks/jruby.rake
@@ -4,5 +4,5 @@ $:.unshift(File.dirname(__FILE__)) unless
4
4
  require "hoe-patched"
5
5
 
6
6
  module Newgem
7
- VERSION = '1.4.0'
7
+ VERSION = '1.4.1'
8
8
  end
@@ -0,0 +1,11 @@
1
+ module Matchers
2
+ def contain(expected)
3
+ simple_matcher("contain #{expected.inspect}") do |given, matcher|
4
+ matcher.failure_message = "expected #{given.inspect} to contain #{expected.inspect}"
5
+ matcher.negative_failure_message = "expected #{given.inspect} not to contain #{expected.inspect}"
6
+ given.index expected
7
+ end
8
+ end
9
+ end
10
+
11
+ World(Matchers)
@@ -39,7 +39,7 @@
39
39
 
40
40
  <div id="version"> <!-- class="clickable" onclick='document.location = "http://rubyforge.org/projects/newgem"; return true' -->
41
41
  <p>Get Version</p>
42
- <a href="http://rubyforge.org/projects/newgem" class="numbers">1.3.0</a>
42
+ <a href="http://rubyforge.org/projects/newgem" class="numbers">1.4.0</a>
43
43
  <p>Featured in</p>
44
44
  <a href="http://www.amazon.com/gp/redirect.html?ie=UTF8&location=http%3A%2F%2Fwww.amazon.com%2FBeginning-Ruby-Novice-Professional-Experts%2Fdp%2F1590597664%2F&tag=drnic-20&linkCode=ur2&camp=1789&creative=9325" class="book"><img src="images/beginning-ruby.jpg" /></a>
45
45
  </div>
@@ -39,7 +39,7 @@
39
39
 
40
40
  <div id="version"> <!-- class="clickable" onclick='document.location = "http://rubyforge.org/projects/newgem"; return true' -->
41
41
  <p>Get Version</p>
42
- <a href="http://rubyforge.org/projects/newgem" class="numbers">1.3.0</a>
42
+ <a href="http://rubyforge.org/projects/newgem" class="numbers">1.4.0</a>
43
43
  <p>Featured in</p>
44
44
  <a href="http://www.amazon.com/gp/redirect.html?ie=UTF8&location=http%3A%2F%2Fwww.amazon.com%2FBeginning-Ruby-Novice-Professional-Experts%2Fdp%2F1590597664%2F&tag=drnic-20&linkCode=ur2&camp=1789&creative=9325" class="book"><img src="images/beginning-ruby.jpg" /></a>
45
45
  </div>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: newgem
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dr Nic Williams
@@ -208,6 +208,7 @@ files:
208
208
  - rubygems_generators/install_cucumber/templates/features/step_definitions/common_steps.rb
209
209
  - rubygems_generators/install_cucumber/templates/features/support/common.rb
210
210
  - rubygems_generators/install_cucumber/templates/features/support/env.rb.erb
211
+ - rubygems_generators/install_cucumber/templates/features/support/matchers.rb
211
212
  - rubygems_generators/install_jruby/USAGE
212
213
  - rubygems_generators/install_jruby/install_jruby_generator.rb
213
214
  - rubygems_generators/install_jruby/templates/tasks/jruby.rake