sumodev 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sumodev/commands/project.rb +6 -2
- data/lib/sumodev/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: 41465371203053d0d1beb206ee496de2f63e5bea
|
4
|
+
data.tar.gz: cfa9305114dc73c25d00a378da6a80c9d56c56ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a9eac36c74913ebc2109c5117b35f7318068ecc83c3ef0b939186ca5b930ca779e158fc5f0ef4bc4b405510e245af187f5825492afe3be5632b51420ba58c689
|
7
|
+
data.tar.gz: 52731f71bce8a64ba282cce4547a213f9064309759885218b505d62934dcba9a6743b51eaed1b69549d77ee8f7216bda4491e845943d5da7e9358a27303ebf0c
|
@@ -60,19 +60,23 @@ class Sumodev::Commands::Project < Sumodev::Command
|
|
60
60
|
end
|
61
61
|
|
62
62
|
composer_path = "#{project_path}/composer.json"
|
63
|
-
say composer_path
|
64
63
|
if File.file?(composer_path)
|
65
64
|
say "Installing dependencies", :green
|
66
65
|
system "cd #{project_path}; composer install"
|
67
66
|
end
|
68
67
|
|
69
68
|
npm_path = "#{project_path}/package.json"
|
70
|
-
say npm_path
|
71
69
|
if File.file?(npm_path)
|
72
70
|
say "Installing npm dependencies", :green
|
73
71
|
system "cd #{project_path}; npm install"
|
74
72
|
end
|
75
73
|
|
74
|
+
bower_path = "#{project_path}/bower.json"
|
75
|
+
if File.file?(bower_path)
|
76
|
+
say "Installing bower dependencies", :green
|
77
|
+
system "cd #{project_path}; bower install"
|
78
|
+
end
|
79
|
+
|
76
80
|
say "Grabbing data", :green
|
77
81
|
if File.file?(gemfile_path)
|
78
82
|
system "cd #{project_path}; bundle exec cap #{stage} sumodev:db:get"
|
data/lib/sumodev/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sumodev
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan De Poorter
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-12-
|
11
|
+
date: 2014-12-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|