learn-generate 1.0.11 → 1.0.12

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: 56e537562095efb10cdce9a16f30f63390167752
4
- data.tar.gz: 784c0d9d57b736cf2abcf8879071656971beebbf
3
+ metadata.gz: 67cd11343f38a13fa9d283cfec02d0fb379b9eca
4
+ data.tar.gz: 8f26d60fc1c3d90693eca4c67cbe948974b07eee
5
5
  SHA512:
6
- metadata.gz: 6e9ecd1ae1bd207bf5f04d2f036eb75f60d824f8302850595bfbf1f6346e4b5ecd7ee8c20a3c8bf33034a4ea9c2d745126147e4475a8bc8bb119064f4e924e2f
7
- data.tar.gz: fe8aca0311368c1d9248573487418316dad8e1634538364c99e0532d4eb7ebc9837a016e41ca3e35855b82907a01f76c38774ad976ad7fabec03815f9a2b2514
6
+ metadata.gz: cd37210b05a0e829b7383802322b40863cdfd552ed24be5d495a2d2643ebf3a2c85c002ccb1351290af7e1a247abd6d0d27444b5a6a6c9f52e589e00a1644a0b
7
+ data.tar.gz: 10f0d52068de5a1b443cfc43233df17802d0e7ccfe0948513101dc111f1d972cde88b702630760f301b05c35a766690b69e019d1f15f595405f95b1ff5e9cbc2
@@ -0,0 +1,15 @@
1
+ module LearnGenerate
2
+ class IosLab
3
+ class LiftoffBackup
4
+ def backup
5
+ `mv .liftoffrc{,.bak}`
6
+ `mv .liftoff{,.bak}`
7
+ end
8
+
9
+ def restore
10
+ `mv .liftoffrc{.bak,}`
11
+ `mv .liftoff{.bak,}`
12
+ end
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,65 @@
1
+ # TODO:
2
+ # DONE 1. check for liftoff -> brew ls --versions liftoff (if not installed, instruct user to run brew tap thoughtbot/formulae && brew install liftoff)
3
+ # DONE 2. if there is a .liftoffrc || .liftoff file/dir, backup
4
+ # DONE 3. copy either bundled template or in templates_dir
5
+ # DONE 4. run liftoff
6
+ # DONE 5. restore .liftoffrc && .liftoff (if necessary)
7
+ module LearnGenerate
8
+ class IosLab
9
+ attr_reader :lab_name, :liftoff_installed, :liftoffrc_exists,
10
+ :liftoff_dir_exists, :liftoff_backup, :full_templates_path,
11
+ :has_templates_dir
12
+
13
+ def initialize(lab_name)
14
+ @lab_name = lab_name
15
+ @liftoff_installed = !(`brew ls --versions liftoff 2>/dev/null`.strip.empty?)
16
+ @liftoffrc_exists = File.exists?('.liftoffrc')
17
+ @liftoff_dir_exists = File.exists?('.liftoff')
18
+ @liftoff_backup = LearnGenerate::IosLab::LiftoffBackup.new
19
+ templates_path = File.expand_path('~/.learn-generate/templates')
20
+ templates_git_path = File.expand_path('~/.learn-generate/templates/.git')
21
+ @has_templates_dir = File.exists?(templates_path) && File.directory?(templates_path) && File.exists?(templates_git_path) && File.directory?(templates_git_path)
22
+ @full_templates_path = templates_path + '/templates'
23
+ end
24
+
25
+ def execute
26
+ exit_if_no_liftoff
27
+ backup_if_necessary
28
+ copy_settings_files
29
+ system("liftoff -n #{lab_name}")
30
+ restore_if_necessary
31
+ end
32
+
33
+ private
34
+
35
+ def exit_if_no_liftoff
36
+ abort 'Please install Liftoff by running `brew tap thoughtbot/formulae && brew install liftoff`' unless liftoff_installed
37
+ end
38
+
39
+ def backup_if_necessary
40
+ if liftoff_settings_files_exist?
41
+ liftoff_backup.backup
42
+ end
43
+ end
44
+
45
+ def restore_if_necessary
46
+ `rm -rf .liftoff .liftoffrc`
47
+
48
+ if liftoff_settings_files_exist?
49
+ liftoff_backup.restore
50
+ end
51
+ end
52
+
53
+ def liftoff_settings_files_exist?
54
+ liftoffrc_exists || liftoff_dir_exists
55
+ end
56
+
57
+ def copy_settings_files
58
+ if has_templates_dir
59
+ `cp -a #{full_templates_path}/ios/. #{FileUtils.pwd}`
60
+ else
61
+ `cp -a #{LearnGenerate::FileFinder.location_to_dir('../templates/ios')}/. #{FileUtils.pwd}`
62
+ end
63
+ end
64
+ end
65
+ end
@@ -20,28 +20,37 @@ module LearnGenerate
20
20
  end
21
21
 
22
22
  def create
23
- copy
24
- name_lab
25
- FileUtils.cd("#{lab_name}") do
26
- touch_spec unless ['js', 'sinatra-mvc', 'front-end', 'python'].include?(template_type)
27
- touch_dot_learn
28
- build_dot_learn
29
- git_init
30
- bundle_init unless ['js', 'front-end', 'python'].include?(template_type)
31
- edit_readme
32
- fundamental_helper if template_type == "fundamental-ruby"
33
- command_line_helper if template_type == "command-line"
34
- sql_helper if template_type == "SQL"
35
- rake_helper if template_type == "rake"
36
- sinatra_mvc_helper if template_type == "sinatra-mvc"
37
- sinatra_classic_helper if template_type == "sinatra-classic"
38
- js_helper if template_type == "js"
39
- fe_helper if template_type == "front-end"
40
- kids_helper if template_type == "kids"
23
+ if template_type != 'ios'
24
+ copy
25
+ name_lab
26
+ FileUtils.cd("#{lab_name}") do
27
+ touch_spec unless ['js', 'sinatra-mvc', 'front-end', 'python'].include?(template_type)
28
+ touch_dot_learn
29
+ build_dot_learn
30
+ git_init
31
+ bundle_init unless ['js', 'front-end', 'python'].include?(template_type)
32
+ edit_readme
33
+ fundamental_helper if template_type == "fundamental-ruby"
34
+ command_line_helper if template_type == "command-line"
35
+ sql_helper if template_type == "SQL"
36
+ rake_helper if template_type == "rake"
37
+ sinatra_mvc_helper if template_type == "sinatra-mvc"
38
+ sinatra_classic_helper if template_type == "sinatra-classic"
39
+ js_helper if template_type == "js"
40
+ fe_helper if template_type == "front-end"
41
+ kids_helper if template_type == "kids"
42
+ end
43
+ else
44
+ create_ios_lab
41
45
  end
46
+
42
47
  success_message
43
48
  end
44
49
 
50
+ def create_ios_lab
51
+ LearnGenerate::IosLab.new(lab_name).execute
52
+ end
53
+
45
54
  def copy
46
55
  if has_templates_dir
47
56
  FileUtils.cp_r("#{full_templates_path}/#{template_type}", FileUtils.pwd)
@@ -1,3 +1,3 @@
1
1
  module LearnGenerate
2
- VERSION = '1.0.11'
2
+ VERSION = '1.0.12'
3
3
  end
@@ -7,4 +7,6 @@ require 'learn_generate/helpers/gemfile-helper'
7
7
  require 'learn_generate/helpers/dot-learn-helper'
8
8
  require 'learn_generate/file_finder'
9
9
  require 'learn_generate/template_loader'
10
+ require 'learn_generate/ios_lab/liftoff_backup'
11
+ require 'learn_generate/ios_lab'
10
12
  require 'learn_generate/template_maker'
