rake_npm 0.1.0.pre.3 → 0.1.0.pre.4

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
  SHA256:
3
- metadata.gz: 91bd35a258bbdbcf39dcc76c31da30d978a0d67cfe7f57a5ba1fd803da895006
4
- data.tar.gz: 6f739cc12f41d469dc65324c61f16d369e21a82dc13cde4915b99a84d86ea098
3
+ metadata.gz: 91da25822dc8e4423a181b33519eeb4cfcedb5b6554ae075a4ca2d2985135638
4
+ data.tar.gz: f539565cf5516873eb5f6d689fed69e8faf04361c089f4d47f3241b661dae362
5
5
  SHA512:
6
- metadata.gz: f8bd5029fd997632315c315f1040f71f7071270a5bdf8eb5633f0214fa68f1b78199eb627525b92fd35b87b379d37c8fa72dcc48f34738f7ab0848bdcda1c86b
7
- data.tar.gz: 749d2fa4c6f92a8966f7e1e53333bf082dfe893a5ad340a715c722482430b477040fe682d2b9cf81d2396751a17abd6dc626980083e8f9d9eb134f34a3ca7cc1
6
+ metadata.gz: 117957a81c72548dec837a380080188a4c777a67d2ab395888aaa76cd31b1149a82c570da251dc3190ab2ce51edba5b4dac68116dbb4ef22603ebb67b52e33b3
7
+ data.tar.gz: 7fc7abeff4335a8a6eb600805d038d27bcc00bb64fa237957d71e3530eb5f9243c32a5c5b7813c638ef3e7139382ab57795fedaca0009d180c2a8124a6ff6143
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rake_npm (0.1.0.pre.3)
4
+ rake_npm (0.1.0.pre.4)
5
5
  colored2 (~> 3.1)
6
6
  rake_dependencies (~> 3.1)
7
7
  rake_factory (~> 0.23)
@@ -11,9 +11,13 @@ module RakeNPM
11
11
  'Install NPM dependencies'
12
12
  end)
13
13
 
14
- action do |_|
14
+ parameter :color, default: true
15
+
16
+ action do |task|
15
17
  puts 'Installing NPM dependencies...'
16
- RubyNPM.install
18
+ RubyNPM.install(
19
+ color: task.color
20
+ )
17
21
  end
18
22
  end
19
23
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RakeNPM
4
- VERSION = '0.1.0.pre.3'
4
+ VERSION = '0.1.0.pre.4'
5
5
  end
data/lib/rake_npm.rb CHANGED
@@ -8,12 +8,4 @@ module RakeNPM
8
8
  def self.define_install_task(opts = {}, &block)
9
9
  RakeNPM::Tasks::Install.define(opts, &block)
10
10
  end
11
-
12
- class << self
13
- private
14
-
15
- def configure_ruby_npm(binary)
16
- RubyNPM.configure { |c| c.binary = binary }
17
- end
18
- end
19
11
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rake_npm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre.3
4
+ version: 0.1.0.pre.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - InfraBlocks Maintainers