startapp 0.1.8 → 0.1.9

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: 62534235a84cf432e5a4325318772c3365b3d3dc
4
- data.tar.gz: 328f62eea04a8b105a8617b55483cce5bd08df03
3
+ metadata.gz: 679f956ade4ba0ac5fdf5985f643af40ab6249f7
4
+ data.tar.gz: 3a43ad507b4631546dff55d2ad9b748772be7ebd
5
5
  SHA512:
6
- metadata.gz: 0be0a15a532ad17beb49157001e67cfbd14fa504009a8b6e5a512c0ed21e8303cf8483bc503f44a22931fa4309ca375826029fa81fd8f5fa1cbae736efa768ab
7
- data.tar.gz: 12dd49c46003afb50f6a7788033948a116f0c20c226def0288cbcbbeb76bfbf86de0331c6e3f13ab8cb9534680599d82d5df5d0a7bde63cd93f9f85a803fa9c0
6
+ metadata.gz: 01589ee7a90728ba9a6dd013abb15b65b66596e86dad82bae0191d21b580542896108ea5917eaf112c8227e57a780675a2e300b5d33f098c08c1e88ea4a235b2
7
+ data.tar.gz: 65f4cb31737a302b8aa5bdb240e74b79d8d46af3225683365a1157c4f05219e8e088d9b2f9c65eaaad1bb60e721c649f424b41191aa1c807a92a4dd11a8f31a2
@@ -42,7 +42,7 @@ module RHC
42
42
  git_config_set "rhc.app-name", app.name
43
43
  git_config_set "rhc.domain-name", app.domain_id
44
44
 
45
- git_remote_add("startapp", app.initial_git_url) if app.initial_git_url.present?
45
+ git_remote_add("upstream", app.initial_git_url) if app.initial_git_url.present?
46
46
  end
47
47
 
48
48
  git_clone_deploy_hooks(repo_dir)
@@ -51,10 +51,10 @@ module RHC
51
51
  end
52
52
 
53
53
  def git_remote_add(remote_name, remote_url)
54
- cmd = "#{git_cmd} remote add startapp \"#{remote_url}\""
54
+ cmd = "#{git_cmd} remote add upstream \"#{remote_url}\""
55
55
  debug "Running #{cmd} 2>&1"
56
56
  output = %x[#{cmd} 2>&1]
57
- raise RHC::GitException, "Error while adding startapp remote - #{output}" unless output.empty?
57
+ raise RHC::GitException, "Error while adding upstream remote - #{output}" unless output.empty?
58
58
  end
59
59
 
60
60
  # :nocov: These all call external binaries so test them in cucumber
@@ -63,7 +63,7 @@ describe RHC::Commands::GitClone do
63
63
  end
64
64
  end
65
65
  let(:arguments) { ['git-clone', 'app2'] }
66
- it { run_output.should match("Added remote startapp pointing to git://test") }
66
+ it { run_output.should match("Added remote upstream pointing to git://test") }
67
67
  end
68
68
 
69
69
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: startapp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - StartApp
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-10 00:00:00.000000000 Z
11
+ date: 2014-03-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: net-ssh