animoto 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -42,7 +42,7 @@ Or by cloning [the repository](http://github.com/animoto/animoto_api_client_ruby
42
42
  git clone git://github.com/animoto/animoto_api_client_ruby.git
43
43
  cd animoto_api_client_ruby
44
44
  gem build animoto.gemspec
45
- gem install animoto-1.0.0.gem
45
+ gem install animoto-1.1.0.gem
46
46
 
47
47
  ### Prerequisites
48
48
 
@@ -7,7 +7,7 @@ module Animoto
7
7
  # @param [Array<Object>] keys the keys to include
8
8
  # @return [Hash{Object=>Object}] a new hash with only the listed keys
9
9
  def only *keys
10
- self.delete_if { |k,v| !keys.include?(k) }
10
+ self.dup.delete_if { |k,v| !keys.include?(k) }
11
11
  end unless {}.respond_to?(:only)
12
12
 
13
13
  # Returns a new hash with all keys from this hash except the listed ones.
@@ -15,7 +15,7 @@ module Animoto
15
15
  # @param [Array<Object>] keys the keys to exclude
16
16
  # @return [Hash{Object=>Object}] a new hash without the listed keys
17
17
  def except *keys
18
- self.delete_if { |k,v| keys.include?(v) }
18
+ self.dup.delete_if { |k,v| keys.include?(v) }
19
19
  end unless {}.respond_to?(:except)
20
20
 
21
21
  end
data/lib/animoto.rb CHANGED
@@ -6,6 +6,6 @@ module Animoto
6
6
  #
7
7
  # @return [String]
8
8
  def self.version
9
- "1.1.0"
9
+ "1.1.1"
10
10
  end
11
11
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: animoto
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
- - 0
10
- version: 1.1.0
9
+ - 1
10
+ version: 1.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Animoto
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-02-16 00:00:00 -05:00
18
+ date: 2011-02-23 00:00:00 -05:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency