spicycode-micronaut-rails 0.1.8.0 → 0.1.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README +6 -1
- data/lib/micronaut/rails/controllers.rb +2 -2
- data/lib/micronaut/rails/version.rb +1 -1
- metadata +1 -1
data/README
CHANGED
@@ -9,11 +9,16 @@ RSpec lite. Definitely pre alpha at the moment.
|
|
9
9
|
|
10
10
|
== REQUIREMENTS:
|
11
11
|
|
12
|
-
* Ruby 1.8
|
12
|
+
* Ruby 1.8.5+
|
13
13
|
* ActionPack
|
14
14
|
* Micronaut (via spicycode-micronaut on GitHub) -- version numbers are kept in sync, excluding the fourth version part. So
|
15
15
|
micronaut-rails 0.1.7.5 should be compatible with micronaut 0.1.7, but micronaut-rails 0.1.8.0 would require micronaut >= 0.1.8.
|
16
16
|
|
17
|
+
== ISSUES
|
18
|
+
|
19
|
+
* No support for pure Rails fixtures (we use Factory Girl/Fixture Replacement instead, so send a patch if you want support for this)
|
20
|
+
* In use in real-world projects on Rails 2.2+ - older versions may have issues.
|
21
|
+
|
17
22
|
== CREDITS:
|
18
23
|
|
19
24
|
* RSpec for the great ideas and matchers
|
@@ -36,8 +36,8 @@ module Micronaut
|
|
36
36
|
if ::Rails::VERSION::STRING >= '2.0.0' && deprecated_status_or_extra_options.nil?
|
37
37
|
deprecated_status_or_extra_options = {}
|
38
38
|
end
|
39
|
-
|
40
|
-
response.headers['Status'] = interpret_status((options && options[:status]) || ::ActionController::Base::DEFAULT_RENDER_STATUS_CODE)
|
39
|
+
Micronaut.configuration.trace { "In RenderOverrides#render with options => #{options.inspect}, deprecated_status_or_extra_options => #{deprecated_status_or_extra_options.inspect}, render_views? => #{render_views?.inspect}"}
|
40
|
+
response.headers['Status'] = interpret_status((options.is_a?(Hash) && options[:status]) || ::ActionController::Base::DEFAULT_RENDER_STATUS_CODE)
|
41
41
|
|
42
42
|
unless block_given?
|
43
43
|
unless render_views?
|