openskies 0.0.6.1 → 0.0.6.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/bin/openskies +5 -1
  2. data/bin/os +3 -0
  3. metadata +2 -1
data/bin/openskies CHANGED
@@ -13,12 +13,16 @@ Project created. Thanks.
13
13
  END
14
14
  end
15
15
 
16
+ def template_project
17
+ "git@github.com:enricribas/openskies-template.git"
18
+ end
19
+
16
20
  if ARGV.first == "new"
17
21
  project_name = ARGV[1]
18
22
 
19
23
  if project_name
20
24
  puts "Creating new OpenSkies project called #{project_name}..."
21
- `git clone git@github.com:enricribas/openskies-template.git #{project_name}`
25
+ `git clone #{template_project} #{project_name}`
22
26
  puts creation_message project_name
23
27
  else
24
28
  puts syntax_message
data/bin/os ADDED
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ exec 'openskies ' + ARGV.join(" ")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openskies
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6.1
4
+ version: 0.0.6.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -20,6 +20,7 @@ extra_rdoc_files: []
20
20
  files:
21
21
  - CHANGELOG.md
22
22
  - bin/openskies
23
+ - bin/os
23
24
  homepage: https://github.com/enricribas/openskies
24
25
  licenses: []
25
26
  post_install_message: