ext_bundler 2.0.11 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ext_bundler.rb +4 -2
- data/lib/ext_bundler/version.rb +1 -1
- 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: ae67ccf8cf39f237d6be93af850bfe9bb76f0868
|
4
|
+
data.tar.gz: 5281117093425ef7c423aecaa15a11b6b232deba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e627890905ef669083fb647324ef17ca4008131320eee23f2190f9d175aa748ed2fd7288f2f40d8d246ee8f4884b8277c37cfdf8679d931c9fade37855c60013
|
7
|
+
data.tar.gz: 39ac018973d6a868aec8954449455d5c26481d785d91c560899dc3955a112bbbc2abffb4f310f6a091943c9aa09f4c5f3244d6f049f6dccdb49aac5589818afd
|
data/lib/ext_bundler.rb
CHANGED
@@ -15,9 +15,11 @@ module ExtBundler
|
|
15
15
|
path = @gem_dev_paths.lazy.map{ |root| File.expand_path("#{root}/#{names}") }.find{ |path| Dir.exist? path }
|
16
16
|
end
|
17
17
|
@@gem_dev[names.to_sym] ? gem(names, path: path, require: false) : gem(names, *args)
|
18
|
+
options = args.last.is_a?(Hash) ? args.last : {}
|
19
|
+
groups = options[:group] ? Array(options[:group]) : options[:groups]
|
18
20
|
@@gem_dev[names.to_sym] = {
|
19
|
-
require:
|
20
|
-
groups: @groups.dup,
|
21
|
+
require: options[:require].nil?,
|
22
|
+
groups: (groups || @groups.dup).map(&:to_sym),
|
21
23
|
}
|
22
24
|
end
|
23
25
|
end
|
data/lib/ext_bundler/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ext_bundler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0
|
4
|
+
version: 2.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Patrice Lebel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-09-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|