s3-gyazo 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/s3/gyazo/client.rb +1 -1
- data/lib/s3/gyazo/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b1f0eed225ce0c0c5ee9269d26222de1625dfa0f
|
4
|
+
data.tar.gz: 4d4692866a19e846922ba48422125a9d9c1c4d39
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6998c4614ed69710a2f142867a9e7d073d6768501e2448455fced4ecf10970878103fe29e86d7b52d7e5d8115f9c5eb43db49cdee1daf7b6e3d3dff340e11da2
|
7
|
+
data.tar.gz: 52612a6a2ab99d64f927889e9a3edecc6bfd1a5db425a033d9d4a878b9d4107814c7081d0a728189402ec890521b23e38a293635e597dd93112f8cb464695231
|
data/lib/s3/gyazo/client.rb
CHANGED
@@ -2,7 +2,7 @@ require "aws-sdk-core"
|
|
2
2
|
|
3
3
|
class S3::Gyazo::Client
|
4
4
|
def self.run
|
5
|
-
Tempfile.create("") do |tmp|
|
5
|
+
::Tempfile.create("") do |tmp|
|
6
6
|
break unless system "screencapture -x -i \"#{tmp.path}\""
|
7
7
|
filename = Time.now.strftime("%Y-%m-%d_%H-%M-%S.png")
|
8
8
|
s3 = Aws::S3::Client.new(region: ENV["S3_GAZO_REGION"])
|
data/lib/s3/gyazo/version.rb
CHANGED