npgproject 0.0.3 → 0.0.4
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/lib/npg/project.rb +2 -4
- data/lib/npg/project/version.rb +1 -1
- 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: 23a249914b3b3448aa477beebb95428a3e812dbf
|
|
4
|
+
data.tar.gz: fde2bdad25043f16406964952867a2cf45df8146
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7217a6108c7c7f8ba90bca51956b181f043e5eab8d292e29e75e13d02c5103eff0cb68fff8fdd4be0a95973e893645d1a2862cd3c810507549125e96c53cd9c5
|
|
7
|
+
data.tar.gz: fa852329076e2321d8c08431a3534b41f0519c5da66b8cfa4d4d390573722c67c151617d7cbec02af06548f08f1ed2ffb83efdd1372bbb30827ca4085b331556
|
data/lib/npg/project.rb
CHANGED
|
@@ -19,8 +19,6 @@ module NPG
|
|
|
19
19
|
Dir.mkdir path
|
|
20
20
|
end
|
|
21
21
|
end
|
|
22
|
-
|
|
23
|
-
|
|
24
22
|
end
|
|
25
23
|
class Project < Directory
|
|
26
24
|
attr_accessor :path
|
|
@@ -37,6 +35,7 @@ module NPG
|
|
|
37
35
|
else
|
|
38
36
|
raise Error::ENOENT, val
|
|
39
37
|
end
|
|
38
|
+
val = val.encode("UTF-8")
|
|
40
39
|
end
|
|
41
40
|
|
|
42
41
|
def executable
|
|
@@ -56,7 +55,7 @@ module NPG
|
|
|
56
55
|
}.update(opt)
|
|
57
56
|
npg = handle
|
|
58
57
|
if code = opt[:code]
|
|
59
|
-
|
|
58
|
+
code = code.encode("UTF-8")
|
|
60
59
|
FileUtils.cp self["Game.exe"], npg["Game.exe"]
|
|
61
60
|
open npg["Game.ini"], 'w' do |f|
|
|
62
61
|
f.write\
|
|
@@ -108,7 +107,6 @@ Library=../#{ini["Game"]["Library"]}
|
|
|
108
107
|
}
|
|
109
108
|
type = (defined? msgbox) ? "{%04d}" : "Section%03d"
|
|
110
109
|
$RGSS_SCRIPTS.each_with_index{|x, i|
|
|
111
|
-
|
|
112
110
|
eval x[3], TOPLEVEL_BINDING, type % (i+1), 1
|
|
113
111
|
}
|
|
114
112
|
rescue Object
|
data/lib/npg/project/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: npgproject
|
|
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
|
- Seiran
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-08-
|
|
11
|
+
date: 2014-08-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|