hastebin 0.2.5 → 0.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/hastebin +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a989d32d1a453296754c92cf4d14472ef1ed89b10ec20191f1881f291c307ab2
4
- data.tar.gz: 8f2e3004357c8f5689600b0142d3910ec1ab18f8708246c60e5f565a097af167
3
+ metadata.gz: 7009993759456139d2ab2afae449dee15874d48dab4874cb84dc13278edc47ca
4
+ data.tar.gz: 7b2297eb51c41e3176f42ded20d9c2c83ee5935e6015560292d7d8331be6a748
5
5
  SHA512:
6
- metadata.gz: e64c8370ecf52097217bdd08213452725c88eea219f4148c3c88b946a9957fd169ac025aba9b0079aded8d1258c7d4b512ec45b78430e3a70f8e44acf64b24db
7
- data.tar.gz: ed44d944eeba7d16dfe5f2b95030d0b2bff3f02405e79f867a73ac780211a1aa1e32613bc283320e4609453954dc3889d196311245cc454b2556354f60bbac23
6
+ metadata.gz: f780af3e6c84da08bfbd1a7d8c34f08ad7b5e436ea0a53f946e35f53387ecf9580c5227fa17c0427cef33437fb45e596c541d28ce84776e7212b1d823cf093f2
7
+ data.tar.gz: f0cc35937433d52c61f20a70a093afe7c9b0fb5cd53023bda068cbd1d80cb9df721d51c33b02f013f3fee715e782b18a8c819cf348254d9d099e542a2938c94e
data/bin/hastebin CHANGED
@@ -27,7 +27,7 @@ opts = OptionParser.new do |opts|
27
27
 
28
28
  opts.on("--write script") do |a|
29
29
 
30
- puts "View in: https://hasteb.in/#{Hastebin.code(a)}"
30
+ puts "View in: https://hasteb.in/#{Hastebin.write(a)}"
31
31
 
32
32
  exit
33
33
  end
@@ -39,7 +39,7 @@ opts = OptionParser.new do |opts|
39
39
  data.push(line)
40
40
  $text = data.join("")
41
41
  end
42
- puts "View in: https://hasteb.in/#{Hastebin.code($text)}"
42
+ puts "View in: https://hasteb.in/#{Hastebin.write($text)}"
43
43
 
44
44
  exit
45
45
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hastebin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Astin