Skip to content

Commit

Permalink
Tokaido 2.2 (Ruby 2.2.2) release.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrasio committed Apr 22, 2015
1 parent df2e4fc commit 5833029
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Tokaido/SetupTokaido.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ clear

BIN="$HOME/.tokaido/bin"

export TOKAIDO_GEM_HOME=$HOME/.tokaido/Gems/2.1.0
export TOKAIDO_GEM_HOME=$HOME/.tokaido/Gems/$TOKAIDO_GEM_NAMESPACE
export GEM_HOME=$TOKAIDO_GEM_HOME
export GEM_PATH=$TOKAIDO_GEM_HOME
export PATH=$BIN:$TOKAIDO_PATH:$GEM_HOME/bin:$PATH
Expand Down
8 changes: 4 additions & 4 deletions Tokaido/TKDConfiguration.m
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
@implementation TKDConfiguration

+(NSString *) rubyVersion {
return @"2.1.6-p336";
return @"2.2.2-p95";
}

+(NSString *) rubyNamespace {
return @"2.1.0";
return @"2.2.0";
}

+(NSArray *) rubiesBundled {
return @[[[TKDRubyBinary alloc] initWithName:@"2.1.6-p336"]];
return @[[[TKDRubyBinary alloc] initWithName:@"2.2.2-p95"]];
}

+(NSArray *) rubiesInstalled {
Expand All @@ -32,7 +32,7 @@ +(NSArray *) rubiesInstalled {
}

+(NSString *) rubyConfigInstalledFile {
return [[self rubiesInstalledDirectoryPath] stringByAppendingPathComponent:@"/2.1.6-p336/lib/ruby/2.1.0/x86_64-darwin12.0/rbconfig.rb"];
return [[self rubiesInstalledDirectoryPath] stringByAppendingPathComponent:@"/2.2.2-p95/lib/ruby/2.2.0/x86_64-darwin12.0/rbconfig.rb"];
}

+(NSString *) applicationName {
Expand Down
2 changes: 2 additions & 0 deletions Tokaido/TKDTerminalSessions.m
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@ - (NSString *) sessionFor:(TKDApp *)app {

NSString *rubyBinPath = [TKDUtilities rubyBinDirectory:[TKDConfiguration rubyVersion]];
NSString *appDirectory = [TKDUtilities sanitizePath:app.appDirectoryPath];
NSString *rubyNamespace = [TKDConfiguration rubyNamespace];

NSArray *commands = @[
[NSString stringWithFormat:@"export TOKAIDO_GEM_NAMESPACE=%@", rubyNamespace],
[NSString stringWithFormat:@"export TOKAIDO_PATH=%@", rubyBinPath],
[NSString stringWithFormat:@"export TOKAIDO_APP_DIR=%@", appDirectory],
[NSString stringWithFormat:@"source %@", [TKDConfiguration terminalSetupScriptInstalledDirectoryPath]]
Expand Down
4 changes: 2 additions & 2 deletions Tokaido/Tokaido-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>2.1</string>
<string>2.2</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>2.1.6</string>
<string>2.2.2</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.developer-tools</string>
<key>LSMinimumSystemVersion</key>
Expand Down

0 comments on commit 5833029

Please sign in to comment.