redcar_plugin 0.4.1 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/redcar_plugin.rb +2 -2
  2. metadata +3 -3
data/lib/redcar_plugin.rb CHANGED
@@ -67,7 +67,7 @@ class RedcarPlugin < Thor
67
67
 
68
68
  def clone_repo(name,url)
69
69
  puts "Plugin url: #{url}"
70
- command = "git clone #{url} #{@plugins_dir}/#{name}"
70
+ command = "git clone #{url} #{@plugins_dir}/#{name} && cd #{@plugins_dir}/#{name} && git submodule update --init"
71
71
  puts "Plugin #{name} successfully installed" if system(command)
72
72
  end
73
- end
73
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redcar_plugin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.5.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -14,7 +14,7 @@ default_executable: redcar_plugin
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: thor
17
- requirement: &22238160 !ruby/object:Gem::Requirement
17
+ requirement: &10703120 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,7 +22,7 @@ dependencies:
22
22
  version: '0'
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *22238160
25
+ version_requirements: *10703120
26
26
  description: redcar_plugin is simple command-line utility to help you install,update
27
27
  and delete redcar plugins
28
28
  email: mitko.kostov@gmail.com