ruby-swift 0.1.2 → 0.1.3

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -1
  3. data/lib/ruby-swift.rb +1 -1
  4. metadata +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 522a5092cb83c54a1936ce2c058c25ba8affeabb
4
- data.tar.gz: 2addfea58675ef2af2ae14705d06e50fef8ce5d6
3
+ metadata.gz: 3e2b51e6f7f50074a4885cf8436c54b83182a17c
4
+ data.tar.gz: d20f0cdeb344b48e3dec8601af0d21736dc019a8
5
5
  SHA512:
6
- metadata.gz: 383bbce6d6dc77df82a6fd48b2e38736c27fcf0fb892118a7c381d9e89d82e3004ba600fd23a387a947410cd4f429424585d9b572c89e0f5896fe2ddab3223d8
7
- data.tar.gz: 06e657083f885f3716f9ca3a8218dddf3b9f32ead2c6c6990acf24667a5601547185f2249a4616bd2ce12ffbc9a80f44d79bcd7d33f5c8c4ec0cd1d2d5c7f953
6
+ metadata.gz: 5465aaf43d2e650ae7362e39474a6dbf1c451a2c4c5c8c3b8d3ddd92591b801438d2029221b040dcf026dfb4527038829ab6eb93886dfb77da7daa6518cb493f
7
+ data.tar.gz: 32a16945bdac5cfb53d2775b57531191e7b578aa9c3a0c77894b2b1ef7687d228b64ccc0fcaa65cdfe6244996455c76b29b36a473f8e32ccdade7f61c392541d
data/README.md CHANGED
@@ -3,7 +3,7 @@ RubySwift
3
3
 
4
4
  A ruby wrapper of the [Swift Digital Suite Mail House API](https://suite.swiftdigital.com.au/login).
5
5
 
6
- This is currently a relatively crude wrapper and does not tidy responses from Swift a lot.
6
+ This is currently a relatively crude wrapper and does not tidy responses from Swift a lot. Contributions are welcome.
7
7
 
8
8
  INSTALLATION
9
9
  ------------
@@ -99,3 +99,4 @@ TODO
99
99
  ----
100
100
  * Tidy up responses (Hashie?)
101
101
  * Return true/false instead of "0" for write actions
102
+ * Allow custom fields in write/update
@@ -74,7 +74,7 @@ class RubySwift
74
74
 
75
75
  # Generates a raw XML SOAP request document.
76
76
  # I need to do it this way because the Swift SOAP server expects a particularly weird XML
77
- # format that SAvon does not naturally produce.
77
+ # format that Savon does not naturally produce.
78
78
  def request_body(operation, data)
79
79
  "<SOAP-ENV:Envelope xmlns:SOAP-ENV=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ns1=\"urn:pl\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:ns2=\"http://xml.apache.org/xml-soap\" xmlns:SOAP-ENC=\"http://schemas.xmlsoap.org/soap/encoding/\" SOAP-ENV:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\"><SOAP-ENV:Body><ns1:#{operation}><param0 xsi:type=\"xsd:string\">#{@password}</param0><param1 xsi:type=\"ns2:Map\">#{hash_to_soap(data)}</param1></ns1:#{operation}></SOAP-ENV:Body></SOAP-ENV:Envelope>"
80
80
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-swift
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Buntine
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-16 00:00:00.000000000 Z
11
+ date: 2015-08-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: savon
@@ -25,7 +25,7 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  description: A ruby wrapper of the Swift Digital Suite Mail House API (https://suite.swiftdigital.com.au).
28
- email: bunts@hhd.com.au
28
+ email: info@bunts.io
29
29
  executables: []
30
30
  extensions: []
31
31
  extra_rdoc_files: []
@@ -33,7 +33,7 @@ files:
33
33
  - LICENSE
34
34
  - README.md
35
35
  - lib/ruby-swift.rb
36
- homepage: http://github.com/buntine/ruby-swift
36
+ homepage: http://github.com/buntine/RubySwift
37
37
  licenses:
38
38
  - MIT
39
39
  metadata: {}
@@ -53,7 +53,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
53
53
  version: '0'
54
54
  requirements: []
55
55
  rubyforge_project:
56
- rubygems_version: 2.2.1
56
+ rubygems_version: 2.4.8
57
57
  signing_key:
58
58
  specification_version: 4
59
59
  summary: A ruby wrapper of the Swift Digital Suite API.