pindah 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/.gemtest ADDED
File without changes
data/History.txt CHANGED
@@ -1,6 +1,12 @@
1
- === 0.1.0 / ??
1
+ === 0.1.2 / 2011-06-06
2
2
 
3
- * 1 major enhancement
3
+ * Silence Rake deprecation warnings.
4
4
 
5
- * Birthday!
5
+ === 0.1.1 / 2011-04-02
6
6
 
7
+ * Declare package explicitly to work around Mirah bug.
8
+ * Make Activity creation optional.
9
+
10
+ === 0.1.0 / 2011-02-08
11
+
12
+ * Birthday!
data/README.md CHANGED
@@ -13,7 +13,7 @@ download "platform" packages corresponding with Android versions you
13
13
  wish to develop against. You'll need to install "Android SDK Platform
14
14
  tools" and at least one platform revision to get started. At the time
15
15
  of this writing, Android 2.1 (revision 7)
16
- [covers over 90% of the market](http://developer.android.com/resources/dashboard/platform-versions.html)
16
+ [covers over 94% of the market](http://developer.android.com/resources/dashboard/platform-versions.html)
17
17
  and is a reasonable target for new applications. Once the platform
18
18
  tools are installed, place the SDK's <tt>platform-tools/</tt>
19
19
  directory on your $PATH as well.
data/lib/pindah.rb CHANGED
@@ -12,7 +12,11 @@ end
12
12
  require "mirah"
13
13
 
14
14
  module Pindah
15
- VERSION = '0.1.1'
15
+ class << self
16
+ include Rake::DSL
17
+ end
18
+
19
+ VERSION = '0.1.2'
16
20
 
17
21
  def self.infer_sdk_location(path)
18
22
  tools = path.split(":").detect {|p| File.exists? "#{p}/android" }
data/templates/build.xml CHANGED
@@ -5,6 +5,9 @@
5
5
  <pathelement path="${sdk.dir}/tools/lib/sdklib.jar" />
6
6
  <pathelement path="${sdk.dir}/tools/lib/androidprefs.jar" />
7
7
  </path>
8
+ <path id="java.classpath">
9
+ <pathelement location="${classpath}" />
10
+ </path>
8
11
 
9
12
  <taskdef name="setup"
10
13
  classname="com.android.ant.SetupTask"
@@ -20,8 +23,9 @@
20
23
 
21
24
  <target name="compile" depends="-resource-src, -aidl, javac"
22
25
  description="Compiles project's .mirah files into .class files">
23
- <mirahc src="${src}" destdir="${classes}"
24
- classpath="${classpath}" />
26
+ <mirahc src="${src}" destdir="${classes}">
27
+ <classpath refid="java.classpath" />
28
+ </mirahc>
25
29
  </target>
26
30
 
27
31
  <setup />
@@ -1,3 +1,5 @@
1
+ package tld.pindah.testapp
2
+
1
3
  import android.app.Activity
2
4
 
3
5
  class HelloWorld < Activity
metadata CHANGED
@@ -1,117 +1,97 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pindah
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
5
4
  prerelease:
6
- segments:
7
- - 0
8
- - 1
9
- - 1
10
- version: 0.1.1
5
+ version: 0.1.2
11
6
  platform: ruby
12
7
  authors:
13
- - Phil Hagelberg
8
+ - Phil Hagelberg
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
12
 
18
- date: 2011-04-02 00:00:00 -07:00
13
+ date: 2011-06-06 00:00:00 -07:00
19
14
  default_executable:
20
15
  dependencies:
21
- - !ruby/object:Gem::Dependency
22
- name: mirah
23
- prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- hash: 21
30
- segments:
31
- - 0
32
- - 0
33
- - 5
34
- version: 0.0.5
35
- type: :runtime
36
- version_requirements: *id001
37
- - !ruby/object:Gem::Dependency
38
- name: hoe
39
- prerelease: false
40
- requirement: &id002 !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - ">="
44
- - !ruby/object:Gem::Version
45
- hash: 47
46
- segments:
47
- - 2
48
- - 8
49
- - 0
50
- version: 2.8.0
51
- type: :development
52
- version_requirements: *id002
16
+ - !ruby/object:Gem::Dependency
17
+ name: mirah
18
+ prerelease: false
19
+ requirement: &id001 !ruby/object:Gem::Requirement
20
+ none: false
21
+ requirements:
22
+ - - ">="
23
+ - !ruby/object:Gem::Version
24
+ version: 0.0.5
25
+ type: :runtime
26
+ version_requirements: *id001
27
+ - !ruby/object:Gem::Dependency
28
+ name: hoe
29
+ prerelease: false
30
+ requirement: &id002 !ruby/object:Gem::Requirement
31
+ none: false
32
+ requirements:
33
+ - - ">="
34
+ - !ruby/object:Gem::Version
35
+ version: 2.9.4
36
+ type: :development
37
+ version_requirements: *id002
53
38
  description: ""
54
39
  email:
55
- - technomancy@gmail.com
40
+ - technomancy@gmail.com
56
41
  executables:
57
- - pindah
42
+ - pindah
58
43
  extensions: []
59
44
 
60
45
  extra_rdoc_files:
61
- - History.txt
62
- - Manifest.txt
46
+ - History.txt
47
+ - Manifest.txt
63
48
  files:
64
- - History.txt
65
- - Manifest.txt
66
- - README.md
67
- - Rakefile
68
- - bin/pindah
69
- - lib/pindah.rb
70
- - lib/pindah_cli.rb
71
- - templates/AndroidManifest.xml
72
- - templates/build.xml
73
- - templates/main.xml
74
- - templates/strings.xml
75
- - templates/Rakefile
76
- - templates/initial_activity.mirah
77
- - templates/.gitignore
78
- - templates/res/drawable-mdpi/ic_launcher.png
79
- - templates/res/drawable-hdpi/ic_launcher.png
80
- - templates/res/drawable-ldpi/ic_launcher.png
81
- - test/fixtures/HelloWorld.mirah
82
- - test/pindah_cli_test.rb
49
+ - History.txt
50
+ - Manifest.txt
51
+ - README.md
52
+ - Rakefile
53
+ - bin/pindah
54
+ - lib/pindah.rb
55
+ - lib/pindah_cli.rb
56
+ - templates/AndroidManifest.xml
57
+ - templates/build.xml
58
+ - templates/main.xml
59
+ - templates/strings.xml
60
+ - templates/Rakefile
61
+ - templates/initial_activity.mirah
62
+ - templates/.gitignore
63
+ - templates/res/drawable-mdpi/ic_launcher.png
64
+ - templates/res/drawable-hdpi/ic_launcher.png
65
+ - templates/res/drawable-ldpi/ic_launcher.png
66
+ - test/fixtures/HelloWorld.mirah
67
+ - test/pindah_cli_test.rb
68
+ - .gemtest
83
69
  has_rdoc: true
84
70
  homepage: http://github.com/mirah/pindah
85
71
  licenses: []
86
72
 
87
73
  post_install_message:
88
74
  rdoc_options:
89
- - --main
90
- - README.md
75
+ - --main
76
+ - README.md
91
77
  require_paths:
92
- - lib
78
+ - lib
93
79
  required_ruby_version: !ruby/object:Gem::Requirement
94
80
  none: false
95
81
  requirements:
96
- - - ">="
97
- - !ruby/object:Gem::Version
98
- hash: 3
99
- segments:
100
- - 0
101
- version: "0"
82
+ - - ">="
83
+ - !ruby/object:Gem::Version
84
+ version: "0"
102
85
  required_rubygems_version: !ruby/object:Gem::Requirement
103
86
  none: false
104
87
  requirements:
105
- - - ">="
106
- - !ruby/object:Gem::Version
107
- hash: 3
108
- segments:
109
- - 0
110
- version: "0"
88
+ - - ">="
89
+ - !ruby/object:Gem::Version
90
+ version: "0"
111
91
  requirements: []
112
92
 
113
93
  rubyforge_project: pindah
114
- rubygems_version: 1.3.7
94
+ rubygems_version: 1.5.1
115
95
  signing_key:
116
96
  specification_version: 3
117
97
  summary: A tool for writing Android applications in Mirah