semantic_extraction 0.1.0 → 0.1.1

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -5,13 +5,9 @@ require 'ostruct'
5
5
 
6
6
  module SemanticExtraction
7
7
 
8
- # We'll automatically require any extractors in the ./semantic_extraction/extractors directory.
9
- # And, yes, I know there has to be a better way to handle this. Let me know before I get fed up and Google furiously.
10
- Dir.entries("./semantic_extraction/extractors").each_with_index do |p, index|
11
- unless [0,1].include? index
12
- require "./semantic_extraction/extractors/" + p.sub(".rb", "")
13
- end
14
- end
8
+ # Screw it. Hard-code time!
9
+ require 'semantic_extraction/extractors/yahoo'
10
+ require 'semantic_extraction/extractors/alchemy'
15
11
 
16
12
  # Thrown when you're lacking an api key for the particular api you're using.
17
13
  class MissingApiKey < StandardError; end
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{semantic_extraction}
8
- s.version = "0.1.0"
8
+ s.version = "0.1.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Chris Vannoy"]
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 0
9
- version: 0.1.0
8
+ - 1
9
+ version: 0.1.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Chris Vannoy