我想從rails 3.2.0升級到3.2.7,我正在尋找兩者之間應用程序上下文文件更改的完整列表。rails 3.2.0和3.2.7之間的文件差異是什麼? (重新升級)
回答
以下是軌道3.2.0應用和軌道3.2.7應用的註釋遞歸比較,不包括Gemfile.lock
和config/initializers/secret_token.rb
。要進行升級,請進行這些更改並運行bundle update
。
順便說一句,這裏是中介發佈公告:3.2.1,3.2.2,3.2.3,3.2.4,3.2.5,3.2.6。
的Gemfile
diff --recursive rails-3.2.0/depot/Gemfile rails-3.2.7/depot/Gemfile
3c3
< gem 'rails', '3.2.0'
---
> gem 'rails', '3.2.7'
18c18
< # gem 'therubyracer'
---
> # gem 'therubyracer', :platforms => :ruby
31c31
< # Use unicorn as the web server
---
> # Use unicorn as the app server
38c38
< # gem 'ruby-debug19', :require => 'ruby-debug'
---
> # gem 'debugger'
應用程序/資產/樣式表/ application.css - 增加空間(化妝品)
diff --recursive rails-3.2.0/depot/app/assets/stylesheets/application.css rails-3.2.7/depot/app/assets/stylesheets/application.css
13c13
< */
---
> */
的config/application.rb中 - 增加配置行(閱讀約whitelist_attributes
here)
diff --recursive rails-3.2.0/depot/config/application.rb rails-3.2.7/depot/config/application.rb
41a42,44
> # Enable escaping HTML in JSON.
> config.active_support.escape_html_entities_in_json = true
>
51c54
< # config.active_record.whitelist_attributes = true
---
> config.active_record.whitelist_attributes = true
配置/環境/ production.rb - 更改註釋
diff --recursive rails-3.2.0/depot/config/environments/production.rb rails-3.2.7/depot/config/environments/production.rb
23c23
< # Defaults to Rails.root.join("public/assets")
---
> # Defaults to nil and saved in location specified by config.assets.prefix
如果你正在尋找一個確切的文件差異,你可以使用Github上比較標籤:
https://github.com/rails/rails/compare/v3.2.0...v3.2.7#files_bucket
謝謝,但我正在尋找* app-context *文件更改 - 用於升級。 – user664833 2012-08-09 17:32:24
嘗試使用pkgdiff工具爲rails包創建視覺差異。要創建一個3.2.0和3.2.7運行:
$ pkgdiff -old rails-3.2.0-0-gf36dcaf.tar.gz -new rails-3.2.7-0-gd1b9cf2.tar.gz
輸出是this HTML report。
謝謝,但我正在尋找* app-context文件更改* - 用於升級我的應用程序。 – user664833 2012-08-10 16:46:39
- 1. rails 3.1.0和3.2.0之間的文件差異是什麼? (重新升級)
- 2. 什麼是貓文件和貓之間的差異<文件
- 3. 之間是什麼真正使文件和ln差異-s
- 4. Joomla 1.5,2.5和3.0之間的性能差異是什麼?
- 5. jQuery和Prototype之間的當前差異是什麼?
- 6. 什麼是經典文本和TLF文本之間的差異
- 7. 是什麼inflaters之間的差異
- 8. 什麼之間的差異(和[?
- 9. 升級到Rails 3.2.0後堆棧級別過深3.2.0
- 10. Erlang/OTP和OpenResty之間的架構差異是什麼?
- 11. 是什麼,並在文件路徑\之間的差異\\
- 12. array_intersect_key和array_diff_key之間的時間操作差異是什麼?
- 13. ubuntu和mint之間的高級差異
- 14. MongoDB和Hibernate之間的級聯差異
- 15. 什麼是self.property的使用和性能之間的差異
- 16. 是什麼API和框架之間的差異
- 17. PCIe和QPI之間的性能和架構差異是什麼?
- 18. 什麼是./yourscript.sh和SH yourscript.sh之間的差異
- 19. 什麼是執行之間的差異和gradle這個
- 20. Apache產品和Redhat Fuse之間的發展差異是什麼?
- 21. 是什麼收益之間的差異本VS回報新類()
- 22. pry和pry-rails之間的差異
- 23. 是什麼物體之間的差異()FUNC和object.func在迅速
- 24. 是什麼A`和`之間`的差[:]`
- 25. 是什麼C之間的差++和MFC
- 26. 什麼是WebBrowser和WebBrowserTask之間的差異
- 27. prod和dev之間的差異是什麼?
- 28. 差異功能Rails和2之間3
- 29. 是什麼文件RB和R + B模式之間的差異對象
- 30. 是什麼jQuery的之間的差異(函數($)和$(函數()
有人至少有1500聲望點請創建/添加標籤'ruby-on-rails-3.2.7'?謝謝。 – user664833 2012-08-08 21:57:37
我沒有看到'3.2.7'的標籤,只是'3.2'的標籤。 – 2012-08-08 22:26:46
對不起,我的意思是「請創建標籤,然後將其添加到此問題」(如果仍然有可能)。 – user664833 2012-08-08 22:36:47