pitcher 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pitcher/version.rb +1 -1
- data/lib/pitcher.rb +3 -4
- metadata +14 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9c58ffd52a642c3151b53ad8f2f09e4e5ab1f81d
|
4
|
+
data.tar.gz: e952d901b6e86cf3eed44e67da086bff416d8e0f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0b66f2c57bb5d6b0c60ef7ab1519351693369aaf0b3ff42cc58df9ef4197928b3cdeb2429bad6d6e1b787bd40adc369c2d721e4abb1c2df4683564531889afd
|
7
|
+
data.tar.gz: 1172cb4e37b0546217eabef467f6f75693f518ab479ef771a932e8161d5c11266d613d6753506544ca02d9108c3889da262a5926d8e658c5d0415fda0180925e
|
data/lib/pitcher/version.rb
CHANGED
data/lib/pitcher.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
require 'pitcher/version'
|
2
2
|
require 'pitcher/options'
|
3
3
|
require 'savon'
|
4
|
-
require '
|
4
|
+
require 'csv'
|
5
5
|
|
6
6
|
module Pitcher
|
7
7
|
class Pitcher
|
@@ -48,10 +48,9 @@ module Pitcher
|
|
48
48
|
def send_message(message)
|
49
49
|
# Initialize the SOAP client with the catcher service url
|
50
50
|
client = Savon.client(
|
51
|
-
wsdl: 'https://worldcat.org/webservices/contentdm/catcher
|
51
|
+
wsdl: 'https://worldcat.org/webservices/contentdm/catcher/6.0/CatcherService.wsdl',
|
52
52
|
pretty_print_xml: true,
|
53
|
-
log: true
|
54
|
-
follow_redirects: true
|
53
|
+
log: true
|
55
54
|
)
|
56
55
|
# Create the hash that will be sent as a message to the service with the creds and data above
|
57
56
|
client.call(:process_conten_tdm, message: message)
|
metadata
CHANGED
@@ -1,58 +1,58 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pitcher
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jamie Little
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-02-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name: bundler
|
15
14
|
requirement: !ruby/object:Gem::Requirement
|
16
15
|
requirements:
|
17
16
|
- - "~>"
|
18
17
|
- !ruby/object:Gem::Version
|
19
18
|
version: '1.6'
|
20
|
-
|
19
|
+
name: bundler
|
21
20
|
prerelease: false
|
21
|
+
type: :development
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.6'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name: rake
|
29
28
|
requirement: !ruby/object:Gem::Requirement
|
30
29
|
requirements:
|
31
30
|
- - "~>"
|
32
31
|
- !ruby/object:Gem::Version
|
33
32
|
version: '10'
|
34
|
-
|
33
|
+
name: rake
|
35
34
|
prerelease: false
|
35
|
+
type: :development
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '10'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name: savon
|
43
42
|
requirement: !ruby/object:Gem::Requirement
|
44
43
|
requirements:
|
45
44
|
- - ">="
|
46
45
|
- !ruby/object:Gem::Version
|
47
46
|
version: '0'
|
48
|
-
|
47
|
+
name: savon
|
49
48
|
prerelease: false
|
49
|
+
type: :runtime
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
|
-
description:
|
55
|
+
description:
|
56
56
|
email:
|
57
57
|
- jamielittle@outlook.com
|
58
58
|
executables:
|
@@ -69,7 +69,7 @@ homepage: ''
|
|
69
69
|
licenses:
|
70
70
|
- BSD-3-Clause
|
71
71
|
metadata: {}
|
72
|
-
post_install_message:
|
72
|
+
post_install_message:
|
73
73
|
rdoc_options: []
|
74
74
|
require_paths:
|
75
75
|
- lib
|
@@ -84,9 +84,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
84
84
|
- !ruby/object:Gem::Version
|
85
85
|
version: '0'
|
86
86
|
requirements: []
|
87
|
-
rubyforge_project:
|
88
|
-
rubygems_version: 2.
|
89
|
-
signing_key:
|
87
|
+
rubyforge_project:
|
88
|
+
rubygems_version: 2.4.8
|
89
|
+
signing_key:
|
90
90
|
specification_version: 4
|
91
91
|
summary: CLI utility to work with CONTENTdm's Catcher API
|
92
92
|
test_files: []
|