Skip to content
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Commit 30b7fd0

Browse files
committed
Ensure resource is created
1 parent 6871b84 commit 30b7fd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/resources.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1247,7 +1247,7 @@ def text_html(response, status, head = {})
12471247
"updated_at" => "2011-06-20T11:34:15Z"
12481248
}
12491249

1250-
FULL_GIST.update \
1250+
FULL_GIST = GIST.dup.update \
12511251
:forks => GIST_FORKS,
12521252
:history => GIST_HISTORY,
12531253
:files => GIST_FILE.merge({'content' => 'contents of gist'})

0 commit comments

Comments
 (0)