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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 18f65a81f31b1549009b85bd89b76cb6867ab8d8
4
- data.tar.gz: d1120b62d712376dd9046c3b3aa23b237a634f0a
3
+ metadata.gz: 40a7783798f36bd73a9f7388a2d5614db7697d15
4
+ data.tar.gz: 70cd5a4911173e7269f10a166d111936dd2bb436
5
5
  SHA512:
6
- metadata.gz: 7a9d89b74535cccc0248c6d28d7436ab79e605702f33a0ed6e4dfe34fc0259489374cd490baaf085be3c042789e903b81c9b8e4df577fde93ba369173f2e3000
7
- data.tar.gz: 49f9161c829dba59d55775843ec24a805e043d788795e5e6d1feea72f908c031eb2d9119b3a0b6d26217321105fc33ab8b86e84e78ee7caf27a5d414424a9141
6
+ metadata.gz: '0859831e7c516f3473ba21aead36e95fb56ea094d4f3277d5b4572257c66b05718c9a5b897fb614e23b87cf8687996e498ced6d1c18a6ba4b82f4cf4d6cee4fc'
7
+ data.tar.gz: 0c04795175b7d71237a20ea329ef8b35f900c4e7f173ad167914801853fd6bf0846e7bf865e0c1115f0db65443d65bdc0117d89d416004a3184abd5f4794313d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## HEAD
2
2
 
3
+ ## 3.0.2
4
+
5
+ - Use https for git clones
6
+
3
7
  ## 3.0.1
4
8
 
5
9
  - Can pass in multiple buildpacks to constructor
@@ -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 : "git://github.com/#{git_repo}.git"
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
@@ -1,3 +1,3 @@
1
1
  module Hatchet
2
- VERSION = "3.0.1"
2
+ VERSION = "3.0.2"
3
3
  end
@@ -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" => "git://github.com/sharpstone/no_lockfile.git",
16
- "test/fixtures/repos/default/default_ruby" => "git://github.com/sharpstone/default_ruby.git",
17
- "test/fixtures/repos/default/default_ruby" => "git://github.com/sharpstone/default_ruby.git",
18
- "test/fixtures/repos/rails2/rails2blog" => "git://github.com/sharpstone/rails2blog.git",
19
- "test/fixtures/repos/rails3/rails3_mri_193" => "git://github.com/sharpstone/rails3_mri_193.git"
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("git://github.com/schneems/sextant.git", @config.dirs["./repos/foo/sextant"])
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.1
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-06-19 00:00:00.000000000 Z
11
+ date: 2017-08-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: platform-api