tyrone 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +10 -1
- data/lib/tyrone.rb +1 -1
- metadata +1 -1
data/Rakefile
CHANGED
@@ -1,2 +1,11 @@
|
|
1
1
|
require 'mg'
|
2
|
-
|
2
|
+
require 'lib/tyrone'
|
3
|
+
|
4
|
+
mg = MG.new('tyrone.gemspec')
|
5
|
+
|
6
|
+
tyrone_version = Tyrone.version
|
7
|
+
gemspec_version = mg.spec.version.to_s
|
8
|
+
|
9
|
+
unless tyrone_version == gemspec_version
|
10
|
+
raise "Version mismatch: #{tyrone_version} (Tyrone) - #{gemspec_version} (gemspec)"
|
11
|
+
end
|
data/lib/tyrone.rb
CHANGED