motion-steward 1.0.2 → 1.0.3
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/bin/motion-steward +1 -1
- data/lib/motion-steward.rb +13 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cda0106118203f96db193747e2f3f476fdf764d9
|
|
4
|
+
data.tar.gz: d95ab39b1ef8ab55610faedfd848e1a0a2060b25
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e743824cf2ba91f6947ceec82374f8c301f4af03813729ab90042bface5f26118472452cdc5589fff2d571c9031ef73371a49a4050d68c0c8f3ecd0bf22b5623
|
|
7
|
+
data.tar.gz: 736a81c76f1187a3d0524cd30a3f0b1dfbd6f76221c3600f8496a4f6dd7184d38cc54780f60fda010484236a07688da04543352e838d78f5312f6c75c61c56e4
|
data/bin/motion-steward
CHANGED
|
@@ -48,7 +48,7 @@ def prompt_for_response message
|
|
|
48
48
|
end
|
|
49
49
|
|
|
50
50
|
def research
|
|
51
|
-
term = prompt_for_response "Enter a search term or app name, and I'll return people will see when they search for that term (along with some fancy data):"
|
|
51
|
+
term = prompt_for_response "Enter a search term or app name, and I'll return what people will see when they search for that term in the App Store (along with some fancy data):"
|
|
52
52
|
puts ''
|
|
53
53
|
MotionSteward::AppStoreResearch.analyze(term)
|
|
54
54
|
end
|
data/lib/motion-steward.rb
CHANGED
|
@@ -1,6 +1,17 @@
|
|
|
1
1
|
class MotionSteward
|
|
2
|
-
def self.
|
|
3
|
-
|
|
2
|
+
def self.audit_provisioning_profiles
|
|
3
|
+
apps = Spaceship.app.all
|
|
4
|
+
profiles = Spaceship.provisioning_profile.all
|
|
5
|
+
development_profiles = profiles.find_all { |p| p.is_a? Spaceship::Portal::ProvisioningProfile::Development }
|
|
6
|
+
distribution_profiles = profiles.find_all { |p| p.is_a? Spaceship::Portal::ProvisioningProfile::AppStore }
|
|
7
|
+
|
|
8
|
+
apps.find_all do |a|
|
|
9
|
+
{
|
|
10
|
+
app: a,
|
|
11
|
+
development_profile: development_profiles.find_all { |d| d.app.app_id == a.app_id },
|
|
12
|
+
distribution_profile: distribution_profiles.find_all { |d| d.app.app_id == a.app_id }
|
|
13
|
+
}
|
|
14
|
+
end
|
|
4
15
|
end
|
|
5
16
|
end
|
|
6
17
|
|