Skip to content

Commit 2d4cf31

Browse files
committed
Merge pull request #45 from XhmikosR/master
Update libraries
2 parents 0862e85 + f2be1cc commit 2d4cf31

File tree

7 files changed

+49
-39
lines changed

7 files changed

+49
-39
lines changed

CHANGELOG.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
2.2.3 - Ruby 1.9.3-p545, Rails 3.2.18, git 1.9.2, postgresql-9.3.4-3, sqlite 3.8.4.3, mysql-5.6.17
2+
13
2.2.2 - Ruby 1.9.3-p484, Rails 3.2.16, git 1.8.4, postgresql-9.3.2-1, sqlite 3.8.2, mysql-5.6.15
24

35
2.2.0 - Updated main components to the latest version (Ruby 1.9.3-p362,

README.md

Lines changed: 27 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -18,31 +18,34 @@ built and packaged via rake tasks.
1818

1919
1. Download and install latest
2020
[Inno Setup Quick Start Pack](http://www.jrsoftware.org/isdl.php#qsp),
21-
add iscc.exe is in your PATH
21+
add iscc.exe in your PATH
2222

23-
1. [Fork](http://help.github.com/fork-a-repo/)
23+
1. [Fork](https://help.github.com/articles/fork-a-repo)
2424
the [RailsInstaller project on github](https://github.com/railsinstaller/railsinstaller-windows.git)
25-
into your own github account.
25+
into your own GitHub account.
2626

2727
1. Open the the command prompt from the start menu and change directory to where you like to keep your projects.
2828

2929
1. Clone your fork of the project.
3030

31-
> git clone git@github.com:{{your github user name}}/railsinstaller-windows
32-
33-
> cd railsinstaller-windows
31+
```bash
32+
git clone https://github.com/{{your GitHub user name}}/railsinstaller-windows.git
33+
cd railsinstaller-windows
34+
```
3435

3536
1. Update from origin master (or 2.0.0) branch and checkout a new topic branch for your feature/bugfix.
3637

37-
> git checkout master
38-
39-
> git pull origin master
40-
41-
> git checkout -b mybranchname
38+
```bash
39+
git checkout master
40+
git pull origin master
41+
git checkout -b mybranchname
42+
```
4243

4344
1. Bootstrap the project. From the project root run:
4445

45-
> rake bootstrap
46+
```bash
47+
rake bootstrap
48+
```
4649

4750
1. Implement your new feature and/or fix your bug in your newly forked Railsinstaller project code.
4851

@@ -54,24 +57,29 @@ built and packaged via rake tasks.
5457

5558
1. Next build all components onto the stage (into the stage/ directory)
5659

57-
> rake build
60+
```bash
61+
rake build
62+
```
5863

5964
1. Use Inno Setup to package the installer into an executable (.exe) for testing/distribution.
6065

61-
> SET PATH=C:\Program Files\Inno Setup 5;%PATH%
62-
> rake package
66+
```bat
67+
SET PATH=C:\Program Files\Inno Setup 5;%PATH%
68+
rake package
69+
```
6370

6471
* This creates the executable (.exe) package file in the pkg/ directory from the files staged during the build process in the stage/ directory.
6572

6673
* NOTE - You can run the package task with --trace for debugging output if the package fails to build or if you simply want to see what is being done as it is done).
6774

6875
1. Once you have verified your new feature/bug-fix, push your branch up to GitHub.
6976

70-
> git commit -a -m "Implemented featureX/bugfixX which <description>..."
71-
72-
> git push origin mybranchname
77+
```bash
78+
git commit -a -m "Implemented featureX/bugfixX which <description>..."
79+
git push origin mybranchname
80+
```
7381

74-
1. Now issue a [pull request](http://help.github.com/pull-requests/) on GitHub.
82+
1. Now issue a [pull request](https://help.github.com/articles/using-pull-requests) on GitHub.
7583

7684
# RailsInstaller Components
7785

VERSION.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.2.2
1+
2.2.3

config/railsinstaller.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
- rake
88
-
99
:name: rails
10-
:version: "3.2.16"
10+
:version: "3.2.18"
1111
-
1212
:name: activerecord-sqlserver-adapter
1313
:version: "3.2.12"
@@ -40,14 +40,14 @@
4040
:title: Ruby 1.9.3
4141
:name: Ruby193
4242
:regex: '^.*$'
43-
:url: "http://s3.amazonaws.com/railsinstaller/Resources/ruby-1.9.3-p484-i386-mingw32.7z"
43+
:url: "http://s3.amazonaws.com/railsinstaller/Resources/ruby-1.9.3-p545-i386-mingw32.7z"
4444
:rename: Ruby1.9.3
4545

4646
:git:
4747
:category: component
48-
:title: Git 1.8.4
48+
:title: Git 1.9.2
4949
:name: Git
50-
:url: "http://msysgit.googlecode.com/files/PortableGit-1.8.4-preview20130916.7z"
50+
:url: "http://s3.amazonaws.com/railsinstaller/Resources/PortableGit-1.9.2-preview20140411.7z"
5151
:target: "Git"
5252
:regex: '^.*$'
5353

@@ -71,7 +71,7 @@
7171
- msvcr90.dll
7272
- libxml2.dll
7373
:regex: '^.*$'
74-
:url: "http://get.enterprisedb.com/postgresql/postgresql-9.3.2-1-windows-binaries.zip"
74+
:url: "http://get.enterprisedb.com/postgresql/postgresql-9.3.4-3-windows-binaries.zip"
7575

7676
:rails:
7777
:name: Rails
@@ -107,14 +107,14 @@
107107
- sqlite3.def
108108
- sqlite3.exe
109109
:regex: '^.+\.exe$'
110-
:url: http://sqlite.org/2013/sqlite-shell-win32-x86-3080200.zip
110+
:url: http://sqlite.org/2014/sqlite-shell-win32-x86-3080403.zip
111111

112112
:sqlite3_dll:
113113
:name: Sqlite3Dll
114114
:title: Sqlite3 Dll
115115
:category: component
116116
:regex: '^.+\.dll$'
117-
:url: http://sqlite.org/2013/sqlite-dll-win32-x86-3080200.zip
117+
:url: http://sqlite.org/2014/sqlite-dll-win32-x86-3080403.zip
118118

119119
:ssl_certificates:
120120
:name: SSLCertificates
@@ -136,11 +136,11 @@
136136
:name: MySQLServer
137137
:title: MySQL Community Server
138138
:category: component
139-
:url: "http://mysql.mirrors.pair.com/Downloads/MySQL-5.6/mysql-5.6.15-winx64.zip"
139+
:url: "http://mysql.mirrors.pair.com/Downloads/MySQL-5.6/mysql-5.6.17-winx64.zip"
140140
:regex: '^.*$'
141141
:urls:
142-
- "http://mysql.mirrors.pair.com/Downloads/MySQL-5.6/mysql-5.6.15-winx64.zip"
143-
- "http://mysql.mirrors.pair.com/Downloads/MySQL-5.6/mysql-5.6.15-win32.zip"
142+
- "http://mysql.mirrors.pair.com/Downloads/MySQL-5.6/mysql-5.6.17-winx64.zip"
143+
- "http://mysql.mirrors.pair.com/Downloads/MySQL-5.6/mysql-5.6.17-win32.zip"
144144

145145
:bsdtar:
146146
:name: BSDTar

lib/railsinstaller.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ module RailsInstaller # Ensure that the RailsInstaller project root is defined.
1515

1616
%w[ globals ].each do |name|
1717
printf "Loading #{name}...\n" if $Flags[:verbose]
18-
require File.expand_path(File.join(RailsInstaller::Root,"lib", "setup", name +'.rb'))
18+
require File.expand_path(File.join(RailsInstaller::Root, "lib", "setup", name + '.rb'))
1919
end
2020

2121
%w[ stdlib ].each do |name|
2222
printf "Loading #{name}...\n" if $Flags[:verbose]
23-
require File.expand_path(File.join(RailsInstaller::Root,"lib", "extensions", name +'.rb'))
23+
require File.expand_path(File.join(RailsInstaller::Root, "lib", "extensions", name + '.rb'))
2424
end
2525

2626
%w[ components methods downloads actions ].each do |name|
2727
printf "Loading #{name}...\n" if $Flags[:verbose]
28-
require File.expand_path(File.join(RailsInstaller::Root,"lib", "railsinstaller", name +'.rb'))
28+
require File.expand_path(File.join(RailsInstaller::Root, "lib", "railsinstaller", name + '.rb'))
2929
end

lib/railsinstaller/methods.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ def self.unzip(package)
1313
else
1414
target_path = File.join(base_path, package.target)
1515
end
16-
regex = Regexp.new(package.regex) unless package.regex.nil?
17-
files = []
16+
regex = Regexp.new(package.regex) unless package.regex.nil?
17+
files = []
1818

1919
printf " => Extracting #{filename}\n"
2020

@@ -73,8 +73,8 @@ def self.extract(package)
7373
else
7474
target_path = File.join(RailsInstaller::Stage, package.target)
7575
end
76-
bsdtar = File.join(RailsInstaller::Stage, "bin", RailsInstaller::BSDTar.binary)
77-
sevenzip = File.join(RailsInstaller::Stage, "bin", RailsInstaller::SevenZip.binary)
76+
bsdtar = File.join(RailsInstaller::Stage, "bin", RailsInstaller::BSDTar.binary)
77+
sevenzip = File.join(RailsInstaller::Stage, "bin", RailsInstaller::SevenZip.binary)
7878

7979
if package.category == "utility" &&
8080
File.exist?(File.join(RailsInstaller::Stage, "bin", package.binary))
@@ -133,7 +133,7 @@ def self.extract(package)
133133
end
134134

135135
source = File.basename(package.url, File.extname(package.url))
136-
printf "DEBUG: source: %s\ntarget: %s\n", source, package.rename
136+
printf "DEBUG: source: %s\ntarget: %s\n", source, package.rename if $Flags[:verbose]
137137
FileUtils.mv(
138138
File.basename(package.url, File.extname(package.url)),
139139
package.rename

resources/railsinstaller/railsinstaller.iss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ Name: en; MessagesFile: compiler:Default.isl
8888
[Messages]
8989
en.InstallingLabel=Installing [name], this will take a few minutes...
9090
en.WelcomeLabel1=Welcome to [name]!
91-
en.WelcomeLabel2=This will install [name/ver] on your computer which includes Ruby 1.9.3, Rails 3.2.14, Git, Sqlite3, DevKit, and TinyTDS with FreeTDS. Please close any console applications before continuing.
91+
en.WelcomeLabel2=This will install [name/ver] on your computer which includes Ruby 1.9.3, Rails 3.2.18, Git, Sqlite3, DevKit, and TinyTDS with FreeTDS. Please close any console applications before continuing.
9292
en.WizardLicense={#InstallerName} License Agreement
9393
en.LicenseLabel=
9494
en.LicenseLabel3=Please read the following License Agreements and accept the terms before continuing the installation.

0 commit comments

Comments
 (0)