tyrone 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/Rakefile +10 -1
  2. data/lib/tyrone.rb +1 -1
  3. metadata +1 -1
data/Rakefile CHANGED
@@ -1,2 +1,11 @@
1
1
  require 'mg'
2
- MG.new('tyrone.gemspec')
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
@@ -2,7 +2,7 @@ module Tyrone
2
2
  extend self
3
3
 
4
4
  def version
5
- '0.3.2'
5
+ '0.4.1'
6
6
  end
7
7
 
8
8
  def templates
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tyrone
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Lloyd