onlyoffice_bugzilla_helper 0.1.0 → 0.1.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
  SHA256:
3
- metadata.gz: c4c3f402e49c5b81c24b25f78b4d8a12d88363084e2f6480ce8212f77b2608fd
4
- data.tar.gz: 026140ee4bd6559e2ac522d72817541f0cfb5b260f2f7aad6ffce8e098c39ebd
3
+ metadata.gz: 8546f46503248d965497169d720b46bb608883a248a22338fc9d56a82082c857
4
+ data.tar.gz: 9ac958331df297a80cfcb709a3539f0ff6d744d800d9c1ef3a9416296d7527c8
5
5
  SHA512:
6
- metadata.gz: fec8d5ca2112b0c9f4d69bf9cfe386e74ea77c7ddd096296c30a547d07af448bc27d99dfda9f3fdd390daacfd6e323b537ba4edd94d943473201a8e5664be7ce
7
- data.tar.gz: 4a104a6835726bd7cb552f315ceace38d75fe0643612ea95396b506424593a093d8376ef6e2e0ba5c92f41bbce051e917c1239d1c17ceaae0b25f6d83d8b8c7e
6
+ metadata.gz: 20534e8b08c71fbb9d2e4beb8ec3bdde5404508d32b08510d010663af2f195547f79bb1c72d847a67a1c1274b2546621a99978a3cca383b8a66c512f87b22a72
7
+ data.tar.gz: '0369bca03402e01e59a0ad7a423ea02952c5baaba5b7164ab47f0bb5fcfdd433c5cd9118fc25d291368b07386ce46705922514d97bb2f386d8b20ff00432c776'
data/Changelog.md CHANGED
@@ -2,5 +2,8 @@
2
2
 
3
3
  ## master (unreleased)
4
4
 
5
+ ## 0.1.1 (2018-05-15)
6
+ * Fix getting id from string with spaces
7
+
5
8
  ## 0.1.0
6
9
  * Initial Release
@@ -32,6 +32,7 @@ module OnlyofficeBugzillaHelper
32
32
  # @param string [String] string for error
33
33
  # @return [Integer, Nil] result of bug id from url
34
34
  def bug_id_from_string(string)
35
+ return nil unless string =~ URI::DEFAULT_PARSER.make_regexp
35
36
  uri = URI.parse(string)
36
37
  return nil unless uri.host == url
37
38
  return nil unless uri.path == @show_bug_path
@@ -1,3 +1,3 @@
1
1
  module OnlyofficeBugzillaHelper
2
- VERSION = '0.1.0'.freeze
2
+ VERSION = '0.1.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: onlyoffice_bugzilla_helper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Lobashov
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-04-26 00:00:00.000000000 Z
12
+ date: 2018-05-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler