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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 177e3540f86caeb7b16c8b4c9b838d28cd3b39ca
4
- data.tar.gz: f8a2d00f467d2efea3cf63392dd39732dc074ffd
3
+ metadata.gz: 345ae0286ccfa1cc6a409e6b598be5112466ac55
4
+ data.tar.gz: 93b65711c4ec9874d9cb382fad3f24b110853a44
5
5
  SHA512:
6
- metadata.gz: 110f30f2929f8179c51dc1453cec788af911f99d0c72f1709324c936ee984a5bf2dd7a1c532d615d09e965e2e98bc5a90354577ac63715c5b2c862e7cb3bae09
7
- data.tar.gz: fe1b68df9b62a2749a2b845604c732b58dba45af15f306b9225db1e24857037ad6f75040c19a5a688e38028eeb890133867e4dccd606e34a9d72b7558239092d
6
+ metadata.gz: c876065d0636cabce6621636a1dcb342782339f7c05832891707ba80747b1f6ddff97dd749cd5d99095e8b299f11b741997a583af009f3b42e7db4ca33a2ffc4
7
+ data.tar.gz: c2499c73f6312afe0cf7fa578f772cf645af4451567d775f896ece347c9948547b58c20a09096a25d5366adc1b019719b586c745fbba69bcd7cc467cc8951dcb
@@ -59,22 +59,22 @@ module Turrialba
59
59
 
60
60
  private
61
61
  def filter_user_params(hash)
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"]
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 = ["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"]
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
@@ -1,3 +1,3 @@
1
1
  module Turrialba
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: turrialba
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fernando Valverde Arredondo