Forums » General Forum »
Where is the source for v0.5.12
Added by Stephen Bannasch 186 days ago
I'm checking out lockdown and wanted to look into several issues with the code:
- errors used in JRuby with the H2 database
The last commit on http://github.com/stonean/lockdown/tree/master was June 25.
Cloning and building lockdown from github creates v0.5.11.
The version installed with: 'sudo gem install lockdown' is v0.5.12.
Is there another repository?
Replies
RE: Where is the source for v0.5.12 - Added by Stephen Bannasch 186 days ago
I also tried the git repo on rubyforge but am getting this error:
$ git clone git://rubyforge.org/lockdown.git lockdown.git Initialized empty Git repository in /Users/stephen/dev/ruby/src/gems/lockdown.git/.git/ fatal: The remote end hung up unexpectedly fetch-pack from 'git://rubyforge.org/lockdown.git' failed.
RE: Where is the source for v0.5.12 - Added by Andrew Stone 186 days ago
The clone url is git://github.com/stonean/lockdown.git
It appears I did forget to update the source but the only difference between 0.5.11 and 0.5.12 is the following change to lib/lockdown/system.rb:
if Lockdown.rails_app?
Dependencies.clear
end
to:
if Lockdown.rails_app?
unless ENV['RAILS_ENV'] == 'produciton'
Dependencies.clear
end
end
I'm out of town and didn't bring my laptop, else I would update github with the source.
Apologies,
andy