duracloud-client 0.1.0 → 0.1.1

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: 16480155d0d2f9036d3f8c199f5a46d2b85f7a25
4
- data.tar.gz: 573389d2175aa32650c97f06933688dee8526bf3
3
+ metadata.gz: 7ffaf9ecb1c5717ae700751a890c3710300fbff5
4
+ data.tar.gz: 31350ff200eac0de8019a199c6efdee0d1c1d9c0
5
5
  SHA512:
6
- metadata.gz: 06f61f2484247a0f729d96bdefda8836fbe5220b8e2986c5ddf6bbc56e8f9add646161d70d7b5664307f6fdc32e2cfbf5690371c15ae67f29655dd11c41bd2a1
7
- data.tar.gz: 8c3b83a4b8fc005e24cccac9346a1b95318ec90adc881b2d6d24a9ac311775b7463f6442cbb142f10fcf9f2ebee0a616030d94e072997425811bbd4d1427809a
6
+ metadata.gz: e0ee33db9ade2fa348d8cc32932eedf32b5e0597588c6dec72d670de5c38fca36d7fed32eb3eccf003395c75855a453c8749d4b4824b47b840d00c5e494977b8
7
+ data.tar.gz: 4c83da5b63a58eec84f43224f4bcedb9fa60e7f0a542bf2be8de0a47e939421c03cea9cbce170aa708a70a9790dd8279c0ebb2492749edbcaf6e53103fd78bb8
data/README.md CHANGED
@@ -105,7 +105,7 @@ A `Duracloud::NotFoundError` exception is raise if the space does not exist.
105
105
  #### Enumerate the content IDs of the space
106
106
 
107
107
  ```
108
- > space.content_ids.each { |id| puts id }
108
+ >> space.content_ids.each { |id| puts id }
109
109
  ark:/99999/fk4zzzz
110
110
  foo
111
111
  foo2
@@ -116,7 +116,7 @@ foo7
116
116
  foo8
117
117
  => nil
118
118
 
119
- > space.content_ids.to_a
119
+ >> space.content_ids.to_a
120
120
  => ["ark:/99999/fk4zzzz", "foo", "foo2", "foo22", "foo3", "foo5", "foo7", "foo8"]
121
121
  ```
122
122
 
@@ -24,7 +24,7 @@ module Duracloud
24
24
  private
25
25
 
26
26
  def response
27
- @response ||= Client.get_manifest(space_id, **query)
27
+ @response ||= Client.get_audit_log(space_id, **query)
28
28
  end
29
29
 
30
30
  def query
@@ -7,7 +7,8 @@ module Duracloud
7
7
  col_sep: '\t',
8
8
  headers: :first_row,
9
9
  write_headers: true,
10
- return_headers: true,
10
+ return_headers: false,
11
+ header_converters: [ ->(h){ h.downcase.gsub(/-/, "_") } ]
11
12
  }
12
13
 
13
14
  def self.call(data, opts = {})
@@ -1,3 +1,3 @@
1
1
  module Duracloud
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: duracloud-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Chandek-Stark
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-29 00:00:00.000000000 Z
11
+ date: 2016-05-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hashie