panasonic_rcs 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +14 -0
- data/Gemfile +4 -0
- data/Guardfile +9 -0
- data/LICENSE.txt +22 -0
- data/README.md +56 -0
- data/Rakefile +8 -0
- data/lib/panasonic_rcs.rb +8 -0
- data/lib/panasonic_rcs/connection.rb +26 -0
- data/lib/panasonic_rcs/rcs.rb +62 -0
- data/lib/panasonic_rcs/rcs_error.rb +1 -0
- data/lib/panasonic_rcs/version.rb +3 -0
- data/panasonic_rcs.gemspec +31 -0
- data/spec/lib/panasonic_rcs/connection_spec.rb +16 -0
- data/spec/lib/panasonic_rcs/rcs_spec.rb +50 -0
- data/spec/spec_helper.rb +2 -0
- metadata +188 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 100077aae71b80b7c86682bc567c1c152422290a
|
4
|
+
data.tar.gz: 6e843040eb4d758f3cd6b30b4b9b7a6d86603d20
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 6a1feb99abe733c262261776296396921b456a4413205fabb05e8ac2238a2eb44234bbbce195ccbdb837ad1a789f4a0cc16168cdf421beef74d262e0abf75bc1
|
7
|
+
data.tar.gz: 6fe1aa17279a43c4c768c9120fc9f897b961b988a2a3b1db6d8844dcb650039ca2c7830c6834805ab6b76e9511af89fda7f0c4c73b21a7d683bd1b74b2c95d92
|
data/.gitignore
ADDED
data/Gemfile
ADDED
data/Guardfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2015 Emery A. Miller
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,56 @@
|
|
1
|
+
# PanasonicRcs
|
2
|
+
|
3
|
+
This gem wraps the panasonic XMLRPC RCS service. Basically can be used
|
4
|
+
to register a mac address with their service.
|
5
|
+
|
6
|
+
## Installation
|
7
|
+
|
8
|
+
Add this line to your application's Gemfile:
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
gem 'panasonic_rcs'
|
12
|
+
```
|
13
|
+
|
14
|
+
And then execute:
|
15
|
+
|
16
|
+
$ bundle
|
17
|
+
|
18
|
+
Or install it yourself as:
|
19
|
+
|
20
|
+
$ gem install panasonic_rcs
|
21
|
+
|
22
|
+
## Usage
|
23
|
+
|
24
|
+
```ruby
|
25
|
+
# Create a connection, and pass it to the RCS service object
|
26
|
+
rcs= PanasonicRcs::Rcs.new(PanasonicRcs::Connection.new(username: 'username', password: 'password'))
|
27
|
+
|
28
|
+
# List all registered phones on this account
|
29
|
+
rcs.list_phones
|
30
|
+
# => ["0030A0360ABF", "0030E01604E2"]
|
31
|
+
|
32
|
+
rcs.phone('0040F0CC8E43')
|
33
|
+
|
34
|
+
# => {"mac"=>"0040F0CC8E43",
|
35
|
+
"url"=>"http://server/model/model.cfg",
|
36
|
+
"register_date"=>#<DateTime: 2015-10-26T11:58:31+00:00 ((2457322j,43111s,0n),+0s,2299161j)>,
|
37
|
+
"access_date"=>#<DateTime: 2015-10-30T13:14:01+00:00 ((2457326j,47641s,0n),+0s,2299161j)>,
|
38
|
+
"note"=>"some note",
|
39
|
+
"profile"=>"kxutg200bv3",
|
40
|
+
"model"=>"KX-UTG200B",
|
41
|
+
"version"=>nil}
|
42
|
+
|
43
|
+
rcs.register_phone_with_profile('0040F0CC8E43', 'tgp500')
|
44
|
+
|
45
|
+
# => true
|
46
|
+
```
|
47
|
+
|
48
|
+
Errors will raise an RcsError exception.
|
49
|
+
|
50
|
+
## Contributing
|
51
|
+
|
52
|
+
1. Fork it ( https://github.com/[my-github-username]/panasonic_rcs/fork )
|
53
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
54
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
55
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
56
|
+
5. Create a new Pull Request
|
data/Rakefile
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
require 'faraday'
|
2
|
+
require 'faraday_middleware'
|
3
|
+
require 'multi_xml'
|
4
|
+
module PanasonicRcs
|
5
|
+
class Connection
|
6
|
+
attr_reader :host
|
7
|
+
attr_accessor :log
|
8
|
+
|
9
|
+
def initialize(username: '', password: '', log: nil, adapter: [:net_http])
|
10
|
+
@conn = Faraday.new(url: "https://provisioning.e-connecting.net/") do |builder|
|
11
|
+
builder.use Faraday::Request::BasicAuthentication, username, password
|
12
|
+
builder.use FaradayMiddleware::ParseXml, content_type: /\bxml$/
|
13
|
+
builder.use Faraday::Response::Logger, log if log
|
14
|
+
builder.adapter *adapter
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
def post(body)
|
19
|
+
@conn.post do |req|
|
20
|
+
req.url '/redirect/xmlrpc'
|
21
|
+
req.headers['Content-Type'] = 'text/xml'
|
22
|
+
req.body = body
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
@@ -0,0 +1,62 @@
|
|
1
|
+
module PanasonicRcs
|
2
|
+
class Rcs
|
3
|
+
attr_reader :connection, :response
|
4
|
+
def initialize(connection)
|
5
|
+
@connection = connection
|
6
|
+
end
|
7
|
+
|
8
|
+
def list_phones
|
9
|
+
request = "<?xml version=\"1.0\"?><methodCall><methodName>ipredirect.listPhones</methodName></methodCall>"
|
10
|
+
@response = connection.post(request)
|
11
|
+
fail RcsError.new "System responded with a #{@response.status} status." if @response.status != 200
|
12
|
+
|
13
|
+
body = @response.body['methodResponse']
|
14
|
+
if fault = body['fault']
|
15
|
+
fault_string = fault['value']['struct']['member'][1]['value']['string']
|
16
|
+
fail RcsError.new fault_string
|
17
|
+
end
|
18
|
+
body['params']['param']['value']['array']['data']['value'].map {|k| k["string"]}
|
19
|
+
end
|
20
|
+
|
21
|
+
def phone(raw_mac_addr)
|
22
|
+
mac_addr = raw_mac_addr.gsub(/[^[:alnum:]]/, '')
|
23
|
+
body = "<?xml version=\"1.0\"?><methodCall><methodName>ipredirect.getPhone</methodName><params><param><value><string>#{mac_addr}</string></value></param></params></methodCall>"
|
24
|
+
@response = connection.post(body)
|
25
|
+
fail RcsError.new "System responded with a #{@response.status} status." if @response.status != 200
|
26
|
+
|
27
|
+
body = @response.body['methodResponse']
|
28
|
+
if fault = body['fault']
|
29
|
+
fault_string = fault['value']['struct']['member'][1]['value']['string']
|
30
|
+
fail RcsError.new fault_string
|
31
|
+
end
|
32
|
+
parse_struct(body['params']['param']['value']['struct']['member'])
|
33
|
+
end
|
34
|
+
|
35
|
+
def register_phone_with_profile(raw_mac_addr, profile)
|
36
|
+
mac_addr = raw_mac_addr.gsub(/[^[:alnum:]]/, '')
|
37
|
+
body = "<?xml version=\"1.0\"?><methodCall><methodName>ipredirect.registerPhoneWithProfile</methodName><params><param><value><string>#{mac_addr}</string></value></param><param><value><string>#{profile}</string></value></param></params></methodCall>"
|
38
|
+
@response = connection.post(body)
|
39
|
+
fail RcsError.new "System responded with a #{@response.status} status." if @response.status != 200
|
40
|
+
|
41
|
+
body = @response.body['methodResponse']
|
42
|
+
if fault = body['fault']
|
43
|
+
fault_string = fault['value']['struct']['member'][1]['value']['string']
|
44
|
+
fail RcsError.new fault_string
|
45
|
+
end
|
46
|
+
body['params']['param']['value']['boolean'] == "1"
|
47
|
+
end
|
48
|
+
|
49
|
+
|
50
|
+
private
|
51
|
+
|
52
|
+
def parse_struct(struct)
|
53
|
+
struct.each_with_object({}) {|member, obj| obj[member['name']] = parse_value(member['value'].keys.first, member['value'].values.first)}
|
54
|
+
end
|
55
|
+
|
56
|
+
def parse_value(value_type, value)
|
57
|
+
type_conversion = {'string' => ->(x){x}, 'dateTime.iso8601' => ->(x) {DateTime.iso8601(x)}}
|
58
|
+
translator = type_conversion.fetch(value_type) { ->(x) {x} }
|
59
|
+
translator.call(value)
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
class RcsError < StandardError; end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'panasonic_rcs/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "panasonic_rcs"
|
8
|
+
spec.version = PanasonicRcs::VERSION
|
9
|
+
spec.authors = ["Emery A. Miller"]
|
10
|
+
spec.email = ["emiller@jive.com"]
|
11
|
+
spec.summary = %q{A component to make XMLRPC calls to Panasonic's RCS service}
|
12
|
+
spec.description = %q{A ruby wrapper around Panasonic's XMLRPC RCS service}
|
13
|
+
spec.homepage = ""
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
spec.files = `git ls-files -z`.split("\x0")
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
|
21
|
+
spec.add_development_dependency "bundler", "~> 1.7"
|
22
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
23
|
+
spec.add_development_dependency "rspec", "~> 3.3.0"
|
24
|
+
spec.add_development_dependency "pry"
|
25
|
+
spec.add_development_dependency "guard"
|
26
|
+
spec.add_development_dependency "guard-rspec"
|
27
|
+
|
28
|
+
spec.add_runtime_dependency "faraday"
|
29
|
+
spec.add_runtime_dependency "faraday_middleware"
|
30
|
+
spec.add_runtime_dependency "multi_xml"
|
31
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe PanasonicRcs::Connection do
|
4
|
+
let(:test_adapter) {
|
5
|
+
Faraday::Adapter::Test::Stubs.new do |stub|
|
6
|
+
stub.post('/redirect/xmlrpc') { |env| [200, {'Content-Type' => 'application/xml'}, '<?xml version="1.0" encoding="UTF-8"?><reply>Good</reply>'] }
|
7
|
+
end
|
8
|
+
}
|
9
|
+
|
10
|
+
subject {PanasonicRcs::Connection.new(adapter: [:test, test_adapter])}
|
11
|
+
it 'sends a post request to the rcs xmlrpc service' do
|
12
|
+
result = {'reply' => 'Good'}
|
13
|
+
expect(subject.post('<?xml version="1.0" encoding="UTF-8"?><stuff></stuff>').body).to eq result
|
14
|
+
test_adapter.verify_stubbed_calls
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,50 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe PanasonicRcs::Rcs do
|
4
|
+
# These responses were taken from the Panasonic RCS documentation (https://fw-provi.e-connecting.net/manual/class1/RedirectServerXML-RPC_ExternalSpec_for_class_1_user_1.6.pdf)
|
5
|
+
let(:list_success) {'<?xml version="1.0" encoding="UTF-8"?><methodResponse><params><param><value><array><data><value><string>08F0C0123456</string></value> <value><string>08F0C0123456</string></value></data></array></value></param></params></methodResponse>'}
|
6
|
+
let(:list_error) {'<?xml version="1.0" encoding="UTF-8"?><methodResponse> <fault> <value><struct> <member> <name>faultCode</name> <value><int>1</int></value> </member> <member> <name>faultString</name> <value><string>Invalid XML format</string></value> </member> </struct></value> </fault> </methodResponse>'}
|
7
|
+
let(:register_success){'<?xml version="1.0" encoding="UTF-8"?> <methodResponse> <params> <param> <value><boolean>1</boolean></value> </param> </params> </methodResponse>'}
|
8
|
+
let(:register_error){'<?xml version="1.0" encoding="UTF-8"?> <methodResponse> <fault> <value><struct> <member> <name>faultCode</name> <value><int>201</int></value> </member> <member> <name>faultString</name> <value><string>08F0C0123456:Invalid MAC address</string></value> </member> </struct></value> </fault> </methodResponse>'}
|
9
|
+
let(:getphone_success) {'<?xml version="1.0" encoding="UTF-8"?> <methodResponse><params> <param> <value> <struct> <member> <name>mac</name> <value><string>08F0C0123456</string></value> </member> <member> <name>url</name> <value><string>http://xxx/xxxxxx/xxx?xxx={MAC}</string></value> </member> <member> <name>register_date</name> <value><dateTime.iso8601>2011-07-12T05:32:12Z</dateTime.iso8601></value> </member> <member> <name>access_date</name> <value><dateTime.iso8601>2011-07-12T06:08:35Z</dateTime.iso8601></value> </member> <member> <name>note</name> <value><string>For test</string></value> </member> <member> <name>model</name> <value><string>KX-TGP550T01</string></value> </member> <member> <name>version</name> <value><string>1.00</string></value> </member> <member> <name>profile</name> <value><string> for KX-TGP500</string></value> </member> </struct> </value></param></params></methodResponse>'}
|
10
|
+
let(:getphone_error) {'<?xml version="1.0" encoding="UTF-8"?> <methodResponse> <fault> <value><struct> <member> <name>faultCode</name> <value><int>203</int></value> </member> <member> <name>faultString</name> <value><string>08F0C0123456: You are not owner of the phone.</string></value> </member> </struct></value></fault></methodResponse>'}
|
11
|
+
|
12
|
+
let(:test_adapter) { Faraday::Adapter::Test::Stubs.new }
|
13
|
+
let(:connection) {PanasonicRcs::Connection.new(adapter: [:test, test_adapter])}
|
14
|
+
let(:subject) {PanasonicRcs::Rcs.new(connection)}
|
15
|
+
|
16
|
+
it 'sends a list phones request and parses the response' do
|
17
|
+
test_adapter.post('/redirect/xmlrpc') {[200, {'Content-Type' => 'application/xml'}, list_success]}
|
18
|
+
expect(subject.list_phones).to eq ['08F0C0123456','08F0C0123456']
|
19
|
+
end
|
20
|
+
|
21
|
+
it 'raises an error if one is returned' do
|
22
|
+
test_adapter.post('/redirect/xmlrpc') {[200, {'Content-Type' => 'application/xml'}, list_error]}
|
23
|
+
expect {subject.list_phones}.to raise_error RcsError, 'Invalid XML format'
|
24
|
+
end
|
25
|
+
|
26
|
+
it 'raises an error if the status code is not 200' do
|
27
|
+
test_adapter.post('/redirect/xmlrpc') {[403, {'Content-Type' => 'application/xml'}, '']}
|
28
|
+
expect {subject.list_phones}.to raise_error RcsError, /403/
|
29
|
+
end
|
30
|
+
|
31
|
+
it 'registers a phone successfully' do
|
32
|
+
test_adapter.post('/redirect/xmlrpc') {[200, {'Content-Type' => 'application/xml'}, register_success]}
|
33
|
+
expect(subject.register_phone_with_profile('123456789123', 'kutg200b')).to eq true
|
34
|
+
end
|
35
|
+
|
36
|
+
it 'fails to register a phone and reports the error' do
|
37
|
+
test_adapter.post('/redirect/xmlrpc') {[200, {'Content-Type' => 'application/xml'}, register_error]}
|
38
|
+
expect{subject.register_phone_with_profile('123456789123', 'kutg200b')}.to raise_error RcsError, /Invalid MAC address/
|
39
|
+
end
|
40
|
+
|
41
|
+
it 'checks on a phone already in our system' do
|
42
|
+
test_adapter.post('/redirect/xmlrpc') {[200, {'Content-Type' => 'application/xml'}, getphone_success]}
|
43
|
+
expect(subject.phone('123456789123')).to eq( {"mac"=>"08F0C0123456", "url"=>"http://xxx/xxxxxx/xxx?xxx={MAC}", "register_date"=> DateTime.iso8601('2011-07-12T05:32:12Z'), "access_date"=> DateTime.iso8601('2011-07-12T06:08:35Z'), "note"=>"For test", "model"=>"KX-TGP550T01", "version"=>"1.00", "profile"=>" for KX-TGP500"})
|
44
|
+
end
|
45
|
+
|
46
|
+
it 'checks on a phone not in our system yet' do
|
47
|
+
test_adapter.post('/redirect/xmlrpc') {[200, {'Content-Type' => 'application/xml'}, getphone_error]}
|
48
|
+
expect{subject.phone('123456789123')}.to raise_error RcsError, /You are not owner/
|
49
|
+
end
|
50
|
+
end
|
data/spec/spec_helper.rb
ADDED
metadata
ADDED
@@ -0,0 +1,188 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: panasonic_rcs
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Emery A. Miller
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-10-30 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.7'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.7'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 3.3.0
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 3.3.0
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: pry
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: guard
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: guard-rspec
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: faraday
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: faraday_middleware
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: multi_xml
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :runtime
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
description: A ruby wrapper around Panasonic's XMLRPC RCS service
|
140
|
+
email:
|
141
|
+
- emiller@jive.com
|
142
|
+
executables: []
|
143
|
+
extensions: []
|
144
|
+
extra_rdoc_files: []
|
145
|
+
files:
|
146
|
+
- ".gitignore"
|
147
|
+
- Gemfile
|
148
|
+
- Guardfile
|
149
|
+
- LICENSE.txt
|
150
|
+
- README.md
|
151
|
+
- Rakefile
|
152
|
+
- lib/panasonic_rcs.rb
|
153
|
+
- lib/panasonic_rcs/connection.rb
|
154
|
+
- lib/panasonic_rcs/rcs.rb
|
155
|
+
- lib/panasonic_rcs/rcs_error.rb
|
156
|
+
- lib/panasonic_rcs/version.rb
|
157
|
+
- panasonic_rcs.gemspec
|
158
|
+
- spec/lib/panasonic_rcs/connection_spec.rb
|
159
|
+
- spec/lib/panasonic_rcs/rcs_spec.rb
|
160
|
+
- spec/spec_helper.rb
|
161
|
+
homepage: ''
|
162
|
+
licenses:
|
163
|
+
- MIT
|
164
|
+
metadata: {}
|
165
|
+
post_install_message:
|
166
|
+
rdoc_options: []
|
167
|
+
require_paths:
|
168
|
+
- lib
|
169
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - ">="
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
174
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
175
|
+
requirements:
|
176
|
+
- - ">="
|
177
|
+
- !ruby/object:Gem::Version
|
178
|
+
version: '0'
|
179
|
+
requirements: []
|
180
|
+
rubyforge_project:
|
181
|
+
rubygems_version: 2.4.5
|
182
|
+
signing_key:
|
183
|
+
specification_version: 4
|
184
|
+
summary: A component to make XMLRPC calls to Panasonic's RCS service
|
185
|
+
test_files:
|
186
|
+
- spec/lib/panasonic_rcs/connection_spec.rb
|
187
|
+
- spec/lib/panasonic_rcs/rcs_spec.rb
|
188
|
+
- spec/spec_helper.rb
|