quorable 0.1.4 → 0.1.6

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2bc4546d48337b869467677445fc526007056184
4
- data.tar.gz: f14d5fad2344b90ce72beb6de72129cc2e18c284
3
+ metadata.gz: a6c5a9a54778776306840d18ff663be5c649abfb
4
+ data.tar.gz: 291fcf0b0956510d29c11608ce8d1d1b8470bdc2
5
5
  SHA512:
6
- metadata.gz: 3e3446554746903b49de3114ba2fc187e3a451e62a7fff1e8947cf256d3e24ca3a808e7bf35a4866ea5d773b860948909b3de20e259f87a294876971b113dea5
7
- data.tar.gz: 38d4fa48b205d084bb526db97ab66658f839159bbd2988371e0a2c124d068f843f200f7aa34c64014fa5cb9bf13edf32a81ed7be9292c1e94bc1b27e36e2c02f
6
+ metadata.gz: 8ad7053876b991d81184ef2038bf5f900e8f44523e249bcb45fb5ded292266337f31ccc071096ab0facbd6b4b79b7828f4f1052b22ba50fec6eebbb1aaa1b98d
7
+ data.tar.gz: 33b192c3eacf19d66787605785873ea94a67ed15321c844a64379958f48f5ccb2164e5a8c1005fbdf2c1b4f7f651894448889048d5a2d3590a25c3ed1ba64bf1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.4
1
+ 0.1.6
data/bin/quera ADDED
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'quorable'
4
+
5
+ "https://www.quora.com/#{Quorable.feed(ARGV[0]).sample}"
data/lib/quorable.rb CHANGED
@@ -10,8 +10,6 @@ module Quorable
10
10
  paths = doc.css('.question_link').map { |link| link['href'] }
11
11
  end
12
12
 
13
- private
14
-
15
13
  def self.parameterize(topic)
16
14
  topic.split(' ').map(&:downcase).map(&:capitalize).join('-')
17
15
  end
data/quorable.gemspec CHANGED
@@ -2,18 +2,18 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: quorable 0.1.4 ruby lib
5
+ # stub: quorable 0.1.6 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "quorable"
9
- s.version = "0.1.4"
9
+ s.version = "0.1.6"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.authors = ["Rahul Hor\u{e9}"]
13
13
  s.date = "2013-11-25"
14
14
  s.description = "Still need to add some more functionality. Right now, all this does is get the 10 most recent paths for a given topic."
15
15
  s.email = "hore.rahul@gmail.com"
16
- s.executables = ["q"]
16
+ s.executables = ["quera"]
17
17
  s.extra_rdoc_files = [
18
18
  "LICENSE.txt",
19
19
  "README.rdoc"
@@ -26,7 +26,7 @@ Gem::Specification.new do |s|
26
26
  "README.rdoc",
27
27
  "Rakefile",
28
28
  "VERSION",
29
- "bin/q",
29
+ "bin/quera",
30
30
  "lib/quorable.rb",
31
31
  "quorable.gemspec"
32
32
  ]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: quorable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rahul Horé
@@ -112,7 +112,7 @@ description: Still need to add some more functionality. Right now, all this does
112
112
  get the 10 most recent paths for a given topic.
113
113
  email: hore.rahul@gmail.com
114
114
  executables:
115
- - q
115
+ - quera
116
116
  extensions: []
117
117
  extra_rdoc_files:
118
118
  - LICENSE.txt
@@ -125,7 +125,7 @@ files:
125
125
  - README.rdoc
126
126
  - Rakefile
127
127
  - VERSION
128
- - bin/q
128
+ - bin/quera
129
129
  - lib/quorable.rb
130
130
  - quorable.gemspec
131
131
  homepage: http://github.com/O-I/quorable
data/bin/q DELETED
@@ -1,5 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require 'quorable'
4
-
5
- puts Quorable.feed(ARGV[0]).sample