alchemy_api 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.markdown +4 -0
- data/Gemfile +9 -0
- data/VERSION +1 -1
- data/alchemy_api.gemspec +5 -4
- data/lib/alchemy_api.rb +7 -3
- metadata +16 -4
data/CHANGELOG.markdown
CHANGED
data/Gemfile
ADDED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.2
|
data/alchemy_api.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{alchemy_api}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.2"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["David Balatero"]
|
12
|
-
s.date = %q{2010-
|
12
|
+
s.date = %q{2010-11-02}
|
13
13
|
s.description = %q{Provides a client API library for AlchemyAPI's awesome NLP services. Allows you to make parallel or serial requests.}
|
14
14
|
s.email = %q{dbalatero@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -21,6 +21,7 @@ Gem::Specification.new do |s|
|
|
21
21
|
".document",
|
22
22
|
".gitignore",
|
23
23
|
"CHANGELOG.markdown",
|
24
|
+
"Gemfile",
|
24
25
|
"LICENSE",
|
25
26
|
"README.markdown",
|
26
27
|
"Rakefile",
|
@@ -67,7 +68,7 @@ Gem::Specification.new do |s|
|
|
67
68
|
s.homepage = %q{http://github.com/dbalatero/alchemy_api}
|
68
69
|
s.rdoc_options = ["--charset=UTF-8"]
|
69
70
|
s.require_paths = ["lib"]
|
70
|
-
s.rubygems_version = %q{1.3.
|
71
|
+
s.rubygems_version = %q{1.3.7}
|
71
72
|
s.summary = %q{Provides a client API library for AlchemyAPI's awesome NLP services. Allows you to make parallel or serial requests.}
|
72
73
|
s.test_files = [
|
73
74
|
"spec/alchemy_api/base_spec.rb",
|
@@ -84,7 +85,7 @@ Gem::Specification.new do |s|
|
|
84
85
|
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
85
86
|
s.specification_version = 3
|
86
87
|
|
87
|
-
if Gem::Version.new(Gem::
|
88
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
88
89
|
s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
|
89
90
|
s.add_development_dependency(%q<typhoeus_spec_cache>, [">= 0.2.2"])
|
90
91
|
s.add_runtime_dependency(%q<monster_mash>, [">= 0.1.1"])
|
data/lib/alchemy_api.rb
CHANGED
@@ -2,9 +2,13 @@ require 'ostruct'
|
|
2
2
|
require 'json'
|
3
3
|
require 'monster_mash'
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
|
5
|
+
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
6
|
+
require 'alchemy_api/base'
|
7
|
+
require 'alchemy_api/categorization'
|
8
|
+
require 'alchemy_api/concept_tagging'
|
9
|
+
require 'alchemy_api/language_detection'
|
10
|
+
require 'alchemy_api/term_extraction'
|
11
|
+
require 'alchemy_api/text_extraction'
|
8
12
|
|
9
13
|
module AlchemyApi
|
10
14
|
@api_key = nil
|
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: alchemy_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
hash: 31
|
4
5
|
prerelease: false
|
5
6
|
segments:
|
6
7
|
- 0
|
7
8
|
- 1
|
8
|
-
-
|
9
|
-
version: 0.1.
|
9
|
+
- 2
|
10
|
+
version: 0.1.2
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- David Balatero
|
@@ -14,16 +15,18 @@ autorequire:
|
|
14
15
|
bindir: bin
|
15
16
|
cert_chain: []
|
16
17
|
|
17
|
-
date: 2010-
|
18
|
+
date: 2010-11-02 00:00:00 -07:00
|
18
19
|
default_executable:
|
19
20
|
dependencies:
|
20
21
|
- !ruby/object:Gem::Dependency
|
21
22
|
name: rspec
|
22
23
|
prerelease: false
|
23
24
|
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
24
26
|
requirements:
|
25
27
|
- - ">="
|
26
28
|
- !ruby/object:Gem::Version
|
29
|
+
hash: 13
|
27
30
|
segments:
|
28
31
|
- 1
|
29
32
|
- 2
|
@@ -35,9 +38,11 @@ dependencies:
|
|
35
38
|
name: typhoeus_spec_cache
|
36
39
|
prerelease: false
|
37
40
|
requirement: &id002 !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
38
42
|
requirements:
|
39
43
|
- - ">="
|
40
44
|
- !ruby/object:Gem::Version
|
45
|
+
hash: 19
|
41
46
|
segments:
|
42
47
|
- 0
|
43
48
|
- 2
|
@@ -49,9 +54,11 @@ dependencies:
|
|
49
54
|
name: monster_mash
|
50
55
|
prerelease: false
|
51
56
|
requirement: &id003 !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
52
58
|
requirements:
|
53
59
|
- - ">="
|
54
60
|
- !ruby/object:Gem::Version
|
61
|
+
hash: 25
|
55
62
|
segments:
|
56
63
|
- 0
|
57
64
|
- 1
|
@@ -73,6 +80,7 @@ files:
|
|
73
80
|
- .document
|
74
81
|
- .gitignore
|
75
82
|
- CHANGELOG.markdown
|
83
|
+
- Gemfile
|
76
84
|
- LICENSE
|
77
85
|
- README.markdown
|
78
86
|
- Rakefile
|
@@ -126,23 +134,27 @@ rdoc_options:
|
|
126
134
|
require_paths:
|
127
135
|
- lib
|
128
136
|
required_ruby_version: !ruby/object:Gem::Requirement
|
137
|
+
none: false
|
129
138
|
requirements:
|
130
139
|
- - ">="
|
131
140
|
- !ruby/object:Gem::Version
|
141
|
+
hash: 3
|
132
142
|
segments:
|
133
143
|
- 0
|
134
144
|
version: "0"
|
135
145
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
146
|
+
none: false
|
136
147
|
requirements:
|
137
148
|
- - ">="
|
138
149
|
- !ruby/object:Gem::Version
|
150
|
+
hash: 3
|
139
151
|
segments:
|
140
152
|
- 0
|
141
153
|
version: "0"
|
142
154
|
requirements: []
|
143
155
|
|
144
156
|
rubyforge_project:
|
145
|
-
rubygems_version: 1.3.
|
157
|
+
rubygems_version: 1.3.7
|
146
158
|
signing_key:
|
147
159
|
specification_version: 3
|
148
160
|
summary: Provides a client API library for AlchemyAPI's awesome NLP services. Allows you to make parallel or serial requests.
|