monkey-lib 0.3.2 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/monkey/engine.rb +2 -2
  2. metadata +2 -2
data/lib/monkey/engine.rb CHANGED
@@ -14,7 +14,7 @@ module Monkey
14
14
  alias rubinius? rbx?
15
15
 
16
16
  def ree?
17
- RUBY_DESCRIPTION =~ /Ruby Enterprise Edition/
17
+ !!(RUBY_DESCRIPTION =~ /Ruby Enterprise Edition/)
18
18
  end
19
19
 
20
20
  module_function :jruby?
@@ -77,7 +77,7 @@ module Monkey
77
77
  def ruby_engine(pretty = true)
78
78
  return RUBY_ENGINE unless pretty
79
79
  case RUBY_ENGINE
80
- when "ruby" then "MatzRuby"
80
+ when "ruby" then ree? ? "Ruby Enterprise Edition" : "Ruby"
81
81
  when "rbx" then "Rubinius"
82
82
  when "maglev" then "MagLev"
83
83
  else RUBY_ENGINE.capitalize.gsub("ruby", "Ruby")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: monkey-lib
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Konstantin Haase
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-12-28 00:00:00 +01:00
12
+ date: 2010-01-12 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies: []
15
15