Skip to content

Commit ef37c0a

Browse files
committed
downgrade metasploit_data_models due to ruby 2.1 dependency.
1 parent 14dca05 commit ef37c0a

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

cSploit/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
33
package="org.csploit.android"
44
android:versionCode="1"
5-
android:versionName="1.4.7" >
5+
android:versionName="1.4.8" >
66

77
<uses-sdk
88
android:minSdkVersion="9"

cSploit/src/org/csploit/android/core/UpdateService.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1208,6 +1208,9 @@ public void onNewLine(String line) {
12081208
parts[0], parts[1]));
12091209
}
12101210

1211+
// metasploit_data_models requires ruby >= 2.1 from 0.23
1212+
sb.append("-e \"s#spec.add_runtime_dependency *'metasploit_data_models'.*#spec.add_runtime_dependency 'metasploit_data_models', '~> 0.22.8'#g\" ");
1213+
12111214
// android does not have git, but we downloaded the archive from the git repo.
12121215
// so it's content it's exactly the same seen by git.
12131216
sb.append("-e 's,`git ls-files`.split($/),Dir[\"**/*\"].reject {|f| File.directory?(f) },' ");

0 commit comments

Comments
 (0)