rswift 0.1.2 → 0.1.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: 02eac7f37932040d9c8d9bb0b1d50e225632f5ee
4
- data.tar.gz: a00e6f0ffa2cb5f6baea99b90b88a3a0b68860ff
3
+ metadata.gz: 7fec1897f9edc1b14192e6e790672217b54c3163
4
+ data.tar.gz: 04ed66fdf5b8ff28501337b8d5f906323627d2ea
5
5
  SHA512:
6
- metadata.gz: c0194408d9a61e18e4ec209829ce845baf7add58e65135c0e57f883bcb2bd645e921b554d44f138ff2444199a03105f080ada1cc2f2fd440669755ba53f45d7c
7
- data.tar.gz: cd90b6adbdfc4e5f91a4ff7732a2897ee557d13c71ac42ab1986469ccc2be3cf97b405172659e05a14280968dd7b6f958527bcd3cf26e538c20968d34d5a2ce2
6
+ metadata.gz: eb971dec68a01d533f7e44231e0f6d1c813dd0022db52ec91a8bdcc874f0e79e9a6faf1c3fb8fa2437e77e24fb40c54b1c1e4ef636008d13dcd57d985ee1b84e
7
+ data.tar.gz: 7b7ccff09dcb9e6f4998444e34e9f3a31545ea9865707a5c4859710fce45a61cbeae5e272e4c07f2db8b428cff61eb60d5fd2c0a209fe8c5c7a387ff1c045d77
@@ -6,7 +6,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
6
6
  var window: UIWindow?
7
7
 
8
8
  func application(application: UIApplication,
9
- didFinishLaunchingWithOptions launchOptions: [NSObject:AnyObject]?) -> Bool {
9
+ didFinishLaunchingWithOptions launchOptions: [NSObject:AnyObject]?) -> Bool {
10
10
  window = UIWindow(frame: UIScreen.mainScreen().bounds)
11
11
  window?.rootViewController = UIViewController()
12
12
  window?.backgroundColor = UIColor.whiteColor()
@@ -5,22 +5,21 @@ class AppDelegate: NSObject, NSApplicationDelegate {
5
5
  var window: NSWindow?
6
6
 
7
7
  func applicationDidFinishLaunching(aNotification: NSNotification) {
8
- guard let appName = NSBundle.mainBundle().infoDictionary?["CFBundleName"] as? String else {
9
- return
10
- }
11
-
8
+ guard let appName = NSBundle.mainBundle().infoDictionary?["CFBundleName"]
9
+ as? String else { return }
12
10
  let mainMenu = NSMenu(title: appName)
13
11
  let appNameMenuItem = NSMenuItem(title: "", action: nil, keyEquivalent: "")
14
12
  let appNameMenu = NSMenu(title: appName)
15
13
  appNameMenu.addItemWithTitle("Quit \(appName)",
16
- action: #selector(terminate), keyEquivalent: "q")
14
+ action: #selector(terminate),
15
+ keyEquivalent: "q")
17
16
  appNameMenuItem.submenu = appNameMenu
18
17
  mainMenu.addItem(appNameMenuItem)
19
18
  NSApp.mainMenu = mainMenu
20
19
 
21
20
  window = NSWindow(contentRect: NSMakeRect(240, 180, 480, 360),
22
21
  styleMask: NSTitledWindowMask | NSClosableWindowMask |
23
- NSMiniaturizableWindowMask | NSResizableWindowMask,
22
+ NSMiniaturizableWindowMask | NSResizableWindowMask,
24
23
  backing: .Buffered,
25
24
  defer: false)
26
25
  window?.title = appName
@@ -6,7 +6,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
6
6
  var window: UIWindow?
7
7
 
8
8
  func application(application: UIApplication,
9
- didFinishLaunchingWithOptions launchOptions: [NSObject:AnyObject]?) -> Bool {
9
+ didFinishLaunchingWithOptions launchOptions: [NSObject:AnyObject]?) -> Bool {
10
10
  window = UIWindow(frame: UIScreen.mainScreen().bounds)
11
11
  window?.rootViewController = UIViewController()
12
12
  window?.backgroundColor = UIColor.whiteColor()
@@ -1,3 +1,3 @@
1
1
  module RSwift
2
- VERSION = '0.1.2'
2
+ VERSION = '0.1.3'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rswift
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lukasz Wolanczyk
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-13 00:00:00.000000000 Z
11
+ date: 2016-04-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler