motion-giphy 1.2.0 → 1.2.1

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. checksums.yaml +4 -4
  2. data/lib/motion-giphy/image.rb +4 -4
  3. metadata +12 -12
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d1183020c545e3dbe18e10a8ca8b48d465720e07
4
- data.tar.gz: 63860430c1c747d8cc0c76be51e41785aa4884ff
3
+ metadata.gz: 87b21f36407d56a9b9b8dc4c07547743e63ab811
4
+ data.tar.gz: 22e47d15f0ad5e0c1da136ff19165c40adc1c68e
5
5
  SHA512:
6
- metadata.gz: 5decaab9279ad5439a945b30a90cecc61578a7c35a029dab514860429e7bd2cb3bd4c391c637471c5b32439b0f335d62ae2a8ba206821790312d3d196b04518b
7
- data.tar.gz: 31ee0f84d28ce025dafe1e84d6a53aa35691e9eaaff7fb257b44dfaac2aec06a86a988bb9371eb4620bd00282c9cfd8d1acd11eca6bb05531c88d91a278c033a
6
+ metadata.gz: 0315462202752747c25e867554aaf0fd7c212e36f73e921877d787f8742659bbc83f4e557238949d8899242dc521aff28e3f08a279e0cedd66d73f0c816d9ca1
7
+ data.tar.gz: 13dc6fd3b507958ff4ca0b4b66787941ab82eaced1b6fc669559c398340ed0c050c0a59ff59929b44466bb7a2a02f1432e076b99ec4c137389955a3645c49626
@@ -4,10 +4,10 @@ module MotionGiphy
4
4
 
5
5
  def initialize(image_hash)
6
6
  @url = image_hash["url"]
7
- @width = image_hash["width"]
8
- @height = image_hash["height"]
9
- @frames = image_hash["frames"]
10
- @size = image_hash["size"]
7
+ @width = image_hash["width"].to_i
8
+ @height = image_hash["height"].to_i
9
+ @frames = image_hash["frames"].to_i
10
+ @size = image_hash["size"].to_i
11
11
  end
12
12
  end
13
13
  end
metadata CHANGED
@@ -1,55 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: motion-giphy
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Will Raxworthy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-24 00:00:00.000000000 Z
11
+ date: 2014-02-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: motion-cocoapods
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: afmotion
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  description: Giphy API wrapper for RubyMotion
@@ -60,6 +60,7 @@ extensions: []
60
60
  extra_rdoc_files: []
61
61
  files:
62
62
  - README.md
63
+ - lib/motion-giphy.rb
63
64
  - lib/motion-giphy/client.rb
64
65
  - lib/motion-giphy/configuration.rb
65
66
  - lib/motion-giphy/error.rb
@@ -69,7 +70,6 @@ files:
69
70
  - lib/motion-giphy/pagination.rb
70
71
  - lib/motion-giphy/request.rb
71
72
  - lib/motion-giphy/response.rb
72
- - lib/motion-giphy.rb
73
73
  homepage: ''
74
74
  licenses:
75
75
  - ''
@@ -80,17 +80,17 @@ require_paths:
80
80
  - lib
81
81
  required_ruby_version: !ruby/object:Gem::Requirement
82
82
  requirements:
83
- - - '>='
83
+ - - ">="
84
84
  - !ruby/object:Gem::Version
85
85
  version: '0'
86
86
  required_rubygems_version: !ruby/object:Gem::Requirement
87
87
  requirements:
88
- - - '>='
88
+ - - ">="
89
89
  - !ruby/object:Gem::Version
90
90
  version: '0'
91
91
  requirements: []
92
92
  rubyforge_project:
93
- rubygems_version: 2.0.14
93
+ rubygems_version: 2.2.1
94
94
  signing_key:
95
95
  specification_version: 4
96
96
  summary: Giphy API wrapper for RubyMotion