domreactor-redglass 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
data/domreactor-redglass.gemspec
CHANGED
@@ -6,12 +6,13 @@ require 'domreactor-redglass/version'
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = 'domreactor-redglass'
|
8
8
|
s.version = DomReactorRedGlass::VERSION
|
9
|
-
s.date = '2013-
|
9
|
+
s.date = '2013-10-31'
|
10
10
|
s.summary = 'DomReactor plugin for RedGlass.'
|
11
11
|
s.description = 'Send RedGlass page archives to DomReactor for automated layout analysis.'
|
12
12
|
s.authors = ["Frank O'Hara", "Chris Lamb"]
|
13
13
|
s.email = ["frankj.ohara@gmail.com", "lamb.chrisr@gmail.com"]
|
14
14
|
s.homepage = 'https://github.com/bimech/domreactor-redglass'
|
15
|
+
s.license = 'MIT'
|
15
16
|
|
16
17
|
s.files = `git ls-files`.split($/)
|
17
18
|
s.test_files = s.files.grep(%r{^(test|spec|features)/})
|
@@ -61,8 +61,8 @@ module DomReactorRedGlass
|
|
61
61
|
def get_web_browser_info(browser_info={})
|
62
62
|
parameters = {auth_token: auth_token,content_type: 'application/json', accept: :json}.merge(browser_info)
|
63
63
|
#TODO: Handle errors.
|
64
|
-
response = RestClient.
|
65
|
-
JSON.parse(response, symbolize_names: true)[:
|
64
|
+
response = RestClient.post("#{Config.url}/api/v1/web_browsers", parameters)
|
65
|
+
JSON.parse(response, symbolize_names: true)[:web_browser]
|
66
66
|
end
|
67
67
|
|
68
68
|
def baseline_browser
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: domreactor-redglass
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-
|
13
|
+
date: 2013-10-31 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rest-client
|
@@ -175,7 +175,8 @@ files:
|
|
175
175
|
- spec/domreactor_spec.rb
|
176
176
|
- spec/spec_helper.rb
|
177
177
|
homepage: https://github.com/bimech/domreactor-redglass
|
178
|
-
licenses:
|
178
|
+
licenses:
|
179
|
+
- MIT
|
179
180
|
post_install_message:
|
180
181
|
rdoc_options: []
|
181
182
|
require_paths:
|