pmp 0.5.5 → 0.5.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -0
- data/example/permissions.rb +1 -1
- data/lib/pmp/version.rb +1 -1
- 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: dc58dcd6f0f6749a4cbb0703dcef69cf065a009f
|
4
|
+
data.tar.gz: 0799febc2f7719463bc250a2bc228c92b386d7e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
|
data/example/permissions.rb
CHANGED
@@ -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:
|
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
|
|
data/lib/pmp/version.rb
CHANGED
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.
|
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-
|
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.
|
346
|
+
rubygems_version: 2.4.5
|
347
347
|
signing_key:
|
348
348
|
specification_version: 4
|
349
349
|
summary: Public Media Platform Ruby Gem
|