manqod 1.1516.0 → 1.1517.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/lib/Common/Eprint.rb +1 -1
  2. data/lib/Kernel.rb +0 -7
  3. metadata +2 -2
data/lib/Common/Eprint.rb CHANGED
@@ -77,7 +77,7 @@ module Eprint
77
77
  model=Gtk::ListStore.new(String,Integer)
78
78
  LEVEL.sort{|a,b|a[1]<=>b[1]}.each{|i|
79
79
  iter=model.append
80
- iter[0]=LEVEL.key(i[1])
80
+ iter[0]=RUBY_VERSION.index("1.8") ? LEVEL.index(i[1]) : LEVEL.key(i[1])
81
81
  iter[1]=LEVEL[iter[0]]
82
82
  }
83
83
  #set up the debug domain widgets
data/lib/Kernel.rb CHANGED
@@ -44,10 +44,3 @@ module Kernel
44
44
  end
45
45
  end
46
46
 
47
-
48
- class Hash
49
- alias_method :orig_key, :key
50
- def key(i)
51
- RUBY_VERSION =~ 1.8 ? self.index(i) : self.orig_key(i)
52
- end
53
- end
metadata CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 1
7
- - 1516
7
+ - 1517
8
8
  - 0
9
- version: 1.1516.0
9
+ version: 1.1517.0
10
10
  platform: ruby
11
11
  authors:
12
12
  - Dobai-Pataky Balint