tween 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/Rakefile +1 -1
  2. data/lib/tween.rb +2 -2
  3. data/tween.gemspec +1 -1
  4. metadata +3 -3
data/Rakefile CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
2
2
  require 'rake'
3
3
  require 'echoe'
4
4
 
5
- Echoe.new('tween', '0.1.1') do |p|
5
+ Echoe.new('tween', '0.1.2') do |p|
6
6
  p.description = "Fluid motion using tweens for Ruby"
7
7
  p.url = "http://ruby.about.com/"
8
8
  p.author = "Michael Morin"
@@ -15,11 +15,11 @@ class Tween
15
15
  @start, @finish = start, finish
16
16
  @easer, @duration = easer, duration
17
17
 
18
- unless @start.respond_to? :[]
18
+ unless @start.is_a? Enumerable
19
19
  @start = [@start]
20
20
  end
21
21
 
22
- unless @finish.respond_to? :[]
22
+ unless @finish.is_a? Enumerable
23
23
  @finish = [@finish]
24
24
  end
25
25
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{tween}
5
- s.version = "0.1.1"
5
+ s.version = "0.1.2"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Michael Morin"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tween
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 31
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 1
10
- version: 0.1.1
9
+ - 2
10
+ version: 0.1.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Michael Morin