lita-ship-to-pastebin 0.1.1 → 0.1.2

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: 33e6d58e09ef53b34950b5a1e6ee0312b928aeaa
4
- data.tar.gz: 9cdc59f302037d77cf3c9871eec5463776b791b8
3
+ metadata.gz: 04bb3c500d11913d509cefcafca2a66f0cb8c55c
4
+ data.tar.gz: e4ded553dfd1e84d9212d04114830f1aa2198ee7
5
5
  SHA512:
6
- metadata.gz: 551796a9acb41784457e6083d688dc46ece1ddef1b5652cb2ee6ce2cab69385347a9e66d4cd0b2c6f6df08d7103b5483f483a1df8bc52b2fab9eacb5878897f7
7
- data.tar.gz: 43e23d3c6a4d7adce89b52f846a31bc36a3950643644a622faf0ba30c265abe7819abce7927ddf43fc84f68de9dda610600f7d3992e536c081e467ab7043ad47
6
+ metadata.gz: 4ea408dc1d4b56df187adb29f1eecb37c3142ab7376409fd854b470c6c6e2f9a98da8269f2afd3232317156f67e5032ec2582b36f5d0d198df120960c4bcfeb9
7
+ data.tar.gz: a8e03ee2ef3ef19ef124d24ac37d73c4bb366285ebf6d29983d36cf0cce7fdf83521ea5d5dd418234cc497153166c5bc66b7673f5908b8e36904d19a9ffb2492
@@ -9,10 +9,6 @@ module Lita
9
9
 
10
10
  PasteBinError = Class.new(StandardError)
11
11
 
12
- def hi(name)
13
- name
14
- end
15
-
16
12
  def save_to_pastebin(message, title: "Lita's Wall of Text")
17
13
  begin
18
14
  result = Faraday.post PASTEBIN_URL, {
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "lita-ship-to-pastebin"
3
- spec.version = "0.1.1"
3
+ spec.version = "0.1.2"
4
4
  spec.authors = ["Daniel J. Pritchett"]
5
5
  spec.email = ["dpritchett@gmail.com"]
6
6
  spec.description = "Expose helper method to pastebin-ify any input text"
@@ -3,12 +3,6 @@ require "spec_helper"
3
3
  describe Lita::Extensions::ShipToPastebin, lita: true do
4
4
  subject { Lita::Extensions::ShipToPastebin.new }
5
5
 
6
- it 'works' do
7
- canary = 'JOHN DOT MEM'
8
- actual = subject.hi canary
9
- expect(actual).to eq canary
10
- end
11
-
12
6
  it 'saves text to pastebin' do
13
7
  actual = subject.save_to_pastebin 'hey john', title: 'hey there john'
14
8
  expect(actual).to match /https:\/\/pastebin/
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lita-ship-to-pastebin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel J. Pritchett
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-04-20 00:00:00.000000000 Z
11
+ date: 2018-04-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lita