alchemy-api-rb 0.2.0 → 0.2.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/README.md +4 -0
- data/lib/alchemy-api/version.rb +1 -1
- data/lib/{alchemy-api.rb → alchemy_api.rb} +0 -0
- data/spec/spec_helper.rb +1 -1
- metadata +4 -3
data/README.md
CHANGED
|
@@ -38,6 +38,10 @@ Or install it yourself as:
|
|
|
38
38
|
|
|
39
39
|
You'll need to [request an API Key](http://www.alchemyapi.com/api/register.html).
|
|
40
40
|
|
|
41
|
+
Bundler does not appear to be auto-loading the gem [issue #2](https://github.com/technekes/alchemy-api-rb/issues/2) so you'll have to require it manually somewhere:
|
|
42
|
+
|
|
43
|
+
require 'alchemy-api'
|
|
44
|
+
|
|
41
45
|
Set your API Key in an initializer or something similar:
|
|
42
46
|
|
|
43
47
|
AlchemyAPI.key = "xxxxxxxxxxxxxxxxxx"
|
data/lib/alchemy-api/version.rb
CHANGED
|
File without changes
|
data/spec/spec_helper.rb
CHANGED
|
@@ -3,7 +3,7 @@ require 'minitest/autorun'
|
|
|
3
3
|
require 'turn/autorun'
|
|
4
4
|
require 'vcr'
|
|
5
5
|
|
|
6
|
-
require File.expand_path(File.join(File.dirname(__FILE__), '../lib/
|
|
6
|
+
require File.expand_path(File.join(File.dirname(__FILE__), '../lib/alchemy_api'))
|
|
7
7
|
|
|
8
8
|
API_KEY = File.read('./.keys').chomp
|
|
9
9
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: alchemy-api-rb
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-07-
|
|
12
|
+
date: 2012-07-12 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: faraday
|
|
@@ -122,7 +122,6 @@ files:
|
|
|
122
122
|
- README.md
|
|
123
123
|
- Rakefile
|
|
124
124
|
- alchemy-api-rb.gemspec
|
|
125
|
-
- lib/alchemy-api.rb
|
|
126
125
|
- lib/alchemy-api/author_extraction.rb
|
|
127
126
|
- lib/alchemy-api/base.rb
|
|
128
127
|
- lib/alchemy-api/concept_tagging.rb
|
|
@@ -135,6 +134,7 @@ files:
|
|
|
135
134
|
- lib/alchemy-api/text_categorization.rb
|
|
136
135
|
- lib/alchemy-api/text_extraction.rb
|
|
137
136
|
- lib/alchemy-api/version.rb
|
|
137
|
+
- lib/alchemy_api.rb
|
|
138
138
|
- spec/alchemy_api_spec.rb
|
|
139
139
|
- spec/author_extraction_spec.rb
|
|
140
140
|
- spec/base_spec.rb
|
|
@@ -234,3 +234,4 @@ test_files:
|
|
|
234
234
|
- spec/vcr_cassettes/sentiment_basic_url_json_search.yml
|
|
235
235
|
- spec/vcr_cassettes/text_basic_html_json_search.yml
|
|
236
236
|
- spec/vcr_cassettes/text_basic_url_json_search.yml
|
|
237
|
+
has_rdoc:
|