openskies 0.0.6.0 → 0.0.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/bin/openskies +7 -7
- metadata +3 -3
data/bin/openskies
CHANGED
|
@@ -13,14 +13,9 @@ Project created. Thanks.
|
|
|
13
13
|
END
|
|
14
14
|
end
|
|
15
15
|
|
|
16
|
-
def syntax_message
|
|
17
|
-
m = <<-END
|
|
18
|
-
Syntax: openskies new [name_of_project]
|
|
19
|
-
END
|
|
20
|
-
end
|
|
21
|
-
|
|
22
16
|
if ARGV.first == "new"
|
|
23
17
|
project_name = ARGV[1]
|
|
18
|
+
|
|
24
19
|
if project_name
|
|
25
20
|
puts "Creating new OpenSkies project called #{project_name}..."
|
|
26
21
|
`git clone git@github.com:enricribas/openskies-template.git #{project_name}`
|
|
@@ -29,7 +24,12 @@ if ARGV.first == "new"
|
|
|
29
24
|
puts syntax_message
|
|
30
25
|
puts "requires a project name"
|
|
31
26
|
end
|
|
27
|
+
|
|
32
28
|
else
|
|
33
|
-
puts
|
|
29
|
+
puts "OpenSkies is calling Rails...."
|
|
30
|
+
path = `pwd`
|
|
31
|
+
rails = path.chomp + "/bin/rails "
|
|
32
|
+
|
|
33
|
+
exec rails + ARGV.join(" ")
|
|
34
34
|
end
|
|
35
35
|
|
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.
|
|
4
|
+
version: 0.0.6.1
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2013-
|
|
12
|
+
date: 2013-08-02 00:00:00.000000000 Z
|
|
13
13
|
dependencies: []
|
|
14
14
|
description: Framework based on Rails for creating web applications
|
|
15
15
|
email: enric@influitive.com
|
|
@@ -20,7 +20,7 @@ extra_rdoc_files: []
|
|
|
20
20
|
files:
|
|
21
21
|
- CHANGELOG.md
|
|
22
22
|
- bin/openskies
|
|
23
|
-
homepage: https://github.com/enricribas/
|
|
23
|
+
homepage: https://github.com/enricribas/openskies
|
|
24
24
|
licenses: []
|
|
25
25
|
post_install_message:
|
|
26
26
|
rdoc_options:
|