rake-delphi 0.0.30 → 0.0.31

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: 85268a1c9740bd8216fad6d4693c671089f0d226
4
- data.tar.gz: d33a4a9546706b44ab6f8d70b686bee4847a1ec9
3
+ metadata.gz: 120f3145c1247f66a69729aaaf8c8f9c742618d9
4
+ data.tar.gz: 7ecb1e92d74f7e1595fc31f3a3f2f9dc600551bc
5
5
  SHA512:
6
- metadata.gz: dc648d2523347f3c35665a6fb9d5b4dd9beb41463aeb6ccc2af821b593307ab23b818ea5dff8e71a54acaad16bd53af28cefa40821002690214f071894a9b14d
7
- data.tar.gz: 31bf56b4d73b599ff79ce2dde19ecd80de6150ab8bebc17d5a4ab17f0492fac32b671a80a30dbfb003e4c422de61a9ebea6cd5bf6602c7764a8e4e0b54e30003
6
+ metadata.gz: ef47d87d9b6d9b2c613e0010b7fd5a4150dc3dffb4b8c204c30fa403ef7888ccd72b4b1199089e18bbfc2b09ba957819c4872aa83f0e71b558c8a44f79604b61
7
+ data.tar.gz: 2c95206267488640f4036e7c6c032da148b534de29e494ac16a0834e925e9de09af3fd4b6174400cd953af77cc6988f04ee8bec4db5146dd10d7daf866571235
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rake-delphi (0.0.30)
4
+ rake-delphi (0.0.31)
5
5
  bundler (~> 1.3)
6
6
  inifile
7
7
  rake (~> 10.0.4)
@@ -14,9 +14,12 @@ GEM
14
14
  rubyzip
15
15
  inifile (3.0.0)
16
16
  minitest (4.7.5)
17
+ power_assert (0.2.2)
17
18
  rake (10.0.4)
18
19
  rubyzip (0.9.9)
19
- xml-simple (1.1.4)
20
+ test-unit (3.0.9)
21
+ power_assert
22
+ xml-simple (1.1.5)
20
23
 
21
24
  PLATFORMS
22
25
  ruby
@@ -26,3 +29,4 @@ DEPENDENCIES
26
29
  minitest (~> 4.3)
27
30
  rake-delphi!
28
31
  rubyzip (~> 0.9.9)
32
+ test-unit
@@ -112,6 +112,15 @@ module Rake
112
112
  # update Platform
113
113
  node['Platform'] = plat
114
114
  node.delete('Platform') if plat.empty?
115
+ configuration = node['Configuration']
116
+ # for DeployFile's
117
+ if configuration
118
+ configuration = configuration.to_s.downcase.to_sym
119
+ node.delete('Configuration')
120
+ hash_node = hash[value]
121
+ node = { configuration => node }
122
+ node = hash_node.merge(node) if hash_node
123
+ end
115
124
  hash.merge!({ value => node })
116
125
  end
117
126
  end
@@ -149,8 +158,10 @@ module Rake
149
158
  def make_deployment(files, classes, configuration)
150
159
  r = []
151
160
  Logger.trace(Logger::TRACE, "Gathering deployment files for '#{configuration}'")
161
+ configuration = configuration.to_s.downcase.to_sym
152
162
  files.each do |file, value|
153
- next if value['Configuration'].to_s.casecmp(configuration.to_s) != 0
163
+ value = value[configuration]
164
+ next unless value
154
165
  value_class = value['Class']
155
166
  _class = classes[value_class]
156
167
  if ['AndroidGDBServer', 'ProjectAndroidManifest'].include?(value_class)
@@ -15,6 +15,7 @@ module Rake
15
15
  alias :method_missing_base :method_missing
16
16
 
17
17
  def initialize(owner)
18
+ raise 'RCTemplateTask owner is expected' unless owner.kind_of?(RCTemplateTask)
18
19
  @owner = owner
19
20
  # English
20
21
  @language = '0x19'
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rake
4
4
  module Delphi
5
- VERSION = '0.0.30'
5
+ VERSION = '0.0.31'
6
6
  end
7
7
  end
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
18
18
  # avoid adding redundant files
19
19
  spec.files.delete_if do |f|
20
20
  match = false
