establish 0.0.32 → 0.0.33

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: e6e79b6a66588924958d48c73cc69bfc353d6e2ded10bc8fcf1564ef129035f5
4
- data.tar.gz: b336289655866d77b2b7147bfd250a83d119eff7acec89f5e71d1bc23309c8f1
3
+ metadata.gz: 27fb20c8c645f4d35cb12cbc03b75a2c88aec3c88f06093ed118c4389e8402b9
4
+ data.tar.gz: 4bf38cffe7d25d2b60763d2efcc48bb3e5f4037b929e4c4943e76d62a0df8d18
5
5
  SHA512:
6
- metadata.gz: bd5c20657d9b63708b37dafad760f78ddf3df2cfddf5134db96e0eed3a993a73ffa71cd84fa1bdc6326a015ae5e850a71bbd8a381ea0c21bfd7f88e315745221
7
- data.tar.gz: 493cfc33b686b4a23234f08b9fa30c241e74df0975de7a26c7b76d30712e7d18fb0c87547346f992d126679e1b3a9dbe7c29ba3bc8edfc0762c2f90ee5e3dbda
6
+ metadata.gz: 740769f4ad5b5bb41ba03cb1ef714a0c4907e28941228389be33b33b3a453f839273821f165eb65b0cd43fc0464ea23fba11d07dad0aa733958cdb802deafec5
7
+ data.tar.gz: bcad395c2c1255c114227b9a7419696c7dfe463e6175ba09e252f06b883bd31998d906b9ae34a0e1f20952ca28a6e55b5021ef1ada7d959b63bd6ab0bbf41d9f
@@ -31,11 +31,42 @@ module Establish
31
31
  # Updating metadata information
32
32
  #####################################################
33
33
 
34
+ # Update the app title
35
+ def update_title(hash)
36
+ update_localized_value('title', hash) do |field, new_val|
37
+ raise AppMetadataParameterError.new("Parameter needs to be an hash, containing strings with the new description") unless new_val.kind_of?String
38
+ field.content = new_val
39
+ end
40
+ end
41
+
34
42
  # Update the app description which is shown in the AppStore
35
43
  def update_description(hash)
36
44
  update_localized_value('description', hash) do |field, new_val|
37
45
  raise AppMetadataParameterError.new("Parameter needs to be as hash, containing strings with the new description") unless new_val.kind_of?String
46
+ field.content = new_val
47
+ end
48
+ end
49
+
50
+ # Set the changelog
51
+ def update_changelog(hash)
52
+ update_localized_value('version_whats_new', hash) do |field, new_val|
53
+ raise AppMetadataParameterError.new("Parameter needs to be as hash, containing strings with the new description") unless new_val.kind_of?String
54
+ field.content = new_val
55
+ end
56
+ end
57
+
58
+ # Update the Marketing URL
59
+ def update_marketing_url(hash)
60
+ update_localized_value('software_url', hash) do |field, new_val|
61
+ raise AppMetadataParameterError.new("Parameter needs to be an hash, containing strings with the new description") unless new_val.kind_of?String
62
+ field.content = new_val
63
+ end
64
+ end
38
65
 
66
+ # Update the support URL
67
+ def update_support_url(hash)
68
+ update_localized_value('support_url', hash) do |field, new_val|
69
+ raise AppMetadataParameterError.new("Parameter needs to be an hash, containing strings with the new description") unless new_val.kind_of?String
39
70
  field.content = new_val
40
71
  end
41
72
  end
@@ -1,3 +1,3 @@
1
1
  module Establish
2
- VERSION = "0.0.32"
2
+ VERSION = "0.0.33"
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.32
4
+ version: 0.0.33
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vincenzo Fehring