dply 0.3.5 → 0.3.6

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e203341fece647c82c802f342a9ebef4e2db491710360299e12d42f46ecf17e1
4
- data.tar.gz: 81a8074a486df4e6b90184f36459b83374c81182ad484c0f51545dba7ed3b3c1
3
+ metadata.gz: 402eeb485587f85aa03cbf11ba748d35b863a7509c0e5b2df54a59853682b44b
4
+ data.tar.gz: 1ff141d30dc83c20c92aaa3175cc6b423fbf48f2d529a6b7ce4fb5ddae02b354
5
5
  SHA512:
6
- metadata.gz: b688833f47f5908d747aaf8b56f107070722591015fadf9f9a2a5aae2ee2bad3afc53799790ccaed05ff9cfe1e2292bedc5e9c308ec3b61e2db6e5843e99e19e
7
- data.tar.gz: d5a97127ed3557379f1228542b9114af34c887db800689663caf69315962122def05a64d24327aa3578af523e5aa01311176d374c4366a59e789b3f9542313d9
6
+ metadata.gz: e5ca630447782b4cf3e015df3068feeef395cf3888b2638d629f808ea172a3406437339d0331b95e1880ffc3fbc96dceb346aab9ade97016cd76542939d69b76
7
+ data.tar.gz: 927af3de85f8d12c9d1dd7e300bea0bc28f536126cfb0052d85bc1e16f39dc71f9c4dd9c6b8f16417f2524bc9a21fc162b3eb14e34129f1ee23f25b5ed6de5cb
data/lib/dply/build.rb CHANGED
@@ -29,7 +29,7 @@ module Dply
29
29
  install_pkgs
30
30
  clean_build_dir
31
31
  link_build_dir
32
- bundle.install
32
+ bundle.install(without: config.bundler_without)
33
33
  bundle.clean
34
34
  util.run config.task, render_config: false
35
35
  generate_checksum
@@ -15,6 +15,7 @@ module Dply
15
15
  opt :config_map, type: Hash
16
16
  opt :dir_map, type: Hash
17
17
  opt :shared_dirs, type: Array
18
+ opt :bundler_without
18
19
  opt :meta_conf, type: MetaConfig
19
20
  end
20
21
 
data/lib/dply/bundle.rb CHANGED
@@ -7,11 +7,15 @@ module Dply
7
7
 
8
8
  include Helper
9
9
 
10
- def install
10
+ def install(without: nil)
11
11
  return if not gemfile_exists?
12
12
  write_config
13
13
  return if check
14
- cmd "bundle install -j5 --deployment"
14
+ if without
15
+ cmd "bundle install -j5 --deployment --without #{without}"
16
+ else
17
+ cmd "bundle install -j5 --deployment"
18
+ end
15
19
  end
16
20
 
17
21
  def clean
@@ -17,6 +17,7 @@ module Dply
17
17
  opt :verify_checksum
18
18
  opt :revision
19
19
  opt :dir
20
+ opt :bundler_without
20
21
  opt :meta_conf, type: MetaConfig
21
22
  end
22
23
 
@@ -30,7 +30,7 @@ module Dply
30
30
  current_version = git.commit_id
31
31
  link_all
32
32
  install_pkgs
33
- bundle.install
33
+ bundle.install(without: config.bundler_without)
34
34
  bundle.clean
35
35
  util.run "deploy:#{deploy_target}", render_config: true
36
36
  util.report_changes(previous_version, current_version)
data/lib/dply/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Dply
2
- VERSION = "0.3.5"
2
+ VERSION = "0.3.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dply
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.5
4
+ version: 0.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Neeraj
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-01-01 00:00:00.000000000 Z
11
+ date: 2019-01-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby-elf