pmp 0.5.5 → 0.5.6

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
  SHA1:
3
- metadata.gz: 38a4708c0f92e7dc64fede9a49dc212033f0115c
4
- data.tar.gz: 11a680a1e6db25f0b3fa53297663e7e27e3893e0
3
+ metadata.gz: dc58dcd6f0f6749a4cbb0703dcef69cf065a009f
4
+ data.tar.gz: 0799febc2f7719463bc250a2bc228c92b386d7e0
5
5
  SHA512:
6
- metadata.gz: e7005891b041a3ab3e0c47a02a9e35d4e64347acea3263bbb6f85641b9b92b90868f712e799bf3b1f868633b46953afea6f60e95280f396ec3613157d2060a3f
7
- data.tar.gz: 62c5aa6791d1aca23e3a6155653b95dc54404031fa278f7c3d248f3b5155f2e3a8aa9debd78c9102cb72751fa2fdae0bac439ab0c120fdc38887aa34be6ff79c
6
+ metadata.gz: 2c6d9fe4f00e92153abb62fa4718301ac87c2a4ad915b64becd0aae046e028b03bacb5ab371910c6ec6e0ea5fd276be9ec172aa463b774f818aeb6583a8cf107
7
+ data.tar.gz: d5f8f1ad7c8581492b9618ede410c804b2a60450aae90e94f789336288af84fe1e10f9d32c85d51a9e22daece1e6718339925c0ff6e8bd0fc5f64b94411ad34c
data/README.md CHANGED
@@ -34,6 +34,10 @@ You should usually go through the `PMP::Client` as a convenience or start with a
34
34
 
35
35
  Below is a basic guide, you can also [see the examples for more info](example/).
36
36
 
37
+ To see it used in a project, there is the [PMP Importer](https://github.com/PRX/pmp-importer.prx.org) which, as it says in the name, imports data from podcast feeds and www.prx.org into the PMP.
38
+
39
+ [The importer super class](https://github.com/PRX/pmp-importer.prx.org/blob/master/app/models/application_importer.rb) is a good place to look.
40
+
37
41
 
38
42
  ```ruby
39
43
 
@@ -36,7 +36,7 @@ puts "\n\nSetup complete: pmp client: #{pmp.inspect}\n\n"
36
36
  # Step 0: Clean up any old data from prior runs
37
37
  # ------------------------------------------------------------------------------
38
38
  delete_count = 0
39
- pmp.query["urn:pmp:query:docs"].where(tag: 'pmp_example_permissions', limit: 100).items.each{|i| i.delete; delete_count+=1 }
39
+ pmp.query["urn:collectiondoc:query:docs"].where(tag: 'pmp_example_permissions', limit: 100).items.each{|i| i.delete; delete_count+=1 }
40
40
  puts "\n\nStep 0 complete: deleted #{delete_count}\n\n"
41
41
  exit 1 if ARGV[0] == 'delete-only'
42
42
 
@@ -1,5 +1,5 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
 
3
3
  module PMP
4
- VERSION = "0.5.5"
4
+ VERSION = '0.5.6'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pmp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.5
4
+ version: 0.5.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kuklewicz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-06 00:00:00.000000000 Z
11
+ date: 2015-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -343,7 +343,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
343
343
  version: '0'
344
344
  requirements: []
345
345
  rubyforge_project:
346
- rubygems_version: 2.2.2
346
+ rubygems_version: 2.4.5
347
347
  signing_key:
348
348
  specification_version: 4
349
349
  summary: Public Media Platform Ruby Gem