turrialba 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/turrialba/client.rb +12 -12
- data/lib/turrialba/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 345ae0286ccfa1cc6a409e6b598be5112466ac55
|
4
|
+
data.tar.gz: 93b65711c4ec9874d9cb382fad3f24b110853a44
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c876065d0636cabce6621636a1dcb342782339f7c05832891707ba80747b1f6ddff97dd749cd5d99095e8b299f11b741997a583af009f3b42e7db4ca33a2ffc4
|
7
|
+
data.tar.gz: c2499c73f6312afe0cf7fa578f772cf645af4451567d775f896ece347c9948547b58c20a09096a25d5366adc1b019719b586c745fbba69bcd7cc467cc8951dcb
|
data/lib/turrialba/client.rb
CHANGED
@@ -59,22 +59,22 @@ module Turrialba
|
|
59
59
|
|
60
60
|
private
|
61
61
|
def filter_user_params(hash)
|
62
|
-
valid_params = [
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
62
|
+
valid_params = [:screen_name, :name, :location, :description,
|
63
|
+
:website, :profile_link_color, :image_url, :banner_url,
|
64
|
+
:statuses_count, :favourites_count, :followers_count,
|
65
|
+
:friends_count, :listed_count, :protected, :verified, :studder,
|
66
|
+
:followers_with_studder, :follower_mean_studder,
|
67
|
+
:scrapping_queued_at, :scrapping_request_count, :scrapped_at,
|
68
|
+
:possessed_at, :possession_group, :queue_rate_pause,
|
69
|
+
:total_scrapping_request_count]
|
70
70
|
hash.select {|k,v| valid_params.include?(k) }
|
71
71
|
end
|
72
72
|
|
73
73
|
def filter_tweet_params(hash)
|
74
|
-
valid_params = [
|
75
|
-
|
76
|
-
|
77
|
-
|
74
|
+
valid_params = [:id_str, :text, :tweeted_at, :embedded_html,
|
75
|
+
:author_id, :in_reply_to_tweet_id, :scrapping_queued_at,
|
76
|
+
:scrapping_request_count, :scrapped_at, :favorite_count,
|
77
|
+
:retweet_count, :in_reply_to_user_id, :total_scrapping_request_count]
|
78
78
|
hash.select {|k,v| valid_params.include?(k) }
|
79
79
|
end
|
80
80
|
end
|
data/lib/turrialba/version.rb
CHANGED