Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.0.x #8

Open
wants to merge 55 commits into
base: master
Choose a base branch
from
Open

1.0.x #8

wants to merge 55 commits into from

Conversation

icyou2014
Copy link

No description provided.

mattetti and others added 30 commits February 9, 2009 17:16
…:Timestamps.

Not required anymore since DM fixed this bug.
* This is necessary because dm automatically defines appropriate
  FK properties for m:1 and 1:1 relationships, if the respective
  FK property wasn't explicitly defined by the programmer.
* Because DataMapperSession was always required, the sessions table
  would always be created during an auto_migrate!. The check to see if
  DataMapperSession should be required was using the wrong configuration.
  Also, due to the ordering of storage_names[default_repository_name]
  and the definition of self.default_repository_name, the configured
  default_repository_name was never used.

  These have been fixed.
This fixes an issue where before/after filters wouldn't
make use of the identity map because previously only
Merb::Controller#_call_action was wrapp
Also fixed a previously failing spec for select
helpers
Thin and Phusion Passenger for example.

[#1255 state:resolved]
Previously :crypted_password was set with :length => 60
This commit reestablishes this setting which was previously
deleted in a first attempt to be compliant with dm-0.10.0
The generator in merb_datamapper respects this too.
merbjedi and others added 25 commits October 1, 2009 17:24
All merb-core specs pass again.

params[:tempfile] is of kind Tempfile and not File
(as was specced previously).

The only reason this broken spec passed earlier,
was due to a bug in rspec <= 1.2.3 that allowed
Tempfile.new('random').should be_a_kind_of(File)
In rspec > 1.2.4 running the same will throw an error.
rake spec in the toplevel merb directory now passes
all specs. Also, merb-core/rake specs:oneoh passes
This is a temporary fix for 1.0.x. In merb-1.1 this
will be handled by active_model compliance, thus
only #new_record? will be used from 1.1 onwards.
Allow generated apps to still function even when
Webrat isn't installed. Otherwise it will show an
undefined Constant Merb::Test::ViewHelper, and you
have to track it down to the source to see that
this is because Webrat isn't available.
Without this change, the default password strategy
is always activated because the wrong config key is
used.

[#1179 state:resolved]
Require sass instead of sass/plugin (via Tony Mann)
[#1298 state: resolved ]

This patch fixes a potential timing attack on the HMAC authentication
used to verify cookie session contents by ensuring a constant time
algorithm is used to compare the hashes.  For more information see:

http://codahale.com/a-lesson-in-timing-attacks/
Setting thor dependency to use 0.9.x branch, as newer versions will break the default merb-gen app bundling tasks

[#1306 state:resolved]
Because of how BootLoader loads dependencies one
can't use dependency in the init.rb unless
dependency "xy", :immediate => true is used.
That's because Kernel.dependency() postpone loading
of the gems to the later bootloader and loads the
init.rb first to find out what dependencies to load.

[#1289 state:resolved]
This change allows you to have default adapter set
in the init.rb and still if you want to run Merb in
IRB you can do it. Currently you can't because setting
adapter in init.rb override the config value from ARGV
parsing.

[#1262 state:resolved]
This also works around an issue where rspec-1.2.9
seems to write all spec files to the spec/spec.opts
file in case the spec.opts file is empty.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.