- 18 4月, 2018 1 次提交
-
-
由 Janko Marohnić 提交于
ImageProcessing gem is a wrapper around MiniMagick and ruby-vips, and implements an interface for common image resizing and processing. This is the canonical image processing gem recommended in [Shrine], and that's where it developed from. The initial implementation was extracted from Refile, which also implements on-the-fly transformations. Some features that ImageProcessing gem adds on top of MiniMagick: * resizing macros - #resize_to_limit - #resize_to_fit - #resize_to_fill - #resize_and_pad * automatic orientation * automatic thumbnail sharpening * avoids the complex and inefficient MiniMagick::Image class * will use "magick" instead of "convert" on ImageMagick 7 However, the biggest feature of the ImageProcessing gem is that it has an alternative implementation that uses libvips. Libvips is an alternative to ImageMagick that can process images very rapidly (we've seen up 10x faster than ImageMagick). What's great is that the ImageProcessing gem provides the same interface for both implementations. The macros are named the same, and the libvips implementation does auto orientation and thumbnail sharpening as well; only the operations/options specific to ImageMagick/libvips differ. The integration provided by this PR should work for both implementations. The plan is to introduce the ImageProcessing backend in Rails 6.0 as the default backend and deprecate the MiniMagick backend, then in Rails 6.1 remove the MiniMagick backend.
-
- 14 4月, 2018 5 次提交
-
-
由 Rafael França 提交于
Fix broken nodocs
-
由 Rafael França 提交于
Merge pull request #32553 from raderj89/jaredrader/update-docs-ActiveJob__Serializers__ObjectSerializer#deserialize-for-pr fix spelling in docs for ActiveJob::Serializers::ObjectSerializer#deserialize
-
由 Chris Arcand 提交于
This commit fixes all references in the codebase missing a trailing :, which causes the nodoc not to actually work :) [skip ci]
-
由 George Claghorn 提交于
-
由 George Claghorn 提交于
Add .keep exception for storage folder
-
- 13 4月, 2018 12 次提交
-
-
由 Guillermo Iguaran 提交于
Update security.md with latest underground market prices
-
由 Xavier Noria 提交于
Legit, but really an excuse to trigger the master hook in the docs server.
-
由 szTheory 提交于
Updated underground market prices according to the 2017 Symantec ISTR (was previously citing the 2008 report)
-
由 Jared Rader 提交于
-
由 Paul 提交于
Fixes https://github.com/rails/rails/issues/32546 by including the `.keep` file in the .gitignore, bringing the `storage` folder in line with the `tmp` and `log` folders.
-
由 yuuji.yaginuma 提交于
`SecureRandom.byes` was added in Ruby 2.4. So, 5-2-stable build is broken because using `SecureRandom.bytes`. https://travis-ci.org/rails/rails/jobs/365740667 Also, `SecureRandom.byes` seems to an undocumented method. If need random binary strings, should use `SecureRandom.random_bytes`. https://github.com/ruby/ruby/blob/trunk/lib/securerandom.rb
-
由 eileencodes 提交于
Ok so apparently you can not just have a `default:` that manually is merged in with YAML but you can also have a special "shared" config that is automatically merged. Example: ``` shared: adapter: mysql2 host: <%= ENV["DB_HOST"] || "localhost" %> username: root connect_timeout: 0 pool: 100 reconnect: true development: database: development_db adapter: mysql2 ``` To fix, only create a DatabaseConfig object when an adapter, database, or URL are present. The merging behavior for `shared` doesn't work with a 3-tier config. I don't think it worked before this change either - since Rails doesn't know which point to merge it in. That's something we may have to fix with the refactoring I'm working on.
-
由 Rafael França 提交于
Add WebSocket URI support to CSP DSL mappings
-
由 Rafael França 提交于
Don't doc _original_sum_with_required_identity
-
由 Rafael França 提交于
Fix ActiveSupport::Cache compression
-
由 Chris Arcand 提交于
It's not public API so don't document it.
-
由 Stephen Solis 提交于
-
- 12 4月, 2018 10 次提交
-
-
由 George Claghorn 提交于
Merge pull request #32542 from teddywing/active-support-cache-store--fix-end-tag-in-read-method-documentation Cache::Store#read: Fix fixed-width end tag in docs
-
由 Matthew Draper 提交于
Define callbacks on descendants.
-
由 Teddy Wing 提交于
* Fix the ending `</tt>` tag for `:expires_in`. Otherwise, the "or" is set in fixed-width also. * Re-wrap paragraph to 80 columns. [ci skip]
-
由 Godfrey Chan 提交于
(See previous commit for a description of the issue)
-
由 Godfrey Chan 提交于
On Rails 5.2, when compression is enabled (which it is by default), the actual value being written to the underlying storage is actually _bigger_ than the uncompressed raw value. This is because the `@marshaled_value` instance variable (typically) gets serialized with the entry object, which is then written to the underlying storage, essentially double-storing every value (once uncompressed, once possibly compressed). This regression was introduced in #32254.
-
由 Rafael França 提交于
Fix MySpace Samy worm link [ci skip]
-
由 284km 提交于
The old link https://samy.pl/popular/tech.html is 404 not found.
-
由 Rafael França 提交于
Merge pull request #32536 from lsylvester/fix-immutable-relation-error-with-http-caching-and-collection-caching Fix ActiveRecord::ImmutableRelation is raised when collection caching and HTTP caching are used together
-
由 Lachlan Sylvester 提交于
don't check for immutability when setting skip_preloading as it doesn't effect the arel and the arel may already be generated by fresh_when
-
由 Rafael França 提交于
Use frozen string literal
-
- 11 4月, 2018 10 次提交
-
-
由 Rafael Mendonça França 提交于
See https://github.com/rails/rails-docs-server/pull/8 for reason. [ci skip]
-
由 Naoki Nishiguchi 提交于
-
由 yuuji.yaginuma 提交于
The issue was fixed with https://github.com/petergoldstein/dalli/pull/679, and a new version containing that fix was released.
-
由 Rafael França 提交于
Fix turbolinks warning in railties test
-
由 Yoshiyuki Hirano 提交于
* Upgrade turbolinks from v5.0.1 to v5.1.0 * Fix warning in railties test lib/turbolinks/assertions.rb:17: warning: assigned but unused variable - visit_action
-
由 Rafael França 提交于
Include default headers by default in API mode
-
由 Rafael Mendonça França 提交于
[ci skip]
-
由 Rafael Mendonça França 提交于
We don't want people to jump from the last release in the previous series (4.2) straing to the first release in the current series that is support (5.1), so we should be supporting the entire series for severe security issues. This will not be a problem because usually we only have 3 releases in a series and backporting patches inside the same series is not harder than backporting to a previous series.
-
由 yuuji.yaginuma 提交于
Add explicit global namespace to `Rails::TestUnit::Runner` to resolve a namespace conflict between `minitest-rails` and Rails test runner. Fixes #31324
-
由 eileencodes 提交于
There's no reason to block future versions of Capybara since we don't _know_ they are going to break. How will we know if we have a conservative option set? This change prevents us from blocking users who want to upgrade in the future.
-
- 10 4月, 2018 2 次提交
-
-
由 Javan Makhmali 提交于
Active Storage: Always exclude JSON root from direct_uploads#create response
-
由 Javan Makhmali 提交于
The JavaScript component expects a bare response. Fixes #32365
-