tmbundle-manager 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: 002698ac7716ea2a29067af597360f50ea472cf8
4
- data.tar.gz: 620d5ec0706afd63887c0392339b0ae3b76128ff
3
+ metadata.gz: b7a2ad9ae1af79f756fa79cb8a738b87aaedb773
4
+ data.tar.gz: d69d7eb25a2e0c66a9aca347470505b0e2d188c5
5
5
  SHA512:
6
- metadata.gz: bb379f2a7648a6d562ef8b3b63c370210cf7df1247130e9221626b0338820582f4bbaca8e573b852df0ecd13fcfa13edd1fe7e28b406c7687d677830b72b74a7
7
- data.tar.gz: 357ef252fccfcb36a2d7f815c05740f6fea15f5ea99f7322ece01d5a816f152386642302e3863c2ca15feb018e0baae4e2ee7c6c7b0b01c3ca17e0e3ae35d3b2
6
+ metadata.gz: bce719f22413dcbe7070da9349e661ce6b700d9b3ac51e7ae2eb200f145f0f173abb809de928fea7ce79247931a31295704974c8502cdddff0dafed1e87acebd
7
+ data.tar.gz: 9d8b09475f27a1ccd55cbe39d7766838707578850d040134732a5d756bfd81413d54f78730f8515b7b140059763c0c98c02cdd241ad66dcfa198e2ada7e7b131
@@ -9,7 +9,7 @@ class TMBundle::BundleName
9
9
  private :name
10
10
 
11
11
  def install_name
12
- File.basename(name =~ REGEX ? name.gsub(REGEX, '.tmbundle') : name)
12
+ File.basename(name =~ REGEX ? name.gsub(REGEX, '.tmbundle') : name+'.tmbundle')
13
13
  end
14
14
 
15
15
  def repo_name
@@ -1,5 +1,5 @@
1
1
  module Tmbundle
2
2
  module Manager
3
- VERSION = '0.1.1'
3
+ VERSION = '0.1.2'
4
4
  end
5
5
  end
@@ -3,8 +3,14 @@ require 'tmbundle'
3
3
  require 'tmbundle/bundle_name'
4
4
 
5
5
  describe TMBundle::BundleName do
6
- subject(:name) { described_class.new('davidrios/jade-tmbundle') }
7
- its(:name) { should eq('davidrios/jade-tmbundle') }
8
- its(:install_name) { should eq('jade.tmbundle') }
9
- its(:git_url) { should eq('https://github.com/davidrios/jade-tmbundle.git') }
6
+ endings = ['-tmbundle', '.tmbundle', '']
7
+
8
+ endings.each do |ending|
9
+ context "ending in #{ending.inspect}" do
10
+ subject(:name) { described_class.new("davidrios/jade#{ending}") }
11
+ its(:name) { should eq("davidrios/jade#{ending}") }
12
+ its(:install_name) { should eq('jade.tmbundle') }
13
+ its(:git_url) { should eq("https://github.com/davidrios/jade#{ending.empty? ? '.tmbundle' : ending}.git") }
14
+ end
15
+ end
10
16
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tmbundle-manager
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
  - Elia Schito
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-29 00:00:00.000000000 Z
11
+ date: 2014-11-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -126,7 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
126
126
  version: '0'
127
127
  requirements: []
128
128
  rubyforge_project:
129
- rubygems_version: 2.2.2
129
+ rubygems_version: 2.4.2
130
130
  signing_key:
131
131
  specification_version: 4
132
132
  summary: TextMate 2 Bundle/Package Manager