appjam 0.1.8.pre3 → 0.1.8.pre5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -44,29 +44,36 @@ module Appjam
44
44
  else
45
45
  puts colorize("Usage: appjam [OPTIONS] [ARGS]")
46
46
  puts
47
- puts colorize("Appjam Options")
47
+ puts colorize("Project Options")
48
48
  opt = [{ :category => "objective c (iphone)", :command => "appjam project todo", :description => "generate iphone project skeleton"},
49
- { :category => "objective c (iphone)", :command => "appjam model user", :description => "generate iphone project data model"},
50
- { :category => "objective c (iphone)", :command => "appjam submodule three20", :description => "fetch three20 subproject from github.com"},
51
- { :category => "objective c (iphone)", :command => "appjam submodule asihttp", :description => "fetch asi-http-request subproject from github.com"},
52
- { :category => "objective c (iphone)", :command => "appjam submodule json", :description => "fetch json-framework subproject from github.com"},
53
- { :category => "objective c (iphone)", :command => "appjam submodule kissxml", :description => "fetch kissxml subproject from code.google.com"}
49
+ { :category => "objective c (iphone)", :command => "appjam model user", :description => "generate iphone project data model"}
54
50
  ]
55
51
  View.render(opt, RENDER_OPTIONS)
52
+ puts
53
+ puts colorize("Submodule Options")
54
+ puts
55
+ opt = [
56
+ { :category => "objective c (iphone)", :command => "appjam submodule three20", :description => "fetch three20 subproject from github.com"},
57
+ { :category => "objective c (iphone)", :command => "appjam submodule asihttp", :description => "fetch asi-http-request subproject from github.com"},
58
+ { :category => "objective c (iphone)", :command => "appjam submodule json", :description => "fetch json-framework subproject from github.com"},
59
+ { :category => "objective c (iphone)", :command => "appjam submodule kissxml", :description => "fetch kissxml subproject from code.google.com"}]
60
+ View.render(opt, RENDER_OPTIONS)
56
61
  puts
57
- puts colorize("Gist Sub Options")
58
- gitopt = []
62
+ puts colorize("Gist Options")
59
63
  require 'yaml'
60
64
  g = YAML.load_file(File.expand_path(File.dirname(__FILE__) + '/gist.yml'))
61
65
 
62
66
  g.each_pair {|key,value|
67
+ gitopt = []
68
+ puts
69
+ puts colorize("Gist #{key} Options")
63
70
  g[key].each { |k|
64
71
  k.each_pair { |k1,v1|
65
- gitopt << {:category => "design pattern", :command => "appjam gist #{k1}", :description => "#{k[k1][2]['description']}" }
72
+ gitopt << {:category => "#{key.gsub('_',' ')}", :command => "appjam gist #{k1}", :description => "#{k[k1][2]['description']}" }
66
73
  }
67
74
  }
68
- }
69
- View.render(gitopt, RENDER_OPTIONS)
75
+ View.render(gitopt, RENDER_OPTIONS)
76
+ }
70
77
  puts
71
78
  end
72
79
  end
@@ -9,4 +9,15 @@ design_pattern:
9
9
  - id : 985279
10
10
  - name : Delegation
11
11
  - description : Delegation Snippet for Objective C
12
- - email : eiffelqiu@gmail.com
12
+ - email : eiffelqiu@gmail.com
13
+ - injection:
14
+ - id : 986087
15
+ - name : Injection
16
+ - description : Ruby's injection method for Objective C
17
+ - email : eiffelqiu@gmail.com
18
+ utiliy_function:
19
+ - get_ip_address:
20
+ - id : 986132
21
+ - name : GetIPAddress
22
+ - description : Get IP address in iphone
23
+ - email : eiffelqiu@gmail.com
@@ -1,6 +1,7 @@
1
1
  # osx noise
2
2
  .DS_Store
3
3
  profile
4
+ xcuserdata
4
5
 
5
6
  # Textmate - if you build your xcode projects with it
6
7
  *.tm_build_errors
@@ -12,12 +13,14 @@ profile
12
13
  *.perspective
13
14
  *.perspectivev3
14
15
  *.pbxuser
16
+ *.moved-aside
17
+ *.xcworkspace
15
18
 
16
19
  # Generated files
17
20
  VersionX-revision.h
18
21
 
19
22
  # build products
20
- build/
23
+ build/*
21
24
  *.[oa]
22
25
 
23
26
  # Other source repository archive directories (protects when importing)
@@ -3,7 +3,7 @@ module Appjam
3
3
  MAJOR = 0
4
4
  MINOR = 1
5
5
  PATCH = 8
6
- BUILD = 'pre3'
6
+ BUILD = 'pre5'
7
7
 
8
8
  STRING = [MAJOR, MINOR, PATCH, BUILD].compact.join('.').chomp('.')
9
9
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appjam
3
3
  version: !ruby/object:Gem::Version
4
- hash: 1923832063
4
+ hash: 1923832051
5
5
  prerelease: 6
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
9
  - 8
10
10
  - pre
11
- - 3
12
- version: 0.1.8.pre3
11
+ - 5
12
+ version: 0.1.8.pre5
13
13
  platform: ruby
14
14
  authors:
15
15
  - Eiffel Q
@@ -17,7 +17,7 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2011-05-22 00:00:00 Z
20
+ date: 2011-05-23 00:00:00 Z
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency
23
23
  type: :runtime