1
0
mirror of https://github.com/dkhamsing/open-source-ios-apps.git synced 2024-12-22 21:38:44 +01:00
App-Open-Source-per-iPhone-.../.github/osia_screenshots_missing.rb
2016-10-05 06:47:15 -07:00

22 lines
443 B
Ruby

require_relative 'osia_helper'
j = get_json
apps = j['projects']
i = 0
apps.select {|a| a['screenshots'].nil? }.each do |a|
# if a['screenshots'].nil?
puts "#{i + 1}. Screenshots missing for #{a['title']}"
i = i + 1
# end
end
# apps.select {|a| a['screenshots']!=nil }.each do |a|
# s = a['screenshots']
# if s.count==0
# puts s
# puts "#{i + 1}. Screenshots missing for #{a['title']}"
# i = i + 1
# end
# end