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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/main.rb +1 -1
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ff6bfe31cb193894ff18abd2c0f748ab6e02de3791cf8c640c88639da9a7507e
4
- data.tar.gz: 208c2f60862b126bf9779865660afec45b5a1e1941feb0dfcd7f8259667a3e08
3
+ metadata.gz: a4a2d8e1cdfae7a731860581e4af0a1ff8444e7b946bc588e42de3832b7873a8
4
+ data.tar.gz: ccff8276b657eff6c49a0ff4461b497113a2ca60b7f3e9f966322b44516c7af2
5
5
  SHA512:
6
- metadata.gz: a590858aeed2b328d75a60b9b426761c5b402067e3636280613d91571f0c13d6eaf7278f532cd6c7d7ee74cc531108009e626d2c99d2a8b7bb826c0982a00f63
7
- data.tar.gz: 33f09e3e7d23402225ef5daddb865ab3b2a7f33350733d324ee779f7f60c8c0eee494b95267110acf8e07309e012910b5ed81bad050013849123adf7c5635f5d
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.3
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-21 00:00:00.000000000 Z
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.6
44
+ rubygems_version: 2.7.3
45
45
  signing_key:
46
46
  specification_version: 4
47
47
  summary: Scene Player!