motion-steward 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ff0952bdc1b36032bfaa4ca995aa972fbc7c8cf9
4
- data.tar.gz: 20fce4d5d398bea10af10fcf171e51d982184956
3
+ metadata.gz: cda0106118203f96db193747e2f3f476fdf764d9
4
+ data.tar.gz: d95ab39b1ef8ab55610faedfd848e1a0a2060b25
5
5
  SHA512:
6
- metadata.gz: 82468f11272bdea9b8b45952bc76f67fc1aeff841521e41b033e8055ed80c309569797265ecca8fe8a086beda3990ebcd351c982aa5d69a9802f4382490f34ab
7
- data.tar.gz: 99a82499db1596a03ce266606798e87340b89af0630a521542e6ebeaa0260530f52a84d0c9f9be375495e132b94077f7bebda8b7470602ece06f5560d4e61a95
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
@@ -1,6 +1,17 @@
1
1
  class MotionSteward
2
- def self.hi
3
- puts 'hello world'
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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: motion-steward
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amir Rajan