easy_upnp 0.4.3 → 0.4.4

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: 6bbcc4be10b6591f8347f8c1f06b3fa2f7b84559
4
- data.tar.gz: f6a8446959adb1f9afb9b4a7036449f40415655d
3
+ metadata.gz: 3b1b0ab93e8ae488f40f517fdb931fbe59b14178
4
+ data.tar.gz: eae09c694d7864593a0eb89989078a54b9231914
5
5
  SHA512:
6
- metadata.gz: 135f8da1352e2f81abae920f449c077f1afb8c16f92d10ade70ec58bcc46b4822d33675958cd1569e2917d588bc66f5d3b9be7d9e7637b3b14ec8e84e5ce6bd2
7
- data.tar.gz: 2a70aba90a9dc3cb285a8dabe6e5f984f3148f28987074f0b81542563259cc7fba538c58bdc7cf75392d0906eac5a53589cffe034e808f1457141b6a90a969c6
6
+ metadata.gz: 441a2af6447b95c95ecb2d4ce840a0a9a6f9f47d02d6e53c4d7b87c1964ddc9062f36e538a9e9c1e94b57f54ed62a79f876cb73d89335b97c9bafe9a418033a5
7
+ data.tar.gz: 393c879cd71967dca3cab3f72d6a5b190ac533fc3e77fa6fb708d24bb27d8794a98119d4c932a8a818429ddcb58d144db0d9a2b4d3f649d274ec7afd94705872
@@ -68,7 +68,11 @@ module EasyUpnp
68
68
  action.xpath('argumentList/argument').map do |arg|
69
69
  arg_name = arg.xpath('name').text
70
70
  arg_ref = arg.xpath('relatedStateVariable').text
71
- args[arg_name.to_sym] = arg_ref.to_sym
71
+ arg_dir = arg.xpath('direction').text
72
+
73
+ if direction == 'in'
74
+ args[arg_name.to_sym] = arg_ref.to_sym
75
+ end
72
76
  end
73
77
  service_methods_args[name.to_sym] = args
74
78
  end
@@ -1,3 +1,3 @@
1
1
  module EasyUpnp
2
- VERSION = '0.4.3'
2
+ VERSION = '0.4.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: easy_upnp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christopher Mullins