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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8d9c1d54c05d8709f4118015d3c55ad84dce8e9d
4
- data.tar.gz: d5846b90cdabcb8bfd84cfd18dc5f5204d70ed6b
3
+ metadata.gz: b1f0eed225ce0c0c5ee9269d26222de1625dfa0f
4
+ data.tar.gz: 4d4692866a19e846922ba48422125a9d9c1c4d39
5
5
  SHA512:
6
- metadata.gz: 50a5b0cd6332f04be634027ac33da2ba2b02b82f162bd3b75ef874c7e405ce829b3c8882cca2c41ac12bbf8717569e8efd955ec69d1dde10cc8160a6398d9fcc
7
- data.tar.gz: e1923f0bf07b33c7c2fe5445a1f6f23d9183080d7261cfbfaeed8955038c31648ae3185bff11c366750a15601927ee18a4f731547128de5e0c69cf25be25286c
6
+ metadata.gz: 6998c4614ed69710a2f142867a9e7d073d6768501e2448455fced4ecf10970878103fe29e86d7b52d7e5d8115f9c5eb43db49cdee1daf7b6e3d3dff340e11da2
7
+ data.tar.gz: 52612a6a2ab99d64f927889e9a3edecc6bfd1a5db425a033d9d4a878b9d4107814c7081d0a728189402ec890521b23e38a293635e597dd93112f8cb464695231
@@ -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"])
@@ -1,5 +1,5 @@
1
1
  module S3
2
2
  module Gyazo
3
- VERSION = "0.2.0"
3
+ VERSION = "0.2.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: s3-gyazo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yoshiori SHOJI