lib/deliver/app_screenshot.rb in deliver-0.9.0.pre2 vs lib/deliver/app_screenshot.rb in deliver-0.9.0
- old
+ new
@@ -14,10 +14,12 @@
IOS_47 = "iOS-4.7-in"
# iPhone 6 Plus
IOS_55 = "iOS-5.5-in"
# iPad
IOS_IPAD = "iOS-iPad"
+ # Watch
+ IOS_APPLE_WATCH= "iOS-Apple-Watch"
# Mac
MAC = "Mac"
end
# @return [Deliver::ScreenSize] the screen size (device type)
@@ -104,9 +106,12 @@
ScreenSize::MAC => [
[1280, 800],
[1440, 900],
[2880, 1800],
[2560, 1600]
+ ],
+ ScreenSize::IOS_APPLE_WATCH=> [
+ [312, 390]
]
}
devices.each do |device_type, array|
array.each do |resolution|
\ No newline at end of file