scene_player 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/main.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a4a2d8e1cdfae7a731860581e4af0a1ff8444e7b946bc588e42de3832b7873a8
|
4
|
+
data.tar.gz: ccff8276b657eff6c49a0ff4461b497113a2ca60b7f3e9f966322b44516c7af2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1773edfe0321a0a5a5b087c0e1ab6ed3f0efbcd7612aa2bf13fb4494d3f84174946a2f4da0992c80177f1830332d69e559da1edcf18bbf24720cea7160594e78
|
7
|
+
data.tar.gz: 9259c9e0d881d1cd8a973ab22ca559f349b22fe5cdc8095751210949c0dbbfefaddbe023118cba91d272dd0a1720c9565a96a51277f747c1eff111845664805f
|
data/lib/main.rb
CHANGED
@@ -18,8 +18,8 @@ def run(scene_name)
|
|
18
18
|
puts "没有名称为#{scene_name}的场景"
|
19
19
|
else
|
20
20
|
place = scene.place
|
21
|
+
place = (place.start_with? "~") ? dir_pwd + place[1..-1] : place
|
21
22
|
goToPlace = "cd #{place}"
|
22
|
-
goToPlace = (place.start_with? "~") ? "cd #{dir_pwd + place[1..-1]}" : "cd #{place}"
|
23
23
|
actions = scene.actions
|
24
24
|
commands = Array.new
|
25
25
|
props = scene.props
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scene_player
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shi Yanxun
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-03-
|
11
|
+
date: 2019-03-22 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: A simple hello world gem
|
14
14
|
email: jy01095902@126.com
|
@@ -41,7 +41,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
41
41
|
version: '0'
|
42
42
|
requirements: []
|
43
43
|
rubyforge_project:
|
44
|
-
rubygems_version: 2.7.
|
44
|
+
rubygems_version: 2.7.3
|
45
45
|
signing_key:
|
46
46
|
specification_version: 4
|
47
47
|
summary: Scene Player!
|