@@ -0,0 +1,92 @@
1
+ ############################################################################
2
+ # The following keys can be used to configure defaults for project creation
3
+ # project_name:
4
+ company: The Flatiron School
5
+ author: iOS Staff
6
+ prefix: FIS
7
+ company_identifier: com.flatiron
8
+ ############################################################################
9
+
10
+ configure_git: true
11
+ warnings_as_errors: false
12
+ enable_static_analyzer: true
13
+ indentation_level: 4
14
+ use_tabs: false
15
+ use_cocoapods: true
16
+ strict_prompts: false
17
+ enable_settings: false
18
+
19
+ templates:
20
+ - README.md: README.md
21
+ - test_runner.sh: test_runner.sh
22
+
23
+ warnings:
24
+ - GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED
25
+ - GCC_WARN_MISSING_PARENTHESES
26
+ - GCC_WARN_ABOUT_RETURN_TYPE
27
+ - GCC_WARN_SIGN_COMPARE
28
+ - GCC_WARN_CHECK_SWITCH_STATEMENTS
29
+ - GCC_WARN_UNUSED_FUNCTION
30
+ - GCC_WARN_UNUSED_LABEL
31
+ - GCC_WARN_UNUSED_VALUE
32
+ - GCC_WARN_UNUSED_VARIABLE
33
+ - GCC_WARN_SHADOW
34
+ - GCC_WARN_64_TO_32_BIT_CONVERSION
35
+ - GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS
36
+ - GCC_WARN_ABOUT_MISSING_NEWLINE
37
+ - GCC_WARN_UNDECLARED_SELECTOR
38
+ - GCC_WARN_TYPECHECK_CALLS_TO_PRINTF
39
+ - GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS
40
+ - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS
41
+ - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF
42
+ - CLANG_WARN_IMPLICIT_SIGN_CONVERSION
43
+ - CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION
44
+ - CLANG_WARN_EMPTY_BODY
45
+ - CLANG_WARN_ENUM_CONVERSION
46
+ - CLANG_WARN_INT_CONVERSION
47
+ - CLANG_WARN_CONSTANT_CONVERSION
48
+
49
+
50
+ project_template: ui
51
+
52
+
53
+ app_target_templates:
54
+ bare:
55
+ - <%= project_name %>:
56
+ - <%= prefix %>AppDelegate.h
57
+ - <%= prefix %>AppDelegate.m
58
+ - Resources:
59
+ - Images.xcassets
60
+ - LaunchScreen.xib
61
+ - Other-Sources:
62
+ - <%= project_name %>-Info.plist
63
+ - <%= project_name %>-Prefix.pch
64
+ - main.m
65
+ ui:
66
+ - <%= project_name %>:
67
+ - <%= prefix %>AppDelegate.h
68
+ - <%= prefix %>AppDelegate.m
69
+ - Main.storyboard
70
+ - Resources:
71
+ - Images.xcassets
72
+ - LaunchScreen.xib
73
+ - Other-Sources:
74
+ - <%= project_name %>-Info.plist
75
+ - <%= project_name %>-Prefix.pch
76
+ - main.m
77
+
78
+ test_target_templates:
79
+ bare:
80
+ - UnitTests:
81
+ - Resources:
82
+ - UnitTests-Info.plist
83
+ - UnitTests-Prefix.pch
84
+ - Tests:
85
+ ui:
86
+ - UnitTests:
87
+ - Resources:
88
+ - UnitTests-Info.plist
89
+ - UnitTests-Prefix.pch
90
+ - Tests:
91
+
92
+ run_script_phases:
@@ -0,0 +1,3 @@
1
+ languages:
2
+ - objc
3
+ tags:
@@ -0,0 +1,15 @@
1
+ //
2
+ // <%= prefix %>AppDelegate.h
3
+ // <%= project_name %>
4
+ //
5
+ // Created by <%= author %> on <%= Time.now.strftime("%-m/%-d/%y") %>
6
+ // Copyright (c) <%= Time.now.strftime('%Y') %> <%= company %>. All rights reserved.
7
+ //
8
+
9
+ #import <UIKit/UIKit.h>
10
+
11
+ @interface <%= prefix %>AppDelegate : UIResponder <UIApplicationDelegate>
12
+
13
+ @property (strong, nonatomic) UIWindow *window;
14
+
15
+ @end
@@ -0,0 +1,45 @@
1
+ //
2
+ // <%= prefix %>AppDelegate.m
3
+ // <%= project_name %>
4
+ //
5
+ // Created by <%= author %> on <%= Time.now.strftime("%-m/%-d/%y") %>
6
+ // Copyright (c) <%= Time.now.strftime('%Y') %> <%= company %>. All rights reserved.
7
+ //
8
+
9
+ #import "<%= prefix %>AppDelegate.h"
10
+
11
+ @interface <%= prefix %>AppDelegate ()
12
+
13
+ @end
14
+
15
+
16
+ @implementation <%= prefix %>AppDelegate
17
+
18
+ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
19
+ // Override point for customization after application launch.
20
+ return YES;
21
+ }
22
+
23
+ - (void)applicationWillResignActive:(UIApplication *)application {
24
+ // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
25
+ // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.
26
+ }
27
+
28
+ - (void)applicationDidEnterBackground:(UIApplication *)application {
29
+ // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
30
+ // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
31
+ }
32
+
33
+ - (void)applicationWillEnterForeground:(UIApplication *)application {
34
+ // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.
35
+ }
36
+
37
+ - (void)applicationDidBecomeActive:(UIApplication *)application {
38
+ // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
39
+ }
40
+
41
+ - (void)applicationWillTerminate:(UIApplication *)application {
42
+ // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
43
+ }
44
+
45
+ @end
@@ -0,0 +1,42 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>CFBundleDevelopmentRegion</key>
6
+ <string>en</string>
7
+ <key>CFBundleDisplayName</key>
8
+ <string>${PRODUCT_NAME}</string>
9
+ <key>CFBundleExecutable</key>
10
+ <string>${EXECUTABLE_NAME}</string>
11
+ <key>CFBundleIdentifier</key>
12
+ <string><%= company_identifier %>.${PRODUCT_NAME:rfc1034identifier}</string>
13
+ <key>CFBundleInfoDictionaryVersion</key>
14
+ <string>6.0</string>
15
+ <key>CFBundleName</key>
16
+ <string>${PRODUCT_NAME}</string>
17
+ <key>CFBundlePackageType</key>
18
+ <string>APPL</string>
19
+ <key>CFBundleShortVersionString</key>
20
+ <string>1.0</string>
21
+ <key>CFBundleSignature</key>
22
+ <string>????</string>
23
+ <key>CFBundleVersion</key>
24
+ <string>1.0</string>
25
+ <key>LSRequiresIPhoneOS</key>
26
+ <true/>
27
+ <key>UIRequiredDeviceCapabilities</key>
28
+ <array>
29
+ <string>armv7</string>
30
+ </array>
31
+ <key>UISupportedInterfaceOrientations</key>
32
+ <array>
33
+ <string>UIInterfaceOrientationPortrait</string>
34
+ </array>
35
+ <key>UILaunchStoryboardName</key>
36
+ <string>LaunchScreen</string>
37
+ <% if project_template == "ui" %>
38
+ <key>UIMainStoryboardFile</key>
39
+ <string>Main</string>
40
+ <% end %>
41
+ </dict>
42
+ </plist>
@@ -0,0 +1,10 @@
1
+ #import <Availability.h>
2
+
3
+ #ifndef __IPHONE_<%= deployment_target.to_s.gsub('.', '_') %>
4
+ #warning "This project uses features only available in iOS SDK <%= deployment_target %> and later."
5
+ #endif
6
+
7
+ #ifdef __OBJC__
8
+ #import <UIKit/UIKit.h>
9
+ #import <Foundation/Foundation.h>
10
+ #endif
@@ -0,0 +1,17 @@
1
+ source 'https://github.com/CocoaPods/Specs'
2
+
3
+ platform :ios, '<%= deployment_target %>'
4
+
5
+ # Add Application pods here
6
+
7
+
8
+ target :unit_tests, :exclusive => true do
9
+ inhibit_all_warnings!
10
+ link_with '<%= test_target_name %>'
11
+
12
+ pod 'Specta', '~> 1.0'
13
+ pod 'Expecta', '~> 1.0'
14
+ pod 'OCMockito', '~> 1.0'
15
+ pod 'OHHTTPStubs', '~> 4.0'
16
+ pod 'Swizzlean', '~> 0.2'
17
+ end
@@ -0,0 +1,20 @@
1
+ # Before you post this:
2
+
3
+ Manage Scheme > Share Scheme
4
+ Edit the main Scheme
5
+ Test -> Post-Actions -> Add Run Script Action
6
+ Choose Provide build settings from man project
7
+
8
+ ```
9
+ LOG_PATH=`echo "${BUILD_DIR}" | sed "s/Build\/Products/Logs\/Test/"`
10
+ "${SRCROOT}/test_runner.sh" "$LOG_PATH" "${SRCROOT}"
11
+ ```
12
+ DELETE THIS WHEN YOU DO THIS
13
+
14
+ # <%= project_name %>
15
+
16
+ ## Instructions
17
+
18
+ ## Advanced
19
+
20
+ ## Hints
@@ -0,0 +1,22 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>CFBundleDevelopmentRegion</key>
6
+ <string>en</string>
7
+ <key>CFBundleExecutable</key>
8
+ <string>${EXECUTABLE_NAME}</string>
9
+ <key>CFBundleIdentifier</key>
10
+ <string><%= company_identifier %>.${PRODUCT_NAME:rfc1034identifier}</string>
11
+ <key>CFBundleInfoDictionaryVersion</key>
12
+ <string>6.0</string>
13
+ <key>CFBundlePackageType</key>
14
+ <string>BNDL</string>
15
+ <key>CFBundleShortVersionString</key>
16
+ <string>1.0</string>
17
+ <key>CFBundleSignature</key>
18
+ <string>????</string>
19
+ <key>CFBundleVersion</key>
20
+ <string>1</string>
21
+ </dict>
22
+ </plist>
@@ -0,0 +1,11 @@
1
+ #import "<%= project_name %>-Prefix.pch"
2
+
3
+ #ifdef __OBJC__
4
+ <% if use_cocoapods %>
5
+ #define EXP_SHORTHAND
6
+ #import <Specta/Specta.h>
7
+ #import <Expecta/Expecta.h>
8
+ <% else %>
9
+ @import XCTest;
10
+ <% end %>
11
+ #endif
@@ -0,0 +1,2 @@
1
+ *.pbxproj merge=union
2
+ *.strings text diff
@@ -0,0 +1,25 @@
1
+ # OS X Finder
2
+ .DS_Store
3
+
4
+ # Xcode per-user config
5
+ *.mode1
6
+ *.mode1v3
7
+ *.mode2v3
8
+ *.perspective
9
+ *.perspectivev3
10
+ *.pbxuser
11
+ xcuserdata
12
+ *.xccheckout
13
+
14
+ # Build products
15
+ build/
16
+ *.o
17
+ *.LinkFileList
18
+ *.hmap
19
+
20
+ # Automatic backup files
21
+ *~.nib/
22
+ *.swp
23
+ *~
24
+ *.dat
25
+ *.dep
@@ -0,0 +1,17 @@
1
+ //
2
+ // main.m
3
+ // <%= project_name %>
4
+ //
5
+ // Created by <%= author %> on <%= Time.now.strftime("%-m/%-d/%y") %>
6
+ // Copyright (c) <%= Time.now.strftime('%Y') %> <%= company %>. All rights reserved.
7
+ //
8
+
9
+ #import <UIKit/UIKit.h>
10
+ #import "<%= prefix %>AppDelegate.h"
11
+
12
+ int main(int argc, char *argv[])
13
+ {
14
+ @autoreleasepool {
15
+ return UIApplicationMain(argc, argv, nil, NSStringFromClass([<%= prefix %>AppDelegate class]));
16
+ }
17
+ }
@@ -0,0 +1,13 @@
1
+ #!/bin/bash
2
+ set -e
3
+ CURR_DIR="$2";
4
+ cd "$1";
5
+ gunzip -c -S .xcactivitylog `ls -t | grep 'xcactivitylog' | head -n1` > output2.log;
6
+ awk '{ gsub("\r", "\n"); print }' output2.log > unixfile.txt;
7
+ LOG=`echo "puts /(^Test Suite '[\w-]+?\.xctest' started at .+?Test Suite '[\w-]+?\.xctest' (failed|passed).+?\.$)/m.match(File.read(\"unixfile.txt\"))" | ruby`;
8
+ cd "$CURR_DIR"
9
+ [[ -s "/Users/$USER/.rvm/scripts/rvm" ]] && source "/Users/$USER/.rvm/scripts/rvm"
10
+ if [[ -z "$(which learn-xcpretty)" ]]; then
11
+ gem install learn-xcpretty
12
+ fi
13
+ echo "$LOG" | learn-xcpretty -t --report learn
@@ -0,0 +1,93 @@
1
+ ############################################################################
2
+ # The following keys can be used to configure defaults for project creation
3
+ # project_name:
4
+ company: The Flatiron School
5
+ author: iOS Staff
6
+ prefix: FIS
7
+ company_identifier: com.flatironschool
8
+ ############################################################################
9
+
10
+ configure_git: true
11
+ warnings_as_errors: false
12
+ enable_static_analyzer: true
13
+ indentation_level: 4
14
+ use_tabs: false
15
+ use_cocoapods: true
16
+ strict_prompts: false
17
+ enable_settings: false
18
+
19
+ templates:
20
+ - .learn: .learn
21
+ - README.md: README.md
22
+ - test_runner.sh: test_runner.sh
23
+
24
+ warnings:
25
+ - GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED
26
+ - GCC_WARN_MISSING_PARENTHESES
27
+ - GCC_WARN_ABOUT_RETURN_TYPE
28
+ - GCC_WARN_SIGN_COMPARE
29
+ - GCC_WARN_CHECK_SWITCH_STATEMENTS
30
+ - GCC_WARN_UNUSED_FUNCTION
31
+ - GCC_WARN_UNUSED_LABEL
32
+ - GCC_WARN_UNUSED_VALUE
33
+ - GCC_WARN_UNUSED_VARIABLE
34
+ - GCC_WARN_SHADOW
35
+ - GCC_WARN_64_TO_32_BIT_CONVERSION
36
+ - GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS
37
+ - GCC_WARN_ABOUT_MISSING_NEWLINE
38
+ - GCC_WARN_UNDECLARED_SELECTOR
39
+ - GCC_WARN_TYPECHECK_CALLS_TO_PRINTF
40
+ - GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS
41
+ - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS
42
+ - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF
43
+ - CLANG_WARN_IMPLICIT_SIGN_CONVERSION
44
+ - CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION
45
+ - CLANG_WARN_EMPTY_BODY
46
+ - CLANG_WARN_ENUM_CONVERSION
47
+ - CLANG_WARN_INT_CONVERSION
48
+ - CLANG_WARN_CONSTANT_CONVERSION
49
+
50
+
51
+ project_template: ui
52
+
53
+
54
+ app_target_templates:
55
+ bare:
56
+ - <%= project_name %>:
57
+ - <%= prefix %>AppDelegate.h
58
+ - <%= prefix %>AppDelegate.m
59
+ - Resources:
60
+ - Images.xcassets
61
+ - LaunchScreen.xib
62
+ - Other-Sources:
63
+ - <%= project_name %>-Info.plist
64
+ - <%= project_name %>-Prefix.pch
65
+ - main.m
66
+ ui:
67
+ - <%= project_name %>:
68
+ - <%= prefix %>AppDelegate.h
69
+ - <%= prefix %>AppDelegate.m
70
+ - Main.storyboard
71
+ - Resources:
72
+ - Images.xcassets
73
+ - LaunchScreen.xib
74
+ - Other-Sources:
75
+ - <%= project_name %>-Info.plist
76
+ - <%= project_name %>-Prefix.pch
77
+ - main.m
78
+
79
+ test_target_templates:
80
+ bare:
81
+ - UnitTests:
82
+ - Resources:
83
+ - UnitTests-Info.plist
84
+ - UnitTests-Prefix.pch
85
+ - Tests:
86
+ ui:
87
+ - UnitTests:
88
+ - Resources:
89
+ - UnitTests-Info.plist
90
+ - UnitTests-Prefix.pch
91
+ - Tests:
92
+
93
+ run_script_phases:
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: learn-generate
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.11
4
+ version: 1.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Flatiron School
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-23 00:00:00.000000000 Z
11
+ date: 2015-07-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -59,6 +59,8 @@ files:
59
59
  - lib/learn_generate/helpers/dot-learn-helper.rb
