spicycode-micronaut-rails 0.1.8.0 → 0.1.8.1

Sign up to get free protection for your applications and to get access to all the features.
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
- # puts "\n[render(views => #{render_views?.inspect})] options => #{options.inspect}, caller => #{caller(0)[1]}"
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?
@@ -4,7 +4,7 @@ module Micronaut
4
4
  MAJOR = 0
5
5
  MINOR = 1
6
6
  TINY = 8
7
- MINISCULE = 0
7
+ MINISCULE = 1
8
8
 
9
9
  STRING = [MAJOR, MINOR, TINY, MINISCULE].join('.')
10
10
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spicycode-micronaut-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8.0
4
+ version: 0.1.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chad Humphries