establish 0.0.31 → 0.0.32

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
  SHA256:
3
- metadata.gz: ca39c6c15da52db624cf1fc454e15c2c73c28eaab752197d63a3b2cd23c3b88f
4
- data.tar.gz: f3831bb0fd3ccd2c40a0b88f933876158da16965281477ba5db3b21c47fe70ca
3
+ metadata.gz: e6e79b6a66588924958d48c73cc69bfc353d6e2ded10bc8fcf1564ef129035f5
4
+ data.tar.gz: b336289655866d77b2b7147bfd250a83d119eff7acec89f5e71d1bc23309c8f1
5
5
  SHA512:
6
- metadata.gz: d4e4764440409f948c80d5c57077991ae5924664907fc32d0dd4e9795a6c83762a2da063c1bf9ea3871fc5170e7f4a2001f96e478cb0dc487c5caa8211fcf138
7
- data.tar.gz: ebec53b2c974e36e5f304db6f257662a01b1bdc3af25cf815baea6d551d01d812c24dfe3f0cefd190bd358035f86d48402453226ba506a6b67bfe84ca22f1718
6
+ metadata.gz: bd5c20657d9b63708b37dafad760f78ddf3df2cfddf5134db96e0eed3a993a73ffa71cd84fa1bdc6326a015ae5e850a71bbd8a381ea0c21bfd7f88e315745221
7
+ data.tar.gz: 493cfc33b686b4a23234f08b9fa30c241e74df0975de7a26c7b76d30712e7d18fb0c87547346f992d126679e1b3a9dbe7c29ba3bc8edfc0762c2f90ee5e3dbda
@@ -58,6 +58,11 @@ module Establish
58
58
  end
59
59
  end
60
60
 
61
+ # Usage: '//x:keyword'
62
+ def fetch_value(xpath)
63
+ @data.xpath(xpath, "x" => ITUNES_NAMESPACE)
64
+ end
65
+
61
66
 
62
67
  #####################################################
63
68
  # Uploading the updated metadata
@@ -70,11 +75,6 @@ module Establish
70
75
 
71
76
  private
72
77
 
73
- # Usage: '//x:keyword'
74
- def fetch_value(xpath)
75
- @data.xpath(xpath, "x" => ITUNES_NAMESPACE)
76
- end
77
-
78
78
  def update_localized_value(xpath_name, new_value)
79
79
  raise AppMetadataParameterError.new("Please pass a hash of languages to this method") unless new_value.kind_of?Hash
80
80
  raise AppMetadataParameterError.new("Please pass a block, which updates the resulting node") unless block_given?
@@ -1,3 +1,3 @@
1
1
  module Establish
2
- VERSION = "0.0.31"
2
+ VERSION = "0.0.32"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: establish
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.31
4
+ version: 0.0.32
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vincenzo Fehring