six-updater 0.10.2 → 0.10.3

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 +1 -1
  2. data/lib/six/updater.rb +3 -2
  3. metadata +2 -2
data/Rakefile CHANGED
@@ -12,7 +12,7 @@ require 'rake/testtask'
12
12
 
13
13
  spec = Gem::Specification.new do |s|
14
14
  s.name = 'six-updater'
15
- s.version = '0.10.2'
15
+ s.version = '0.10.3'
16
16
  s.has_rdoc = true
17
17
  s.extra_rdoc_files = ['README', 'LICENSE']
18
18
  s.summary = 'Your summary here'
data/lib/six/updater.rb CHANGED
@@ -32,7 +32,8 @@ if RUBY_VERSION == "1.9.1"
32
32
  #require 'enc/windows_1251'
33
33
  end
34
34
 
35
- if RUBY_VERSION == "1.8.7"
35
+ case RUBY_VERSION
36
+ when /1\.8\.[0-9]/
36
37
  class Array
37
38
  def sample
38
39
  self[rand self.size]
@@ -43,7 +44,7 @@ end
43
44
  module Six
44
45
  # TODO: Evaluate if this module should be a class instead?
45
46
  module Updater
46
- VERSION = '0.10.2'
47
+ VERSION = '0.10.3'
47
48
  COMPONENT = 'six-updater'
48
49
 
49
50
  # Configuration
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: six-updater
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.2
4
+ version: 0.10.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sickboy
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-09-25 00:00:00 +02:00
12
+ date: 2009-09-28 00:00:00 +02:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency