braid 1.1.2 → 1.1.3

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: e697a371543e509b5d87a65d9d115a926ea473bf
4
- data.tar.gz: 6d3c3bcf1b6e0d8ffc03e9aa96895c31a759f52d
3
+ metadata.gz: 07fd598555c607d5617f6cd2707362ef6ea9ffce
4
+ data.tar.gz: e7dcb8b70240e76d8f0f05b46956838d29f71e18
5
5
  SHA512:
6
- metadata.gz: cb691eb77d96fe8944a0723ec7f083ca6d8188b228d1ce1da97c92e6b7c0e41211237eef194785feebcc6ab5c8e27f5f34996ca22210e2d495ac15abcc1ca0f4
7
- data.tar.gz: b0b2a74a470aa04a145b75833bcb889d1b4e1130b050168a185c665e454f01a524f9da282c61320f8969f2830a40a0c3beefcaa37ca841d6648a4d4d1835bb62
6
+ metadata.gz: c9ce4a5239bf290606de2a828586d0f876cd8d3dfac0b465293eb8f0368326571ea7523244d9e70ae613337b9246f7dc46f99d3becdb458892d788a27d835f57
7
+ data.tar.gz: 3bd9e43d3a3bb6f838d4c9f02fb4ece0b10ca28e5120366933dee559cbbd07f9aa8771db4ea7b2d06a31ed3b43eb410f80979c72c5e032fbdbc6fcc5b2f1d1ff
@@ -1 +1 @@
1
- 2.3.1
1
+ 2.3.8
@@ -1,8 +1,10 @@
1
1
  language: ruby
2
- sudo: false
3
2
  rvm:
4
- - 2.3.1
5
- - jruby-19mode
3
+ - 2.3.8
4
+ - 2.4.6
5
+ - 2.5.5
6
+ - 2.6.2
7
+ - jruby-9.2.6.0
6
8
  addons:
7
9
  apt:
8
10
  sources:
@@ -11,6 +13,3 @@ addons:
11
13
  - git
12
14
  git:
13
15
  depth: 10
14
- before_install:
15
- - git --version
16
- - gem update bundler
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Braid
2
2
 
3
- [![Build Status](https://secure.travis-ci.org/cristibalan/braid.png?branch=master)](http://travis-ci.org/cristibalan/braid)
3
+ [![Build Status](https://secure.travis-ci.org/cristibalan/braid.svg?branch=master)](http://travis-ci.org/cristibalan/braid)
4
4
  [![Gem](https://img.shields.io/gem/v/braid.svg?maxAge=2592000)](https://rubygems.org/gems/braid)
5
5
 
6
6
  Braid is a simple tool to help track vendor branches in a
@@ -216,7 +216,7 @@ DESC
216
216
  end
217
217
 
218
218
  def remote
219
- "#{branch || tag || 'revision'}/braid/#{path}"
219
+ "#{branch || tag || 'revision'}/braid/#{path}".gsub(/\/\./, '/_')
220
220
  end
221
221
 
222
222
  private
@@ -1,3 +1,3 @@
1
1
  module Braid
2
- VERSION = '1.1.2'.freeze
2
+ VERSION = '1.1.3'.freeze
3
3
  end
@@ -67,6 +67,12 @@ describe 'Braid::Mirror.new_from_options' do
67
67
  expect(@mirror.remote).to eq('v1/braid/mytool')
68
68
  end
69
69
 
70
+ it 'should strip first dot from remote path for dot files and folders' do
71
+ new_from_options('http://path.git', 'path' => '.dotfolder/.dotfile.ext')
72
+ expect(@mirror.path).to eq('.dotfolder/.dotfile.ext')
73
+ expect(@mirror.remote).to eq('master/braid/_dotfolder/_dotfile.ext')
74
+ end
75
+
70
76
  end
71
77
 
72
78
  describe 'Braid::Mirror#base_revision' do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: braid
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cristi Balan
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2018-04-06 00:00:00.000000000 Z
13
+ date: 2019-06-10 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: main
@@ -205,7 +205,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
205
205
  version: '0'
206
206
  requirements: []
207
207
  rubyforge_project: braid
208
- rubygems_version: 2.5.1
208
+ rubygems_version: 2.5.2.3
209
209
  signing_key:
210
210
  specification_version: 4
211
211
  summary: A simple tool for tracking vendor branches in git.