sumodev 0.4 → 0.5.0

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
  SHA1:
3
- metadata.gz: 6b5b4d2c3c39ac1b4fb9643b9e560ac7ea483c6d
4
- data.tar.gz: a679ec4019b33e1ccee1e2c7d6845a68324fa270
3
+ metadata.gz: a6699317c32d1a1f5d4e3799993acc38872cacb8
4
+ data.tar.gz: 6ede783c60b10d625f350899306e6e97d671b92d
5
5
  SHA512:
6
- metadata.gz: 41a2410bc0b456503442e81f17cd1e35bf417e99ffd6bb4b5caf99d75c4b142f0d1415454d99a0c2038b6ed7ed7a4fda5d4f2fafbb620c8b5dc99f8e9c56b103
7
- data.tar.gz: abd1a911752e98f51893253385cecb7dae4c581fc6a6edd6f3bf3dd14a94def28a248ba7c61b714769cd8e37a7c43ca78fb0fa83b74384858474891311fb5a48
6
+ metadata.gz: d068e0e4c897a8c26075aa573c798491c1456b3f7c4849a700f61998e373f915f32c88fb08bf83541c923d68e3f30238d78b69017b9fc367ddc79c290dc7135a
7
+ data.tar.gz: 6c02f1ceb5c011450d50562e58cb5b59bf86536324e730e8e9fb372218677f3025fe00ce93a04fb8d6d6f00eb4d15305795a0d02192c40fa0fd825b1daaa913b
@@ -60,12 +60,19 @@ class Sumodev::Commands::Project < Sumodev::Command
60
60
  end
61
61
 
62
62
  composer_path = "#{project_path}/composer.json"
63
- say #{composer_path}
63
+ say composer_path
64
64
  if File.file?(composer_path)
65
65
  say "Installing dependencies", :green
66
66
  system "cd #{project_path}; composer install"
67
67
  end
68
68
 
69
+ npm_path = "#{project_path}/package.json"
70
+ say npm_path
71
+ if File.file?(npm_path)
72
+ say "Installing npm dependencies", :green
73
+ system "cd #{project_path}; npm install"
74
+ end
75
+
69
76
  say "Grabbing data", :green
70
77
  if File.file?(gemfile_path)
71
78
  system "cd #{project_path}; bundle exec cap #{stage} sumodev:db:get"
@@ -17,6 +17,7 @@ class Sumodev::Commands::Push < Thor::Group
17
17
  Toon = {:groups => ['developer'], :identity => 'toon@sumocoders.be', :key => 'AAAAB3NzaC1yc2EAAAADAQABAAABAQDj58FxlLxFS9Ul8qeQU2OU48VLWccVdvtkDcjyg9jtc3yhABu/HfZf7lISonIEHFr7YVifE5d1zHWhKfjq5IETv5dklfac2KUSvgr1f7P8SuLQ8l4ydMasuYr5nbhBihEgic8ulBFFu3lex1ogsfuyB30ach6unP1lSP9qMVJDsjnsFkl6tIXFN5PuqMsEkq7OW7OPMwTKpA3TYBSbbULBfRmJUzdIOUoteSu5GXOoDcI7ztTBfa/ypuZL8Al+G9ihbOShMUkpI7ZFSQ+Wm8Hgst6NqX+TzZ49sF+3wayRsoFQg8O1a76INxM/7PeVHJxyBb5qi0jvGwXuJqrWX9E5', :protocol => 'rsa'}
18
18
  Jelmer = {:groups => ['developer'], :identity => 'jelmer@sumocoders.be', :key => 'AAAAB3NzaC1yc2EAAAADAQABAAABAQDEPm7EZctIAbdiTYIL/Oelaqiu39JjrSqxD0N80m66w/KLdvQiAEPWRinBKPCzBsmcMKuA0MMoDzykTLgNsVoAnR5hzAOJeL96803vN3FC/LeJw09Mcrh1WXoY6T5KLZFcPuaxwwx4IASWgbTEHetmJVtMey423phs1X1feT6QQaHeh3ryAe3qaMs1Z7ksOEsyifUOC67Aa/G0IbP3QJlYOk1wtLvQ+4+uIoyG3BJ9RM17gMrHMTBH2eUc/Tk4kYv/3LPlajwXb1U0fNNqgrWaOcsDoqsHShh+f0dPj83X1KTBp8FspTcm9ww7KaAjgvWwH6B3XIbsSAwgsQHNaWQj', :protocol => 'rsa'}