60
60
  - lib/learn_generate/helpers/gemfile-helper.rb
61
61
  - lib/learn_generate/helpers/template-helper.rb
62
+ - lib/learn_generate/ios_lab.rb
63
+ - lib/learn_generate/ios_lab/liftoff_backup.rb
62
64
  - lib/learn_generate/template_loader.rb
63
65
  - lib/learn_generate/template_maker.rb
64
66
  - lib/learn_generate/version.rb
@@ -89,6 +91,21 @@ files:
89
91
  - lib/templates/fundamental-ruby/README.md
90
92
  - lib/templates/fundamental-ruby/lib/file.rb
91
93
  - lib/templates/fundamental-ruby/spec/spec_helper.rb
94
+ - lib/templates/ios/.liftoff/.liftoffrc
95
+ - lib/templates/ios/.liftoff/templates/.learn
96
+ - lib/templates/ios/.liftoff/templates/<%= prefix %>AppDelegate.h
97
+ - lib/templates/ios/.liftoff/templates/<%= prefix %>AppDelegate.m
98
+ - lib/templates/ios/.liftoff/templates/<%= project_name %>-Info.plist
99
+ - lib/templates/ios/.liftoff/templates/<%= project_name %>-Prefix.pch
100
+ - lib/templates/ios/.liftoff/templates/Podfile
101
+ - lib/templates/ios/.liftoff/templates/README.md
102
+ - lib/templates/ios/.liftoff/templates/UnitTests-Info.plist
103
+ - lib/templates/ios/.liftoff/templates/UnitTests-Prefix.pch
104
+ - lib/templates/ios/.liftoff/templates/gitattributes
105
+ - lib/templates/ios/.liftoff/templates/gitignore
106
+ - lib/templates/ios/.liftoff/templates/main.m
107
+ - lib/templates/ios/.liftoff/templates/test_runner.sh
108
+ - lib/templates/ios/.liftoffrc
92
109
  - lib/templates/js/README.md
93
110
  - lib/templates/js/css/.keep
94
111
  - lib/templates/js/images/.keep
@@ -183,7 +200,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
183
200
  version: '0'
184
201
  requirements: []
185
202
  rubyforge_project:
186
- rubygems_version: 2.4.5
203
+ rubygems_version: 2.4.8
187
204
  signing_key:
188
205
  specification_version: 4
189
206
  summary: A lab generator