documentcloud 0.3.2 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/document_cloud/document.rb +2 -1
- data/lib/document_cloud/version.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a0f9ccfb153caf102779c0abd81b93ee4a5ec36d
|
4
|
+
data.tar.gz: 07cc26bf8927e92e798f1530aa4c339cef17f61a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 795f7d4a05797c1e24834752e4e1184c5378ab0345e395eb63e62af5c2e9d0e10d9dfbf70bd18c987518cfb982e6afae0e3ef66130622ac1cf695638778d5c51
|
7
|
+
data.tar.gz: 9410dc694336d2857c26d69f4cb85c06c4dfb0b89acb1c31bf834dcade8860df4697d12229de070c8ab9b4cfe671802059d09ffd4ea5d223348ca6bf210249c6
|
@@ -1,6 +1,6 @@
|
|
1
1
|
module DocumentCloud
|
2
2
|
class Document
|
3
|
-
attr_reader :id, :title, :access, :pages, :description, :source,
|
3
|
+
attr_reader :id, :title, :access, :pages, :description, :source, :mentions,
|
4
4
|
:canonical_url, :language, :display_language, :created_at, :updated_at
|
5
5
|
|
6
6
|
def initialize(attrs={})
|
@@ -16,6 +16,7 @@ module DocumentCloud
|
|
16
16
|
@created_at = DateTime.parse(attrs[:created_at])
|
17
17
|
@updated_at = DateTime.parse(attrs[:updated_at])
|
18
18
|
@resources = attrs[:resources]
|
19
|
+
@mentions = attrs[:mentions]
|
19
20
|
end
|
20
21
|
|
21
22
|
def pdf
|
@@ -1,8 +1,8 @@
|
|
1
1
|
module DocumentCloud
|
2
2
|
class Version
|
3
3
|
MAJOR = 0 unless defined? DocumentCloud::Version::MAJOR
|
4
|
-
MINOR =
|
5
|
-
PATCH =
|
4
|
+
MINOR = 4 unless defined? DocumentCloud::Version::MINOR
|
5
|
+
PATCH = 0 unless defined? DocumentCloud::Version::PATCH
|
6
6
|
PRE = nil unless defined? DocumentCloud::Version::PRE
|
7
7
|
|
8
8
|
class << self
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: documentcloud
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Miles Zimmerman
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-07-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|
@@ -87,7 +87,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
87
87
|
version: '0'
|
88
88
|
requirements: []
|
89
89
|
rubyforge_project:
|
90
|
-
rubygems_version: 2.
|
90
|
+
rubygems_version: 2.6.11
|
91
91
|
signing_key:
|
92
92
|
specification_version: 4
|
93
93
|
summary: Rubygem for interacting with the DocumentCloud API
|