exemplor 2000.0.0 → 2000.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/Rakefile +7 -1
  2. data/VERSION +1 -1
  3. data/exemplor.gemspec +1 -1
  4. data/lib/exemplor.rb +1 -1
  5. metadata +1 -1
data/Rakefile CHANGED
@@ -12,4 +12,10 @@ begin
12
12
  Jeweler::GemcutterTasks.new
13
13
  rescue LoadError
14
14
  puts "Install jeweler to build gem"
15
- end
15
+ end
16
+
17
+ task :examples do
18
+ exec "ruby examples.rb"
19
+ end
20
+
21
+ task :test => :examples
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2000.0.0
1
+ 2000.1.0
data/exemplor.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{exemplor}
8
- s.version = "2000.0.0"
8
+ s.version = "2000.1.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Myles Byrne"]
data/lib/exemplor.rb CHANGED
@@ -23,7 +23,7 @@ module Exemplor
23
23
  end
24
24
 
25
25
  def name
26
- @name + (@disambiguate ? " #{@disambiguate}" : '')
26
+ @name + (defined?(@disambiguate) ? " #{@disambiguate}" : '')
27
27
  end
28
28
 
29
29
  def is(expectation)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: exemplor
3
3
  version: !ruby/object:Gem::Version
4
- version: 2000.0.0
4
+ version: 2000.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Myles Byrne