Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
paperclip
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ikcrm_common
paperclip
Commits
cd577da4
Commit
cd577da4
authored
Oct 21, 2011
by
Mike Burns
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix_fog_public' of
https://github.com/metaskills/paperclip
parents
cd534851
de9a94a5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletions
+3
-1
lib/paperclip/storage/fog.rb
+2
-1
test/fog_test.rb
+1
-0
No files found.
lib/paperclip/storage/fog.rb
View file @
cd577da4
...
...
@@ -68,7 +68,8 @@ module Paperclip
end
def
fog_public
@fog_public
||=
@options
.
fog_public
||
true
return
@fog_public
if
defined?
(
@fog_public
)
@fog_public
=
defined?
(
@options
.
fog_public
)
?
@options
.
fog_public
:
true
end
def
flush_writes
...
...
test/fog_test.rb
View file @
cd577da4
...
...
@@ -182,6 +182,7 @@ class FogTest < Test::Unit::TestCase
should
'set the @fog_public instance variable to false'
do
assert_equal
false
,
@dummy
.
avatar
.
options
.
fog_public
assert_equal
false
,
@dummy
.
avatar
.
fog_public
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment