paperclip_duplicate_check 1.0.1 → 1.0.2
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.
- checksums.yaml +5 -5
- data/.ruby-version +1 -1
- data/Gemfile.lock +120 -114
- data/README.md +2 -0
- data/VERSION +1 -1
- data/paperclip_duplicate_check.gemspec +13 -5
- metadata +13 -9
- data/tmp/.gitignore +0 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 362fcaae3d0e6abc87514b4b7a3edfb64b6055609006babd10228ced8eef8be1
|
|
4
|
+
data.tar.gz: fd5231be1c428822301a56e50ee029db2697b61b65eab91cbedef2569c321930
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1028b5a12097bec75db34e33e40eccc5f63251d19064a3fd47c1e742caaa025e1489f8151e8668a4d3a097b245fd123e759a52cb8d266df75393cbd1c4e9853c
|
|
7
|
+
data.tar.gz: 6817d16fd8671a6cf352614f694af8c6499fdd7329c571ace609a25bbb8f54a6757a8442a46134b14c73cd4d4b31c15b3b74af87ba41c49bfe0b54d844fa88c1
|
data/.ruby-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
2.4.2
|
data/Gemfile.lock
CHANGED
|
@@ -1,172 +1,178 @@
|
|
|
1
1
|
GEM
|
|
2
2
|
remote: https://rubygems.org/
|
|
3
3
|
specs:
|
|
4
|
-
actioncable (5.
|
|
5
|
-
actionpack (= 5.
|
|
6
|
-
nio4r (~>
|
|
4
|
+
actioncable (5.1.4)
|
|
5
|
+
actionpack (= 5.1.4)
|
|
6
|
+
nio4r (~> 2.0)
|
|
7
7
|
websocket-driver (~> 0.6.1)
|
|
8
|
-
actionmailer (5.
|
|
9
|
-
actionpack (= 5.
|
|
10
|
-
actionview (= 5.
|
|
11
|
-
activejob (= 5.
|
|
8
|
+
actionmailer (5.1.4)
|
|
9
|
+
actionpack (= 5.1.4)
|
|
10
|
+
actionview (= 5.1.4)
|
|
11
|
+
activejob (= 5.1.4)
|
|
12
12
|
mail (~> 2.5, >= 2.5.4)
|
|
13
13
|
rails-dom-testing (~> 2.0)
|
|
14
|
-
actionpack (5.
|
|
15
|
-
actionview (= 5.
|
|
16
|
-
activesupport (= 5.
|
|
14
|
+
actionpack (5.1.4)
|
|
15
|
+
actionview (= 5.1.4)
|
|
16
|
+
activesupport (= 5.1.4)
|
|
17
17
|
rack (~> 2.0)
|
|
18
|
-
rack-test (
|
|
18
|
+
rack-test (>= 0.6.3)
|
|
19
19
|
rails-dom-testing (~> 2.0)
|
|
20
20
|
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
|
21
|
-
actionview (5.
|
|
22
|
-
activesupport (= 5.
|
|
21
|
+
actionview (5.1.4)
|
|
22
|
+
activesupport (= 5.1.4)
|
|
23
23
|
builder (~> 3.1)
|
|
24
|
-
|
|
24
|
+
erubi (~> 1.4)
|
|
25
25
|
rails-dom-testing (~> 2.0)
|
|
26
|
-
rails-html-sanitizer (~> 1.0, >= 1.0.
|
|
27
|
-
activejob (5.
|
|
28
|
-
activesupport (= 5.
|
|
26
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
|
27
|
+
activejob (5.1.4)
|
|
28
|
+
activesupport (= 5.1.4)
|
|
29
29
|
globalid (>= 0.3.6)
|
|
30
|
-
activemodel (5.
|
|
31
|
-
activesupport (= 5.
|
|
32
|
-
activerecord (5.
|
|
33
|
-
activemodel (= 5.
|
|
34
|
-
activesupport (= 5.
|
|
35
|
-
arel (~>
|
|
36
|
-
activesupport (5.
|
|
30
|
+
activemodel (5.1.4)
|
|
31
|
+
activesupport (= 5.1.4)
|
|
32
|
+
activerecord (5.1.4)
|
|
33
|
+
activemodel (= 5.1.4)
|
|
34
|
+
activesupport (= 5.1.4)
|
|
35
|
+
arel (~> 8.0)
|
|
36
|
+
activesupport (5.1.4)
|
|
37
37
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
38
38
|
i18n (~> 0.7)
|
|
39
39
|
minitest (~> 5.1)
|
|
40
40
|
tzinfo (~> 1.1)
|
|
41
|
-
addressable (2.
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
41
|
+
addressable (2.5.2)
|
|
42
|
+
public_suffix (>= 2.0.2, < 4.0)
|
|
43
|
+
arel (8.0.0)
|
|
44
|
+
builder (3.2.3)
|
|
45
|
+
climate_control (0.2.0)
|
|
46
46
|
cocaine (0.5.8)
|
|
47
47
|
climate_control (>= 0.0.3, < 1.0)
|
|
48
|
-
concurrent-ruby (1.0.
|
|
48
|
+
concurrent-ruby (1.0.5)
|
|
49
|
+
crass (1.0.3)
|
|
49
50
|
descendants_tracker (0.0.4)
|
|
50
51
|
thread_safe (~> 0.3, >= 0.3.1)
|
|
51
|
-
diff-lcs (1.
|
|
52
|
-
|
|
53
|
-
faraday (0.
|
|
52
|
+
diff-lcs (1.3)
|
|
53
|
+
erubi (1.7.0)
|
|
54
|
+
faraday (0.12.2)
|
|
54
55
|
multipart-post (>= 1.2, < 3)
|
|
55
56
|
git (1.3.0)
|
|
56
|
-
github_api (0.
|
|
57
|
-
addressable (~> 2.4
|
|
57
|
+
github_api (0.18.2)
|
|
58
|
+
addressable (~> 2.4)
|
|
58
59
|
descendants_tracker (~> 0.0.4)
|
|
59
|
-
faraday (~> 0.8
|
|
60
|
-
hashie (>= 3.
|
|
61
|
-
oauth2
|
|
62
|
-
globalid (0.
|
|
63
|
-
activesupport (>= 4.
|
|
64
|
-
hashie (3.
|
|
65
|
-
highline (1.7.
|
|
66
|
-
i18n (0.
|
|
67
|
-
|
|
68
|
-
juwelier (2.
|
|
60
|
+
faraday (~> 0.8)
|
|
61
|
+
hashie (~> 3.5, >= 3.5.2)
|
|
62
|
+
oauth2 (~> 1.0)
|
|
63
|
+
globalid (0.4.1)
|
|
64
|
+
activesupport (>= 4.2.0)
|
|
65
|
+
hashie (3.5.6)
|
|
66
|
+
highline (1.7.10)
|
|
67
|
+
i18n (0.9.1)
|
|
68
|
+
concurrent-ruby (~> 1.0)
|
|
69
|
+
juwelier (2.4.7)
|
|
69
70
|
builder
|
|
70
|
-
bundler
|
|
71
|
-
git
|
|
71
|
+
bundler
|
|
72
|
+
git
|
|
72
73
|
github_api
|
|
73
|
-
highline
|
|
74
|
-
|
|
74
|
+
highline
|
|
75
|
+
kamelcase (~> 0)
|
|
76
|
+
nokogiri
|
|
77
|
+
psych
|
|
75
78
|
rake
|
|
76
79
|
rdoc
|
|
77
|
-
|
|
78
|
-
jwt (1.5.
|
|
79
|
-
|
|
80
|
+
semver2
|
|
81
|
+
jwt (1.5.6)
|
|
82
|
+
kamelcase (0.0.1)
|
|
83
|
+
semver2 (~> 3)
|
|
84
|
+
loofah (2.1.1)
|
|
85
|
+
crass (~> 1.0.2)
|
|
80
86
|
nokogiri (>= 1.5.9)
|
|
81
|
-
mail (2.
|
|
82
|
-
|
|
83
|
-
method_source (0.
|
|
87
|
+
mail (2.7.0)
|
|
88
|
+
mini_mime (>= 0.1.1)
|
|
89
|
+
method_source (0.9.0)
|
|
84
90
|
mime-types (3.1)
|
|
85
91
|
mime-types-data (~> 3.2015)
|
|
86
92
|
mime-types-data (3.2016.0521)
|
|
87
|
-
mimemagic (0.3.
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
93
|
+
mimemagic (0.3.2)
|
|
94
|
+
mini_mime (1.0.0)
|
|
95
|
+
mini_portile2 (2.3.0)
|
|
96
|
+
minitest (5.10.3)
|
|
97
|
+
multi_json (1.12.2)
|
|
98
|
+
multi_xml (0.6.0)
|
|
92
99
|
multipart-post (2.0.0)
|
|
93
|
-
nio4r (
|
|
94
|
-
nokogiri (1.
|
|
95
|
-
mini_portile2 (~> 2.
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
faraday (>= 0.8, < 0.10)
|
|
100
|
+
nio4r (2.1.0)
|
|
101
|
+
nokogiri (1.8.1)
|
|
102
|
+
mini_portile2 (~> 2.3.0)
|
|
103
|
+
oauth2 (1.4.0)
|
|
104
|
+
faraday (>= 0.8, < 0.13)
|
|
99
105
|
jwt (~> 1.0)
|
|
100
106
|
multi_json (~> 1.3)
|
|
101
107
|
multi_xml (~> 0.5)
|
|
102
108
|
rack (>= 1.2, < 3)
|
|
103
|
-
paperclip (5.
|
|
109
|
+
paperclip (5.1.0)
|
|
104
110
|
activemodel (>= 4.2.0)
|
|
105
111
|
activesupport (>= 4.2.0)
|
|
106
112
|
cocaine (~> 0.5.5)
|
|
107
113
|
mime-types
|
|
108
114
|
mimemagic (~> 0.3.0)
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
rack
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
115
|
+
psych (3.0.1)
|
|
116
|
+
public_suffix (3.0.1)
|
|
117
|
+
rack (2.0.3)
|
|
118
|
+
rack-test (0.8.2)
|
|
119
|
+
rack (>= 1.0, < 3)
|
|
120
|
+
rails (5.1.4)
|
|
121
|
+
actioncable (= 5.1.4)
|
|
122
|
+
actionmailer (= 5.1.4)
|
|
123
|
+
actionpack (= 5.1.4)
|
|
124
|
+
actionview (= 5.1.4)
|
|
125
|
+
activejob (= 5.1.4)
|
|
126
|
+
activemodel (= 5.1.4)
|
|
127
|
+
activerecord (= 5.1.4)
|
|
128
|
+
activesupport (= 5.1.4)
|
|
129
|
+
bundler (>= 1.3.0)
|
|
130
|
+
railties (= 5.1.4)
|
|
124
131
|
sprockets-rails (>= 2.0.0)
|
|
125
|
-
rails-dom-testing (2.0.
|
|
126
|
-
activesupport (>= 4.2.0
|
|
127
|
-
nokogiri (
|
|
132
|
+
rails-dom-testing (2.0.3)
|
|
133
|
+
activesupport (>= 4.2.0)
|
|
134
|
+
nokogiri (>= 1.6)
|
|
128
135
|
rails-html-sanitizer (1.0.3)
|
|
129
136
|
loofah (~> 2.0)
|
|
130
|
-
railties (5.
|
|
131
|
-
actionpack (= 5.
|
|
132
|
-
activesupport (= 5.
|
|
137
|
+
railties (5.1.4)
|
|
138
|
+
actionpack (= 5.1.4)
|
|
139
|
+
activesupport (= 5.1.4)
|
|
133
140
|
method_source
|
|
134
141
|
rake (>= 0.8.7)
|
|
135
142
|
thor (>= 0.18.1, < 2.0)
|
|
136
|
-
rake (
|
|
137
|
-
rdoc (
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
rspec-
|
|
142
|
-
rspec-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
rspec-expectations (3.5.0)
|
|
143
|
+
rake (12.3.0)
|
|
144
|
+
rdoc (6.0.0)
|
|
145
|
+
redcarpet (3.4.0)
|
|
146
|
+
rspec (3.7.0)
|
|
147
|
+
rspec-core (~> 3.7.0)
|
|
148
|
+
rspec-expectations (~> 3.7.0)
|
|
149
|
+
rspec-mocks (~> 3.7.0)
|
|
150
|
+
rspec-core (3.7.0)
|
|
151
|
+
rspec-support (~> 3.7.0)
|
|
152
|
+
rspec-expectations (3.7.0)
|
|
147
153
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
148
|
-
rspec-support (~> 3.
|
|
149
|
-
rspec-mocks (3.
|
|
154
|
+
rspec-support (~> 3.7.0)
|
|
155
|
+
rspec-mocks (3.7.0)
|
|
150
156
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
151
|
-
rspec-support (~> 3.
|
|
152
|
-
rspec-support (3.
|
|
153
|
-
|
|
154
|
-
sprockets (3.
|
|
157
|
+
rspec-support (~> 3.7.0)
|
|
158
|
+
rspec-support (3.7.0)
|
|
159
|
+
semver2 (3.4.2)
|
|
160
|
+
sprockets (3.7.1)
|
|
155
161
|
concurrent-ruby (~> 1.0)
|
|
156
162
|
rack (> 1, < 3)
|
|
157
|
-
sprockets-rails (3.
|
|
163
|
+
sprockets-rails (3.2.1)
|
|
158
164
|
actionpack (>= 4.0)
|
|
159
165
|
activesupport (>= 4.0)
|
|
160
166
|
sprockets (>= 3.0.0)
|
|
161
|
-
sqlite3 (1.3.
|
|
162
|
-
thor (0.
|
|
163
|
-
thread_safe (0.3.
|
|
164
|
-
tzinfo (1.2.
|
|
167
|
+
sqlite3 (1.3.13)
|
|
168
|
+
thor (0.20.0)
|
|
169
|
+
thread_safe (0.3.6)
|
|
170
|
+
tzinfo (1.2.4)
|
|
165
171
|
thread_safe (~> 0.1)
|
|
166
|
-
websocket-driver (0.6.
|
|
172
|
+
websocket-driver (0.6.5)
|
|
167
173
|
websocket-extensions (>= 0.1.0)
|
|
168
|
-
websocket-extensions (0.1.
|
|
169
|
-
yard (0.
|
|
174
|
+
websocket-extensions (0.1.3)
|
|
175
|
+
yard (0.9.12)
|
|
170
176
|
|
|
171
177
|
PLATFORMS
|
|
172
178
|
ruby
|
|
@@ -182,4 +188,4 @@ DEPENDENCIES
|
|
|
182
188
|
yard
|
|
183
189
|
|
|
184
190
|
BUNDLED WITH
|
|
185
|
-
1.
|
|
191
|
+
1.16.0
|
data/README.md
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
> ⚠️ **DEPRECATED**: paperclip_duplicate_check is no longer maintained. Paperclip itself has been deprecated upstream in favor of ActiveStorage; for duplicate detection on ActiveStorage attachments, use checksums directly. This is the final release.
|
|
2
|
+
|
|
1
3
|
Paperclip Duplicate Checker
|
|
2
4
|
===========================
|
|
3
5
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.2
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
3
|
# Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
|
5
|
-
# stub: paperclip_duplicate_check 1.0.
|
|
5
|
+
# stub: paperclip_duplicate_check 1.0.2 ruby lib
|
|
6
6
|
|
|
7
7
|
Gem::Specification.new do |s|
|
|
8
8
|
s.name = "paperclip_duplicate_check".freeze
|
|
9
|
-
s.version = "1.0.
|
|
9
|
+
s.version = "1.0.2"
|
|
10
10
|
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
|
12
12
|
s.require_paths = ["lib".freeze]
|
|
@@ -34,13 +34,21 @@ Gem::Specification.new do |s|
|
|
|
34
34
|
"spec/fixtures/image.jpg",
|
|
35
35
|
"spec/fixtures/image2.png",
|
|
36
36
|
"spec/paperclip_duplicate_check_spec.rb",
|
|
37
|
-
"spec/spec_helper.rb"
|
|
38
|
-
"tmp/.gitignore"
|
|
37
|
+
"spec/spec_helper.rb"
|
|
39
38
|
]
|
|
40
39
|
s.homepage = "http://github.com/RISCfuture/paperclip_duplicate_check".freeze
|
|
41
40
|
s.licenses = ["MIT".freeze]
|
|
42
41
|
s.rubygems_version = "2.6.6".freeze
|
|
43
|
-
s.summary = "Skips uploading a Paperclip attachment if it's identical to the one already uploaded".freeze
|
|
42
|
+
s.summary = "[DEPRECATED] Skips uploading a Paperclip attachment if it's identical to the one already uploaded".freeze
|
|
43
|
+
s.post_install_message = <<~MSG
|
|
44
|
+
|
|
45
|
+
⚠️ DEPRECATED: paperclip_duplicate_check is no longer maintained.
|
|
46
|
+
|
|
47
|
+
No longer maintained. Paperclip itself has been deprecated upstream in favor of ActiveStorage; for duplicate detection on ActiveStorage attachments, use checksums directly.
|
|
48
|
+
|
|
49
|
+
This is the final release. No further updates are planned.
|
|
50
|
+
|
|
51
|
+
MSG
|
|
44
52
|
|
|
45
53
|
if s.respond_to? :specification_version then
|
|
46
54
|
s.specification_version = 4
|
metadata
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: paperclip_duplicate_check
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tim Morgan
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
10
|
date: 2016-07-04 00:00:00.000000000 Z
|
|
@@ -147,12 +146,18 @@ files:
|
|
|
147
146
|
- spec/fixtures/image2.png
|
|
148
147
|
- spec/paperclip_duplicate_check_spec.rb
|
|
149
148
|
- spec/spec_helper.rb
|
|
150
|
-
- tmp/.gitignore
|
|
151
149
|
homepage: http://github.com/RISCfuture/paperclip_duplicate_check
|
|
152
150
|
licenses:
|
|
153
151
|
- MIT
|
|
154
152
|
metadata: {}
|
|
155
|
-
post_install_message:
|
|
153
|
+
post_install_message: |2+
|
|
154
|
+
|
|
155
|
+
⚠️ DEPRECATED: paperclip_duplicate_check is no longer maintained.
|
|
156
|
+
|
|
157
|
+
No longer maintained. Paperclip itself has been deprecated upstream in favor of ActiveStorage; for duplicate detection on ActiveStorage attachments, use checksums directly.
|
|
158
|
+
|
|
159
|
+
This is the final release. No further updates are planned.
|
|
160
|
+
|
|
156
161
|
rdoc_options: []
|
|
157
162
|
require_paths:
|
|
158
163
|
- lib
|
|
@@ -167,10 +172,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
167
172
|
- !ruby/object:Gem::Version
|
|
168
173
|
version: '0'
|
|
169
174
|
requirements: []
|
|
170
|
-
|
|
171
|
-
rubygems_version: 2.6.6
|
|
172
|
-
signing_key:
|
|
175
|
+
rubygems_version: 4.0.11
|
|
173
176
|
specification_version: 4
|
|
174
|
-
summary: Skips uploading a Paperclip attachment if it's identical to
|
|
175
|
-
uploaded
|
|
177
|
+
summary: "[DEPRECATED] Skips uploading a Paperclip attachment if it's identical to
|
|
178
|
+
the one already uploaded"
|
|
176
179
|
test_files: []
|
|
180
|
+
...
|
data/tmp/.gitignore
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
*
|