heroku_hatchet 3.0.1 → 3.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/hatchet/config.rb +1 -1
- data/lib/hatchet/version.rb +1 -1
- data/test/hatchet/config_test.rb +6 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 40a7783798f36bd73a9f7388a2d5614db7697d15
|
4
|
+
data.tar.gz: 70cd5a4911173e7269f10a166d111936dd2bb436
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0859831e7c516f3473ba21aead36e95fb56ea094d4f3277d5b4572257c66b05718c9a5b897fb614e23b87cf8687996e498ced6d1c18a6ba4b82f4cf4d6cee4fc'
|
7
|
+
data.tar.gz: 0c04795175b7d71237a20ea329ef8b35f900c4e7f173ad167914801853fd6bf0846e7bf865e0c1115f0db65443d65bdc0117d89d416004a3184abd5f4794313d
|
data/CHANGELOG.md
CHANGED
data/lib/hatchet/config.rb
CHANGED
@@ -72,7 +72,7 @@ module Hatchet
|
|
72
72
|
set_internal_config!(config)
|
73
73
|
config.each do |(directory, git_repos)|
|
74
74
|
git_repos.each do |git_repo|
|
75
|
-
git_repo = git_repo.include?("github.com") ? git_repo : "
|
75
|
+
git_repo = git_repo.include?("github.com") ? git_repo : "https://github.com/#{git_repo}.git"
|
76
76
|
repo_name = name_from_git_repo(git_repo)
|
77
77
|
repo_path = File.join(repo_directory_path, directory, repo_name)
|
78
78
|
if repos.key? repo_name
|
data/lib/hatchet/version.rb
CHANGED
data/test/hatchet/config_test.rb
CHANGED
@@ -12,11 +12,11 @@ class ConfigTest < Minitest::Test
|
|
12
12
|
|
13
13
|
def test_config_dirs
|
14
14
|
{
|
15
|
-
"test/fixtures/repos/bundler/no_lockfile" => "
|
16
|
-
"test/fixtures/repos/default/default_ruby" => "
|
17
|
-
"test/fixtures/repos/default/default_ruby" => "
|
18
|
-
"test/fixtures/repos/rails2/rails2blog" => "
|
19
|
-
"test/fixtures/repos/rails3/rails3_mri_193" => "
|
15
|
+
"test/fixtures/repos/bundler/no_lockfile" => "https://github.com/sharpstone/no_lockfile.git",
|
16
|
+
"test/fixtures/repos/default/default_ruby" => "https://github.com/sharpstone/default_ruby.git",
|
17
|
+
"test/fixtures/repos/default/default_ruby" => "https://github.com/sharpstone/default_ruby.git",
|
18
|
+
"test/fixtures/repos/rails2/rails2blog" => "https://github.com/sharpstone/rails2blog.git",
|
19
|
+
"test/fixtures/repos/rails3/rails3_mri_193" => "https://github.com/sharpstone/rails3_mri_193.git"
|
20
20
|
}.each do |key, value|
|
21
21
|
assert_include(key, value, @config.dirs)
|
22
22
|
end
|
@@ -41,7 +41,7 @@ class ConfigTest < Minitest::Test
|
|
41
41
|
|
42
42
|
def test_github_shortcuts
|
43
43
|
@config.send :init_config!, {"foo" => ["schneems/sextant"]}
|
44
|
-
assert_equal("
|
44
|
+
assert_equal("https://github.com/schneems/sextant.git", @config.dirs["./repos/foo/sextant"])
|
45
45
|
end
|
46
46
|
private
|
47
47
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: heroku_hatchet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Richard Schneeman
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-08-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: platform-api
|