carrierwave-ftp 0.2.3 → 0.2.4
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 +7 -0
- data/.travis.yml +10 -0
- data/lib/carrierwave/storage/ftp/version.rb +1 -1
- data/lib/carrierwave/storage/sftp.rb +1 -1
- data/spec/sftp_spec.rb +5 -0
- metadata +10 -25
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: a06fd00a7c2fd8bce74d84005b205f42ea8358c5
|
4
|
+
data.tar.gz: 31c5e0fe7788a06769b13ff10965c666b9dd2b15
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 773f550671433e6759f82cc10d5640d7cc2a6f08bd1d571d1a140e83bf2d8d1aab3dce9f640faed5dcf6d879250b697905d52d89cb31f58b84f92cfd26ab6c3c
|
7
|
+
data.tar.gz: 655ed99d7bf2bb4b9dc7311f2a9b254214f1c6a57d68f35fac99f68828f6f42152107eba525054c095bbb550709f517f0e78c0cb12f397dedeb49f99c223edcc
|
data/.travis.yml
ADDED
data/spec/sftp_spec.rb
CHANGED
@@ -52,6 +52,11 @@ describe CarrierWave::Storage::SFTP do
|
|
52
52
|
@stored = @storage.store!(@file)
|
53
53
|
end
|
54
54
|
|
55
|
+
it "should use the calculated URL when retrieving a file" do
|
56
|
+
@stored.should_receive(:url).and_return('http://example.com/')
|
57
|
+
@stored.read
|
58
|
+
end
|
59
|
+
|
55
60
|
it "returns a url based on directory" do
|
56
61
|
@stored.url.should == 'http://testcarrierwave.dev/uploads/test.jpg'
|
57
62
|
end
|
metadata
CHANGED
@@ -1,36 +1,32 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: carrierwave-ftp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
5
|
-
prerelease:
|
4
|
+
version: 0.2.4
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Luan Santos
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2013-10-
|
11
|
+
date: 2013-10-24 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: carrierwave
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - '>='
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: 0.6.2
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - '>='
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: 0.6.2
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: net-sftp
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
31
|
- - ~>
|
36
32
|
- !ruby/object:Gem::Version
|
@@ -38,7 +34,6 @@ dependencies:
|
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
38
|
- - ~>
|
44
39
|
- !ruby/object:Gem::Version
|
@@ -46,7 +41,6 @@ dependencies:
|
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: rspec
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
45
|
- - ~>
|
52
46
|
- !ruby/object:Gem::Version
|
@@ -54,7 +48,6 @@ dependencies:
|
|
54
48
|
type: :development
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
52
|
- - ~>
|
60
53
|
- !ruby/object:Gem::Version
|
@@ -62,7 +55,6 @@ dependencies:
|
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: rake
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
59
|
- - ~>
|
68
60
|
- !ruby/object:Gem::Version
|
@@ -70,7 +62,6 @@ dependencies:
|
|
70
62
|
type: :development
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
66
|
- - ~>
|
76
67
|
- !ruby/object:Gem::Version
|
@@ -83,6 +74,7 @@ extensions: []
|
|
83
74
|
extra_rdoc_files: []
|
84
75
|
files:
|
85
76
|
- .gitignore
|
77
|
+
- .travis.yml
|
86
78
|
- Gemfile
|
87
79
|
- LICENSE
|
88
80
|
- README.md
|
@@ -100,33 +92,26 @@ files:
|
|
100
92
|
homepage: https://github.com/luan/carrierwave-ftp
|
101
93
|
licenses:
|
102
94
|
- MIT
|
95
|
+
metadata: {}
|
103
96
|
post_install_message:
|
104
97
|
rdoc_options: []
|
105
98
|
require_paths:
|
106
99
|
- lib
|
107
100
|
required_ruby_version: !ruby/object:Gem::Requirement
|
108
|
-
none: false
|
109
101
|
requirements:
|
110
|
-
- -
|
102
|
+
- - '>='
|
111
103
|
- !ruby/object:Gem::Version
|
112
104
|
version: '0'
|
113
|
-
segments:
|
114
|
-
- 0
|
115
|
-
hash: 3051989175017439549
|
116
105
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
117
|
-
none: false
|
118
106
|
requirements:
|
119
|
-
- -
|
107
|
+
- - '>='
|
120
108
|
- !ruby/object:Gem::Version
|
121
109
|
version: '0'
|
122
|
-
segments:
|
123
|
-
- 0
|
124
|
-
hash: 3051989175017439549
|
125
110
|
requirements: []
|
126
111
|
rubyforge_project: carrierwave-ftp
|
127
|
-
rubygems_version:
|
112
|
+
rubygems_version: 2.0.6
|
128
113
|
signing_key:
|
129
|
-
specification_version:
|
114
|
+
specification_version: 4
|
130
115
|
summary: FTP support for CarrierWave
|
131
116
|
test_files:
|
132
117
|
- spec/ftp_spec.rb
|