usaidwat 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -48,7 +48,7 @@ module USaidWat
48
48
  self.cache_comments comments if cache
49
49
  subreddits = Hash.new { |h,k| h[k] = 0 }
50
50
  comments.each do |comment|
51
- subreddit = comment['data']['subreddit'].to_sym
51
+ subreddit = comment['data']['subreddit']
52
52
  subreddits[subreddit] += 1
53
53
  end
54
54
  subreddits.sort { |a,b| b[1] <=> a[1] }
@@ -1,3 +1,3 @@
1
1
  module USaidWat
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: usaidwat
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-01-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json
16
- requirement: &70171046145340 !ruby/object:Gem::Requirement
16
+ requirement: &70183205314920 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70171046145340
24
+ version_requirements: *70183205314920
25
25
  description: View a user's last 100 Reddit comments, organized by subreddit.
26
26
  email:
27
27
  - michael@monkey-robot.com