plumo 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/plumo/version.rb +1 -1
- data/lib/{plumo/plumo.rb → plumo.rb} +3 -3
- data/sample_1.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cf31bc4c5e223d8ec9d4c4fa7cc5758f5f7c72bece8dcbc12a406962e99997b9
|
4
|
+
data.tar.gz: a32e6955be6556ba9f4a1452835d8221d7df0f5edfa383fa04cfd3fb21c78db9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 55901cd274acd1d75b56343d875850ad33c12dfc705ad5d5d3c31c5b1782a7e65fdffc97f70b297f3b386b907583aec9ecfdc75bdd9aa70cc1f549563980169e
|
7
|
+
data.tar.gz: 6e86a541180dc1e31d5703d9c754a5f687ca7b88fefb5939e23e92bfad8ffa7542d470e7afe4a250b2453ac1aa95b69856d5d0d11c89fc83a202d29565116c4f
|
data/lib/plumo/version.rb
CHANGED
@@ -81,7 +81,7 @@ class Plumo
|
|
81
81
|
logger_access = NullLogger.new
|
82
82
|
|
83
83
|
@server = WEBrick::HTTPServer.new(
|
84
|
-
DocumentRoot: File.join(__dir__, "public"),
|
84
|
+
DocumentRoot: File.join(__dir__, "plumo/public"),
|
85
85
|
BindAddress: '127.0.0.1',
|
86
86
|
Port: @opts[:port],
|
87
87
|
AccessLog: [
|
@@ -165,7 +165,7 @@ class Plumo
|
|
165
165
|
if style.key?(:color)
|
166
166
|
cmds << [:fillStyle, style[:color]]
|
167
167
|
end
|
168
|
-
|
168
|
+
|
169
169
|
cmds += [
|
170
170
|
[:beginPath],
|
171
171
|
[:fillRect, x, y, w, h],
|
@@ -180,7 +180,7 @@ class Plumo
|
|
180
180
|
if style.key?(:color)
|
181
181
|
cmds << [:fillStyle, style[:color]]
|
182
182
|
end
|
183
|
-
|
183
|
+
|
184
184
|
cmds += [
|
185
185
|
[:beginPath],
|
186
186
|
[:arc,
|
data/sample_1.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: plumo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- sonota88
|
@@ -51,7 +51,7 @@ files:
|
|
51
51
|
- README.md
|
52
52
|
- Rakefile
|
53
53
|
- bin/plumo-reloader
|
54
|
-
- lib/plumo
|
54
|
+
- lib/plumo.rb
|
55
55
|
- lib/plumo/public/index.html
|
56
56
|
- lib/plumo/public/plumo.js
|
57
57
|
- lib/plumo/version.rb
|