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
093f2193
Commit
093f2193
authored
Feb 11, 2009
by
Tim Pope
Committed by
Jon Yurek
Feb 11, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Syntax fix for 1.9
parent
10c79b22
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
lib/paperclip/storage.rb
+3
-3
No files found.
lib/paperclip/storage.rb
View file @
093f2193
...
@@ -206,11 +206,11 @@ module Paperclip
...
@@ -206,11 +206,11 @@ module Paperclip
def
find_credentials
creds
def
find_credentials
creds
case
creds
case
creds
when
File
:
when
File
YAML
.
load_file
(
creds
.
path
)
YAML
.
load_file
(
creds
.
path
)
when
String
:
when
String
YAML
.
load_file
(
creds
)
YAML
.
load_file
(
creds
)
when
Hash
:
when
Hash
creds
creds
else
else
raise
ArgumentError
,
"Credentials are not a path, file, or hash."
raise
ArgumentError
,
"Credentials are not a path, file, or hash."
...
...
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