prebundler 0.7.0 → 0.7.1

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: 84d9d76d8ed7b19a901690b275e0523a2eea9a09
4
- data.tar.gz: 3f6a1b4f19d5d3d8a692045bbbb26f10fefeabff
3
+ metadata.gz: d3399385c6aec102752f1911cef2055cfece33d5
4
+ data.tar.gz: 32ec1780d831695239cdc8294a1b523c923b9622
5
5
  SHA512:
6
- metadata.gz: a08a958cc147781a0ae491afb5d6c01fc435a0fbe99485917d14da47b059166af894eaa554e57411329ea23486d3d4720c3aacf9e4469f51f2afb423979a7262
7
- data.tar.gz: 62b1cc93f395c94476a0637eb1da91b61dfa213421bd7953420f635702a669683e22f4a3f9eb806802e9b732b2d0a1cdbd5bb017ba8416e50289e76976795ad1
6
+ metadata.gz: 0f65641a0c43e8152c553cad0434989b4fe688b3cc0691f84e3a09cab0f82415a3f4a5f1b39195461337bf3a85b2e03c9d20f2e7ce7f99b67718dad7d04218ed
7
+ data.tar.gz: d0a0eaf2ec0a60353b5ad355c34def8e5650d7654c2e8c8efc0329a963f8288106938bd3fade0df24073f79bdbdb00288add7815134701eb0ac8ff26c1a87821
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ 0.7.1
2
+ ===
3
+ - Support git-based gems with non-standard repo names.
4
+ - Fix `bundle install` fallback (group args were wrong).
5
+
1
6
  0.7.0
2
7
  ===
3
8
  - Add prefix option to install command.
@@ -136,8 +136,8 @@ module Prebundler
136
136
  def bundle_install_args
137
137
  [].tap do |args|
138
138
  args << "--gemfile #{gemfile_path}"
139
- args << "--with #{with_groups}" unless with_groups.empty?
140
- args << "--without #{without_groups}" unless without_groups.empty?
139
+ args << "--with #{with_groups.join(',')}" unless with_groups.empty?
140
+ args << "--without #{without_groups.join(',')}" unless without_groups.empty?
141
141
  args << "--jobs #{options[:jobs]}"
142
142
  args << "--binstubs" if options[:binstubs]
143
143
  end.join(' ')
@@ -73,6 +73,14 @@ module Prebundler
73
73
  end
74
74
  end
75
75
 
76
+ def install_dir
77
+ File.join(install_path, "#{repo_name}-#{version}")
78
+ end
79
+
80
+ def repo_name
81
+ @repo_name ||= URI.parse(uri).path.split('/').last.chomp('.git')
82
+ end
83
+
76
84
  private
77
85
 
78
86
  def gemspec_files
@@ -1,3 +1,3 @@
1
1
  module Prebundler
2
- VERSION = '0.7.0'
2
+ VERSION = '0.7.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prebundler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cameron Dutro
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-30 00:00:00.000000000 Z
11
+ date: 2018-02-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler