startapp 0.1.7 → 0.1.8

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: 0c8008c125db10d76a2209a9e5f46c64b2ba3235
4
- data.tar.gz: b388db2718fd20aa8bbc48a84b2e12e7f960014f
3
+ metadata.gz: 62534235a84cf432e5a4325318772c3365b3d3dc
4
+ data.tar.gz: 328f62eea04a8b105a8617b55483cce5bd08df03
5
5
  SHA512:
6
- metadata.gz: 1018984dc3c056a459de618d35aa5b5d0f5c4078500ed5ccf85525ebe21ff606ea42afd98fc027904329fa1244540bc017cd9988e9b5184b96c81183e69d700d
7
- data.tar.gz: 5c2041a80d03145f99efcd9051930989019c6db19d410a1a134e4f771eb1623debf734c0fb6c7fcf2509713918385c8986197f665783eab3dc01e851289c5607
6
+ metadata.gz: 0be0a15a532ad17beb49157001e67cfbd14fa504009a8b6e5a512c0ed21e8303cf8483bc503f44a22931fa4309ca375826029fa81fd8f5fa1cbae736efa768ab
7
+ data.tar.gz: 12dd49c46003afb50f6a7788033948a116f0c20c226def0288cbcbbeb76bfbf86de0331c6e3f13ab8cb9534680599d82d5df5d0a7bde63cd93f9f85a803fa9c0
@@ -21,7 +21,7 @@ module RHC::Commands
21
21
  app_name = options.app = app[:name]
22
22
  options.namespace = app[:domain]
23
23
  else
24
- warn "URL is invalid. To clone app your url must be something like this: http://appname-domain.startappcloud.com/"
24
+ warn "URL is invalid. To clone app your url must be something like this: http://appname-domain.sapp.io/"
25
25
  return 1
26
26
  end
27
27
  end
@@ -47,7 +47,7 @@ module RHC::Commands
47
47
  end
48
48
 
49
49
  def startapp_url?(candidate)
50
- !!(/[a-zA-Z0-9]+-[a-zA-Z0-9]+\.startappcloud\./.match(candidate))
50
+ !!(/[a-zA-Z0-9]+-[a-zA-Z0-9]+\.sapp\./.match(candidate))
51
51
  end
52
52
 
53
53
  def clean_url(url)
@@ -6,13 +6,13 @@ module RHC::Commands
6
6
  summary "Deploy a git reference or binary file of an application"
7
7
  syntax "<ref> --app NAME [--namespace NAME]"
8
8
  description <<-DESC
9
- By default OpenShift applications prepare, distribute, and activate deployments
9
+ By default StartApp applications prepare, distribute, and activate deployments
10
10
  on every git push. Alternatively, a user may choose to disable automatic
11
- deployments and use 'rhc deploy' and 'rhc deployment' commands to fully control the
11
+ deployments and use 'app deploy' and 'app deployment' commands to fully control the
12
12
  deployment lifecycle.
13
13
 
14
14
  Use this command to prepare, distribute and deploy manually from a git reference
15
- (commit id, tag or branch) or from a binary file. Check also 'rhc configure-app'
15
+ (commit id, tag or branch) or from a binary file. Check also 'app configure-app'
16
16
  to configure your application to deploy manually and set the number of deployments
17
17
  to keep in history.
18
18
 
@@ -11,7 +11,7 @@ module RHC::Commands
11
11
  For example, when creating a domain with the name "test", any applications
12
12
  created in that domain will have the public URL:
13
13
 
14
- http://<appname>-test.startappcloud.com
14
+ http://<appname>-domain.sapp.io
15
15
 
16
16
  Each account may have access to one or more domains shared by others. Depending
17
17
  on your plan or configuration, you may be able to create more than one domain.
@@ -31,7 +31,7 @@ module RHC::Commands
31
31
  application public URLs. For example, when creating a domain with the name "test",
32
32
  all applications in that domain will have the public URL:
33
33
 
34
- http://<appname>-test.startappcloud.com
34
+ http://<appname>-domain.sapp.io
35
35
 
36
36
  The domain owner may limit the gear sizes available to applications by using the
37
37
  '--allowed-gear-sizes' option. If '--no-allowed-gear-sizes' is set, no applications
@@ -15,21 +15,21 @@ describe RHC::Commands::Clone do
15
15
  end
16
16
 
17
17
  context 'with valid url and no domains' do
18
- let(:arguments) { ['clone','http://myapp-mydomain.startappcloud.com'] }
18
+ let(:arguments) { ['clone','http://myapp-mydomain.sapp.io'] }
19
19
 
20
20
  it { expect { run }.to exit_with_code(127) }
21
21
  it { run_output.should match(/Domain *mydomain* not found/) }
22
22
  end
23
23
 
24
24
  context 'with valid url and domain' do
25
- let(:arguments) { ['clone','http://myapp-myfirsrdomain.startappcloud.com'] }
25
+ let(:arguments) { ['clone','http://myapp-myfirsrdomain.sapp.io'] }
26
26
  let!(:domain){ rest_client.add_domain("myfirsrdomain") }
27
27
 
28
28
  it { expect { run }.to exit_with_code(101) }
29
29
  it { run_output.should match(/Application myapp does not exist/) }
30
30
 
31
31
  context 'with apps' do
32
- let(:arguments) { ['clone','http://myapp-myfirsrdomain.startappcloud.com'] }
32
+ let(:arguments) { ['clone','http://myapp-myfirsrdomain.sapp.io'] }
33
33
  before{ domain.add_application('myapp') }
34
34
 
35
35
  it { expect { run }.to exit_with_code(216) }
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.7
4
+ version: 0.1.8
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-08 00:00:00.000000000 Z
11
+ date: 2014-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: net-ssh