bower-rails 0.8.1 → 0.8.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/bower-rails/version.rb +1 -1
- data/lib/tasks/bower.rake +7 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4e36c2993bdaea3f036ec27d279dc8d14d39cec3
|
4
|
+
data.tar.gz: cb00ab94498ddf3558b17ff060c32e7647ecd404
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2c8048f66291d955440893003ae2f3e6006df3d225295522104ad3daaf681c31589e08b990b047ae0c46d3dbd03a419ccb193e84eadb1bf7a0b2d536de35327
|
7
|
+
data.tar.gz: 8bfb7ac97c3453fe2dd7b1608e67426ee9ff023fa80f4253094b0bf0a4615fdaaed25a3bae49b1ba7c018fb76a57e3fe1550321aa46a28cf20ddd786a40b2f26
|
data/README.md
CHANGED
data/lib/bower-rails/version.rb
CHANGED
data/lib/tasks/bower.rake
CHANGED
@@ -24,13 +24,17 @@ namespace :bower do
|
|
24
24
|
desc "Install both dependencies and devDependencies from bower"
|
25
25
|
task :development, :options do |_, args|
|
26
26
|
args.with_defaults(:options => '')
|
27
|
-
perform
|
27
|
+
BowerRails::Performer.perform do |bower|
|
28
|
+
sh "#{bower} install #{args[:options]}"
|
29
|
+
end
|
28
30
|
end
|
29
31
|
|
30
32
|
desc "Install only dependencies, excluding devDependencies from bower"
|
31
33
|
task :production, :options do |_, args|
|
32
34
|
args.with_defaults(:options => '')
|
33
|
-
perform
|
35
|
+
BowerRails::Performer.perform do |bower|
|
36
|
+
sh "#{bower} install -p #{args[:options]}"
|
37
|
+
end
|
34
38
|
end
|
35
39
|
end
|
36
40
|
|
@@ -78,4 +82,4 @@ before 'assets:precompile' do
|
|
78
82
|
BowerRails.tasks.map do |task|
|
79
83
|
Rake::Task[task].invoke
|
80
84
|
end
|
81
|
-
end
|
85
|
+
end
|