newgem 1.4.0 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +4 -0
- data/Manifest.txt +1 -0
- data/lib/newgem.rb +1 -1
- data/rubygems_generators/install_cucumber/templates/features/support/matchers.rb +11 -0
- data/website/index.html +1 -1
- data/website/rubyforge.html +1 -1
- metadata +2 -1
data/History.txt
CHANGED
data/Manifest.txt
CHANGED
@@ -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
|
data/lib/newgem.rb
CHANGED
@@ -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)
|
data/website/index.html
CHANGED
@@ -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.
|
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>
|
data/website/rubyforge.html
CHANGED
@@ -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.
|
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.
|
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
|