19
19
  Lisette = {:groups => ['developer'], :identity => 'lisette@sumocoders.be', :key => 'AAAAB3NzaC1yc2EAAAADAQABAAABAQDAjNGjPAF8arBAgsnPEw2exFQggRfZqfy35YWkNM7MYW0ga7J3FGFTDZPWttM7MI2NoD3WyOCO+eoAY2OLmtTnuDxOCf9Bc85p0wAJWAoYNxbrQc0zB0KfXIP30b+GoJn/sOFjOC6VKUB2z4Qs1rLRFvCeE1tFqhCEsj4d9HeESy0G/ss4S2ttv6IBlG4BUZBrJNITeQPZPt7juTxY3K+DJo/SIKAn80Ptqw1qORZk954vRkIrUxKCtCU0n+st05Aim+rb5rhJqao+88sbrrjB1lnDO/aOt0z0lAZLBewjrQpn9EA8H0gvtJB8lRJiu1moH8e6KKFGCKcgUQLb6eHf', :protocol => 'rsa'}
20
+ Daan = {:groups => ['developer'], :identity => 'daan@sumocoders.be', :key => 'AAAAB3NzaC1yc2EAAAADAQABAAABAQCfWibmP8Dc1GlR0x/PsmriYBcBg4GPjwpnuxrZ5G8vnFeYjXM5myZ2hFdRvzog/xO/wr+y42n4VQp5wjEw1QX8TvnmUJtEcczR930U5QSMXqiDJWRjFVXducJXfrERu2BonZUhMTaAxYnguSLkRmqBLeUIooDwKIPIaVVlkbW11H6Lk711/eZm+fdLXF732lzM5XA7pRZVpU1+PykMgQ8oJmJGCQmKIZQUh+qKDEjv9akiZt5jUu6jJkXb3lqtRMbgej5XacuXzebU2nW1OQZp3Qz4iBBA7pOfejgJWt1KN25dzfOA0vRZsfCxQav8sOP8ow4Mt1teJpDFgUH96n8x', :protocol => 'rsa'}
20
21
 
21
22
 
22
23
  def replace_keys
@@ -59,7 +60,7 @@ class Sumodev::Commands::Push < Thor::Group
59
60
  end
60
61
 
61
62
  def users
62
- [Jan, Tijs, Jens, Niels, Mathias, Jonas, Toon, Jelmer, Lisette]
63
+ [Jan, Tijs, Jens, Niels, Mathias, Jonas, Toon, Jelmer, Lisette, Daan]
63
64
  end
64
65
 
65
66
  def authorized_users
@@ -86,7 +87,7 @@ class Sumodev::Commands::Push < Thor::Group
86
87
  end
87
88
 
88
89
  def ask_password(message)
89
- HighLine.new.ask(message) do |q|
90
+ HighLine.new.ask(message) do |q|
90
91
  q.echo = false
91
92
  end
92
93
  end
@@ -1,3 +1,3 @@
1
1
  module Sumodev
2
- VERSION = "0.4"
2
+ VERSION = "0.5.0"
3
3
  end
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'
4
+ version: 0.5.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-09-10 00:00:00.000000000 Z
11
+ date: 2014-11-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -112,9 +112,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
112
112
  version: '0'
113
113
  requirements: []
114
114
  rubyforge_project:
115
- rubygems_version: 2.0.14
115
+ rubygems_version: 2.0.2
116
116
  signing_key:
117
117
  specification_version: 4
118
118
  summary: SumoCoders Developers gem
119
119
  test_files: []
120
- has_rdoc: