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 +4 -4
- data/lib/establish/app_metadata.rb +5 -5
- data/lib/establish/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e6e79b6a66588924958d48c73cc69bfc353d6e2ded10bc8fcf1564ef129035f5
|
|
4
|
+
data.tar.gz: b336289655866d77b2b7147bfd250a83d119eff7acec89f5e71d1bc23309c8f1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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?
|
data/lib/establish/version.rb
CHANGED