instagram 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/instagram/models.rb +13 -11
- metadata +12 -6
data/lib/instagram/models.rb
CHANGED
@@ -47,7 +47,7 @@ module Instagram
|
|
47
47
|
element :user, :with => User
|
48
48
|
|
49
49
|
# array of people who liked this media
|
50
|
-
|
50
|
+
element :liker_ids
|
51
51
|
|
52
52
|
elements :comments, :with => NibblerJSON do
|
53
53
|
element :created_at, :with => lambda { |sec| Time.at(sec) }
|
@@ -108,19 +108,21 @@ module Instagram
|
|
108
108
|
end
|
109
109
|
|
110
110
|
FILTERS = {
|
111
|
-
1
|
112
|
-
2
|
113
|
-
3
|
114
|
-
|
115
|
-
5
|
116
|
-
18 => 'Sutro',
|
117
|
-
19 => 'Toaster',
|
111
|
+
1 => 'X-Pro II',
|
112
|
+
2 => 'Lomo-fi',
|
113
|
+
3 => 'Earlybird',
|
114
|
+
4 => 'Apollo',
|
115
|
+
5 => 'Poprocket',
|
118
116
|
10 => 'Inkwell',
|
119
|
-
4 => 'Apollo',
|
120
|
-
15 => 'Nashville',
|
121
117
|
13 => 'Gotham',
|
122
118
|
14 => '1977',
|
123
|
-
|
119
|
+
15 => 'Nashville',
|
120
|
+
16 => 'Lord Kelvin',
|
121
|
+
17 => 'Lily',
|
122
|
+
18 => 'Sutro',
|
123
|
+
19 => 'Toaster',
|
124
|
+
20 => 'Walden',
|
125
|
+
21 => 'Hefe'
|
124
126
|
}
|
125
127
|
|
126
128
|
def filter_name
|
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: instagram
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
hash: 17
|
5
|
+
prerelease:
|
5
6
|
segments:
|
6
7
|
- 0
|
7
8
|
- 3
|
8
|
-
-
|
9
|
-
version: 0.3.
|
9
|
+
- 1
|
10
|
+
version: 0.3.1
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- "Mislav Marohni\xC4\x87"
|
@@ -14,7 +15,7 @@ autorequire:
|
|
14
15
|
bindir: bin
|
15
16
|
cert_chain: []
|
16
17
|
|
17
|
-
date:
|
18
|
+
date: 2011-01-21 00:00:00 -08:00
|
18
19
|
default_executable:
|
19
20
|
dependencies:
|
20
21
|
- !ruby/object:Gem::Dependency
|
@@ -25,6 +26,7 @@ dependencies:
|
|
25
26
|
requirements:
|
26
27
|
- - ">="
|
27
28
|
- !ruby/object:Gem::Version
|
29
|
+
hash: 3
|
28
30
|
segments:
|
29
31
|
- 0
|
30
32
|
version: "0"
|
@@ -38,6 +40,7 @@ dependencies:
|
|
38
40
|
requirements:
|
39
41
|
- - ">="
|
40
42
|
- !ruby/object:Gem::Version
|
43
|
+
hash: 3
|
41
44
|
segments:
|
42
45
|
- 0
|
43
46
|
version: "0"
|
@@ -51,6 +54,7 @@ dependencies:
|
|
51
54
|
requirements:
|
52
55
|
- - ">="
|
53
56
|
- !ruby/object:Gem::Version
|
57
|
+
hash: 31
|
54
58
|
segments:
|
55
59
|
- 1
|
56
60
|
- 2
|
@@ -74,7 +78,7 @@ files:
|
|
74
78
|
- lib/instagram.rb
|
75
79
|
- README.md
|
76
80
|
- MIT-LICENSE
|
77
|
-
has_rdoc:
|
81
|
+
has_rdoc: false
|
78
82
|
homepage: http://github.com/mislav/instagram
|
79
83
|
licenses: []
|
80
84
|
|
@@ -88,6 +92,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
88
92
|
requirements:
|
89
93
|
- - ">="
|
90
94
|
- !ruby/object:Gem::Version
|
95
|
+
hash: 3
|
91
96
|
segments:
|
92
97
|
- 0
|
93
98
|
version: "0"
|
@@ -96,13 +101,14 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
96
101
|
requirements:
|
97
102
|
- - ">="
|
98
103
|
- !ruby/object:Gem::Version
|
104
|
+
hash: 3
|
99
105
|
segments:
|
100
106
|
- 0
|
101
107
|
version: "0"
|
102
108
|
requirements: []
|
103
109
|
|
104
110
|
rubyforge_project:
|
105
|
-
rubygems_version: 1.
|
111
|
+
rubygems_version: 1.4.1
|
106
112
|
signing_key:
|
107
113
|
specification_version: 3
|
108
114
|
summary: Instagram API client
|