1
0
mirror of https://github.com/dkhamsing/open-source-ios-apps.git synced 2024-12-23 06:48:33 +01:00
App-Open-Source-per-iPhone-.../.github/osia_screenshots_missing.rb

22 lines
443 B
Ruby
Raw Normal View History

2016-10-04 20:34:19 +02:00
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