lita-web-title 1.0.2 → 1.0.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b58cb13a6986befb490ab88e9c54b6e75669a8b8
4
- data.tar.gz: 1893f93eca5aa1b6f2fdea78c5c9d21d894dcce1
3
+ metadata.gz: 2f705b31124e81a12d6ffa776252eca2909733f8
4
+ data.tar.gz: f20cbeaf3fcbebb65d0cdbf2559d211c9ca1eba2
5
5
  SHA512:
6
- metadata.gz: 3266ba1d34138c53912d5d338812da38d0821b18c5d3ea6f340acdf2fa9f2d4650c3e31541be036d20dea38ca40f36443829692b4ac4134ac71e8c3087ea9480
7
- data.tar.gz: dcd60867c56cade680e4662625e20eb487cbe5cc00a4f6b8ca708b3573123995aa42a4c7779e592019f0383c5ceba2a1d2818e0847967077063c350813d16d0d
6
+ metadata.gz: 4a43eadc289198c480e6b347218f0a2ab257476fac81755092b066f26cf4998b10566fa421e499a9c7ce284d8971bf92861ed7d087cc3521c292d428e120a0ba
7
+ data.tar.gz: 5b773ce37ef85a80b3f6563caf0b1e948a107d9925a9db80816ed652d59be46b7ae919d3ff7442dae191ece08fc1fd19cd079c626dd47fbda32670fc4aef71ae
data/.gitignore CHANGED
@@ -26,9 +26,9 @@ build/
26
26
 
27
27
  # for a library or gem, you might want to ignore these files since the code is
28
28
  # intended to run in multiple environments; otherwise, check them in:
29
- # Gemfile.lock
30
- # .ruby-version
31
- # .ruby-gemset
29
+ Gemfile.lock
30
+ .ruby-version
31
+ .ruby-gemset
32
32
 
33
33
  # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
34
34
  .rvmrc
@@ -10,6 +10,7 @@ module Lita
10
10
  def parse_uri_request(request)
11
11
  requestUri = URI::extract(request.message.body, ["http", "https"])
12
12
  result = parse_uri(requestUri[0])
13
+ result.delete!("\n").strip!
13
14
  request.reply(result) unless result.nil?
14
15
  end
15
16
 
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "lita-web-title"
3
- spec.version = "1.0.2"
3
+ spec.version = "1.0.3"
4
4
  spec.authors = ["Chris Baker"]
5
5
  spec.email = ["dosman711@gmail.com"]
6
6
  spec.description = "A Lita plugin to parse URIs and post the <title> of the page"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lita-web-title
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Baker