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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 85624f45e49e63cca8533313979668d61170ff70
4
- data.tar.gz: 8262d41db09bac2fed94a9f9e3fc1452ffa99323
3
+ metadata.gz: a0f9ccfb153caf102779c0abd81b93ee4a5ec36d
4
+ data.tar.gz: 07cc26bf8927e92e798f1530aa4c339cef17f61a
5
5
  SHA512:
6
- metadata.gz: 367417f221e27d26c82dae344bed4a1a791df1dc113bea75a4a1b76f424ca4e998a378a5b63dc1309b1c1fbc555d4f4bf8766f0fd2c611d889d2848aa89495ed
7
- data.tar.gz: df90ed5492641788f203b12406173c9cfcf350815598aae63d25a8057087495063344285f3c3633c204fb1a6202a51217d52ec1798c0db1b201a4a11c5e170ad
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 = 3 unless defined? DocumentCloud::Version::MINOR
5
- PATCH = 2 unless defined? DocumentCloud::Version::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.3.2
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: 2016-02-18 00:00:00.000000000 Z
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.5.1
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