igg 0.0.5 → 0.0.6
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.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/igg/builder/entity_builder.rb +1 -1
- data/lib/igg/builder/level_builder.rb +1 -1
- data/lib/igg/cli.rb +11 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b9e46df5d87fc4e0c3cd7ce4a9609c6a881d0dac
|
4
|
+
data.tar.gz: 50d3de89151175e17c9759e4bc4bbb456ead5871
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f6d11a2b6763cf889cac59e334db14fdeade6b139ad5020f725c761c24a0d4d73663b9c687ab97f61c8014f24122469abd358e92d2baa060310fa950d5439605
|
7
|
+
data.tar.gz: 0929535328713984c81329c890314c63d6510bd7a1b55ae896b2db30f03bd7d23f50886eb871f4cf02964fe667ad6805bfb5490ce3cd6f63bc329a97a6950bca
|
data/README.md
CHANGED
@@ -21,7 +21,7 @@ Several tools for fast developing an ImpactJS Game, include generators and built
|
|
21
21
|
|
22
22
|
### Generate an ImpactJS Game project
|
23
23
|
|
24
|
-
$ igg project
|
24
|
+
$ igg project pong # default width=320 height=240
|
25
25
|
|
26
26
|
### Generate an ImpactJS Game Level
|
27
27
|
|
@@ -10,7 +10,7 @@ module Igg
|
|
10
10
|
empty_directory "lib/game/entities"
|
11
11
|
template 'builder/templates/entity/entity.tt', "lib/game/entities/#{@name}.js"
|
12
12
|
else
|
13
|
-
puts "you are not in an ImpactJS root folder"
|
13
|
+
puts "you are not in an ImpactJS project root folder"
|
14
14
|
end
|
15
15
|
|
16
16
|
end
|
data/lib/igg/cli.rb
CHANGED
@@ -146,13 +146,21 @@ class Igg::CLI < Thor
|
|
146
146
|
File.write("lib/weltmeister/config.js",File.open("lib/weltmeister/config.js",&:read).gsub(".php",""))
|
147
147
|
puts
|
148
148
|
puts "*" * 80
|
149
|
-
puts "modified lib/weltmeister/config.js file
|
149
|
+
puts "Server automatically modified lib/weltmeister/config.js file"
|
150
|
+
puts "and removed all '.php' suffix in API of this file"
|
150
151
|
puts "*" * 80
|
151
|
-
puts
|
152
|
+
puts
|
153
|
+
|
154
|
+
puts
|
155
|
+
puts "*" * 80
|
156
|
+
puts "Play your game : http://localhost:4567/"
|
157
|
+
puts "Run weltmeister : http://localhost:4567/weltmeister"
|
158
|
+
puts "*" * 80
|
159
|
+
puts
|
152
160
|
Server.run!
|
153
161
|
else
|
154
162
|
puts "*" * 60
|
155
|
-
puts "Can't
|
163
|
+
puts "Can't start server without impact and weltmeister, you must do as follow"
|
156
164
|
puts
|
157
165
|
puts "1: Copy 'impact' folder to current 'lib' subdirectory. "
|
158
166
|
puts "2: Copy 'weltmeister' folder to current 'lib' subdirectory. "
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: igg
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- eiffel qiu
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-01-
|
11
|
+
date: 2015-01-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|