braid 0.7.1 → 1.0.0
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 +7 -0
- data/.gitignore +4 -1
- data/.ruby-version +1 -0
- data/.travis.yml +7 -0
- data/CONTRIBUTING.md +26 -0
- data/Gemfile +1 -2
- data/LICENSE +3 -1
- data/README.md +90 -51
- data/Rakefile +6 -14
- data/bin/braid +9 -37
- data/braid.gemspec +11 -11
- data/lib/braid.rb +13 -12
- data/lib/braid/command.rb +9 -42
- data/lib/braid/commands/add.rb +6 -8
- data/lib/braid/commands/list.rb +11 -6
- data/lib/braid/commands/push.rb +5 -5
- data/lib/braid/commands/remove.rb +1 -3
- data/lib/braid/commands/setup.rb +4 -8
- data/lib/braid/commands/update.rb +12 -14
- data/lib/braid/config.rb +38 -43
- data/lib/braid/mirror.rb +19 -63
- data/lib/braid/operations.rb +51 -90
- data/lib/braid/version.rb +1 -1
- data/{test/config_test.rb → spec/config_spec.rb} +14 -17
- data/{test → spec}/fixtures/shiny/README +0 -0
- data/{test → spec}/fixtures/skit1.1/layouts/layout.liquid +0 -0
- data/{test → spec}/fixtures/skit1.2/layouts/layout.liquid +0 -0
- data/{test → spec}/fixtures/skit1/layouts/layout.liquid +0 -0
- data/{test → spec}/fixtures/skit1/preview.png +0 -0
- data/spec/integration/adding_spec.rb +43 -0
- data/{test/integration/updating_test.rb → spec/integration/updating_spec.rb} +2 -41
- data/spec/integration_helper.rb +47 -0
- data/{test/mirror_test.rb → spec/mirror_spec.rb} +6 -33
- data/{test/operations_test.rb → spec/operations_spec.rb} +2 -2
- data/{test → spec}/test_helper.rb +6 -2
- metadata +86 -123
- data/lib/core_ext.rb +0 -13
- data/test/braid_test.rb +0 -7
- data/test/integration/adding_test.rb +0 -80
- data/test/integration_helper.rb +0 -70
data/lib/braid/version.rb
CHANGED
@@ -1,52 +1,49 @@
|
|
1
1
|
require File.dirname(__FILE__) + '/test_helper'
|
2
2
|
|
3
|
-
|
4
|
-
db = "tmp.yml"
|
5
|
-
|
3
|
+
describe "Braid::Config, when empty" do
|
6
4
|
before(:each) do
|
7
|
-
@config = Braid::Config.new(
|
5
|
+
@config = Braid::Config.new("tmp.yml")
|
8
6
|
end
|
9
7
|
|
10
8
|
after(:each) do
|
11
|
-
FileUtils.rm(
|
9
|
+
FileUtils.rm("tmp.yml") rescue nil
|
12
10
|
end
|
13
|
-
end
|
14
|
-
|
15
|
-
describe "Braid::Config, when empty" do
|
16
|
-
it_should_behave_like "Braid::Config, in general"
|
17
11
|
|
18
12
|
it "should not get a mirror by name" do
|
19
|
-
@config.get("path").should
|
20
|
-
lambda { @config.get!("path") }.should
|
13
|
+
@config.get("path").should be_nil
|
14
|
+
lambda { @config.get!("path") }.should raise_error(Braid::Config::MirrorDoesNotExist)
|
21
15
|
end
|
22
16
|
|
23
17
|
it "should add a mirror and its params" do
|
24
18
|
@mirror = build_mirror
|
25
19
|
@config.add(@mirror)
|
26
|
-
@config.get("path").path.
|
20
|
+
@config.get("path").path.should_not be_nil
|
27
21
|
end
|
28
22
|
end
|
29
23
|
|
30
24
|
describe "Braid::Config, with one mirror" do
|
31
|
-
it_should_behave_like "Braid::Config, in general"
|
32
|
-
|
33
25
|
before(:each) do
|
26
|
+
@config = Braid::Config.new("tmp.yml")
|
34
27
|
@mirror = build_mirror
|
35
28
|
@config.add(@mirror)
|
36
29
|
end
|
37
30
|
|
31
|
+
after(:each) do
|
32
|
+
FileUtils.rm("tmp.yml") rescue nil
|
33
|
+
end
|
34
|
+
|
38
35
|
it "should get the mirror by name" do
|
39
36
|
@config.get("path").should == @mirror
|
40
37
|
@config.get!("path").should == @mirror
|
41
38
|
end
|
42
39
|
|
43
40
|
it "should raise when trying to overwrite a mirror on add" do
|
44
|
-
lambda { @config.add(@mirror) }.should
|
41
|
+
lambda { @config.add(@mirror) }.should raise_error(Braid::Config::PathAlreadyInUse)
|
45
42
|
end
|
46
43
|
|
47
44
|
it "should remove the mirror" do
|
48
45
|
@config.remove(@mirror)
|
49
|
-
@config.get("path").should
|
46
|
+
@config.get("path").should be_nil
|
50
47
|
end
|
51
48
|
|
52
49
|
it "should update the mirror with new params" do
|
@@ -57,6 +54,6 @@ describe "Braid::Config, with one mirror" do
|
|
57
54
|
|
58
55
|
it "should raise when trying to update nonexistent mirror" do
|
59
56
|
@mirror.instance_variable_set("@path", "other")
|
60
|
-
lambda { @config.update(@mirror) }.should
|
57
|
+
lambda { @config.update(@mirror) }.should raise_error(Braid::Config::MirrorDoesNotExist)
|
61
58
|
end
|
62
59
|
end
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,43 @@
|
|
1
|
+
require File.dirname(__FILE__) + '/../integration_helper'
|
2
|
+
|
3
|
+
describe "Adding a mirror in a clean repository" do
|
4
|
+
|
5
|
+
before do
|
6
|
+
FileUtils.rm_rf(TMP_PATH)
|
7
|
+
FileUtils.mkdir_p(TMP_PATH)
|
8
|
+
end
|
9
|
+
|
10
|
+
describe "from a git repository" do
|
11
|
+
before do
|
12
|
+
@shiny = create_git_repo_from_fixture("shiny")
|
13
|
+
@skit1 = create_git_repo_from_fixture("skit1")
|
14
|
+
end
|
15
|
+
|
16
|
+
it "should add the files and commit" do
|
17
|
+
in_dir(@shiny) do
|
18
|
+
`#{BRAID_BIN} add #{@skit1}`
|
19
|
+
end
|
20
|
+
|
21
|
+
file_name = "skit1/layouts/layout.liquid"
|
22
|
+
output = `diff -U 3 #{File.join(FIXTURE_PATH, file_name)} #{File.join(TMP_PATH, "shiny", file_name)}`
|
23
|
+
$?.should be_success
|
24
|
+
|
25
|
+
output = `git log --pretty=oneline`.split("\n")
|
26
|
+
output.length.should == 2
|
27
|
+
output[0].should =~ /Braid: Add mirror 'skit1' at '[0-9a-f]{7}'/
|
28
|
+
end
|
29
|
+
|
30
|
+
it "should create .braids and add the mirror to it" do
|
31
|
+
in_dir(@shiny) do
|
32
|
+
`#{BRAID_BIN} add #{@skit1}`
|
33
|
+
end
|
34
|
+
|
35
|
+
braids = YAML::load_file("#{@shiny}/.braids")
|
36
|
+
braids["skit1"]["squashed"].should == true
|
37
|
+
braids["skit1"]["url"].should == @skit1
|
38
|
+
braids["skit1"]["revision"].should_not be_nil
|
39
|
+
braids["skit1"]["branch"].should == "master"
|
40
|
+
braids["skit1"]["remote"].should == "master/braid/skit1"
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
@@ -13,7 +13,7 @@ describe "Updating a mirror without conflicts" do
|
|
13
13
|
@skit1 = create_git_repo_from_fixture("skit1")
|
14
14
|
|
15
15
|
in_dir(@shiny) do
|
16
|
-
`#{BRAID_BIN} add
|
16
|
+
`#{BRAID_BIN} add #{@skit1}`
|
17
17
|
end
|
18
18
|
|
19
19
|
update_dir_from_fixture("skit1", "skit1.1")
|
@@ -37,7 +37,7 @@ describe "Updating a mirror without conflicts" do
|
|
37
37
|
|
38
38
|
file_name = "layouts/layout.liquid"
|
39
39
|
output = `diff -U 3 #{File.join(FIXTURE_PATH, "skit1.2", file_name)} #{File.join(TMP_PATH, "shiny", "skit1", file_name)}`
|
40
|
-
$?.should
|
40
|
+
$?.should be_success
|
41
41
|
|
42
42
|
output = `git log --pretty=oneline`.split("\n")
|
43
43
|
output.length.should == 3
|
@@ -45,43 +45,4 @@ describe "Updating a mirror without conflicts" do
|
|
45
45
|
end
|
46
46
|
|
47
47
|
end
|
48
|
-
|
49
|
-
describe "from a svn repository" do
|
50
|
-
before do
|
51
|
-
@shiny = create_git_repo_from_fixture("shiny")
|
52
|
-
@skit1 = create_svn_repo_from_fixture("skit1")
|
53
|
-
@skit1_wc = File.join(TMP_PATH, "skit1_wc")
|
54
|
-
|
55
|
-
in_dir(@shiny) do
|
56
|
-
`#{BRAID_BIN} add --type svn #{@skit1}`
|
57
|
-
end
|
58
|
-
|
59
|
-
update_dir_from_fixture("skit1_wc", "skit1.1")
|
60
|
-
in_dir(@skit1_wc) do
|
61
|
-
`svn commit -m "change default color"`
|
62
|
-
end
|
63
|
-
|
64
|
-
update_dir_from_fixture("skit1_wc", "skit1.2")
|
65
|
-
in_dir(@skit1_wc) do
|
66
|
-
`svn commit -m "add a happy note"`
|
67
|
-
end
|
68
|
-
|
69
|
-
end
|
70
|
-
|
71
|
-
it "should add the files and commit" do
|
72
|
-
in_dir(@shiny) do
|
73
|
-
`#{BRAID_BIN} update skit1`
|
74
|
-
end
|
75
|
-
|
76
|
-
file_name = "layouts/layout.liquid"
|
77
|
-
output = `diff -U 3 #{File.join(FIXTURE_PATH, "skit1.2", file_name)} #{File.join(TMP_PATH, "shiny", "skit1", file_name)}`
|
78
|
-
$?.should.be.success
|
79
|
-
|
80
|
-
output = `git log --pretty=oneline`.split("\n")
|
81
|
-
output.length.should == 3
|
82
|
-
output[0].should =~ /Braid: Update mirror 'skit1' to r3/
|
83
|
-
end
|
84
|
-
|
85
|
-
end
|
86
|
-
|
87
48
|
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'rspec'
|
3
|
+
require 'mocha/api'
|
4
|
+
|
5
|
+
require 'tempfile'
|
6
|
+
require 'fileutils'
|
7
|
+
require 'pathname'
|
8
|
+
|
9
|
+
TMP_PATH = File.join(Dir.tmpdir, "braid_integration")
|
10
|
+
BRAID_PATH = Pathname.new(File.dirname(__FILE__)).parent.realpath
|
11
|
+
FIXTURE_PATH = File.join(BRAID_PATH, "spec", "fixtures")
|
12
|
+
FileUtils.rm_rf(TMP_PATH)
|
13
|
+
FileUtils.mkdir_p(TMP_PATH)
|
14
|
+
|
15
|
+
BRAID_BIN = ((defined?(JRUBY_VERSION) || Gem.win_platform?) ? 'ruby ' : '') + File.join(BRAID_PATH, 'bin', 'braid')
|
16
|
+
|
17
|
+
def in_dir(dir = TMP_PATH)
|
18
|
+
Dir.chdir(dir)
|
19
|
+
yield
|
20
|
+
end
|
21
|
+
|
22
|
+
def run_command(command)
|
23
|
+
output = `#{command}`
|
24
|
+
raise "Error executing command: #{command}\nOutput: #{output}" unless $?.success?
|
25
|
+
output
|
26
|
+
end
|
27
|
+
|
28
|
+
def update_dir_from_fixture(dir, fixture = dir)
|
29
|
+
to_dir = File.join(TMP_PATH, dir)
|
30
|
+
FileUtils.mkdir_p(to_dir)
|
31
|
+
FileUtils.cp_r(File.join(FIXTURE_PATH, fixture) + "/.", to_dir)
|
32
|
+
end
|
33
|
+
|
34
|
+
def create_git_repo_from_fixture(fixture_name)
|
35
|
+
git_repo = File.join(TMP_PATH, fixture_name)
|
36
|
+
update_dir_from_fixture(fixture_name)
|
37
|
+
|
38
|
+
in_dir(git_repo) do
|
39
|
+
run_command("git config --global --get user.email || git config --global user.email \"you@example.com\"")
|
40
|
+
run_command("git config --global --get user.name || git config --global user.name \"Your Name\"")
|
41
|
+
run_command('git init')
|
42
|
+
run_command('git add *')
|
43
|
+
run_command("git commit -m \"initial commit of #{fixture_name}\"")
|
44
|
+
end
|
45
|
+
|
46
|
+
git_repo
|
47
|
+
end
|
@@ -6,35 +6,6 @@ describe "Braid::Mirror.new_from_options" do
|
|
6
6
|
@mirror.branch.should == "master"
|
7
7
|
end
|
8
8
|
|
9
|
-
it "should default type to git, from protocol" do
|
10
|
-
new_from_options("git://path")
|
11
|
-
@mirror.type.should == "git"
|
12
|
-
end
|
13
|
-
|
14
|
-
it "should default type to git, if path ends in .git" do
|
15
|
-
new_from_options("http://path.git")
|
16
|
-
@mirror.type.should == "git"
|
17
|
-
end
|
18
|
-
|
19
|
-
it "should default type to svn, from protocol" do
|
20
|
-
new_from_options("svn://path")
|
21
|
-
@mirror.type.should == "svn"
|
22
|
-
end
|
23
|
-
|
24
|
-
it "should default type to svn, if path ends in /trunk" do
|
25
|
-
new_from_options("http://path/trunk")
|
26
|
-
@mirror.type.should == "svn"
|
27
|
-
end
|
28
|
-
|
29
|
-
it "should raise if no type can be guessed" do
|
30
|
-
lambda { new_from_options("http://path") }.should.raise(Braid::Mirror::CannotGuessType)
|
31
|
-
end
|
32
|
-
|
33
|
-
it "should default mirror to previous to last path part, if last path part is /trunk" do
|
34
|
-
new_from_options("http://path/trunk")
|
35
|
-
@mirror.path.should == "path"
|
36
|
-
end
|
37
|
-
|
38
9
|
it "should default mirror to last path part, ignoring trailing .git" do
|
39
10
|
new_from_options("http://path.git")
|
40
11
|
@mirror.path.should == "path"
|
@@ -43,7 +14,7 @@ end
|
|
43
14
|
|
44
15
|
describe "Braid::Mirror#diff" do
|
45
16
|
before(:each) do
|
46
|
-
@mirror = build_mirror(
|
17
|
+
@mirror = build_mirror('revision' => 'a' * 40, 'url' => 'git://path')
|
47
18
|
@mirror.stubs(:base_revision).returns(@mirror.revision) # bypass rev_parse
|
48
19
|
end
|
49
20
|
|
@@ -54,6 +25,7 @@ describe "Braid::Mirror#diff" do
|
|
54
25
|
|
55
26
|
it "should return an empty string when the hashes match" do
|
56
27
|
set_hashes('b' * 40, 'b' * 40)
|
28
|
+
git.expects(:fetch)
|
57
29
|
git.expects(:diff_tree).never
|
58
30
|
@mirror.diff.should == ""
|
59
31
|
end
|
@@ -61,6 +33,7 @@ describe "Braid::Mirror#diff" do
|
|
61
33
|
it "should generate a diff when the hashes do not match" do
|
62
34
|
set_hashes('b' * 40, 'c' * 40)
|
63
35
|
diff = "diff --git a/path b/path\n"
|
36
|
+
git.expects(:fetch)
|
64
37
|
git.expects(:diff_tree).with('b' * 40, 'c' * 40).returns(diff)
|
65
38
|
@mirror.diff.should == diff
|
66
39
|
end
|
@@ -69,7 +42,7 @@ end
|
|
69
42
|
describe "Braid::Mirror#base_revision" do
|
70
43
|
it "should be inferred when no revision is set" do
|
71
44
|
@mirror = build_mirror
|
72
|
-
@mirror.revision.should
|
45
|
+
@mirror.revision.should be_nil
|
73
46
|
@mirror.expects(:inferred_revision).returns('b' * 40)
|
74
47
|
@mirror.base_revision.should == 'b' * 40
|
75
48
|
end
|
@@ -100,11 +73,11 @@ describe "Braid::Mirror#cached?" do
|
|
100
73
|
|
101
74
|
it "should be true when the remote path matches the cache path" do
|
102
75
|
git.expects(:remote_url).with(@mirror.remote).returns(git_cache.path(@mirror.url))
|
103
|
-
@mirror.should
|
76
|
+
@mirror.should be_cached
|
104
77
|
end
|
105
78
|
|
106
79
|
it "should be false if the remote does not point to the cache" do
|
107
80
|
git.expects(:remote_url).with(@mirror.remote).returns(@mirror.url)
|
108
|
-
@mirror.
|
81
|
+
@mirror.should_not be_cached
|
109
82
|
end
|
110
83
|
end
|
@@ -3,7 +3,7 @@ require File.dirname(__FILE__) + '/test_helper'
|
|
3
3
|
describe "Braid::Operations::Git#remote_url" do
|
4
4
|
it "should use git config" do
|
5
5
|
# FIXME weak test
|
6
|
-
git.
|
6
|
+
git.stubs(:invoke).with(:config, 'remote.braid/git/one.url').returns("git://path")
|
7
7
|
git.remote_url("braid/git/one").should == "git://path"
|
8
8
|
end
|
9
9
|
end
|
@@ -18,7 +18,7 @@ describe "Braid::Operations::Git#rev_parse" do
|
|
18
18
|
it "should raise a revision error when the hash is not found" do
|
19
19
|
ambiguous_revision = 'b' * 7
|
20
20
|
git.expects(:exec).returns([1, ambiguous_revision, "fatal: ..."])
|
21
|
-
lambda { git.rev_parse(ambiguous_revision) }.should
|
21
|
+
lambda { git.rev_parse(ambiguous_revision) }.should raise_error(Braid::Operations::UnknownRevision)
|
22
22
|
end
|
23
23
|
end
|
24
24
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
require 'rubygems'
|
2
|
-
require '
|
3
|
-
require 'mocha'
|
2
|
+
require 'rspec'
|
3
|
+
require 'mocha/api'
|
4
4
|
|
5
5
|
require File.dirname(__FILE__) + '/../lib/braid'
|
6
6
|
|
@@ -13,3 +13,7 @@ def build_mirror(options = {})
|
|
13
13
|
end
|
14
14
|
|
15
15
|
include Braid::Operations::VersionControl
|
16
|
+
|
17
|
+
RSpec.configure do |config|
|
18
|
+
config.mock_with :mocha
|
19
|
+
end
|
metadata
CHANGED
@@ -1,97 +1,84 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: braid
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 7
|
9
|
-
- 1
|
10
|
-
version: 0.7.1
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
11
5
|
platform: ruby
|
12
|
-
authors:
|
6
|
+
authors:
|
13
7
|
- Cristi Balan
|
14
8
|
- Norbert Crombach
|
9
|
+
- Peter Donald
|
15
10
|
autorequire:
|
16
11
|
bindir: bin
|
17
12
|
cert_chain: []
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
- !ruby/object:Gem::Dependency
|
13
|
+
date: 2015-03-14 00:00:00.000000000 Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
22
16
|
name: main
|
23
|
-
|
24
|
-
|
25
|
-
none: false
|
26
|
-
requirements:
|
17
|
+
requirement: !ruby/object:Gem::Requirement
|
18
|
+
requirements:
|
27
19
|
- - ">="
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
hash: 37
|
30
|
-
segments:
|
31
|
-
- 4
|
32
|
-
- 7
|
33
|
-
- 3
|
20
|
+
- !ruby/object:Gem::Version
|
34
21
|
version: 4.7.3
|
35
22
|
type: :runtime
|
36
|
-
version_requirements: *id001
|
37
|
-
- !ruby/object:Gem::Dependency
|
38
|
-
name: open4
|
39
23
|
prerelease: false
|
40
|
-
|
41
|
-
|
42
|
-
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
requirements:
|
26
|
+
- - ">="
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
version: 4.7.3
|
29
|
+
- !ruby/object:Gem::Dependency
|
30
|
+
name: open4
|
31
|
+
requirement: !ruby/object:Gem::Requirement
|
32
|
+
requirements:
|
43
33
|
- - ">="
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
hash: 21
|
46
|
-
segments:
|
47
|
-
- 1
|
48
|
-
- 0
|
49
|
-
- 1
|
34
|
+
- !ruby/object:Gem::Version
|
50
35
|
version: 1.0.1
|
51
36
|
type: :runtime
|
52
|
-
version_requirements: *id002
|
53
|
-
- !ruby/object:Gem::Dependency
|
54
|
-
name: test-spec
|
55
37
|
prerelease: false
|
56
|
-
|
57
|
-
|
58
|
-
requirements:
|
38
|
+
version_requirements: !ruby/object:Gem::Requirement
|
39
|
+
requirements:
|
59
40
|
- - ">="
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: 1.0.1
|
43
|
+
- !ruby/object:Gem::Dependency
|
44
|
+
name: rspec
|
45
|
+
requirement: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - '='
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: 2.12.0
|
67
50
|
type: :development
|
68
|
-
version_requirements: *id003
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: mocha
|
71
51
|
prerelease: false
|
72
|
-
|
73
|
-
|
74
|
-
|
52
|
+
version_requirements: !ruby/object:Gem::Requirement
|
53
|
+
requirements:
|
54
|
+
- - '='
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: 2.12.0
|
57
|
+
- !ruby/object:Gem::Dependency
|
58
|
+
name: mocha
|
59
|
+
requirement: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
75
61
|
- - ">="
|
76
|
-
- !ruby/object:Gem::Version
|
77
|
-
hash: 45
|
78
|
-
segments:
|
79
|
-
- 0
|
80
|
-
- 9
|
81
|
-
- 11
|
62
|
+
- !ruby/object:Gem::Version
|
82
63
|
version: 0.9.11
|
83
64
|
type: :development
|
84
|
-
|
65
|
+
prerelease: false
|
66
|
+
version_requirements: !ruby/object:Gem::Requirement
|
67
|
+
requirements:
|
68
|
+
- - ">="
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: 0.9.11
|
85
71
|
description: A simple tool for tracking vendor branches in git.
|
86
|
-
email: evil@che.lu
|
87
|
-
executables:
|
72
|
+
email: evil@che.lu norbert.crombach@primetheory.org peter@realityforge.org
|
73
|
+
executables:
|
88
74
|
- braid
|
89
75
|
extensions: []
|
90
|
-
|
91
76
|
extra_rdoc_files: []
|
92
|
-
|
93
|
-
|
94
|
-
- .
|
77
|
+
files:
|
78
|
+
- ".gitignore"
|
79
|
+
- ".ruby-version"
|
80
|
+
- ".travis.yml"
|
81
|
+
- CONTRIBUTING.md
|
95
82
|
- Gemfile
|
96
83
|
- LICENSE
|
97
84
|
- README.md
|
@@ -111,68 +98,44 @@ files:
|
|
111
98
|
- lib/braid/mirror.rb
|
112
99
|
- lib/braid/operations.rb
|
113
100
|
- lib/braid/version.rb
|
114
|
-
-
|
115
|
-
-
|
116
|
-
-
|
117
|
-
-
|
118
|
-
-
|
119
|
-
-
|
120
|
-
-
|
121
|
-
-
|
122
|
-
-
|
123
|
-
-
|
124
|
-
-
|
125
|
-
-
|
126
|
-
|
127
|
-
- test/test_helper.rb
|
128
|
-
homepage: http://evil.che.lu/projects/braid
|
101
|
+
- spec/config_spec.rb
|
102
|
+
- spec/fixtures/shiny/README
|
103
|
+
- spec/fixtures/skit1.1/layouts/layout.liquid
|
104
|
+
- spec/fixtures/skit1.2/layouts/layout.liquid
|
105
|
+
- spec/fixtures/skit1/layouts/layout.liquid
|
106
|
+
- spec/fixtures/skit1/preview.png
|
107
|
+
- spec/integration/adding_spec.rb
|
108
|
+
- spec/integration/updating_spec.rb
|
109
|
+
- spec/integration_helper.rb
|
110
|
+
- spec/mirror_spec.rb
|
111
|
+
- spec/operations_spec.rb
|
112
|
+
- spec/test_helper.rb
|
113
|
+
homepage: https://github.com/cristibalan/braid
|
129
114
|
licenses: []
|
130
|
-
|
115
|
+
metadata: {}
|
131
116
|
post_install_message:
|
132
|
-
rdoc_options:
|
133
|
-
- --line-numbers
|
134
|
-
- --inline-source
|
135
|
-
- --title
|
117
|
+
rdoc_options:
|
118
|
+
- "--line-numbers"
|
119
|
+
- "--inline-source"
|
120
|
+
- "--title"
|
136
121
|
- braid
|
137
|
-
- --main
|
138
|
-
require_paths:
|
122
|
+
- "--main"
|
123
|
+
require_paths:
|
139
124
|
- lib
|
140
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
141
|
-
|
142
|
-
requirements:
|
125
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
126
|
+
requirements:
|
143
127
|
- - ">="
|
144
|
-
- !ruby/object:Gem::Version
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
version: "0"
|
149
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
150
|
-
none: false
|
151
|
-
requirements:
|
128
|
+
- !ruby/object:Gem::Version
|
129
|
+
version: '0'
|
130
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
131
|
+
requirements:
|
152
132
|
- - ">="
|
153
|
-
- !ruby/object:Gem::Version
|
154
|
-
|
155
|
-
segments:
|
156
|
-
- 0
|
157
|
-
version: "0"
|
133
|
+
- !ruby/object:Gem::Version
|
134
|
+
version: '0'
|
158
135
|
requirements: []
|
159
|
-
|
160
136
|
rubyforge_project: braid
|
161
|
-
rubygems_version:
|
137
|
+
rubygems_version: 2.2.2
|
162
138
|
signing_key:
|
163
|
-
specification_version:
|
139
|
+
specification_version: 4
|
164
140
|
summary: A simple tool for tracking vendor branches in git.
|
165
|
-
test_files:
|
166
|
-
- test/braid_test.rb
|
167
|
-
- test/config_test.rb
|
168
|
-
- test/fixtures/shiny/README
|
169
|
-
- test/fixtures/skit1.1/layouts/layout.liquid
|
170
|
-
- test/fixtures/skit1.2/layouts/layout.liquid
|
171
|
-
- test/fixtures/skit1/layouts/layout.liquid
|
172
|
-
- test/fixtures/skit1/preview.png
|
173
|
-
- test/integration/adding_test.rb
|
174
|
-
- test/integration/updating_test.rb
|
175
|
-
- test/integration_helper.rb
|
176
|
-
- test/mirror_test.rb
|
177
|
-
- test/operations_test.rb
|
178
|
-
- test/test_helper.rb
|
141
|
+
test_files: []
|