21
- [/\/test\/tmp\//, /\/dcu\//, /\.(drc|res|exe)$/].each do |re|
21
+ [/\/test\/tmp\//, /\/dcu\//, /\.(drc|res|exe|orig)$/].each do |re|
22
22
  match = re.match(f)
23
23
  break if match
24
24
  end
@@ -38,6 +38,27 @@ protected
38
38
  PROJECT_EXE.pathmap('%n')
39
39
  end
40
40
 
41
+ def _test_deploy_files(deploymentfiles, tested_deploymentFiles)
42
+ assert deploymentfiles.kind_of?(Array), 'NOT an Array?!'
43
+ assert_not_equal 0, deploymentfiles.size, 'No files?!'
44
+
45
+ dfiles = []
46
+ deploymentfiles.each do |dfile|
47
+ assert dfile.kind_of?(Hash), 'NOT a Hash?!'
48
+ assert_equal 1, dfile.keys.count, 'More than one value?!'
49
+ assert dfile.keys.first.kind_of?(String) || dfile.keys.first.kind_of?(Symbol), 'Key is NOT a String or Symbol?!'
50
+ assert dfile.values.first.kind_of?(Array), 'Value is NOT an Array?!'
51
+
52
+ dfile = dfile.to_a.join(',')
53
+ assert tested_deploymentFiles.include?(dfile), dfile
54
+
55
+ dfiles << dfile
56
+ end
57
+ tested_deploymentFiles.each do |tfile|
58
+ assert dfiles.include?(tfile), "No #{tfile} in deployment files?!"
59
+ end
60
+ end
61
+
41
62
  public
42
63
  def setup
43
64
  @saved_delphi_version = Rake::Delphi::EnvVariables.delphi_version.to_s
@@ -0,0 +1,35 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- BEGIN_INCLUDE(manifest) -->
3
+ <manifest xmlns:android="http://schemas.android.com/apk/res/android"
4
+ package="com.embarcadero.HelloWorld"
5
+ android:versionCode="2"
6
+ android:versionName="1.3.2.4">
7
+
8
+ <!-- This is the platform API where NativeActivity was introduced. -->
9
+ <uses-sdk android:minSdkVersion="9" />
10
+
11
+ <application android:persistent="False"
12
+ android:restoreAnyVersion="False"
13
+ android:label="HelloWorld"
14
+ android:installLocation="preferExternal"
15
+ android:debuggable="True"
16
+ android:largeHeap="False"
17
+ android:icon="@drawable/ic_launcher"
18
+ android:theme="@android:style/Theme.NoTitleBar">
19
+ <!-- Our activity is a subclass of the built-in NativeActivity framework class.
20
+ This will take care of integrating with our NDK code. -->
21
+ <activity android:name="com.embarcadero.firemonkey.FMXNativeActivity"
22
+ android:label="HelloWorld"
23
+ android:configChanges="orientation|keyboardHidden">
24
+ <!-- Tell NativeActivity the name of our .so -->
25
+ <meta-data android:name="android.app.lib_name"
26
+ android:value="TestProject" />
27
+ <intent-filter>
28
+ <action android:name="android.intent.action.MAIN" />
29
+ <category android:name="android.intent.category.LAUNCHER" />
30
+ </intent-filter>
31
+ </activity>
32
+ <receiver android:name="com.embarcadero.firemonkey.notifications.FMXNotificationAlarm" />
33
+ </application>
34
+ </manifest>
35
+ <!-- END_INCLUDE(manifest) -->
@@ -0,0 +1,8 @@
1
+ -U"."
2
+ -I"."
3
+ -R"."
4
+ -O"."
5
+ -U"./lib/AnyLib"
6
+ -I"./lib/AnyLib"
7
+ -R"./lib/AnyLib"
8
+ -O"./lib/AnyLib"
@@ -0,0 +1,62 @@
1
+ #define VS_FF_DEBUG 0x00000001
2
+ #define VS_FF_PRERELEASE 0x00000002
3
+ #define VS_FF_PATCHED 0x00000004
4
+ #define VS_FF_PRIVATEBUILD 0x00000008
5
+ #define VS_FF_INFOINFERRED 0x00000010
6
+ #define VS_FF_SPECIALBUILD 0x00000020
7
+
8
+ #ifndef DEBUG
9
+ #define VER_DEBUG 0
10
+ #else
11
+ #define VER_DEBUG VS_FF_DEBUG
12
+ #endif
13
+
14
+ #ifndef RC
15
+ #define VER_PRERELEASE 0
16
+ #else
17
+ #define VER_PRERELEASE VS_FF_PRERELEASE
18
+ #endif
19
+
20
+
21
+ #define _FILEFLAGS (VER_PRERELEASE|VER_DEBUG)
22
+
23
+ LANGUAGE 0x19, 0x01
24
+ #ifdef MAIN_ICON
25
+ MAINICON ICON "C:/cygwin/home/ashu/projects/MobileGesture/lib/gems/rake-delphi/test/resources/testproject-android/TestProject.ico"
26
+ #endif
27
+ 1 VERSIONINFO
28
+ FILEVERSION 1,3,2,4
29
+ PRODUCTVERSION 1,2,3,4
30
+ FILEOS 0x40004
31
+ FILETYPE 0x1
32
+ FILEFLAGSMASK _FILEFLAGS
33
+ FILEFLAGS _FILEFLAGS
34
+ BEGIN
35
+ BLOCK "StringFileInfo"
36
+ BEGIN
37
+ BLOCK "041904E3"
38
+ BEGIN
39
+ VALUE "CompanyName", "Rake\0"
40
+ VALUE "FileDescription", "Test rake-delphi project XE5 description\0"
41
+ VALUE "FileVersion", "1.3.2.4\0"
42
+ VALUE "InternalName", "testproject.exe\0"
43
+ VALUE "LegalCopyright", "Copyright. ��������\0"
44
+ VALUE "LegalTrademarks", "Trademark. �������� �����\0"
45
+ VALUE "OriginalFilename", "testproject.exe\0"
46
+ VALUE "ProductName", "Test rake-delphi project XE5 product name\0"
47
+ VALUE "ProductVersion", "1.2.3.4\0"
48
+ VALUE "Comments", "Test project comment\0"
49
+ #ifdef DEBUG
50
+ VALUE "DebugBuild", "DebugBuild\0"
51
+ #endif
52
+ #ifdef RC
53
+ VALUE "ReleaseCandidate", "\0"
54
+ #endif
55
+ END
56
+ END
57
+
58
+ BLOCK "VarFileInfo"
59
+ BEGIN
60
+ VALUE "Translation", 0x0419 0x04E3
61
+ END
62
+ END
@@ -281,9 +281,16 @@
281
281
  <RemoteName>ic_launcher.png</RemoteName>
282
282
  </Platform>
283
283
  </DeployFile>
284
+ <!-- classes.dex in Debug configuration -->
284
285
  <DeployFile LocalName="c:\program files (x86)\embarcadero\rad studio\12.0\lib\android\debug\classes.dex" Configuration="Debug" Class="AndroidClassesDexFile">
285
286
  <Platform Name="Android">
286
- <RemoteName>classes.dex</RemoteName>
287
+ <RemoteName>classes.debug.dex</RemoteName>
288
+ </Platform>
289
+ </DeployFile>
290
+ <!-- and in Release configuration -->
291
+ <DeployFile LocalName="c:\program files (x86)\embarcadero\rad studio\12.0\lib\android\debug\classes.dex" Configuration="Release" Class="AndroidClassesDexFile">
292
+ <Platform Name="Android">
293
+ <RemoteName>classes.release.dex</RemoteName>
287
294
  </Platform>
288
295
  </DeployFile>
289
296
  <DeployFile LocalName="$(BDS)\bin\Artwork\Android\FM_LauncherIcon_48x48.png" Configuration="Debug" Class="Android_LauncherIcon48">
@@ -253,9 +253,17 @@
253
253
  </Delphi.Personality>
254
254
  <Deployment>
255
255
  <DeployFile LocalName="Deploy file with no platform" Configuration="Debug" Class="ClassDeployFileWithNoPlatform"/>
256
+ <!-- libnative-activity.so in Debug configuration -->
256
257
  <DeployFile LocalName="e:\absent path\lib\android\debug\mips\libnative-activity.so" Configuration="Debug" Class="AndroidLibnativeMipsFile">
257
258
  <Platform Name="Android">
258
- <RemoteName>libTestProject.so</RemoteName>
259
+ <RemoteName>libTestProject.debug.so</RemoteName>
260
+ <Overwrite>true</Overwrite>
261
+ </Platform>
262
+ </DeployFile>
263
+ <!-- and in Release configuration -->
264
+ <DeployFile LocalName="e:\absent path\lib\android\debug\mips\libnative-activity.so" Configuration="Release" Class="AndroidLibnativeMipsFile">
265
+ <Platform Name="Android">
266
+ <RemoteName>libTestProject.release.so</RemoteName>
259
267
  <Overwrite>true</Overwrite>
260
268
  </Platform>
261
269
  </DeployFile>
@@ -0,0 +1,62 @@
1
+ #define VS_FF_DEBUG 0x00000001
2
+ #define VS_FF_PRERELEASE 0x00000002
3
+ #define VS_FF_PATCHED 0x00000004
4
+ #define VS_FF_PRIVATEBUILD 0x00000008
5
+ #define VS_FF_INFOINFERRED 0x00000010
6
+ #define VS_FF_SPECIALBUILD 0x00000020
7
+
8
+ #ifndef DEBUG
9
+ #define VER_DEBUG 0
10
+ #else
11
+ #define VER_DEBUG VS_FF_DEBUG
12
+ #endif
13
+
14
+ #ifndef RC
15
+ #define VER_PRERELEASE 0
16
+ #else
17
+ #define VER_PRERELEASE VS_FF_PRERELEASE
18
+ #endif
19
+
20
+
21
+ #define _FILEFLAGS (VER_PRERELEASE|VER_DEBUG)
22
+
23
+ LANGUAGE 0x19, 0x01
24
+ #ifdef MAIN_ICON
25
+ MAINICON ICON "C:/cygwin/home/ashu/projects/MobileGesture/lib/gems/rake-delphi/test/resources/testproject/testproject.ico"
26
+ #endif
27
+ 1 VERSIONINFO
28
+ FILEVERSION 0,0,0,0
29
+ PRODUCTVERSION 1,2,3,4
30
+ FILEOS 0x40004
31
+ FILETYPE 0x1
32
+ FILEFLAGSMASK _FILEFLAGS
33
+ FILEFLAGS _FILEFLAGS
34
+ BEGIN
35
+ BLOCK "StringFileInfo"
36
+ BEGIN
37
+ BLOCK "041904E3"
38
+ BEGIN
39
+ VALUE "CompanyName", "Rake\0"
40
+ VALUE "FileDescription", "Test rake-delphi project 2006 description\0"
41
+ VALUE "FileVersion", "0.0.0.0\0"
42
+ VALUE "InternalName", "testproject.exe\0"
43
+ VALUE "LegalCopyright", "Copyright. ��������\0"
44
+ VALUE "LegalTrademarks", "Trademark. �������� �����\0"
45
+ VALUE "OriginalFilename", "testproject.exe\0"
46
+ VALUE "ProductName", "Test rake-delphi project 2006 product name\0"
47
+ VALUE "ProductVersion", "1.2.3.4\0"
48
+ VALUE "Comments", "Test project comment\0"
49
+ #ifdef DEBUG
50
+ VALUE "DebugBuild", "DebugBuild\0"
51
+ #endif
52
+ #ifdef RC
53
+ VALUE "ReleaseCandidate", "\0"
54
+ #endif
55
+ END
56
+ END
57
+
58
+ BLOCK "VarFileInfo"
59
+ BEGIN
60
+ VALUE "Translation", 0x0419 0x04E3
61
+ END
62
+ END
@@ -67,33 +67,21 @@ module DelphiAndroidTests
67
67
  tested_deploymentFiles << '$(BDS)\lib\android\debug\classes.dex,classes\,1,classes.dex'
68
68
  tested_deploymentFiles << 'external\module.ext,.\assets\internal\\\\,1,'
69
69
  tested_deploymentFiles << 'external\predefined.db,.\assets\internal\\\\,1,'
70
- tested_deploymentFiles << '$(BDS)\lib\android\debug\mips\libnative-activity.so,library\lib\mips\,1,libTestProject.so'
70
+ tested_deploymentFiles << '$(BDS)\lib\android\debug\mips\libnative-activity.so,library\lib\mips\,1,libTestProject.debug.so'
71
71
  tested_deploymentFiles << '$(BDS)\lib\android\debug\armeabi\libnative-activity.so,library\lib\armeabi\,1,libTestProject.so'
72
72
  deploymentfiles = @info.deploymentfiles('Android', 'Debug')
73
- assert deploymentfiles.kind_of?(Array), 'NOT an Array?!'
74
- assert_not_equal 0, deploymentfiles.size, 'No files?!'
75
- deploymentfiles.each do |dfile|
76
- assert dfile.kind_of?(Hash), 'NOT a Hash?!'
77
- assert_equal 1, dfile.keys.count, 'More than one value?!'
78
- assert dfile.keys.first.kind_of?(String) || dfile.keys.first.kind_of?(Symbol), 'Key is NOT a String or Symbol?!'
79
- assert dfile.values.first.kind_of?(Array), 'Value is NOT an Array?!'
80
- assert tested_deploymentFiles.include?(dfile.to_a.join(',')), dfile.to_a.join(',')
81
- end
73
+
74
+ _test_deploy_files(deploymentfiles, tested_deploymentFiles)
82
75
  end
83
76
 
84
77
  def test_deploy_files_Android_Release
85
78
  tested_deploymentFiles = []
79
+ # libnative-activity.so must present both in Release and Debug configurations
80
+ tested_deploymentFiles << '$(BDS)\lib\android\debug\mips\libnative-activity.so,library\lib\mips\,1,libTestProject.release.so'
86
81
  tested_deploymentFiles << 'some\deployment\file\from\enabled.release.conf,.\,1,enabled.release.conf.file'
87
82
  deploymentfiles = @info.deploymentfiles('Android', 'Release')
88
- assert deploymentfiles.kind_of?(Array), 'NOT an Array?!'
89
- assert_not_equal 0, deploymentfiles.size, 'No files?!'
90
- deploymentfiles.each do |dfile|
91
- assert dfile.kind_of?(Hash), 'NOT a Hash?!'
92
- assert_equal 1, dfile.keys.count, 'More than one value?!'
93
- assert dfile.keys.first.kind_of?(String) || dfile.keys.first.kind_of?(Symbol), 'Key is NOT a String or Symbol?!'
94
- assert dfile.values.first.kind_of?(Array), 'Value is NOT an Array?!'
95
- assert tested_deploymentFiles.include?(dfile.to_a.join(',')), dfile.to_a.join(',')
96
- end
83
+
84
+ _test_deploy_files(deploymentfiles, tested_deploymentFiles)
97
85
  end
98
86
  end
99
87
 
@@ -64,32 +64,20 @@ module DelphiAndroidTests
64
64
  tested_deploymentFiles << '$(BDS)\bin\Artwork\Android\FM_LauncherIcon_%dx%d.png,res\drawable-%sdpi\,1,ic_launcher.png' % [n, n, tested_deploymentFiles_prefixes[n]]
65
65
  end
66
66
  tested_deploymentFiles << 'project_so,library\lib\armeabi\,1,libTestProject.so'
67
- tested_deploymentFiles << '$(BDS)\lib\android\debug\classes.dex,classes\,1,classes.dex'
67
+ tested_deploymentFiles << '$(BDS)\lib\android\debug\classes.dex,classes\,1,classes.debug.dex'
68
68
  deploymentfiles = @info.deploymentfiles('Android', 'Debug')
69
- assert deploymentfiles.kind_of?(Array), 'NOT an Array?!'
70
- assert_not_equal 0, deploymentfiles.size, 'No files?!'
71
- deploymentfiles.each do |dfile|
72
- assert dfile.kind_of?(Hash), 'NOT a Hash?!'
73
- assert_equal 1, dfile.keys.count, 'More than one value?!'
74
- assert dfile.keys.first.kind_of?(String) || dfile.keys.first.kind_of?(Symbol), 'Key is NOT a String or Symbol?!'
75
- assert dfile.values.first.kind_of?(Array), 'Value is NOT an Array?!'
76
- assert tested_deploymentFiles.include?(dfile.to_a.join(',')), dfile.to_a.join(',')
77
- end
69
+
70
+ _test_deploy_files(deploymentfiles, tested_deploymentFiles)
78
71
  end
79
72
 
80
73
  def test_deploy_files_Android_Release
81
74
  tested_deploymentFiles = []
82
75
  tested_deploymentFiles << 'some\deployment\file\from\enabled.release.conf,.\,1,enabled.release.conf.file'
76
+ # classes.dex must present both in Release and Debug configurations
77
+ tested_deploymentFiles << '$(BDS)\lib\android\debug\classes.dex,classes\,1,classes.release.dex'
83
78
  deploymentfiles = @info.deploymentfiles('Android', 'Release')
84
- assert deploymentfiles.kind_of?(Array), 'NOT an Array?!'
85
- assert_not_equal 0, deploymentfiles.size, 'No files?!'
86
- deploymentfiles.each do |dfile|
87
- assert dfile.kind_of?(Hash), 'NOT a Hash?!'
88
- assert_equal 1, dfile.keys.count, 'More than one value?!'
89
- assert dfile.keys.first.kind_of?(String) || dfile.keys.first.kind_of?(Symbol), 'Key is NOT a String or Symbol?!'
90
- assert dfile.values.first.kind_of?(Array), 'Value is NOT an Array?!'
91
- assert tested_deploymentFiles.include?(dfile.to_a.join(',')), dfile.to_a.join(',')
92
- end
79
+
80
+ _test_deploy_files(deploymentfiles, tested_deploymentFiles)
93
81
  end
94
82
  end
95
83
 
metadata CHANGED
@@ -1,111 +1,125 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rake-delphi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.30
4
+ version: 0.0.31
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexey Shumkin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-28 00:00:00.000000000 Z
11
+ date: 2015-06-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.3'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.3'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: 10.0.4
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: 10.0.4
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: xml-simple
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: inifile
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '>='
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '>='
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: test-unit
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
67
81
  - !ruby/object:Gem::Version
68
82
  version: '0'
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: minitest
71
85
  requirement: !ruby/object:Gem::Requirement
72
86
  requirements:
73
- - - ~>
87
+ - - "~>"
74
88
  - !ruby/object:Gem::Version
75
89
  version: '4.3'
76
90
  type: :development
77
91
  prerelease: false
78
92
  version_requirements: !ruby/object:Gem::Requirement
79
93
  requirements:
80
- - - ~>
94
+ - - "~>"
81
95
  - !ruby/object:Gem::Version
82
96
  version: '4.3'
83
97
  - !ruby/object:Gem::Dependency
84
98
  name: rubyzip
85
99
  requirement: !ruby/object:Gem::Requirement
86
100
  requirements:
87
- - - ~>
101
+ - - "~>"
88
102
  - !ruby/object:Gem::Version
89
103
  version: 0.9.9
90
104
  type: :development
91
105
  prerelease: false
92
106
  version_requirements: !ruby/object:Gem::Requirement
93
107
  requirements:
94
- - - ~>
108
+ - - "~>"
95
109
  - !ruby/object:Gem::Version
96
110
  version: 0.9.9
97
111
  - !ruby/object:Gem::Dependency
98
112
  name: apktools
99
113
  requirement: !ruby/object:Gem::Requirement
100
114
  requirements:
101
- - - '>='
115
+ - - ">="
102
116
  - !ruby/object:Gem::Version
103
117
  version: '0'
104
118
  type: :development
105
119
  prerelease: false
106
120
  version_requirements: !ruby/object:Gem::Requirement
107
121
  requirements:
108
- - - '>='
122
+ - - ">="
109
123
  - !ruby/object:Gem::Version
110
124
  version: '0'
111
125
  description: Tasks for building Delphi projects
@@ -171,9 +185,12 @@ files:
171
185
  - test/resources/libstask/lib/level-1/level-2-1/level-3-2/.gitkeep
172
186
  - test/resources/libstask/lib/level-1/level-2-2/.gitkeep
173
187
  - test/resources/testproject-android/AndroidManifest.erb
188
+ - test/resources/testproject-android/AndroidManifest.xml
174
189
  - test/resources/testproject-android/ExplicitLib/ExplicitLibUnit.pas
175
190
  - test/resources/testproject-android/Rakefile.rb
191
+ - test/resources/testproject-android/TestProject.cfg
176
192
  - test/resources/testproject-android/TestProject.dpr
193
+ - test/resources/testproject-android/TestProject.rc
177
194
  - test/resources/testproject-android/TestProject.xe5.dproj
178
195
  - test/resources/testproject-android/TestProject.xe7.dproj
179
196
  - test/resources/testproject-android/external/module.ext
@@ -186,6 +203,7 @@ files:
186
203
  - test/resources/testproject-android/resources.rc
187
204
  - test/resources/testproject/ExplicitLib/ExplicitLibUnit.pas
188
205
  - test/resources/testproject/Rakefile.rb
206
+ - test/resources/testproject/extended_resources.dres
189
207
  - test/resources/testproject/lib/AnyLib/LibUnit.pas
190
208
  - test/resources/testproject/local.resources.ext.txt
191
209
  - test/resources/testproject/local.resources.txt
@@ -198,6 +216,7 @@ files:
198
216
  - test/resources/testproject/testproject.cfg
199
217
  - test/resources/testproject/testproject.dpr
200
218
  - test/resources/testproject/testproject.ico
219
+ - test/resources/testproject/testproject.rc
201
220
  - test/resources/testproject/testproject.xe5.dproj
202
221
  - test/resources/testproject/testproject.xe7.dproj
203
222
  - test/test-delphi-android.rb
@@ -225,17 +244,17 @@ require_paths:
225
244
  - lib
226
245
  required_ruby_version: !ruby/object:Gem::Requirement
227
246
  requirements:
228
- - - '>='
247
+ - - ">="
229
248
  - !ruby/object:Gem::Version
230
249
  version: '0'
231
250
  required_rubygems_version: !ruby/object:Gem::Requirement
232
251
  requirements:
233
- - - '>='
252
+ - - ">="
234
253
  - !ruby/object:Gem::Version
235
254
  version: '0'
236
255
  requirements: []
237
256
  rubyforge_project:
238
- rubygems_version: 2.4.1
257
+ rubygems_version: 2.4.7
239
258
  signing_key:
240
259
  specification_version: 4
241
260
  summary: Tasks for building Delphi projects
@@ -251,9 +270,12 @@ test_files:
251
270
  - test/resources/libstask/lib/level-1/level-2-1/level-3-2/.gitkeep
252
271
  - test/resources/libstask/lib/level-1/level-2-2/.gitkeep
253
272
  - test/resources/testproject-android/AndroidManifest.erb
273
+ - test/resources/testproject-android/AndroidManifest.xml
254
274
  - test/resources/testproject-android/ExplicitLib/ExplicitLibUnit.pas
255
275
  - test/resources/testproject-android/Rakefile.rb
276
+ - test/resources/testproject-android/TestProject.cfg
256
277
  - test/resources/testproject-android/TestProject.dpr
278
+ - test/resources/testproject-android/TestProject.rc
257
279
  - test/resources/testproject-android/TestProject.xe5.dproj
258
280
  - test/resources/testproject-android/TestProject.xe7.dproj
259
281
  - test/resources/testproject-android/external/module.ext
@@ -266,6 +288,7 @@ test_files:
266
288
  - test/resources/testproject-android/resources.rc
267
289
  - test/resources/testproject/ExplicitLib/ExplicitLibUnit.pas
268
290
  - test/resources/testproject/Rakefile.rb
291
+ - test/resources/testproject/extended_resources.dres
269
292
  - test/resources/testproject/lib/AnyLib/LibUnit.pas
270
293
  - test/resources/testproject/local.resources.ext.txt
271
294
  - test/resources/testproject/local.resources.txt
@@ -278,6 +301,7 @@ test_files:
278
301
  - test/resources/testproject/testproject.cfg
279
302
  - test/resources/testproject/testproject.dpr
280
303
  - test/resources/testproject/testproject.ico
304
+ - test/resources/testproject/testproject.rc
281
305
  - test/resources/testproject/testproject.xe5.dproj
282
306
  - test/resources/testproject/testproject.xe7.dproj
283
307
  - test/test-delphi-android.rb