paperclip_database 2.3.1 → 2.4.0
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 +4 -4
- data/.travis.yml +9 -17
- data/Appraisals +36 -89
- data/features/basic_integration.feature +2 -2
- data/features/step_definitions/rails_steps.rb +10 -19
- data/gemfiles/rails32_paperclip2x.gemfile +4 -2
- data/gemfiles/rails32_paperclip3x.gemfile +4 -2
- data/gemfiles/rails32_paperclip4x.gemfile +4 -2
- data/gemfiles/rails40_paperclip4x.gemfile +5 -3
- data/gemfiles/rails41_paperclip4x.gemfile +5 -3
- data/gemfiles/rails42_paperclip4x.gemfile +11 -0
- data/gemfiles/rails50_paperclip4x.gemfile +11 -0
- data/lib/paperclip/storage/database.rb +10 -1
- data/lib/paperclip_database/version.rb +1 -1
- data/paperclip_database.gemspec +3 -4
- metadata +13 -39
- data/.ruby-version +0 -1
- data/gemfiles/rails30_paperclip23.gemfile +0 -9
- data/gemfiles/rails30_paperclip2x.gemfile +0 -9
- data/gemfiles/rails30_paperclip30.gemfile +0 -9
- data/gemfiles/rails30_paperclip3x.gemfile +0 -9
- data/gemfiles/rails31_paperclip23.gemfile +0 -9
- data/gemfiles/rails31_paperclip2x.gemfile +0 -9
- data/gemfiles/rails31_paperclip30.gemfile +0 -9
- data/gemfiles/rails31_paperclip3x.gemfile +0 -9
- data/gemfiles/rails32_paperclip23.gemfile +0 -9
- data/gemfiles/rails32_paperclip30.gemfile +0 -9
- data/gemfiles/rails32_paperclip40.gemfile +0 -9
- data/gemfiles/rails40_paperclip42.gemfile +0 -10
- data/gemfiles/rails41_paperclip42.gemfile +0 -9
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9ba0728ff25d025607ed204b80f0f7ad98d229ba
|
|
4
|
+
data.tar.gz: 9374326f8a3f6efd5d4ab0d006c66c620aa5c4c4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 30b06edd3da65844ee07f15f1a4fd215469d23d3147eaa5ed9c660b9dfb2abf63d9e477c4841027e102e5e5f7a14075af5899251d35cc2f4d397c073cfb98241
|
|
7
|
+
data.tar.gz: 2888226e1e6ca0c958c9dd4de715c03598acf0832ac0cfe683a88f08fb20edff6557ac8bf82b5e9ab47033d8df06b98f17993cab0bb9acbc09467fecaf151db3
|
data/.travis.yml
CHANGED
|
@@ -1,25 +1,17 @@
|
|
|
1
1
|
language: ruby
|
|
2
2
|
rvm:
|
|
3
|
-
- 1.
|
|
4
|
-
- 2.
|
|
5
|
-
- 2.
|
|
6
|
-
- 2.1.2
|
|
3
|
+
- 2.1.10
|
|
4
|
+
- 2.2.10
|
|
5
|
+
- 2.3.8
|
|
7
6
|
gemfile:
|
|
8
|
-
- gemfiles/rails30_paperclip23.gemfile
|
|
9
|
-
- gemfiles/rails30_paperclip2x.gemfile
|
|
10
|
-
- gemfiles/rails30_paperclip30.gemfile
|
|
11
|
-
- gemfiles/rails30_paperclip3x.gemfile
|
|
12
|
-
- gemfiles/rails31_paperclip23.gemfile
|
|
13
|
-
- gemfiles/rails31_paperclip2x.gemfile
|
|
14
|
-
- gemfiles/rails31_paperclip30.gemfile
|
|
15
|
-
- gemfiles/rails31_paperclip3x.gemfile
|
|
16
|
-
- gemfiles/rails32_paperclip23.gemfile
|
|
17
7
|
- gemfiles/rails32_paperclip2x.gemfile
|
|
18
|
-
- gemfiles/rails32_paperclip30.gemfile
|
|
19
8
|
- gemfiles/rails32_paperclip3x.gemfile
|
|
20
|
-
- gemfiles/rails32_paperclip40.gemfile
|
|
21
9
|
- gemfiles/rails32_paperclip4x.gemfile
|
|
22
|
-
- gemfiles/rails40_paperclip42.gemfile
|
|
23
10
|
- gemfiles/rails40_paperclip4x.gemfile
|
|
24
|
-
- gemfiles/rails41_paperclip42.gemfile
|
|
25
11
|
- gemfiles/rails41_paperclip4x.gemfile
|
|
12
|
+
- gemfiles/rails42_paperclip4x.gemfile
|
|
13
|
+
- gemfiles/rails50_paperclip4x.gemfile
|
|
14
|
+
matrix:
|
|
15
|
+
exclude:
|
|
16
|
+
- rvm: 2.1.10
|
|
17
|
+
gemfile: gemfiles/rails50_paperclip42.gemfile
|
data/Appraisals
CHANGED
|
@@ -1,120 +1,67 @@
|
|
|
1
1
|
#-*- ruby -*-
|
|
2
|
-
## Rails 3.0
|
|
3
|
-
|
|
4
|
-
appraise "rails30_paperclip23" do
|
|
5
|
-
gem "rails", "~> 3.0.0"
|
|
6
|
-
gem "paperclip", "~> 2.3.0"
|
|
7
|
-
gem "paperclip_database", :path => "../"
|
|
8
|
-
end
|
|
9
|
-
|
|
10
|
-
appraise "rails30_paperclip2x" do
|
|
11
|
-
gem "rails", "~> 3.0.0"
|
|
12
|
-
gem "paperclip", "~> 2.3"
|
|
13
|
-
gem "paperclip_database", :path => "../"
|
|
14
|
-
end
|
|
15
|
-
|
|
16
|
-
appraise "rails30_paperclip30" do
|
|
17
|
-
gem "rails", "~> 3.0.0"
|
|
18
|
-
gem "paperclip", "~> 3.0.0"
|
|
19
|
-
gem "paperclip_database", :path => "../"
|
|
20
|
-
end
|
|
21
|
-
|
|
22
|
-
appraise "rails30_paperclip3x" do
|
|
23
|
-
gem "rails", "~> 3.0.0"
|
|
24
|
-
gem "paperclip", "~> 3.0"
|
|
25
|
-
gem "paperclip_database", :path => "../"
|
|
26
|
-
end
|
|
27
|
-
|
|
28
|
-
## Rails 3.1
|
|
29
|
-
|
|
30
|
-
appraise "rails31_paperclip23" do
|
|
31
|
-
gem "rails", "~> 3.1.0"
|
|
32
|
-
gem "paperclip", "~> 2.3.0"
|
|
33
|
-
gem "paperclip_database", :path => "../"
|
|
34
|
-
end
|
|
35
|
-
|
|
36
|
-
appraise "rails31_paperclip2x" do
|
|
37
|
-
gem "rails", "~> 3.1.0"
|
|
38
|
-
gem "paperclip", "~> 2.3"
|
|
39
|
-
gem "paperclip_database", :path => "../"
|
|
40
|
-
end
|
|
41
|
-
|
|
42
|
-
appraise "rails31_paperclip30" do
|
|
43
|
-
gem "rails", "~> 3.1.0"
|
|
44
|
-
gem "paperclip", "~> 3.0.0"
|
|
45
|
-
gem "paperclip_database", :path => "../"
|
|
46
|
-
end
|
|
47
|
-
|
|
48
|
-
appraise "rails31_paperclip3x" do
|
|
49
|
-
gem "rails", "~> 3.1.0"
|
|
50
|
-
gem "paperclip", "~> 3.0"
|
|
51
|
-
gem "paperclip_database", :path => "../"
|
|
52
|
-
end
|
|
53
|
-
|
|
54
2
|
## Rails 3.2
|
|
55
3
|
|
|
56
|
-
appraise "rails32_paperclip23" do
|
|
57
|
-
gem "rails", "~> 3.2.0"
|
|
58
|
-
gem "paperclip", "~> 2.3.0"
|
|
59
|
-
gem "paperclip_database", :path => "../"
|
|
60
|
-
end
|
|
61
|
-
|
|
62
4
|
appraise "rails32_paperclip2x" do
|
|
63
5
|
gem "rails", "~> 3.2.0"
|
|
64
6
|
gem "paperclip", "~> 2.3"
|
|
65
|
-
gem
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
appraise "rails32_paperclip30" do
|
|
69
|
-
gem "rails", "~> 3.2.0"
|
|
70
|
-
gem "paperclip", "~> 3.0.0"
|
|
71
|
-
gem "paperclip_database", :path => "../"
|
|
7
|
+
gem 'capybara'
|
|
8
|
+
gem 'rspec'
|
|
9
|
+
gem 'sqlite3', '~> 1.3.0'
|
|
72
10
|
end
|
|
73
11
|
|
|
74
12
|
appraise "rails32_paperclip3x" do
|
|
75
13
|
gem "rails", "~> 3.2.0"
|
|
76
14
|
gem "paperclip", "~> 3.0"
|
|
77
|
-
gem
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
appraise "rails32_paperclip40" do
|
|
81
|
-
gem "rails", "~> 3.2.0"
|
|
82
|
-
gem "paperclip", "~> 4.0.0"
|
|
83
|
-
gem "paperclip_database", :path => "../"
|
|
15
|
+
gem 'capybara'
|
|
16
|
+
gem 'rspec'
|
|
17
|
+
gem 'sqlite3', '~> 1.3.0'
|
|
84
18
|
end
|
|
85
19
|
|
|
86
20
|
appraise "rails32_paperclip4x" do
|
|
87
21
|
gem "rails", "~> 3.2.0"
|
|
88
22
|
gem "paperclip", "~> 4.0"
|
|
89
|
-
gem
|
|
23
|
+
gem 'capybara'
|
|
24
|
+
gem 'rspec'
|
|
25
|
+
gem 'sqlite3', '~> 1.3.0'
|
|
90
26
|
end
|
|
91
27
|
|
|
92
28
|
## Rails 4.0
|
|
93
29
|
|
|
94
|
-
appraise "rails40_paperclip42" do
|
|
95
|
-
gem "rails", "~> 4.0.0"
|
|
96
|
-
gem "minitest", "~> 4.2"
|
|
97
|
-
gem "paperclip", "~> 4.2.0"
|
|
98
|
-
gem "paperclip_database", :path => "../"
|
|
99
|
-
end
|
|
100
|
-
|
|
101
30
|
appraise "rails40_paperclip4x" do
|
|
102
31
|
gem "rails", "~> 4.0.0"
|
|
103
32
|
gem "minitest", "~> 4.2"
|
|
104
|
-
gem "paperclip", "~> 4.
|
|
105
|
-
gem
|
|
33
|
+
gem "paperclip", "~> 4.0"
|
|
34
|
+
gem 'capybara'
|
|
35
|
+
gem 'rspec'
|
|
36
|
+
gem 'sqlite3', '~> 1.3.0'
|
|
106
37
|
end
|
|
107
38
|
|
|
108
39
|
## Rails 4.1
|
|
109
40
|
|
|
110
|
-
appraise "
|
|
41
|
+
appraise "rails41_paperclip4x" do
|
|
111
42
|
gem "rails", "~> 4.1.0"
|
|
112
|
-
gem "paperclip", "~> 4.
|
|
113
|
-
gem
|
|
43
|
+
gem "paperclip", "~> 4.0"
|
|
44
|
+
gem 'capybara'
|
|
45
|
+
gem 'rspec'
|
|
46
|
+
gem 'sqlite3', '~> 1.3.0'
|
|
114
47
|
end
|
|
115
48
|
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
gem "
|
|
49
|
+
## Rails 4.2
|
|
50
|
+
|
|
51
|
+
appraise "rails42_paperclip4x" do
|
|
52
|
+
gem "rails", "~> 4.2.0"
|
|
53
|
+
gem "paperclip", "~> 4.0"
|
|
54
|
+
gem 'capybara'
|
|
55
|
+
gem 'rspec'
|
|
56
|
+
gem 'sqlite3', '~> 1.3.0'
|
|
120
57
|
end
|
|
58
|
+
|
|
59
|
+
#Requires ruby >= 2.2.2
|
|
60
|
+
appraise "rails50_paperclip4x" do
|
|
61
|
+
gem "rails", "~> 5.0.0"
|
|
62
|
+
gem "paperclip", "~> 4.0"
|
|
63
|
+
gem 'capybara'
|
|
64
|
+
gem 'rspec'
|
|
65
|
+
gem 'sqlite3', '~> 1.3.0'
|
|
66
|
+
end
|
|
67
|
+
|
|
@@ -41,5 +41,5 @@ Feature: Rails integration
|
|
|
41
41
|
And I attach the file "spec/fixtures/5k.png" to "Avatar"
|
|
42
42
|
And I press "Submit"
|
|
43
43
|
Then I should see "Name: something"
|
|
44
|
-
And I should see an image with a path of "/avatar_views/1
|
|
45
|
-
And the file at "/avatar_views/1
|
|
44
|
+
And I should see an image with a path of "/avatar_views/1"
|
|
45
|
+
And the file at "/avatar_views/1" should be the same as "spec/fixtures/5k.png"
|
|
@@ -4,15 +4,6 @@ Given /^I generate a new rails application$/ do
|
|
|
4
4
|
And I cd to "#{APP_NAME}"
|
|
5
5
|
And I turn off class caching
|
|
6
6
|
And I fix the application.rb for 3.0.12
|
|
7
|
-
And I write to "Gemfile" with:
|
|
8
|
-
"""
|
|
9
|
-
source "http://rubygems.org"
|
|
10
|
-
gem "rails", "#{framework_version}"
|
|
11
|
-
gem "sqlite3"
|
|
12
|
-
gem "capybara"
|
|
13
|
-
gem "gherkin"
|
|
14
|
-
gem "paperclip", "#{paperclip_version}"
|
|
15
|
-
"""
|
|
16
7
|
And I remove turbolinks
|
|
17
8
|
And I empty the application.js file
|
|
18
9
|
And I configure the application to use "paperclip_database" from this project
|
|
@@ -23,7 +14,7 @@ end
|
|
|
23
14
|
|
|
24
15
|
Given "I fix the application.rb for 3.0.12" do
|
|
25
16
|
##See https://github.com/rails/rails/issues/9619
|
|
26
|
-
|
|
17
|
+
in_current_directory do
|
|
27
18
|
File.open("config/application.rb", "a") do |f|
|
|
28
19
|
f << "ActionController::Base.config.relative_url_root = ''"
|
|
29
20
|
end
|
|
@@ -31,7 +22,7 @@ Given "I fix the application.rb for 3.0.12" do
|
|
|
31
22
|
end
|
|
32
23
|
|
|
33
24
|
Given "I allow the attachment to be submitted" do
|
|
34
|
-
|
|
25
|
+
in_current_directory do
|
|
35
26
|
if framework_major_version == 3
|
|
36
27
|
transform_file("app/models/user.rb") do |content|
|
|
37
28
|
content.gsub("attr_accessible :name",
|
|
@@ -47,7 +38,7 @@ Given "I allow the attachment to be submitted" do
|
|
|
47
38
|
end
|
|
48
39
|
|
|
49
40
|
Given "I remove turbolinks" do
|
|
50
|
-
|
|
41
|
+
in_current_directory do
|
|
51
42
|
transform_file("app/assets/javascripts/application.js") do |content|
|
|
52
43
|
content.gsub("//= require turbolinks", "")
|
|
53
44
|
end
|
|
@@ -58,7 +49,7 @@ Given "I remove turbolinks" do
|
|
|
58
49
|
end
|
|
59
50
|
|
|
60
51
|
Given "I empty the application.js file" do
|
|
61
|
-
|
|
52
|
+
in_current_directory do
|
|
62
53
|
transform_file("app/assets/javascripts/application.js") do |content|
|
|
63
54
|
""
|
|
64
55
|
end
|
|
@@ -108,14 +99,14 @@ end
|
|
|
108
99
|
|
|
109
100
|
Given /^I add this snippet to the User model:$/ do |snippet|
|
|
110
101
|
file_name = "app/models/user.rb"
|
|
111
|
-
|
|
102
|
+
in_current_directory do
|
|
112
103
|
content = File.read(file_name)
|
|
113
104
|
File.open(file_name, 'w') { |f| f << content.sub(/end\Z/, "#{snippet}\nend") }
|
|
114
105
|
end
|
|
115
106
|
end
|
|
116
107
|
|
|
117
108
|
Given /^I replace \/(.*?)\/ with this snippet in the "(.*?)" controller:$/ do |pattern, controller_name, snippet|
|
|
118
|
-
|
|
109
|
+
in_current_directory do
|
|
119
110
|
transform_file("app/controllers/#{controller_name}_controller.rb") do |content|
|
|
120
111
|
content.gsub(Regexp.new(pattern, Regexp::MULTILINE), snippet)
|
|
121
112
|
end
|
|
@@ -123,7 +114,7 @@ Given /^I replace \/(.*?)\/ with this snippet in the "(.*?)" controller:$/ do |p
|
|
|
123
114
|
end
|
|
124
115
|
|
|
125
116
|
Given /^I start the rails application$/ do
|
|
126
|
-
|
|
117
|
+
in_current_directory do
|
|
127
118
|
require "./config/environment"
|
|
128
119
|
require "capybara/rails"
|
|
129
120
|
end
|
|
@@ -134,7 +125,7 @@ Given /^I reload my application$/ do
|
|
|
134
125
|
end
|
|
135
126
|
|
|
136
127
|
When %r{I turn off class caching} do
|
|
137
|
-
|
|
128
|
+
in_current_directory do
|
|
138
129
|
file = "config/environments/test.rb"
|
|
139
130
|
config = IO.read(file)
|
|
140
131
|
config.gsub!(%r{^\s*config.cache_classes.*$},
|
|
@@ -184,7 +175,7 @@ end
|
|
|
184
175
|
|
|
185
176
|
module FileHelpers
|
|
186
177
|
def append_to(path, contents)
|
|
187
|
-
|
|
178
|
+
in_current_directory do
|
|
188
179
|
File.open(path, "a") do |file|
|
|
189
180
|
file.puts
|
|
190
181
|
file.puts contents
|
|
@@ -197,7 +188,7 @@ module FileHelpers
|
|
|
197
188
|
end
|
|
198
189
|
|
|
199
190
|
def comment_out_gem_in_gemfile(gemname)
|
|
200
|
-
|
|
191
|
+
in_current_directory do
|
|
201
192
|
gemfile = File.read("Gemfile")
|
|
202
193
|
gemfile.sub!(/^(\s*)(gem\s*['"]#{gemname})/, "\\1# \\2")
|
|
203
194
|
File.open("Gemfile", 'w'){ |file| file.write(gemfile) }
|
|
@@ -4,7 +4,9 @@ source "http://rubygems.org"
|
|
|
4
4
|
|
|
5
5
|
gem "rails", "~> 4.0.0"
|
|
6
6
|
gem "minitest", "~> 4.2"
|
|
7
|
-
gem "paperclip", "~> 4.
|
|
8
|
-
gem "
|
|
7
|
+
gem "paperclip", "~> 4.0"
|
|
8
|
+
gem "capybara"
|
|
9
|
+
gem "rspec"
|
|
10
|
+
gem "sqlite3", "~> 1.3.0"
|
|
9
11
|
|
|
10
|
-
gemspec :
|
|
12
|
+
gemspec path: "../"
|
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
source "http://rubygems.org"
|
|
4
4
|
|
|
5
5
|
gem "rails", "~> 4.1.0"
|
|
6
|
-
gem "paperclip", "~> 4.
|
|
7
|
-
gem "
|
|
6
|
+
gem "paperclip", "~> 4.0"
|
|
7
|
+
gem "capybara"
|
|
8
|
+
gem "rspec"
|
|
9
|
+
gem "sqlite3", "~> 1.3.0"
|
|
8
10
|
|
|
9
|
-
gemspec :
|
|
11
|
+
gemspec path: "../"
|
|
@@ -101,7 +101,14 @@ module Paperclip
|
|
|
101
101
|
@paperclip_file_model = @attachment_class.const_set(class_name, Class.new(::ActiveRecord::Base))
|
|
102
102
|
@paperclip_file_model.table_name = @options[:database_table] || name.to_s.pluralize
|
|
103
103
|
@paperclip_file_model.validates_uniqueness_of :style, :scope => instance.class.table_name.classify.underscore + '_id'
|
|
104
|
-
|
|
104
|
+
case ActiveModel::VERSION::MAJOR
|
|
105
|
+
when 3, 4
|
|
106
|
+
@paperclip_file_model.scope :file_for, lambda {|style| @paperclip_file_model.where('style = ?', style) }
|
|
107
|
+
when 5
|
|
108
|
+
@paperclip_file_model.scope :file_for, lambda {|style| where('style = ?', style) }
|
|
109
|
+
else
|
|
110
|
+
raise "ActiveModel version #{ActiveModel::VERSION::STRING} is not supported (yet)"
|
|
111
|
+
end
|
|
105
112
|
end
|
|
106
113
|
end
|
|
107
114
|
private :setup_paperclip_file_model
|
|
@@ -192,6 +199,8 @@ module Paperclip
|
|
|
192
199
|
paperclip_file = instance.send(@paperclip_files_association_name).send(:find_or_create_by_style, style.to_s)
|
|
193
200
|
when 4
|
|
194
201
|
paperclip_file = instance.send(@paperclip_files_association_name).send(:find_or_create_by, style: style.to_s)
|
|
202
|
+
when 5
|
|
203
|
+
paperclip_file = instance.send(@paperclip_files_association_name).send(:find_or_create_by, style: style.to_s)
|
|
195
204
|
else
|
|
196
205
|
raise "ActiveModel version #{ActiveModel::VERSION::STRING} is not supported (yet)"
|
|
197
206
|
end
|
data/paperclip_database.gemspec
CHANGED
|
@@ -24,15 +24,14 @@ Gem::Specification.new do |s|
|
|
|
24
24
|
s.add_dependency('paperclip', '>= 2.3.0')
|
|
25
25
|
|
|
26
26
|
s.add_development_dependency('rspec', '~> 3.1')
|
|
27
|
-
s.add_development_dependency('appraisal', '~>
|
|
27
|
+
s.add_development_dependency('appraisal', '~> 2.0')
|
|
28
28
|
# s.add_development_dependency('rails', '>= 3.0.0') # Appraisal
|
|
29
|
-
s.add_development_dependency('
|
|
30
|
-
s.add_development_dependency('sqlite3', '~> 1.3')
|
|
29
|
+
s.add_development_dependency('sqlite3', '~> 1.3.0')
|
|
31
30
|
s.add_development_dependency('cucumber', '~> 1.1')
|
|
32
31
|
s.add_development_dependency('launchy', '~> 2.1')
|
|
33
32
|
s.add_development_dependency('aruba')
|
|
34
33
|
s.add_development_dependency('capybara', '~> 2.0.0', '< 2.1.0')
|
|
35
|
-
s.add_development_dependency('bundler')
|
|
34
|
+
s.add_development_dependency('bundler', '< 2.0')
|
|
36
35
|
s.add_development_dependency('rake')
|
|
37
36
|
s.add_development_dependency('fakeweb')
|
|
38
37
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: paperclip_database
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jarl Friis
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2019-10-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: paperclip
|
|
@@ -44,42 +44,28 @@ dependencies:
|
|
|
44
44
|
requirements:
|
|
45
45
|
- - "~>"
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
|
-
version: '
|
|
47
|
+
version: '2.0'
|
|
48
48
|
type: :development
|
|
49
49
|
prerelease: false
|
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
51
|
requirements:
|
|
52
52
|
- - "~>"
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
|
-
version: '
|
|
55
|
-
- !ruby/object:Gem::Dependency
|
|
56
|
-
name: mocha
|
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
|
58
|
-
requirements:
|
|
59
|
-
- - ">="
|
|
60
|
-
- !ruby/object:Gem::Version
|
|
61
|
-
version: '0'
|
|
62
|
-
type: :development
|
|
63
|
-
prerelease: false
|
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
65
|
-
requirements:
|
|
66
|
-
- - ">="
|
|
67
|
-
- !ruby/object:Gem::Version
|
|
68
|
-
version: '0'
|
|
54
|
+
version: '2.0'
|
|
69
55
|
- !ruby/object:Gem::Dependency
|
|
70
56
|
name: sqlite3
|
|
71
57
|
requirement: !ruby/object:Gem::Requirement
|
|
72
58
|
requirements:
|
|
73
59
|
- - "~>"
|
|
74
60
|
- !ruby/object:Gem::Version
|
|
75
|
-
version:
|
|
61
|
+
version: 1.3.0
|
|
76
62
|
type: :development
|
|
77
63
|
prerelease: false
|
|
78
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
79
65
|
requirements:
|
|
80
66
|
- - "~>"
|
|
81
67
|
- !ruby/object:Gem::Version
|
|
82
|
-
version:
|
|
68
|
+
version: 1.3.0
|
|
83
69
|
- !ruby/object:Gem::Dependency
|
|
84
70
|
name: cucumber
|
|
85
71
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -146,16 +132,16 @@ dependencies:
|
|
|
146
132
|
name: bundler
|
|
147
133
|
requirement: !ruby/object:Gem::Requirement
|
|
148
134
|
requirements:
|
|
149
|
-
- - "
|
|
135
|
+
- - "<"
|
|
150
136
|
- !ruby/object:Gem::Version
|
|
151
|
-
version: '0'
|
|
137
|
+
version: '2.0'
|
|
152
138
|
type: :development
|
|
153
139
|
prerelease: false
|
|
154
140
|
version_requirements: !ruby/object:Gem::Requirement
|
|
155
141
|
requirements:
|
|
156
|
-
- - "
|
|
142
|
+
- - "<"
|
|
157
143
|
- !ruby/object:Gem::Version
|
|
158
|
-
version: '0'
|
|
144
|
+
version: '2.0'
|
|
159
145
|
- !ruby/object:Gem::Dependency
|
|
160
146
|
name: rake
|
|
161
147
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -194,7 +180,6 @@ files:
|
|
|
194
180
|
- ".document"
|
|
195
181
|
- ".gitignore"
|
|
196
182
|
- ".rspec"
|
|
197
|
-
- ".ruby-version"
|
|
198
183
|
- ".travis.yml"
|
|
199
184
|
- Appraisals
|
|
200
185
|
- Gemfile
|
|
@@ -211,24 +196,13 @@ files:
|
|
|
211
196
|
- features/support/paths.rb
|
|
212
197
|
- features/support/rails.rb
|
|
213
198
|
- features/support/selectors.rb
|
|
214
|
-
- gemfiles/rails30_paperclip23.gemfile
|
|
215
|
-
- gemfiles/rails30_paperclip2x.gemfile
|
|
216
|
-
- gemfiles/rails30_paperclip30.gemfile
|
|
217
|
-
- gemfiles/rails30_paperclip3x.gemfile
|
|
218
|
-
- gemfiles/rails31_paperclip23.gemfile
|
|
219
|
-
- gemfiles/rails31_paperclip2x.gemfile
|
|
220
|
-
- gemfiles/rails31_paperclip30.gemfile
|
|
221
|
-
- gemfiles/rails31_paperclip3x.gemfile
|
|
222
|
-
- gemfiles/rails32_paperclip23.gemfile
|
|
223
199
|
- gemfiles/rails32_paperclip2x.gemfile
|
|
224
|
-
- gemfiles/rails32_paperclip30.gemfile
|
|
225
200
|
- gemfiles/rails32_paperclip3x.gemfile
|
|
226
|
-
- gemfiles/rails32_paperclip40.gemfile
|
|
227
201
|
- gemfiles/rails32_paperclip4x.gemfile
|
|
228
|
-
- gemfiles/rails40_paperclip42.gemfile
|
|
229
202
|
- gemfiles/rails40_paperclip4x.gemfile
|
|
230
|
-
- gemfiles/rails41_paperclip42.gemfile
|
|
231
203
|
- gemfiles/rails41_paperclip4x.gemfile
|
|
204
|
+
- gemfiles/rails42_paperclip4x.gemfile
|
|
205
|
+
- gemfiles/rails50_paperclip4x.gemfile
|
|
232
206
|
- lib/generators/paperclip_database/migration/USAGE
|
|
233
207
|
- lib/generators/paperclip_database/migration/migration_generator.rb
|
|
234
208
|
- lib/generators/paperclip_database/migration/templates/migration.rb.erb
|
|
@@ -265,7 +239,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
265
239
|
requirements:
|
|
266
240
|
- ImageMagick
|
|
267
241
|
rubyforge_project:
|
|
268
|
-
rubygems_version: 2.
|
|
242
|
+
rubygems_version: 2.5.2
|
|
269
243
|
signing_key:
|
|
270
244
|
specification_version: 4
|
|
271
245
|
summary: Database storage for paperclip
|
data/.ruby-version
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
1.9.3-p448
|