pry 0.9.11.1-i386-mingw32 → 0.9.11.2-i386-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +9 -0
- data/lib/pry/commands/gist.rb +8 -2
- data/lib/pry/version.rb +1 -1
- metadata +2 -2
data/CHANGELOG
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
16/01/2012 version 0.9.11.2
|
2
|
+
* minor bug fix for gist on windows, rescuing Jist::ClipboardError
|
3
|
+
rather than letting the scary error spill out to users and potentially
|
4
|
+
have them think the gist didnt post.
|
5
|
+
|
6
|
+
16/01/2012 version 0.9.11.1
|
7
|
+
* fixed minor bug in 'gist' command where i neglected to remove
|
8
|
+
a call to a non-existent method (no_arg) which was called when
|
9
|
+
`gist` is invoked with no parameters
|
1
10
|
16/01/2013 version 0.9.11
|
2
11
|
dependency changes:
|
3
12
|
* upgrade the slop gem to version ~> 3.4
|
data/lib/pry/commands/gist.rb
CHANGED
@@ -83,8 +83,14 @@ class Pry
|
|
83
83
|
response = Jist.gist(content, :filename => filename || "pry_gist.rb", :public => !!opts[:p])
|
84
84
|
if response
|
85
85
|
url = response['html_url']
|
86
|
-
|
87
|
-
|
86
|
+
message = "Gist created at URL #{url}"
|
87
|
+
begin
|
88
|
+
Jist.copy(url)
|
89
|
+
message << ", which is now in the clipboard."
|
90
|
+
rescue Jist::ClipboardError
|
91
|
+
end
|
92
|
+
|
93
|
+
output.puts message
|
88
94
|
end
|
89
95
|
end
|
90
96
|
end
|
data/lib/pry/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pry
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.11.
|
4
|
+
version: 0.9.11.2
|
5
5
|
prerelease:
|
6
6
|
platform: i386-mingw32
|
7
7
|
authors:
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2013-01-
|
14
|
+
date: 2013-01-17 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: coderay
|