paperclip 4.3.3 → 4.3.4

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of paperclip might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 79d2d73240dea47e979d28e67b670fe4ebe03b1c
4
- data.tar.gz: 1f826ab0f3018bf26378e9e37eff2280cc8d6ada
3
+ metadata.gz: 83567677f13e381c3c2808fb4351ebe5ab1d9472
4
+ data.tar.gz: c6b76b6377eb8635a698be2c4aca1c3fe803bf39
5
5
  SHA512:
6
- metadata.gz: ebd4d6366d1686162a153b30c68777d9b27a9177e0b00e6a7489091bc0b656e8917fb35840dfe13c873c9e154e7c37fa6c10c4d0d1e409c3e9d2980eef325393
7
- data.tar.gz: fdc49800c9d04ffef94feb901e46de2481ba3a3eca536551b5afe6cc997e315a1be075ccf48f02ce45cfd1da513bb339e4565c58cff7e546ea7d39494883598e
6
+ metadata.gz: 6d6985f2ea18d7b5924555ada101da7575603ccf3df435902e3388dc81750c4028a5abd9e8eaeff15b005716c86a9c066c7a172b11806278dde485abf0b7bd0c
7
+ data.tar.gz: ee7e8530249f6015fc49d7cb45167490dd26f011177b273a7284773b965c375beb8a38692a885af12fba83ef1a55452e1dcc6f1ca51fb655ea2b560f4d4b7bf5
data/NEWS CHANGED
@@ -1,6 +1,9 @@
1
+ 4.3.4 (2/2/2016):
2
+ * Bug Fix: Fix incompatible change from v4.3.3.
3
+
1
4
  4.3.3 (1/29/2016):
2
5
 
3
- *Improvement: Add deprecation warnings in preparation for release of v5.0
6
+ * Improvement: Add deprecation warnings in preparation for release of v5.0
4
7
 
5
8
  4.3.2 (11/18/2015):
6
9
 
@@ -5,13 +5,13 @@ module Paperclip
5
5
  class << self
6
6
  def check
7
7
  warn_aws_sdk_v1 if aws_sdk_v1?
8
- warn_outdated_rails if active_record_version < "4.2"
8
+ warn_outdated_rails if active_model_version < "4.2"
9
9
  end
10
10
 
11
11
  private
12
12
 
13
- def active_record_version
14
- ::ActiveRecord::VERSION::STRING
13
+ def active_model_version
14
+ ::ActiveModel::VERSION::STRING
15
15
  end
16
16
 
17
17
  def aws_sdk_v1?
@@ -1,3 +1,3 @@
1
1
  module Paperclip
2
- VERSION = "4.3.3" unless defined? Paperclip::VERSION
2
+ VERSION = "4.3.4" unless defined? Paperclip::VERSION
3
3
  end
@@ -14,9 +14,9 @@ describe Paperclip::Deprecations do
14
14
  ActiveSupport::Deprecation.silenced = true
15
15
  end
16
16
 
17
- context "when active record version is < 4.2" do
17
+ context "when active model version is < 4.2" do
18
18
  it "displays deprecation warning" do
19
- Paperclip::Deprecations.stubs(:active_record_version).returns("4.1")
19
+ Paperclip::Deprecations.stubs(:active_model_version).returns("4.1")
20
20
 
21
21
  assert_deprecated("Rails 3.2 and 4.1 are unsupported") do
22
22
  Paperclip::Deprecations.check
@@ -24,9 +24,9 @@ describe Paperclip::Deprecations do
24
24
  end
25
25
  end
26
26
 
27
- context "when active record version is 4.2" do
27
+ context "when active model version is 4.2" do
28
28
  it "do not display deprecation warning" do
29
- Paperclip::Deprecations.stubs(:active_record_version).returns("4.2")
29
+ Paperclip::Deprecations.stubs(:active_model_version).returns("4.2")
30
30
 
31
31
  assert_not_deprecated do
32
32
  Paperclip::Deprecations.check
@@ -3,7 +3,7 @@ RSpec.configure do |config|
3
3
  ActiveSupport::Deprecation.silenced = true
4
4
  end
5
5
  config.before(:each) do
6
- Paperclip::Deprecations.stubs(:active_record_version).returns("4.2")
6
+ Paperclip::Deprecations.stubs(:active_model_version).returns("4.2")
7
7
  Paperclip::Deprecations.stubs(:aws_sdk_version).returns("2.0.0")
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paperclip
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.3.3
4
+ version: 4.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jon Yurek
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-29 00:00:00.000000000 Z
11
+ date: 2016-02-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel