spaceship 0.34.0 → 0.34.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/spaceship/tunes/app_details.rb +23 -6
- data/lib/spaceship/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e7f1fcf2ab66f5960e4b0523fe392e0f91d7852d
|
4
|
+
data.tar.gz: 48dbf404d5472511c5361d0ef2d5982486fb8eb0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 730daeac221131e108216f69b479ef3c551d7a166f5ea9d71efce1b7564306cf1138477c4a4bfd7535c2d0161e1fe053d677e5854548e73a3a7cb7e7d8e75e05
|
7
|
+
data.tar.gz: e9d52fdf855be23687adab33592d4860af1925306fa41e46493048ae15368702515e6d8298b7c47abed12bd0a8739578dcb91e4db9018b9a33cd441e19a7f123
|
@@ -84,32 +84,38 @@ module Spaceship
|
|
84
84
|
# Custom Setters
|
85
85
|
#
|
86
86
|
def primary_category=(value)
|
87
|
-
value =
|
87
|
+
value = prefix_apps(value)
|
88
|
+
value = prefix_mzgenre(value)
|
88
89
|
super(value)
|
89
90
|
end
|
90
91
|
|
91
92
|
def primary_first_sub_category=(value)
|
92
|
-
value =
|
93
|
+
value = prefix_apps(value)
|
94
|
+
value = prefix_mzgenre(value)
|
93
95
|
super(value)
|
94
96
|
end
|
95
97
|
|
96
98
|
def primary_second_sub_category=(value)
|
97
|
-
value =
|
99
|
+
value = prefix_apps(value)
|
100
|
+
value = prefix_mzgenre(value)
|
98
101
|
super(value)
|
99
102
|
end
|
100
103
|
|
101
104
|
def secondary_category=(value)
|
102
|
-
value =
|
105
|
+
value = prefix_apps(value)
|
106
|
+
value = prefix_mzgenre(value)
|
103
107
|
super(value)
|
104
108
|
end
|
105
109
|
|
106
110
|
def secondary_first_sub_category=(value)
|
107
|
-
value =
|
111
|
+
value = prefix_apps(value)
|
112
|
+
value = prefix_mzgenre(value)
|
108
113
|
super(value)
|
109
114
|
end
|
110
115
|
|
111
116
|
def secondary_second_sub_category=(value)
|
112
|
-
value =
|
117
|
+
value = prefix_apps(value)
|
118
|
+
value = prefix_mzgenre(value)
|
113
119
|
super(value)
|
114
120
|
end
|
115
121
|
|
@@ -118,6 +124,17 @@ module Spaceship
|
|
118
124
|
#####################################################
|
119
125
|
def setup
|
120
126
|
end
|
127
|
+
|
128
|
+
private
|
129
|
+
|
130
|
+
def prefix_mzgenre(value)
|
131
|
+
(value.include? "MZGenre") ? value : "MZGenre.#{value}"
|
132
|
+
end
|
133
|
+
|
134
|
+
def prefix_apps(value)
|
135
|
+
return value unless value.include? "Stickers"
|
136
|
+
(value.include? "Apps") ? value : "Apps.#{value}"
|
137
|
+
end
|
121
138
|
end
|
122
139
|
end
|
123
140
|
end
|
data/lib/spaceship/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spaceship
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.34.
|
4
|
+
version: 0.34.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Felix Krause
|
@@ -394,7 +394,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
394
394
|
version: '0'
|
395
395
|
requirements: []
|
396
396
|
rubyforge_project:
|
397
|
-
rubygems_version: 2.
|
397
|
+
rubygems_version: 2.2.2
|
398
398
|
signing_key:
|
399
399
|
specification_version: 4
|
400
400
|
summary: Ruby library to access the Apple Dev Center and iTunes Connect
|