pvim 0.0.3 → 0.0.4

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: 3697c02422c62529465f90fd003e4b862d0d4283
4
- data.tar.gz: 0a2d3bc8c0e48f5b24ee3ae0cd91827b21f504d7
3
+ metadata.gz: a0977f618fde1b449be7d96d95f140e98cef8ffb
4
+ data.tar.gz: 46b71903d1371c41e583d6ce96cafc90b6464880
5
5
  SHA512:
6
- metadata.gz: 39404ea93a170dd61a8648dbca35397918dd1178c67a24a49502ca281605176a23af0023329abeb2fd5aff4227dc2529a9c86510eeb009d374b46056210a017b
7
- data.tar.gz: a1202d82a8e4c047997f8f66d86a5b90c3496f9e49b84ac37e3cf2ca05712be553a86bc6ea81380583ed8c8b477c0d04f53e96ae3ae147de85c9f0b848eb7afb
6
+ metadata.gz: 037b1a5bea22202e92f18ca77e173dbdd38cf5dafd2783188ca998e3cc321fff2866d47f6bd8fb590b282775791cbbe2b6bb6d539f13ea77eea98d6b5475f0bc
7
+ data.tar.gz: fd63053ca4cd115e854bb851ec372d2753d5bb02d17c64bfd6a7ce0865110c505e3f96eff8cd3c19ddb48f63c8d2656af7262c9411f553fff60841e4f0cc0426
data/lib/pvim/plugin.rb CHANGED
@@ -117,7 +117,8 @@ module Pvim
117
117
  end
118
118
 
119
119
  def add_github_prefix(url)
120
- return "https://github.com/#{url}" unless url.match(/^https?\:\/\/github\.com/)
120
+ url = "https://github.com/#{url}" unless url.match(/^https?\:\/\/github\.com/)
121
+ url
121
122
  end
122
123
 
123
124
  def check_url(url)
data/lib/pvim/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Pvim
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pvim
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Phong Nguyen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-22 00:00:00.000000000 Z
11
+ date: 2013-11-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler