evoker 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/evoker.rb +1 -1
- data/lib/evoker/version.rb +2 -2
- metadata +3 -3
data/lib/evoker.rb
CHANGED
data/lib/evoker/version.rb
CHANGED
@@ -2,12 +2,12 @@ module Evoker
|
|
2
2
|
module VERSION
|
3
3
|
MAJOR = 0
|
4
4
|
MINOR = 0
|
5
|
-
TINY =
|
5
|
+
TINY = 2
|
6
6
|
STRING = [MAJOR, MINOR, TINY].join('.')
|
7
7
|
|
8
8
|
def VERSION.require_version(major, minor=0, tiny=0)
|
9
9
|
unless ([MAJOR, MINOR, TINY] <=> [major, minor, tiny]) >= 0
|
10
|
-
raise
|
10
|
+
raise "Evoker version #{MAJOR}.#{MINOR}.#{TINY} is below required #{major}.#{minor}.#{tiny}"
|
11
11
|
end
|
12
12
|
end
|
13
13
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: evoker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 27
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 2
|
10
|
+
version: 0.0.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Maciej Pasternacki
|