strawberry_api 0.6.4 → 0.6.5

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cabd9869ae0a7e8f100e1560869860573f7059932492a164c2adada7f754c0fa
4
- data.tar.gz: a8f6c1b377cce862439a5cd1fe11b680c96dae3ca936445e2d6d7f134d71b020
3
+ metadata.gz: 0aa987835fa1ba204a8e0659aa4df71044112bda0116e3d0d6a97854a4396c29
4
+ data.tar.gz: 85ece036ebe7010a133ccf39bbce1456ec1f094b2f6ba40445f3ff9bc4dca71a
5
5
  SHA512:
6
- metadata.gz: 8b56839beb9891c8e60eccfbaeae5f82d507ea39acf8c333289355f4e8cb4fb3a88e677cd1f66b4f7699630f74940ac369b019428860a4820fd072229104b071
7
- data.tar.gz: b3748e1e24424d17a799f60369156064e9f72e94b6f6f0803cbedac6bd080e363da04c7bffc48b1ae1995b77024419748a0df04f797bf74b38f8932743bd4b19
6
+ metadata.gz: 851b022c09f35f91386b308120d7abed080cadf5daa87c633b78cb891f7ce900d52625097d1c39d89e61a03e28111ecb18188b1ff58839bced13f17483d768dd
7
+ data.tar.gz: c27db4c7418ae980889feeeabc6679baf648025b93e27397360306cf5b045e06a533fe0a96051db6d1e0a60fb49f8f244ccdfc8f445b668f5793b6bfc0a77f66
@@ -47,7 +47,8 @@ module StrawberryAPI
47
47
  }.to_json
48
48
 
49
49
  job = post("/library_ingests", body: body).parse['job']
50
- job.nil? ? nil : Library.new({ 'id' => job['id'], 'project_id' => job['project_id'] })
50
+
51
+ job.nil? ? nil : library(project_id: job['project_id'])
51
52
  end
52
53
 
53
54
  # Deletes a library
@@ -1,3 +1,3 @@
1
1
  module StrawberryAPI
2
- VERSION = "0.6.4"
2
+ VERSION = "0.6.5"
3
3
  end
@@ -9,8 +9,4 @@ end
9
9
 
10
10
  sb = StrawberryAPI::Client.new
11
11
 
12
- pj = sb.create_project(name: 'test', templatename: 'Library')
13
-
14
- p sb.create_library(project_id: pj.id,
15
- ingest_path: '/mnt/strawberry/strawberry-ingest/Esports/Esports - 2020 Mar - Ingest',
16
- external: false)
12
+ p sb.library(project_id: 4546)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: strawberry_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.4
4
+ version: 0.6.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pierre Lebrun
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-03-26 00:00:00.000000000 Z
11
+ date: 2020-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler